/* static/styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f7f8fc;
    height: 100vh;
    overflow: hidden;
}

.app-container {
    display: flex;
    height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-section {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 2px;
}

.profile-email {
    font-size: 12px;
    opacity: 0.8;
}

.new-chat-btn {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.new-chat-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.new-chat-btn i {
    margin-right: 8px;
}

.sessions-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.sessions-header h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.9;
}

.session-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.session-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.session-item.active {
    background: rgba(255, 255, 255, 0.3);
}

.session-name {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.session-date {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 2px;
}

.session-actions {
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.session-item:hover .session-actions {
    opacity: 1;
}

.session-actions button {
    background: none;
    border: none;
    color: white;
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.session-actions button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Main Content Styles */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.chat-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e5e7eb;
    background: white;
    display: flex;
    align-items: center;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 18px;
    margin-right: 15px;
    cursor: pointer;
    color: #6b7280;
}

.chat-title h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2px;
}

.chat-title p {
    font-size: 14px;
    color: #6b7280;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 25px;
}

.welcome-message {
    display: flex;
    margin-bottom: 30px;
}

.bot-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 15px;
    flex-shrink: 0;
}

.welcome-content {
    flex: 1;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.welcome-content h3 {
    color: #1f2937;
    margin-bottom: 10px;
    font-size: 18px;
}

.welcome-content p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 15px;
}

.welcome-content ul {
    margin: 15px 0;
    padding-left: 0;
    list-style: none;
}

.welcome-content li {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 0;
}

.message {
    display: flex;
    margin-bottom: 20px;
}

.message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 12px;
    line-height: 1.5;
}

.message.user .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.message.bot .message-content {
    background: #f8fafc;
    color: #1f2937;
    border-bottom-left-radius: 4px;
    border-left: 3px solid #667eea;
}

.message.bot .message-content pre {
    background: #1f2937;
    color: #f8fafc;
    padding: 12px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 10px 0;
    font-size: 13px;
}

.message.bot .message-content code {
    background: #e5e7eb;
    color: #1f2937;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.message.assistant .message-content {
    background: #f8fafc;
    color: #1f2937;
    border-bottom-left-radius: 4px;
    border-left: 3px solid #667eea; /* This is your blue border */
}

.message.assistant .message-content pre {
    background: #1f2937;
    color: #f8fafc;
    padding: 12px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 10px 0;
    font-size: 13px;
}

.message.assistant .message-content code {
    background: #e5e7eb;
    color: #1f2937;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

.typing-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.typing-indicator .bot-avatar {
    margin-right: 15px;
}

.typing-dots {
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    border-left: 3px solid #667eea;
}

.typing-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9ca3af;
    margin: 0 2px;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1.2); opacity: 1; }
}

/* Input Area */
/* Input Area */
.input-container {
    padding: 20px 25px;
    border-top: 1px solid #e5e7eb;
    background: white;
 }
 
 .input-wrapper {
    display: flex;
    align-items: center;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 4px;
    transition: all 0.3s ease;
 }
 
 .input-wrapper:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
 }
 
 #messageInput {
    flex: 1;
    border: none;
    background: none;
    padding: 12px 16px;
    font-size: 16px;
    outline: none;
    resize: none;
    color: #1f2937;
 }
 
 #messageInput::placeholder {
    color: #9ca3af;
 }
 
 .send-button {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 4px;
 }
 
 .send-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
 }
 
 .send-button:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
 }
 
 .input-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #9ca3af;
 }
 
 /* Modal Styles */
 .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
 }
 
 .modal-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
 }
 
 .modal-header {
    text-align: center;
    margin-bottom: 25px;
 }
 
 .modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
 }
 
 .modal-header p {
    color: #6b7280;
    font-size: 14px;
 }
 
 .modal-body {
    margin-bottom: 25px;
 }
 
 #nameInput {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
 }
 
 #nameInput:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
 }
 
 .modal-footer {
    text-align: center;
 }
 
 .primary-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
 }
 
 .primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
 }
 
 /* Responsive Design */
 @media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        z-index: 100;
        transform: translateX(-100%);
    }
    .chat-header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: white;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 18px;
        margin-right: 15px;
        cursor: pointer;
        color: #6b7280;
    }
    
    .chat-messages {
        flex: 1;
        overflow-y: auto;
        padding: 15px 20px;
        padding-top: 20px;
    }
    
    .input-container {
        padding: 15px 20px;
    }
    
    .message-content {
        max-width: 85%;
    }
    .main-content {
        height: 100vh;
        display: flex;
        flex-direction: column;
    }
    
    .modal-content {
        margin: 20px;
    }
 }
 
 @media (max-width: 480px) {
    .sidebar {
        width: 280px;
    }
    
    .chat-header {
        padding: 15px 20px;
        position: sticky;
        top: 0;
        z-index: 100;
        background: white;
    }
    
    .chat-title h2 {
        font-size: 20px;
    }
    
    .welcome-content {
        padding: 15px;
    }
    
    .message-content {
        max-width: 90%;
    }
 }
 
 /* Scrollbar Styling */
 .chat-messages::-webkit-scrollbar,
 .sessions-container::-webkit-scrollbar {
    width: 6px;
 }
 
 .chat-messages::-webkit-scrollbar-track,
 .sessions-container::-webkit-scrollbar-track {
    background: transparent;
 }
 
 .chat-messages::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
 }
 
 .sessions-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
 }
 
 .chat-messages::-webkit-scrollbar-thumb:hover,
 .sessions-container::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
 }
 
 /* Loading States */
 .loading {
    opacity: 0.6;
    pointer-events: none;
 }
 
 .session-item.loading {
    background: rgba(255, 255, 255, 0.1);
 }
 
 /* Success/Error Messages */
 .success-message {
    background: #d1fae5;
    color: #065f46;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #10b981;
 }
 
 .error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #ef4444;
 }

 /* static/styles.css - ADD THESE STYLES TO YOUR EXISTING CSS */

