/* Toast Notification Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; /* Allow clicking through container */
}

/* Base Toast Style */
.toast {
    background: white;
    min-width: 300px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideIn 0.3s ease forwards;
    pointer-events: auto; /* Re-enable clicks on toast */
    border-left: 5px solid #4C585B;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    opacity: 0;
    transform: translateX(100%);
}

/* Toast Types */
.toast.success {
    border-left-color: #4CAF50;
}

.toast.error {
    border-left-color: #F44336;
}

.toast.warning {
    border-left-color: #FF9800;
}

.toast.info {
    border-left-color: #2196F3;
}

/* Toast Icon */
.toast-icon {
    font-size: 20px;
}

/* Toast Message */
.toast-message {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

/* Animations */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.toast.hiding {
    animation: fadeOut 0.3s ease forwards;
}
