.su-notification-host {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: min(24rem, calc(100vw - 2rem));
    pointer-events: none;
}

.su-notification {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18, 38, 63, 0.14);
    pointer-events: auto;
    animation: su-notification-in 0.22s ease-out;
}

@keyframes su-notification-in {
    from {
        opacity: 0;
        transform: translateY(-0.35rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.su-notification__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.su-notification__icon {
    width: 1.15rem;
    height: 1.15rem;
}

.su-notification__icon svg {
    width: 1.15rem !important;
    height: 1.15rem !important;
}

.su-notification__icon--spin {
    animation: su-notification-spin 0.85s linear infinite;
}

@keyframes su-notification-spin {
    to {
        transform: rotate(360deg);
    }
}

.su-notification__body {
    flex: 1 1 auto;
    min-width: 0;
}

.su-notification__title {
    margin: 0 0 0.15rem;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
}

.su-notification__message {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
}

.su-notification__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    margin: -0.15rem -0.1rem 0 0;
    padding: 0;
    border: none;
    border-radius: 0.45rem;
    background: transparent;
    color: inherit;
    opacity: 0.72;
    cursor: pointer;
    flex-shrink: 0;
}

.su-notification__close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.06);
}

.su-notification__close-icon {
    width: 0.95rem;
    height: 0.95rem;
}

.su-notification__close-icon svg {
    width: 0.95rem !important;
    height: 0.95rem !important;
}

.su-notification--success {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.su-notification--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.su-notification--warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.su-notification--info,
.su-notification--progress {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.su-alert--info {
    background: #eff6ff;
    color: #1e40af;
}

@media (max-width: 640px) {
    .su-notification-host {
        top: auto;
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        width: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .su-notification {
        animation: none;
    }

    .su-notification__icon--spin {
        animation: none;
    }
}
