/* =============================================
   CONVERSATIONAL AI MODULE STYLES - IntelVox Theme
   ============================================= */

:root {
    --primary: #121212;
    --secondary: #0f62fe;
    --accent: #00b3b3;
    --light: #f5f7fa;
    --gray: #e0e0e0;
    --dark-bg: rgba(25, 25, 35, 0.7);
    --border-light: rgba(255, 255, 255, 0.1);
}

.polyglot-turbo-module-conversational-ai {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--dark-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    border: 1px solid var(--border-light);
    color: var(--light);
}

.polyglot-turbo-module-conversational-ai h2 {
    background: linear-gradient(to right, var(--light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 2.2rem;
}

.module-description {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.user-credits-display {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(15, 98, 254, 0.2);
    border: 1px solid var(--border-light);
}

.user-credits-display h3 {
    color: var(--secondary);
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

/* Messages de conversation */
.ai-message-bubble {
    background: rgba(15, 98, 254, 0.2);
    border: 1px solid rgba(15, 98, 254, 0.3);
}

.user-message-bubble {
    background: rgba(0, 179, 179, 0.2);
    border: 1px solid rgba(0, 179, 179, 0.3);
}

/* Boutons et interactions */
.record-button {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.microphone-button-container button:hover {
    box-shadow: 0 8px 20px rgba(15, 98, 254, 0.6);
}

/* Indicateurs d'état */
.user-speaking-indicator, 
.ai-thinking-indicator {
    border: 1px dashed rgba(0, 179, 179, 0.3);
}

/* Éléments de formulaire */
#polyglot-turbo-conversation-language {
    background-color: rgba(25, 25, 35, 0.7);
    border: 1px solid var(--border-light);
    color: var(--light);
}

#polyglot-turbo-conversation-language:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 179, 179, 0.2);
}

/* Animations et indicateurs */
.speaking-dot {
    background: var(--accent);
}

.brain-lobe {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
}

.polyglot-turbo-loading-indicator .dot {
    background-color: var(--accent);
}

/* Rapport d'analyse */
.polyglot-turbo-analysis-reports {
    border-left: 4px solid var(--accent);
}

/* Adaptations responsive */
@media (max-width: 768px) {
    .polyglot-turbo-module-conversational-ai {
        padding: 1.5rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .polyglot-turbo-module-conversational-ai {
        padding: 1rem;
    }
}