/* Notification styles */
#notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none; /* Allow clicking through the container */
}

.notification {
    padding: 12px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 250px;
    max-width: 400px;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: auto; /* Make notifications clickable */
    animation: notification-appear 0.3s ease-out;
}

@keyframes notification-appear {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification.success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.notification.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.notification.warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.notification::before {
    margin-right: 10px;
    font-size: 18px;
    font-weight: bold;
}

.notification.success::before {
    content: '✓';
    color: #28a745;
}

.notification.error::before {
    content: '✗';
    color: #dc3545;
}

.notification.info::before {
    content: 'ℹ';
    color: #17a2b8;
}

.notification.warning::before {
    content: '⚠';
    color: #ffc107;
}

/* Animation for hiding notifications */
.notification.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}