/* ============================================
   HELIUM AI VOICE ASSISTANT
   Neomorphic Design with Neon Accents
   ============================================ */

/* CSS Variables - Color Palette */
:root {
  /* Primary Colors - Deep Space with Neon Accents */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a25;
  --bg-card: #151520;
  
  /* Neon Accent Colors */
  --neon-cyan: #00f5ff;
  --neon-purple: #b829dd;
  --neon-pink: #ff2a6d;
  --neon-blue: #4deeea;
  --neon-green: #39ff14;
  
  /* Gradient Definitions */
  --gradient-primary: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 50%, var(--neon-pink) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(0, 245, 255, 0.3) 0%, rgba(184, 41, 221, 0.3) 50%, rgba(255, 42, 109, 0.3) 100%);
  --gradient-border: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink), var(--neon-cyan));
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #6a6a7a;
  
  /* Shadows & Effects */
  --shadow-neo: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow-cyan: 0 0 20px rgba(0, 245, 255, 0.4), 0 0 40px rgba(0, 245, 255, 0.2);
  --shadow-glow-purple: 0 0 20px rgba(184, 41, 221, 0.4), 0 0 40px rgba(184, 41, 221, 0.2);
  
  /* Spacing */
  --sidebar-width: 280px;
  --right-panel-width: 320px;
  --header-height: 80px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Chillax', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow: hidden;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

/* ============================================
   FLOATING BACKGROUND ELEMENTS
   ============================================ */
.floating-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--neon-cyan);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--neon-purple);
  top: 50%;
  right: -50px;
  animation-delay: -5s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: var(--neon-pink);
  bottom: -50px;
  left: 30%;
  animation-delay: -10s;
}

.orb-4 {
  width: 350px;
  height: 350px;
  background: var(--neon-blue);
  top: 20%;
  left: 40%;
  animation-delay: -15s;
  opacity: 0.2;
}

.orb-5 {
  width: 200px;
  height: 200px;
  background: var(--neon-green);
  bottom: 20%;
  right: 20%;
  animation-delay: -7s;
  opacity: 0.15;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(50px, -30px) scale(1.1);
  }
  50% {
    transform: translate(-30px, 50px) scale(0.95);
  }
  75% {
    transform: translate(40px, 40px) scale(1.05);
  }
}

/* Grid Overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   APP CONTAINER
   ============================================ */
.app-container {
  display: flex;
  height: 100vh;
  position: relative;
  z-index: 2;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  width: var(--sidebar-width);
  background: rgba(18, 18, 26, 0.8);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-border);
  opacity: 0.5;
}

/* Logo Section */
.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  position: relative;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-ring {
  stroke: var(--neon-cyan);
  stroke-width: 2;
  fill: none;
  filter: drop-shadow(0 0 8px var(--neon-cyan));
}

.logo-core {
  fill: var(--neon-purple);
  filter: drop-shadow(0 0 12px var(--neon-purple));
  animation: pulse 2s infinite;
}

.logo-lines {
  stroke: var(--text-primary);
  stroke-width: 2;
  stroke-linecap: round;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(0.95);
  }
}

.logo-text {
  font-family: 'Clash Display', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.nav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.nav-item:hover,
.nav-item.active {
  color: var(--text-primary);
  transform: translateX(4px);
}

.nav-item.active::before {
  opacity: 0.1;
}

.nav-item.active {
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.3);
  box-shadow: var(--shadow-glow-cyan);
}

.nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.nav-item span {
  font-weight: 500;
}

/* Sidebar Footer */
.sidebar-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 600;
  font-size: 0.875rem;
}

.user-status {
  font-size: 0.75rem;
  color: var(--neon-cyan);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Header */
.main-header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-left h1 {
  font-size: 1.75rem;
  font-weight: 600;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--neon-green);
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: blink 2s infinite;
}

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

.header-actions {
  display: flex;
  gap: 12px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
}

.icon-btn:hover {
  background: var(--bg-card);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-2px);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--neon-pink);
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 10px var(--neon-pink);
}

