/* Base Reset & Variables */
html {
  font-size: 100%;
}

:root {
  --bg-primary: #0a0a10;
  --panel-bg: rgba(20, 20, 30, 0.6);
  --panel-bg-light: rgba(255, 255, 255, 0.05);
  --panel-border: rgba(255, 255, 255, 0.08);
  
  --accent-primary: #ff5277;
  --accent-secondary: #7000ff;
  --accent-glow: rgba(255, 82, 119, 0.35);
  
  --text-main: #f0f0f5;
  --text-muted: #a0a0b8;
  
  --font-display: 'Outfit', 'Noto Sans KR', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-display);
  background-color: var(--bg-primary);
  color: var(--text-main);
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Background Glowing Blobs */
.background-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  mix-blend-mode: screen;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-primary);
  top: -10%;
  left: -10%;
  animation: float-slow 20s infinite alternate;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: var(--accent-secondary);
  bottom: -15%;
  right: -10%;
  animation: float-slow 25s infinite alternate-reverse;
}

@keyframes float-slow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 30px) scale(1.1); }
  100% { transform: translate(-30px, -50px) scale(0.9); }
}

/* Glassmorphism Styles */
.glass {
  background: var(--panel-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-light {
  background: var(--panel-bg-light);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

/* App Container */
.app-container {
  position: relative;
  z-index: 10;
  width: 95vw;
  max-width: 1200px;
  height: 90vh;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  overflow: hidden;
}

/* Sidebar Layout */
.sidebar {
  display: flex;
  flex-direction: column;
  padding: 25px 24px;
  align-items: center;
  height: 100%;
  overflow-y: auto;
}

/* Sidebar Scrollbar Styling */
.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.profile-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  box-shadow: 0 0 15px rgba(255, 82, 119, 0.2);
}

/* Selector dropdown */
.selector-container {
  width: 100%;
  text-align: left;
}

.selector-container label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.profile-separator {
  width: 100%;
  height: 1px;
  background: var(--panel-border);
  margin: 15px 0;
}

.active-profile {
  text-align: center;
}

.assistant-name {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(to right, #ffffff, #dcdcf0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.assistant-bio {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Avatar Container */
.avatar-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.5s ease, border-color 0.5s ease;
}

.avatar-container:hover .avatar-img {
  transform: scale(1.03);
  border-color: var(--accent-primary);
}

/* Active talking/thinking pulse animation */
.avatar-container.thinking .avatar-img {
  animation: pulse-border 1.5s infinite alternate;
}

.avatar-container.speaking .avatar-img {
  animation: pulse-border-speaking 1.2s infinite alternate;
}

@keyframes pulse-border {
  0% { border-color: rgba(112, 0, 255, 0.4); }
  100% { border-color: rgba(112, 0, 255, 1); box-shadow: 0 0 15px rgba(112, 0, 255, 0.5); }
}

@keyframes pulse-border-speaking {
  0% { border-color: rgba(255, 82, 119, 0.4); }
  100% { border-color: rgba(255, 82, 119, 1); box-shadow: 0 0 20px rgba(255, 82, 119, 0.6); }
}

/* Status Indicator */
.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: auto;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #3bca75;
  box-shadow: 0 0 8px #3bca75;
}

.status-dot.thinking {
  background-color: #ffb700;
  box-shadow: 0 0 8px #ffb700;
  animation: blink 1s infinite alternate;
}

.status-dot.speaking {
  background-color: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
  animation: blink 0.6s infinite alternate;
}

@keyframes blink {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Voice & TTS Controls */
.voice-controls {
  width: 100%;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.voice-controls label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.glass-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--panel-border);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 8px;
  outline: none;
  font-family: var(--font-display);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.glass-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(255, 82, 119, 0.2);
}

.glass-input option {
  background: #151522;
  color: var(--text-main);
}

.control-btn {
  width: 100%;
  background: var(--panel-bg-light);
  border: 1px solid var(--panel-border);
  color: var(--text-muted);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.control-btn:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.control-btn.active {
  background: linear-gradient(135deg, rgba(255, 82, 119, 0.15), rgba(112, 0, 255, 0.15));
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(255, 82, 119, 0.15);
}

/* Chat Console Layout */
.chat-console {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid var(--panel-border);
}

.chat-header h2 {
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header h2 i {
  color: var(--accent-primary);
}

.session-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
  padding: 8px;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-btn:hover {
  color: var(--accent-primary);
  background: rgba(255, 82, 119, 0.1);
}

/* Chat History List */
.chat-history {
  flex: 1;
  min-height: 0;
  padding: 30px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Custom Scrollbar */
.chat-history::-webkit-scrollbar {
  width: 6px;
}

.chat-history::-webkit-scrollbar-track {
  background: transparent;
}

.chat-history::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.chat-history::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Messages Styling */
.message {
  display: flex;
  max-width: 80%;
  animation: fade-in-up 0.3s ease;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.message.user {
  align-self: flex-end;
}

.message.assistant {
  align-self: flex-start;
}

.message-bubble {
  padding: 14px 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
}

.message.user .message-bubble {
  background: linear-gradient(135deg, rgba(112, 0, 255, 0.2), rgba(112, 0, 255, 0.05));
  border: 1px solid rgba(112, 0, 255, 0.25);
  border-radius: 16px 16px 4px 16px;
  color: #e0d0ff;
}

.message.assistant .message-bubble {
  background: linear-gradient(135deg, rgba(255, 82, 119, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--panel-border);
  border-radius: 16px 16px 16px 4px;
}

.message-bubble img {
  max-width: 100%;
  border-radius: 10px;
  margin-top: 10px;
  display: block;
}

.code-block {
  background: rgba(0, 0, 0, 0.4);
  padding: 12px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 0.85rem;
  margin-top: 10px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Chat Footer panel */
.chat-footer {
  padding: 20px 30px 25px 30px;
  border-top: 1px solid var(--panel-border);
}

.input-wrapper {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
  padding: 8px 15px;
}

.input-wrapper input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 0.95rem;
  padding: 10px 0;
  width: 100%;
}

.input-wrapper input::placeholder {
  color: var(--text-muted);
}

.mic-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mic-btn:hover {
  color: var(--accent-primary);
  background: rgba(255, 82, 119, 0.1);
}

.mic-btn.recording {
  color: #ffffff;
  background: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary);
  animation: pulse-glow 1s infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(1); box-shadow: 0 0 10px var(--accent-primary); }
  100% { transform: scale(1.05); box-shadow: 0 0 20px var(--accent-primary); }
}

.send-btn {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(255, 82, 119, 0.3);
}

.send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(255, 82, 119, 0.5);
}

.send-btn:active {
  transform: translateY(0);
}

.stt-status-msg {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
}

.stt-status-msg.active {
  color: var(--accent-primary);
  font-weight: 500;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

/* Modal Content */
.modal-content {
  width: 90%;
  max-width: 450px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 12px;
}

.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.icon-btn-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
}

.icon-btn-close:hover {
  color: var(--accent-primary);
  transform: scale(1.1);
}

/* Premium Card */
.premium-card {
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.premium-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffb700, #ff8800);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.premium-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.premium-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  text-shadow: 0 0 15px rgba(255, 82, 119, 0.3);
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.premium-features {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.premium-features li {
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.premium-features li i {
  color: #3bca75;
  font-size: 1rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Tab Buttons */
.tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  outline: none;
  white-space: nowrap;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 82, 119, 0.15), rgba(112, 0, 255, 0.15));
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(255, 82, 119, 0.15);
}

/* View Containers */
.view-container {
  display: flex;
  flex-direction: column;
  height: calc(100% - 78px);
  overflow: hidden;
}

#dashboard-view {
  overflow-y: auto;
}

/* Custom Scrollbar for Dashboard View */
#dashboard-view::-webkit-scrollbar {
  width: 6px;
}
#dashboard-view::-webkit-scrollbar-track {
  background: transparent;
}
#dashboard-view::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
#dashboard-view::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Dashboard Allocations */
.alloc-bar-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.alloc-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.alloc-bar-bg {
  width: 100%;
  height: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
}
.alloc-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.8s ease;
}
.event-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  font-size: 0.85rem;
}
.event-date {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.8rem;
}
.event-title {
  font-weight: 500;
  color: var(--text-main);
}
.event-status {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(59, 202, 117, 0.15);
  color: #3bca75;
  border: 1px solid rgba(59, 202, 117, 0.25);
}

