/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background-color: #333;
    color: white;
    padding: 16px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideIn 0.3s ease-in-out;
}

.toast.success {
    background-color: #4CAF50;
    border-left: 4px solid #45a049;
}

.toast.error {
    background-color: #f44336;
    border-left: 4px solid #da190b;
}

.toast.warning {
    background-color: #ff9800;
    border-left: 4px solid #e68900;
}

.toast.info {
    background-color: #2196F3;
    border-left: 4px solid #0b7dda;
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-message {
    flex-grow: 1;
    font-size: 14px;
}

.toast-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    line-height: 1;
}

.toast-close:hover {
    opacity: 0.8;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast.hide {
    animation: slideOut 0.3s ease-in-out forwards;
}
