
/* Tùy chỉnh toast của SweetAlert2 */
.swal2-popup.swal2-toast {
    padding: 0.75rem 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    margin-top: 30px;
}

.swal2-popup.swal2-toast .swal2-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 0 5px 0 !important;
}

.swal2-popup.swal2-toast .swal2-html-container {
    font-size: 14px !important;
    margin: 0 !important;
}

/* Màu sắc cho các loại toast */
.swal2-icon.swal2-success {
    border-color: #a5dc86 !important;
    color: #a5dc86 !important;
}

.swal2-icon.swal2-error {
    border-color: #f27474 !important;
    color: #f27474 !important;
}

.swal2-icon.swal2-warning {
    border-color: #f8bb86 !important;
    color: #f8bb86 !important;
}

.swal2-icon.swal2-info {
    border-color: #3fc3ee !important;
    color: #3fc3ee !important;
}

.swal2-icon.swal2-question {
    border-color: #87adbd !important;
    color: #87adbd !important;
}

/* Hiệu ứng xuất hiện */
.swal2-popup.swal2-toast.swal2-show {
    animation: toast-animation 0.3s;
}

@keyframes toast-animation {
    from {
        transform: translateY(-15px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Tùy chỉnh tiến trình thời gian */
.swal2-timer-progress-bar {
    height: 3px !important;
    opacity: 0.5;
}