/* Responsive adjustments for smaller screen heights */
@media (max-height: 850px) {
  .app-container {
    height: 95vh;
    gap: 15px;
  }
  .sidebar {
    padding: 15px 15px;
  }
  .avatar-container {
    width: 130px;
    height: 130px;
    margin-bottom: 10px;
    padding: 4px;
  }
  .profile-header {
    margin-bottom: 10px;
  }
  .profile-separator {
    margin: 8px 0;
  }
  .status-indicator {
    padding: 4px 10px;
    margin-bottom: 10px;
  }
  .voice-controls {
    margin-top: 10px;
    gap: 8px;
  }
  .voice-controls label {
    margin-bottom: 3px;
    font-size: 0.68rem;
  }
  .glass-input {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  .control-btn {
    padding: 8px;
    font-size: 0.8rem;
  }
  .chat-header {
    padding: 12px 20px;
  }
  .chat-history {
    padding: 20px;
    gap: 15px;
  }
  .chat-footer {
    padding: 12px 20px 15px 20px;
  }
  .input-wrapper {
    padding: 6px 12px;
    gap: 10px;
  }
  .input-wrapper input {
    font-size: 0.9rem;
    padding: 8px 0;
  }
  .mic-btn, .send-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* =============================================
   GROUP CHAT STYLES
   ============================================= */

/* Group participants bar */
#group-participants {
  flex-wrap: wrap;
  background: rgba(0,0,0,0.15);
}

/* Group message - expand width slightly for multi-avatar layout */
.group-assistant-msg {
  max-width: 95% !important;
}

/* Dot bounce typing animation */
@keyframes dot-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
  40% { transform: translateY(-6px); opacity: 1; }
}

