/* Notification system styles */

.notification {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    max-width: 350px;
    width: 90%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    color: white;
    z-index: 10000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.notification.show {
    transform: translateX(-50%) translateY(0);
}

.notification.success {
    border-left: 4px solid #22c55e;
}

.notification.info {
    border-left: 4px solid #3b82f6;
}

.notification.warning {
    border-left: 4px solid #f59e0b;
}

.notification.error {
    border-left: 4px solid #ef4444;
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

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

.notification.success .notification-icon {
    background: #22c55e;
    color: white;
}

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

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

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

.notification-title {
    font-size: 14px;
    font-weight: 600;
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

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

.notification-body {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

/* Toast animations */
@keyframes slideInFromTop {
    from {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutToTop {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
}

.notification.entering {
    animation: slideInFromTop 0.3s ease-out;
}

.notification.leaving {
    animation: slideOutToTop 0.3s ease-in;
}

/* Mobile responsive */
@media screen and (max-width: 480px) {
    .notification {
        top: max(env(safe-area-inset-top), 44px) + 16px;
        width: calc(100% - 32px);
        max-width: none;
    }
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce) {
    .notification {
        transition: opacity 0.2s ease;
    }
    
    .notification.entering,
    .notification.leaving {
        animation: none;
    }
}