/* --- TOAST NOTIFICATION SYSTEM --- */

#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000; /* Stays above everything */
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; /* Allows clicking through the container background */
}

.toast {
    background: #1A202C; /* Dark, high-contrast background */
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
    min-width: 280px;
    border-left: 5px solid var(--accent-brand); /* Your brand blue */
    pointer-events: auto; /* Allows clicking the toast if needed */
    
    /* Animation */
    animation: slideInToast 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transition: all 0.3s ease;
}

@keyframes slideInToast {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Exit animation class */
.toast.fade-out {
    opacity: 0;
    transform: translateX(20px);
}

/* Mobile check */
@media (max-width: 600px) {
    #toast-container {
        right: 20px;
        left: 20px;
        bottom: 20px;
    }
    .toast {
        min-width: auto;
    }
}