.neo-toast-stack {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1200;
    display: grid;
    gap: 10px;
    width: min(360px, calc(100vw - 24px));
    pointer-events: none;
}

.neo-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    border-radius: 12px;
    border: 1px solid transparent;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
    padding: 11px 12px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
    animation: neo-toast-slide-in 220ms ease;
}

.neo-toast:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.2);
}

.neo-toast-message {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

.neo-toast-close {
    border: 0;
    background: transparent;
    color: inherit;
    opacity: 0.75;
    cursor: pointer;
    font-size: 17px;
    line-height: 1;
    padding: 2px 0;
    transition: opacity 180ms ease, transform 180ms ease;
}

.neo-toast-close:hover {
    opacity: 1;
    transform: scale(1.05);
}

.neo-toast-success {
    background: #ecfdf3;
    border-color: #9ee6bf;
    color: #166534;
}

.neo-toast-error {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #b91c1c;
}

.neo-toast-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.neo-toast-warning {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

@media (max-width: 768px) {
    .neo-toast-stack {
        right: 12px;
        left: 12px;
        width: auto;
        top: 12px;
    }
}

@keyframes neo-toast-slide-in {
    from {
        opacity: 0;
        transform: translate3d(8px, -10px, 0) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .neo-toast,
    .neo-toast-close {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}