/* Chat Container */
.chat-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px 32px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-right: 8px;
}

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

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

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* Messages */
.message {
  display: flex;
  gap: 16px;
  animation: messageSlide 0.4s ease;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message-avatar {
  flex-shrink: 0;
}

.ai-avatar {
  width: 44px;
  height: 44px;
  position: relative;
}

.ai-avatar svg {
  width: 100%;
  height: 100%;
}

.avatar-ring {
  stroke: var(--neon-cyan);
  stroke-width: 2;
  fill: none;
  filter: drop-shadow(0 0 6px var(--neon-cyan));
}

.avatar-core {
  fill: var(--neon-purple);
  filter: drop-shadow(0 0 10px var(--neon-purple));
  animation: breathe 3s infinite ease-in-out;
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.9); opacity: 0.8; }
}

.message-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 70%;
}

.message-bubble {
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.assistant-message .message-bubble {
  border-left: 3px solid var(--neon-cyan);
  box-shadow: -4px 0 20px rgba(0, 245, 255, 0.1);
}

.message-bubble p {
  color: var(--text-primary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.message-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 4px;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  padding-left: 60px;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(0, 245, 255, 0.05);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: var(--radius-xl);
  color: var(--neon-cyan);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.quick-action-btn:hover {
  background: rgba(0, 245, 255, 0.15);
  border-color: var(--neon-cyan);
  box-shadow: var(--shadow-glow-cyan);
  transform: translateY(-2px);
}

.quick-action-btn svg {
  width: 16px;
  height: 16px;
}

/* Input Area */
.input-area {
  margin-top: 24px;
}

.input-container {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.input-container::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient-border);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}

.attachment-btn,
.send-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.attachment-btn:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.send-btn {
  background: var(--gradient-primary);
  border: none;
  color: white;
}

.send-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow-cyan);
}

.attachment-btn svg,
.send-btn svg {
  width: 20px;
  height: 20px;
}

.text-input-wrapper {
  flex: 1;
  position: relative;
}

textarea {
  width: 100%;
  min-height: 44px;
  max-height: 150px;
  padding: 10px 0;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9375rem;
  resize: none;
  outline: none;
  line-height: 1.6;
}

textarea::placeholder {
  color: var(--text-muted);
}

/* Voice Button */
.voice-btn {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.voice-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  padding: 2px;
  background: var(--gradient-border);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.voice-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow-purple);
}

.voice-btn.active {
  background: rgba(184, 41, 221, 0.2);
  animation: voicePulse 1.5s infinite;
}

@keyframes voicePulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(184, 41, 221, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(184, 41, 221, 0.6), 0 0 60px rgba(184, 41, 221, 0.3);
  }
}

.voice-icon {
  position: relative;
  z-index: 1;
}

.voice-icon svg {
  width: 22px;
  height: 22px;
  color: var(--neon-purple);
}

.voice-waves {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.voice-btn.active .voice-waves {
  opacity: 1;
}

.voice-btn.active .voice-icon {
  opacity: 0;
}

.voice-waves span {
  width: 3px;
  height: 20px;
  background: var(--neon-purple);
  border-radius: 2px;
  animation: wave 1s infinite ease-in-out;
}

.voice-waves span:nth-child(1) { animation-delay: 0s; }
.voice-waves span:nth-child(2) { animation-delay: 0.1s; }
.voice-waves span:nth-child(3) { animation-delay: 0.2s; }
.voice-waves span:nth-child(4) { animation-delay: 0.3s; }
.voice-waves span:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave {
  0%, 100% { height: 8px; }
  50% { height: 24px; }
}

.input-hint {
  text-align: center;
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

kbd {
  padding: 2px 6px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.6875rem;
}

/* Voice Panel */
.voice-panel {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 32px 48px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(184, 41, 221, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--shadow-glow-purple);
}

.voice-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.voice-visualizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 60px;
}

.wave-bar {
  width: 4px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 2px;
  animation: visualizer 0.5s infinite ease-in-out;
}

.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.05s; }
.wave-bar:nth-child(3) { animation-delay: 0.1s; }
.wave-bar:nth-child(4) { animation-delay: 0.15s; }
.wave-bar:nth-child(5) { animation-delay: 0.2s; }
.wave-bar:nth-child(6) { animation-delay: 0.25s; }
.wave-bar:nth-child(7) { animation-delay: 0.3s; }
.wave-bar:nth-child(8) { animation-delay: 0.35s; }
.wave-bar:nth-child(9) { animation-delay: 0.4s; }
.wave-bar:nth-child(10) { animation-delay: 0.45s; }
.wave-bar:nth-child(11) { animation-delay: 0.5s; }
.wave-bar:nth-child(12) { animation-delay: 0.55s; }
.wave-bar:nth-child(13) { animation-delay: 0.6s; }
.wave-bar:nth-child(14) { animation-delay: 0.65s; }
.wave-bar:nth-child(15) { animation-delay: 0.7s; }
.wave-bar:nth-child(16) { animation-delay: 0.75s; }
.wave-bar:nth-child(17) { animation-delay: 0.8s; }
.wave-bar:nth-child(18) { animation-delay: 0.85s; }
.wave-bar:nth-child(19) { animation-delay: 0.9s; }
.wave-bar:nth-child(20) { animation-delay: 0.95s; }

