/* ===== TOAST ===== */
.toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    /* width: 100%; */
}
.toast {
    padding: 14px 20px;
    border-radius: 10px;
    background: #1a1721;
    border: 1px solid #1c262f;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    color: #d0d5e0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastIn 0.3s ease;
    backdrop-filter: blur(8px);
}

.toast::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
            0deg, transparent, transparent 2px,
            rgba(168, 85, 247, 0.03) 2px,
            rgba(168, 85, 247, 0.03) 4px);
    border-radius: 20px;
}

.toast.success {
    border-color: #34d399;
}
.toast.success i {
    color: #34d399;
}
.toast.error {
    border-color: #f87171;
}
.toast.error i {
    color: #f87171;
}
.toast.info {
    border-color: #a855f7;
}
.toast.info i {
    color: #a855f7;
}

@keyframes toastIn {
    from { opacity:0; transform:translateX(40px); }
    to { opacity:1; transform:translateX(0); }
}
.toast.hide {
    opacity:0;
    transform:translateX(40px);
    transition:0.3s ease;
}


/* ===== АДАПТИВ ===== */
@media (max-width: 480px) {
    .toast-container {
        top: 16px;
        right: 16px;
        left: 16px;
        max-width: 100%;
    }
}