/* AI Development Notification Styles */

.ai-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    max-width: 420px;
    width: calc(100% - 4rem);
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.98) 0%, rgba(25, 25, 25, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(157, 9, 19, 0.3);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(157, 9, 19, 0.1);
    z-index: 10000;
    opacity: 0;
    transform: translateY(100px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.ai-notification.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.ai-notification-content {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    position: relative;
}

.ai-notification-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(157, 9, 19, 0.2) 0%, rgba(157, 9, 19, 0.1) 100%);
    border: 1px solid rgba(157, 9, 19, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(157, 9, 19, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(157, 9, 19, 0);
    }
}

.ai-notification-text {
    flex: 1;
    color: white;
}

.ai-notification-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-notification-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.ai-notification-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.6);
}

.ai-notification-close:hover {
    background: rgba(157, 9, 19, 0.2);
    border-color: rgba(157, 9, 19, 0.4);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.ai-notification-close svg {
    width: 16px;
    height: 16px;
}

/* Progress bar */
.ai-notification::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(157, 9, 19, 0.5) 100%);
    border-radius: 0 0 16px 16px;
    animation: progress 15s linear forwards;
    opacity: 0.6;
}

@keyframes progress {
    from {
        transform: scaleX(1);
        transform-origin: left;
    }
    to {
        transform: scaleX(0);
        transform-origin: left;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ai-notification {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        width: auto;
        max-width: none;
    }

    .ai-notification-content {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .ai-notification-icon {
        width: 40px;
        height: 40px;
    }

    .ai-notification-text h4 {
        font-size: 1rem;
    }

    .ai-notification-text p {
        font-size: 0.85rem;
    }

    .ai-notification-close {
        top: 0.75rem;
        left: 0.75rem;
    }
}

/* Dark mode enhancement */
@media (prefers-color-scheme: dark) {
    .ai-notification {
        background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .ai-notification {
        transition: opacity 0.3s ease;
        transform: none;
    }
    
    .ai-notification.show {
        transform: none;
    }
    
    .ai-notification-icon {
        animation: none;
    }
    
    .ai-notification::before {
        animation: none;
    }
}