@keyframes visualizer {
  0%, 100% { height: 20px; }
  50% { height: 50px; }
}

.voice-status {
  font-size: 1rem;
  color: var(--neon-purple);
  font-weight: 500;
}

.voice-cancel {
  padding: 8px 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.voice-cancel:hover {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
}

/* ============================================
   RIGHT PANEL
   ============================================ */
.right-panel {
  width: var(--right-panel-width);
  background: rgba(18, 18, 26, 0.6);
  backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px;
  overflow-y: auto;
}

.panel-section {
  margin-bottom: 32px;
}

.panel-section h3 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* Context Card */
.context-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 245, 255, 0.2);
  transition: all var(--transition-normal);
}

.context-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: var(--shadow-glow-cyan);
}

.context-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 245, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--neon-cyan);
}

.context-icon svg {
  width: 20px;
  height: 20px;
}

.context-info {
  display: flex;
  flex-direction: column;
}

.context-title {
  font-weight: 600;
  font-size: 0.875rem;
}

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

/* Tools List */
.tools-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tool-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.tool-item:hover {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.tool-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.tool-icon.web {
  background: rgba(0, 245, 255, 0.1);
  color: var(--neon-cyan);
}

.tool-icon.code {
  background: rgba(184, 41, 221, 0.1);
  color: var(--neon-purple);
}

.tool-icon.image {
  background: rgba(255, 42, 109, 0.1);
  color: var(--neon-pink);
}

.tool-icon svg {
  width: 18px;
  height: 18px;
}

.tool-item span {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Settings */
.setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.setting-item:last-child {
  border-bottom: none;
}

.setting-item span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Neo Select */
.neo-select {
  padding: 8px 12px;
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.875rem;
  cursor: pointer;
  outline: none;
}

.neo-select:focus {
  border-color: var(--neon-cyan);
}

/* Slider */
.slider-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.neo-slider {
  width: 100px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--bg-tertiary);
  border-radius: 2px;
  outline: none;
}

.neo-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--gradient-primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.slider-value {
  font-size: 0.75rem;
  color: var(--neon-cyan);
  min-width: 32px;
}

/* Neo Toggle */
.neo-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  cursor: pointer;
}

.neo-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-tertiary);
  border-radius: 24px;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all var(--transition-normal);
}

.neo-toggle input:checked + .toggle-slider {
  background: rgba(0, 245, 255, 0.2);
  border-color: var(--neon-cyan);
}

.neo-toggle input:checked + .toggle-slider::before {
  transform: translateX(20px);
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1400px) {
  .right-panel {
    display: none;
  }
}

@media (max-width: 1024px) {
  .sidebar {
    width: 80px;
    padding: 16px;
  }
  
  .logo-text,
  .nav-item span,
  .user-info {
    display: none;
  }
  
  .logo-section {
    justify-content: center;
  }
  
  .nav-item {
    justify-content: center;
    padding: 14px;
  }
  
  .user-card {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  
  .main-header {
    padding: 0 16px;
  }
  
  .chat-container {
    padding: 16px;
  }
  
  .message-content {
    max-width: 85%;
  }
  
  .quick-actions {
    padding-left: 0;
  }
}