/* Notification System Styles */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.notification {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    margin-bottom: 12px;
    padding: 16px 20px;
    border-right: 4px solid;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    color: #000000;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.hide {
    transform: translateX(100%);
    opacity: 0;
}

.notification.success {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    color: #000000;
}

.notification.error {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fef2f2 100%);
    color: #000000;
}

.notification.warning {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #000000;
}

.notification.info {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #000000;
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.notification-title {
    font-weight: 700;
    font-size: 16px;
    color: #000000 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.notification-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
}

.notification.success .notification-icon {
    background: #10b981;
    color: white;
}

.notification.error .notification-icon {
    background: #ef4444;
    color: white;
}

.notification.warning .notification-icon {
    background: #f59e0b;
    color: white;
}

.notification.info .notification-icon {
    background: #3b82f6;
    color: white;
}

.notification-close {
    background: none;
    border: none;
    color: #000000 !important;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000000 !important;
    transform: scale(1.1);
}

.notification-message {
    color: #000000 !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    overflow: hidden;
}

.notification-progress-bar {
    height: 100%;
    background: currentColor;
    width: 100%;
    transform: translateX(-100%);
    transition: transform linear;
}

.notification.success .notification-progress-bar {
    background: #10b981;
}

.notification.error .notification-progress-bar {
    background: #ef4444;
}

.notification.warning .notification-progress-bar {
    background: #f59e0b;
}

.notification.info .notification-progress-bar {
    background: #3b82f6;
}

/* Animation for notification entrance */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

.notification.slide-in {
    animation: slideInRight 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification.slide-out {
    animation: slideOutRight 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Responsive design */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification {
        margin-bottom: 8px;
        padding: 14px 16px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .notification {
        background: #1f2937;
        color: #f9fafb;
    }
    
    .notification-title {
        color: #ffffff;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .notification-message {
        color: #ffffff;
        text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    }
    
    .notification-close {
        color: #ffffff;
    }
    
    .notification-close:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }
}
