/* ═══ General Ask Ekho Modal — matches desktop styling ═══ */
#askEkhoGeneralModal .feedback-modal {
    max-width: 480px;
    background: #0a0a0f;
    border: 1px solid #1f1f2a;
    border-radius: 14px;
    transition: max-width 0.3s ease;
}

/* Widen modal when side panel is open */
#askEkhoGeneralModal .feedback-modal.has-side-panel {
    max-width: 900px;
}

#askEkhoGeneralModal .feedback-modal-header {
    background: rgba(18, 18, 26, 0.95);
    border-bottom: 1px solid #1f1f2a;
    padding: 14px 18px;
}

#askEkhoGeneralModal .feedback-modal-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: #f4f4f5;
}

#askEkhoGeneralModal .feedback-close-btn {
    color: #71717a;
}

#askEkhoGeneralModal .feedback-close-btn:hover {
    background: #121218;
    color: #f4f4f5;
}

/* Mode tabs – pill container just like desktop */
#askEkhoGeneralModal .feedback-mode-toggle {
    background: #121218;
    padding: 4px;
    border-radius: 10px;
    margin: 12px 18px;
    gap: 4px;
    border-bottom: none;
}

#askEkhoGeneralModal .feedback-mode-btn {
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #71717a;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

#askEkhoGeneralModal .feedback-mode-btn:hover:not(.active) {
    color: #f4f4f5;
    background: rgba(255,255,255,0.05);
}

#askEkhoGeneralModal .feedback-mode-btn.active {
    background: linear-gradient(135deg, #934e86, #243baa);
    color: white;
    border-color: transparent;
}

/* Chat messages area */
#askEkhoGeneralModal .feedback-messages {
    padding: 14px 18px;
    gap: 10px;
}

#askEkhoGeneralModal .feedback-messages::-webkit-scrollbar {
    width: 4px;
}

#askEkhoGeneralModal .feedback-messages::-webkit-scrollbar-track {
    background: transparent;
}

#askEkhoGeneralModal .feedback-messages::-webkit-scrollbar-thumb {
    background: #1f1f2a;
    border-radius: 2px;
}

/* Message bubbles – desktop style */
#askEkhoGeneralModal .feedback-message {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.55;
    max-width: 88%;
    word-wrap: break-word;
}

#askEkhoGeneralModal .feedback-message.user {
    background: linear-gradient(135deg, #934e86, #243baa);
    color: white;
    border: none;
    border-bottom-right-radius: 4px;
}

#askEkhoGeneralModal .feedback-message.assistant {
    background: #121218;
    color: #f4f4f5;
    border: 1px solid #1f1f2a;
    border-bottom-left-radius: 4px;
}

/* Typing / loading indicator */
#askEkhoGeneralModal .feedback-loading {
    padding: 20px;
    color: #71717a;
}

#askEkhoGeneralModal .feedback-spinner {
    border-color: #1f1f2a;
    border-top-color: #934e86;
}

/* Input area – pill input + round send button */
#askEkhoGeneralModal .feedback-input-area {
    padding: 10px 18px 14px 18px;
    border-top: 1px solid #1f1f2a;
    background: rgba(18, 18, 26, 0.95);
    gap: 8px;
}

#askEkhoGeneralModal .feedback-input-area input {
    padding: 10px 16px;
    border-radius: 24px;
    border: 1px solid #1f1f2a;
    background: #121218;
    color: #f4f4f5;
    font-size: 13px;
    font-family: 'DM Sans', sans-serif;
}

#askEkhoGeneralModal .feedback-input-area input:focus {
    border-color: #934e86;
    box-shadow: 0 0 0 2px rgba(147, 78, 134, 0.25);
}

#askEkhoGeneralModal .feedback-input-area input::placeholder {
    color: #71717a;
}

#askEkhoGeneralModal .feedback-send-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #934e86, #243baa);
    color: white;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

#askEkhoGeneralModal .feedback-send-btn::after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

#askEkhoGeneralModal .feedback-send-btn:hover:not(:disabled) {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(147, 78, 134, 0.4);
}

#askEkhoGeneralModal .feedback-send-btn:disabled {
    opacity: 0.5;
}

/* Voice container */
#askEkhoGeneralModal .feedback-voice-container {
    padding: 20px;
}

#askEkhoGeneralModal .voice-call-avatar {
    width: 100px;
    height: 100px;
    background: transparent;
    border: none;
    font-size: 0;
}

#askEkhoGeneralModal .voice-call-name {
    font-size: 16px;
    font-weight: 700;
    color: #f4f4f5;
}

#askEkhoGeneralModal .voice-call-status {
    font-size: 13px;
    font-weight: 600;
    color: #a1a1aa;
}

#askEkhoGeneralModal .voice-call-status.active {
    color: #10b981;
}

#askEkhoGeneralModal .voice-call-status.connecting {
    color: #f48a4b;
}

#askEkhoGeneralModal .voice-call-timer {
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    color: #00d4ff;
}

#askEkhoGeneralModal .voice-call-hint {
    font-size: 12px;
    color: #71717a;
}

#askEkhoGeneralModal .voice-control-btn {
    width: auto;
    height: auto;
    border-radius: 24px;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 600;
    gap: 8px;
}

#askEkhoGeneralModal .voice-control-btn.start-call {
    background: linear-gradient(135deg, #934e86, #243baa);
    color: white;
}

#askEkhoGeneralModal .voice-control-btn.start-call:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(147, 78, 134, 0.4);
}

#askEkhoGeneralModal .voice-control-btn.end-call {
    background: #ef4444;
    color: white;
}

#askEkhoGeneralModal .voice-control-btn.end-call:hover {
    transform: scale(1.05);
}

#askEkhoGeneralModal .voice-control-btn.mute {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    background: #121218;
    border: 1px solid #1f1f2a;
}

#askEkhoGeneralModal .voice-control-btn.mute.muted {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
}

#askEkhoGeneralModal .voice-transcript-area {
    background: #121218;
    border: 1px solid #1f1f2a;
    border-radius: 10px;
}

#askEkhoGeneralModal .voice-transcript-text .speaker-you {
    color: #934e86;
}

#askEkhoGeneralModal .voice-transcript-text .speaker-coach {
    color: #00d4ff;
}

#askEkhoGeneralModal .voice-status-prompt {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 12px;
    transition: all 0.2s;
}

#askEkhoGeneralModal .voice-status-prompt.speak-now {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

#askEkhoGeneralModal .voice-status-prompt.ai-speaking {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

#askEkhoGeneralModal .voice-status-prompt.processing {
    color: #f48a4b;
    background: rgba(244, 138, 75, 0.1);
}