/* Fade in up for group messages */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Pulse avatar for typing indicator */
@keyframes pulse-avatar {
  from { opacity: 0.5; transform: scale(0.95); }
  to   { opacity: 1;   transform: scale(1.05); }
}

/* Responsive adjustments for Galaxy Fold 3 (Inner Screen) & Tablet Viewports */
@media (max-width: 950px) {
  .app-container {
    width: 98vw;
    height: 95vh;
    grid-template-columns: 240px 1fr;
    gap: 12px;
  }

  .sidebar {
    padding: 16px 12px;
  }

  .badge {
    padding: 3px 8px;
    font-size: 0.65rem;
    margin-bottom: 8px;
  }

  .selector-container label {
    font-size: 0.65rem;
    margin-bottom: 4px;
  }

  .glass-input {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .active-profile {
    margin-top: 5px;
  }

  .assistant-name {
    font-size: 1.35rem;
  }

  .assistant-bio {
    font-size: 0.72rem;
  }

  .avatar-container {
    width: 90px;
    height: 90px;
    margin-bottom: 12px;
    padding: 4px;
  }

  .status-indicator {
    padding: 4px 10px;
    font-size: 0.72rem;
    margin-bottom: 10px;
  }

  .voice-controls {
    margin-top: 10px;
    gap: 8px;
  }

  .control-btn {
    padding: 8px;
    font-size: 0.78rem;
  }

  /* Chat Header Optimization for Galaxy Fold 3 */
  .chat-header {
    padding: 12px 16px;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: flex-start;
  }

  .header-info {
    min-width: 120px;
    flex-shrink: 0;
  }

  .chat-header h2 {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 5px;
  }

  .session-desc {
    font-size: 0.68rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-tabs {
    margin-left: auto !important;
    gap: 6px !important;
    flex-shrink: 1;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  /* Webkit scrollbar for tabs scroll */
  .header-tabs::-webkit-scrollbar {
    height: 3px;
  }
  .header-tabs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
  }

  .tab-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
    height: 32px;
  }

  .icon-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    padding: 0;
    flex-shrink: 0;
  }

  /* Content view spacing */
  .chat-history {
    padding: 16px;
    gap: 12px;
  }

  .message {
    max-width: 90%;
  }

  .message-bubble {
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .chat-footer {
    padding: 12px 16px;
  }

  .input-wrapper {
    padding: 4px 10px;
    gap: 8px;
  }

  .input-wrapper input {
    font-size: 0.88rem;
    padding: 6px 0;
  }

  .mic-btn, .send-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }
  
  .stt-status-msg {
    font-size: 0.68rem;
    margin-top: 4px;
  }
}

