/* Toast notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-left: 4px solid var(--success-color);
    padding: 1rem;
    border-radius: 0.375rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 999999 !important;
    /* Quan trọng: đẩy lên trên cùng */
    animation: slideIn 0.3s ease;
}

.toast.error {
    border-left-color: var(--danger-color);
}

.toast.warning {
    border-left-color: var(--warning-color);
}

.toast.info {
    border-left-color: var(--info-color);
}

.toast-close {
    cursor: pointer;
    font-size: 1.2rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.popup-content {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: zoomIn 0.3s ease;
}

.popup-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.popup-content .close-popup {
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}