/* Voice Module Styles for Interview Integration */

/* Voice Status Indicator */
.voice-status-indicator {
    text-align: center;
    font-family: monospace;
    font-size: 12px;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 5px 10px;
    border-radius: 6px;
    color: #888;
}

.voice-status-indicator.recording {
    color: #f44336;
    background-color: rgba(244, 67, 54, 0.1);
}

.voice-status-indicator.ready {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.voice-status-indicator.error {
    color: #ff4444;
    background-color: rgba(255, 68, 68, 0.1);
}

/* Voice Icon Button */
.voice-icon-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-icon-btn .icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #03C03C;
    font-size: 1.3em;
    font-weight: 600;
    transition: all 0.2s ease;
}

.voice-icon-btn:hover .icon-circle {
    background: rgba(3, 192, 60, 0.1);
}

.voice-icon-btn.recording .icon-circle {
    background: #f44336;
    color: white;
}

/* Voice Debug Console */
.voice-debug-console {
    font-size: 12px;
    background: transparent;
    padding: 0;
    border: none;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    line-height: 1.4;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #888;
    overflow-y: auto;
    flex: 1;
}

/* Voice Debug Panel */
.voice-debug-panel {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(3, 192, 60, 0.3);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 150px;
}

.voice-debug-panel .panel-header {
    font-size: 14px;
    font-weight: bold;
    color: #03C03C;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(3, 192, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}



/* Voice Audio Link */
.voice-audio-link {
    margin-top: 10px;
}

.voice-audio-link a {
    color: #03C03C;
    text-decoration: none;
}

.voice-audio-link a:hover {
    text-decoration: underline;
}

/* Voice Question Display */
.voice-question-display {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(3, 192, 60, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.voice-question-display .question-text {
    font-size: 16px;
    color: white;
    margin: 0;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.voice-question-display .answer-text {
    font-size: 16px;
    color: white;
    margin: 10px 0 0 0;
    line-height: 1.4;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 5px;
    border-left: 3px solid #03C03C;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

/* Voice Conversation History */
.voice-conversation-history {
    font-size: 14px;
    background: transparent;
    padding: 0;
    border: none;
    width: 100%;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: white;
    overflow-y: auto;
    flex: 1;
}

/* Voice Clear Button */
.voice-clear-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px;
    margin-top: 10px;
    transition: all 0.2s ease;
}

.voice-clear-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Voice Panel */
.voice-panel {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(3, 192, 60, 0.3);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.voice-panel .panel-header {
    font-size: 14px;
    font-weight: bold;
    color: #03C03C;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(3, 192, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

/* Voice Section Container */
.voice-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .voice-settings-modal .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .voice-question-display .question-text,
    .voice-question-display .answer-text {
        font-size: 14px;
    }
    
    .voice-conversation-history {
        font-size: 13px;
    }
    
    .voice-debug-console {
        font-size: 11px;
    }
} 