/* Audio Recording Styles */
.audio-status {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

.recording-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.recording-dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.stop-recording-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.stop-recording-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Audio Preview Styles */
.audio-preview, .transcription-preview {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
   padding: 16px;
   margin-bottom: 10px;
   display: none;
}

.preview-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 12px;
   font-weight: 600;
   color: #374151;
}

.preview-content {
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.preview-actions {
   display: flex;
   gap: 8px;
   justify-content: flex-end;
}

.send-audio-btn, .send-transcription-btn {
   background: linear-gradient(135deg, #10b981 0%, #059669 100%);
   color: white;
   border: none;
   padding: 8px 16px;
   border-radius: 6px;
   cursor: pointer;
   font-size: 14px;
   transition: all 0.3s ease;
}

.send-audio-btn:hover, .send-transcription-btn:hover {
   transform: translateY(-1px);
   box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.discard-btn, .edit-btn {
   background: #6b7280;
   color: white;
   border: none;
   padding: 4px 8px;
   border-radius: 4px;
   cursor: pointer;
   font-size: 12px;
   transition: all 0.3s ease;
}

.discard-btn:hover, .edit-btn:hover {
   background: #4b5563;
}

.transcription-text {
   background: white;
   padding: 12px;
   border-radius: 6px;
   border: 1px solid #d1d5db;
   font-style: italic;
   color: #374151;
   line-height: 1.5;
}

/* Input Area Updates */
.input-wrapper {
   display: flex;
   align-items: center;
   background: #f9fafb;
   border: 1px solid #d1d5db;
   border-radius: 12px;
   padding: 4px;
   transition: all 0.3s ease;
}

.input-wrapper:focus-within {
   border-color: #667eea;
   box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#messageInput {
   flex: 1;
   border: none;
   background: none;
   padding: 12px 16px;
   font-size: 16px;
   outline: none;
   resize: none;
   color: #1f2937;
}

.input-buttons {
   display: flex;
   gap: 8px;
   margin-right: 4px;
}

.mic-button {
   width: 40px;
   height: 40px;
   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   border: none;
   border-radius: 8px;
   color: white;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.3s ease;
   position: relative;
}

.mic-button:hover {
   transform: translateY(-1px);
   box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.mic-button.recording {
   background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
   animation: pulse 2s infinite;
}

.mic-button.disabled {
   background: #d1d5db;
   cursor: not-allowed;
   transform: none;
   box-shadow: none;
}

.mic-button.disabled:hover {
   transform: none;
   box-shadow: none;
}

.send-button {
   width: 40px;
   height: 40px;
   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   border: none;
   border-radius: 8px;
   color: white;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.3s ease;
}

.send-button:hover {
   transform: translateY(-1px);
   box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.send-button:disabled {
   background: #d1d5db;
   cursor: not-allowed;
   transform: none;
   box-shadow: none;
}

/* Input Footer Updates */
.input-footer {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-top: 8px;
   font-size: 12px;
   color: #9ca3af;
}

.audio-support {
   display: none;
   align-items: center;
   gap: 4px;
   color: #10b981;
}

.audio-support i {
   font-size: 10px;
}

/* Audio Permission Modal */
.modal-actions {
   display: flex;
   gap: 12px;
   justify-content: center;
   margin-top: 20px;
}

.secondary-button {
   background: #6b7280;
   color: white;
   border: none;
   padding: 12px 24px;
   border-radius: 8px;
   font-size: 16px;
   font-weight: 600;
   cursor: pointer;
   transition: all 0.3s ease;
}

.secondary-button:hover {
   background: #4b5563;
   transform: translateY(-1px);
}

/* Audio Player Styles */
#audioPlayer {
   width: 100%;
   height: 40px;
   border-radius: 6px;
}

#audioPlayer::-webkit-media-controls-panel {
   background-color: #f3f4f6;
}

/* Voice Input Indicator for Messages */
.message.user .message-content {
   position: relative;
}

.message.user .message-content:has-text("") {
   border-left: 3px solid #10b981;
   padding-left: 12px;
}

/* Recording Animation Styles */
.recording-pulse {
   position: relative;
}

.recording-pulse::before {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 100%;
   height: 100%;
   border-radius: 50%;
   background: rgba(239, 68, 68, 0.3);
   animation: recording-pulse 2s infinite;
}

@keyframes recording-pulse {
   0% {
       transform: translate(-50%, -50%) scale(1);
       opacity: 1;
   }
   100% {
       transform: translate(-50%, -50%) scale(1.4);
       opacity: 0;
   }
}

/* Responsive Updates */
@media (max-width: 768px) {
   .audio-status {
       flex-direction: column;
       gap: 10px;
       text-align: center;
   }
   
   .input-buttons {
       gap: 6px;
   }
   
   .mic-button, .send-button {
       width: 36px;
       height: 36px;
   }
   
   .preview-actions {
       flex-direction: column;
       gap: 8px;
   }
   
   .send-audio-btn, .send-transcription-btn {
       width: 100%;
       justify-content: center;
   }
   
   .modal-actions {
       flex-direction: column;
   }
   
   .secondary-button, .primary-button {
       width: 100%;
   }
}

@media (max-width: 480px) {
   .audio-preview, .transcription-preview {
       padding: 12px;
   }
   
   .preview-header {
       font-size: 14px;
   }
   
   .input-footer {
       flex-direction: column;
       gap: 4px;
       align-items: flex-start;
   }
   
   .audio-support {
       align-self: flex-end;
   }
}

/* Audio Processing States */
.processing-audio {
   opacity: 0.7;
   pointer-events: none;
}

.audio-success {
   border-left: 4px solid #10b981;
   background: #f0fdf4;
}

.audio-error {
   border-left: 4px solid #ef4444;
   background: #fef2f2;
}

/* Accessibility Improvements */
.mic-button:focus,
.send-button:focus,
.send-audio-btn:focus,
.send-transcription-btn:focus {
   outline: 2px solid #667eea;
   outline-offset: 2px;
}

.mic-button[aria-pressed="true"] {
   background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Loading states for audio */
.audio-loading {
   position: relative;
   overflow: hidden;
}

.audio-loading::after {
   content: '';
   position: absolute;
   top: 0;
   left: -100%;
   width: 100%;
   height: 100%;
   background: linear-gradient(90deg, 
       transparent, 
       rgba(255, 255, 255, 0.2), 
       transparent
   );
   animation: loading-sweep 2s infinite;
}

@keyframes loading-sweep {
   0% { left: -100%; }
   100% { left: 100%; }
}

/* Improve contrast for better accessibility */
.recording-indicator {
   text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.transcription-text {
   line-height: 1.6;
   font-size: 14px;
}

/* Better visual hierarchy */
.preview-header {
   font-size: 14px;
   letter-spacing: 0.025em;
}

/* Smooth transitions for all audio elements */
.audio-status,
.audio-preview,
.transcription-preview,
.mic-button,
.send-button {
   transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced error and success states */
.error-message, .success-message {
   animation: slideInFromBottom 0.3s ease-out;
}

@keyframes slideInFromBottom {
   from {
       transform: translateY(20px);
       opacity: 0;
   }
   to {
       transform: translateY(0);
       opacity: 1;
   }
}
/* TTS Control Styles */
.tts-toggle {
    width: 40px;
    height: 40px;
    background: #6b7280;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 8px;
}

.tts-toggle:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.tts-toggle.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.tts-toggle.active:hover {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* TTS Playing Indicator */
.tts-playing-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.tts-icon {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.tts-text {
    flex: 1;
    font-weight: 500;
}

.tts-stop-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tts-stop-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* TTS Status Messages */
.tts-status-message {
    background: #dbeafe;
    color: #1e40af;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 14px;
    border-left: 3px solid #3b82f6;
}

/* Voice message indicator */
.message.user .message-content:has-text("🎤") {
    border-left: 3px solid #10b981;
}

/* Responsive TTS styles */
@media (max-width: 768px) {
    .tts-playing-indicator {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .tts-toggle {
        width: 36px;
        height: 36px;
    }
}