﻿/* ===== Toast nâng cấp ===== */

.toast-container {
    z-index: 9999;
}

/* Toast chính */
.toast {
    min-width: 320px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    font-size: 15px;
    animation: slideIn 0.4s ease;
}

    /* màu success */
    .toast.bg-success {
        background: linear-gradient(135deg,#16a34a,#22c55e);
    }

    /* màu error */
    .toast.bg-danger {
        background: linear-gradient(135deg,#dc2626,#ef4444);
    }

/* nội dung */
.toast-body {
    font-weight: 500;
    padding: 14px 18px;
}

/* icon close */
.toast .btn-close {
    opacity: 0.9;
}

/* animation */
@keyframes slideIn {

    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}
