/* Toast Notification Styles */
#toastContainer {
    position: fixed;
    top: 130px;
    /* Moved further down (was 100px) */
    right: 20px;
    z-index: 9999;
    max-width: 350px;
}

/* Responsive: Center on mobile */
@media (max-width: 576px) {
    #toastContainer {
        top: 90px;
        right: 50%;
        left: auto;
        transform: translateX(50%);
        width: 90vw;
        max-width: 400px;
        display: flex;
        flex-direction: column;
        align-items: center;
        pointer-events: none;
        /* Allow clicks to pass through container */
    }

    .toast {
        pointer-events: auto;
        width: 100%;
        margin-bottom: 8px;
        padding: 10px 15px;
        font-size: 14px;
        justify-content: center;
        text-align: center;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
}

.toast {
    display: flex;
    align-items: center;
    background-color: #333;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background-color: #28a745;
    /* Green */
}

.toast.error {
    background-color: #dc3545;
    /* Red */
}

.toast.info {
    background-color: #17a2b8;
    /* Blue */
}