.seedout-notify-container {
    position: fixed;
    top: 24px;
    right: 24px;
    left: auto;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: min(420px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    pointer-events: none;
}

.seedout-notify {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e8ece8;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    font-family: 'Outfit', sans-serif;
    animation: seedoutNotifyIn 0.28s ease;
    overflow: hidden;
}

.seedout-notify.is-leaving {
    animation: seedoutNotifyOut 0.22s ease forwards;
}

@keyframes seedoutNotifyIn {
    from {
        opacity: 0;
        transform: translateX(16px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes seedoutNotifyOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(16px);
    }
}

.seedout-notify__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.seedout-notify__body {
    flex: 1;
    min-width: 0;
}

.seedout-notify__title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin: 0 0 2px;
    line-height: 1.3;
}

.seedout-notify__message {
    font-size: 13px;
    color: #444;
    margin: 0;
    line-height: 1.45;
    word-break: break-word;
}

.seedout-notify__close {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #888;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    margin: -2px -4px 0 0;
}

.seedout-notify__close:hover {
    color: #111;
}

.seedout-notify__progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.35;
    width: 100%;
    transform-origin: left center;
    animation: seedoutNotifyProgress linear forwards;
}

.seedout-notify {
    position: relative;
}

.seedout-notify--success {
    border-color: #c5e4bc;
}

.seedout-notify--success .seedout-notify__icon {
    background: #e8f5e4;
    color: #368420;
}

.seedout-notify--success .seedout-notify__progress {
    color: #368420;
}

.seedout-notify--error,
.seedout-notify--danger {
    border-color: #f1c4c8;
}

.seedout-notify--error .seedout-notify__icon,
.seedout-notify--danger .seedout-notify__icon {
    background: #fde8ea;
    color: #c0392b;
}

.seedout-notify--error .seedout-notify__progress,
.seedout-notify--danger .seedout-notify__progress {
    color: #c0392b;
}

.seedout-notify--warning {
    border-color: #f5e0b3;
}

.seedout-notify--warning .seedout-notify__icon {
    background: #fff6e0;
    color: #b8860b;
}

.seedout-notify--warning .seedout-notify__progress {
    color: #b8860b;
}

.seedout-notify--info {
    border-color: #b8d4f0;
}

.seedout-notify--info .seedout-notify__icon {
    background: #e8f2fc;
    color: #2563eb;
}

.seedout-notify--info .seedout-notify__progress {
    color: #2563eb;
}

@keyframes seedoutNotifyProgress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

@media (max-width: 575px) {
    .seedout-notify-container {
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
    }
}
