/* Notification Styles */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 300px;
}

.notification {
    background-color: var(--card-bg, #fff);
    border-left: 4px solid var(--primary-color, #4a86e8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 12px 15px;
    margin-bottom: 10px;
    animation: slide-in 0.3s ease-out forwards;
    position: relative;
    overflow: hidden;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 5px;
    padding-right: 20px;
}

.notification-message {
    font-size: 0.9rem;
    color: var(--text-color-secondary, #666);
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-color-secondary, #666);
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.notification-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.notification-hide {
    animation: slide-out 0.3s ease-out forwards;
}

/* Success notification */
.notification.success {
    border-left-color: var(--success-color, #4CAF50);
}

/* Error notification */
.notification.error {
    border-left-color: var(--error-color, #f44336);
}

/* Animations */
@keyframes slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* Dark mode support */
.dark-mode .notification {
    background-color: var(--card-bg, #2d2d2d);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-mode .notification-message {
    color: var(--text-color-secondary, #aaa);
}

.dark-mode .notification-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
