@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
  --bg-color: #131314;
  --surface-color: #1e1f20;
  --user-bubble: #282a2c;
  --text-primary: #e3e3e3;
  --text-secondary: #c4c7c5;
  --accent-color: #a8c7fa;
  --border-color: rgba(255, 255, 255, 0.1);
  --font-main: 'Inter', -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.app-container {
  width: 100%;
  height: 100vh;
  display: flex;
  position: relative;
  background: var(--bg-color);
}

.sidebar {
  width: 280px;
  background: var(--surface-color);
  display: flex;
  flex-direction: column;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 1px solid var(--border-color);
  z-index: 20;
  overflow: hidden;
}

/* Desktop Collapsed State */
.sidebar.closed {
  width: 68px;
}

.sidebar.closed .sidebar-brand h2,
.sidebar.closed .new-chat-btn .btn-text,
.sidebar.closed .menu-item span,
.sidebar.closed .sidebar-content {
  opacity: 0;
  pointer-events: none;
  display: none;
}

.sidebar.closed .new-chat-btn {
  padding: 12px;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  margin: 0 auto 1rem auto;
  justify-content: center;
}

.sidebar.closed .sidebar-brand {
  padding: 0.5rem;
  justify-content: center;
}

.sidebar.closed .menu-item {
  padding: 12px;
  justify-content: center;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  margin: 0 auto;
}

.sidebar.closed .sidebar-menu {
  gap: 0.5rem;
}

.sidebar-top {
  padding: 1rem;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0.5rem 1.5rem 0.5rem;
}

.sidebar-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 8px;
  transition: background 0.2s;
}

.sidebar-toggle-btn:hover {
  background: var(--user-bubble);
}

.sidebar-brand h2 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
}

.new-chat-btn {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s;
  margin-bottom: 1rem;
}

.new-chat-btn:hover {
  background: var(--user-bubble);
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.8rem;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 2rem;
  font-size: 0.9rem;
  transition: background 0.2s;
  cursor: pointer;
}

.menu-item:hover {
  background: var(--user-bubble);
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 0 1rem;
}

.history-title {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  text-transform: capitalize;
  font-weight: 500;
}

.history-list {
  list-style: none;
}

.history-list li {
  padding: 0.6rem 0.8rem;
  border-radius: 2rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: background 0.2s;
  margin-bottom: 0.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.history-list li:hover {
  background: var(--user-bubble);
}

.history-list li.active {
  background: var(--user-bubble);
  font-weight: 500;
}

.sidebar-bottom {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* Main Content Area */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  overflow: hidden; /* To contain the glow */
}

/* Subtle Animated Background Glow */
.main-content::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70vw;
  height: 70vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(138,43,226,0.2) 0%, rgba(65,105,225,0.1) 40%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: 0;
  animation: pulseGlow 8s ease-in-out infinite alternate;
  transition: opacity 1.5s ease;
  opacity: 0.8; /* Sangat kelihatan di awal */
}

body.chat-active .main-content::before {
  opacity: 0.15; /* Merespons 'dikit aja biar enteng' setelah chat mulai */
  animation-duration: 15s;
}

@keyframes pulseGlow {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 1;
  }
}

/* Greeting Container */
.greeting-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  margin-top: auto;
  margin-bottom: auto;
  z-index: 1;
}

.greeting-container h2 {
  font-size: 2.2rem;
  font-weight: 600;
  background: linear-gradient(135deg, #a8c7fa, #c4a1ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Header */
.header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.menu-btn {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

h1 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #a8c7fa, #c4a1ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #a8c7fa, #c4a1ff);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #131314;
  font-weight: bold;
  font-size: 14px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Dropdown Style */
.dropdown-style {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.4rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

.dropdown-style option {
  background: var(--surface-color);
}

/* Mode Switcher CSS Removed */

/* Chat Container */
.chat-container {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem 12rem 1.5rem;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

.chat-container::-webkit-scrollbar { width: 6px; }
.chat-container::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }

.chat-history {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.message {
  display: flex;
  width: 100%;
}

/* User Message */
.user-message {
  justify-content: flex-end;
}

.user-message .message-bubble {
  background: var(--user-bubble);
  color: var(--text-primary);
  padding: 0.8rem 1.2rem;
  border-radius: 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 85%;
}

/* Bot Message */
.bot-message {
  justify-content: flex-start;
  flex-direction: column;
}

.bot-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.bot-avatar {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #a8c7fa, #c4a1ff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #131314;
  font-weight: 600;
  font-size: 14px;
}

.bot-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.bot-message .message-bubble {
  background: transparent;
  color: var(--text-primary);
  padding: 0;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 100%;
}

/* Action Buttons (Copy, Regenerate) */
.message-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.bot-message:hover .message-actions {
  opacity: 1;
}

.action-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: var(--surface-color);
  color: var(--text-primary);
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 0.4rem;
  margin-top: 1rem;
  padding-left: 2.5rem;
}
.typing-indicator span {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--text-secondary);
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Input Area (Floating) */
.input-area {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, var(--bg-color) 70%, transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#chat-form {
  display: flex;
  gap: 0.5rem;
  position: relative;
  background: var(--surface-color);
  border-radius: 2rem;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  width: 100%;
  max-width: 50rem;
}

#chat-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  padding: 0.5rem 0;
  resize: none;
  overflow-y: hidden;
  max-height: 200px;
  min-height: 24px;
}

.input-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mode-dropdown {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.attachment-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.3s ease;
  margin-right: 0.25rem;
}

.attachment-btn:hover {
  color: var(--text-primary);
}

#send-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.3s ease;
}

#send-btn:hover {
  color: var(--accent-color);
}

.watermark {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  opacity: 0.5;
}

/* Thinking Box UI */
.think-box {
  background: var(--surface-color);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.9em;
  color: var(--text-secondary);
}

.think-box summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--text-secondary);
  outline: none;
  list-style: none;
}
.think-box summary::-webkit-details-marker { display: none; }
.think-box summary:hover { color: var(--text-primary); }

.think-content {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  font-style: italic;
  font-size: 0.9em;
  line-height: 1.5;
}

/* Modal CSS */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal-content {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.modal-content h3 { margin-bottom: 0.5rem; }
.modal-content p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.5rem; }

#passcode-input {
  width: 100%;
  padding: 0.8rem;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.modal-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.btn-cancel, .btn-submit {
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.btn-cancel { background: transparent; color: var(--text-secondary); }
.btn-submit { background: var(--accent-color); color: var(--bg-color); }

/* Thinking Indicator Animation */
.thinking-indicator {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(30, 30, 35, 0.6);
  border-radius: 12px;
  margin-bottom: 12px;
  width: fit-content;
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 500;
  animation: pulse-glow 1.5s infinite alternate;
  border: 1px solid rgba(255,255,255,0.05);
  margin-left: 50px; /* Align with bot messages */
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 5px rgba(187, 134, 252, 0.05); opacity: 0.8; }
  100% { box-shadow: 0 0 15px rgba(187, 134, 252, 0.2); opacity: 1; }
}

/* Luxurious Loader */
.lux-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.8s;
}

.lux-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lux-loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.lux-loader-logo {
  color: var(--accent-color);
  animation: luxPulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.lux-loader-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 8px;
  color: var(--text-color);
  margin-left: 8px; /* Offset for letter-spacing to center correctly */
  animation: luxFadeInOut 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

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

@keyframes luxFadeInOut {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.9; }
}

.thinking-indicator svg {
  animation: spin-slow 3s linear infinite;
  color: var(--accent-color);
}

@keyframes spin-slow {
  100% { transform: rotate(360deg); }
}

/* Greeting UI */
.greeting-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: auto 0; /* Vertically center within flex container */
  text-align: center;
  padding: 2rem;
}

.greeting-container h2 {
  font-size: 2.8rem;
  font-weight: 500;
  background: linear-gradient(90deg, #a8c7fa, #c4a1ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .menu-btn { display: block; }
  .sidebar { 
    position: absolute; 
    height: 100%; 
    left: 0; 
    z-index: 999;
    width: 280px; /* Force full width on mobile */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .sidebar.closed { 
    transform: translateX(-100%); 
    width: 280px; 
  }
  
  /* On mobile, even if closed class is there, we don't shrink inner items, because it slides out completely */
  .sidebar.closed .sidebar-brand h2,
  .sidebar.closed .new-chat-btn .btn-text,
  .sidebar.closed .menu-item span,
  .sidebar.closed .sidebar-content {
    opacity: 1;
    pointer-events: auto;
    display: block; /* revert desktop shrinking */
  }

  .sidebar.closed .new-chat-btn {
    padding: 0.8rem 1rem;
    border-radius: 2rem;
    width: 100%;
    height: auto;
    justify-content: flex-start;
  }
  
  .sidebar.closed .menu-item {
    padding: 0.6rem 0.8rem;
    justify-content: flex-start;
    border-radius: 2rem;
    width: 100%;
    height: auto;
  }
  
  .header-controls { flex-direction: column; gap: 0.5rem; align-items: flex-end; }
}

/* Attach Menu */
.attach-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-right: 8px;
}

.attach-btn:hover {
  background: var(--hover-color);
  color: var(--text-primary);
}

.attach-menu {
  position: absolute;
  bottom: 95px;
  left: 20px;
  background: rgba(30, 31, 32, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 100;
}

.attach-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.attach-menu-item {
  background: transparent;
  border: none;
  color: var(--text-primary);
  text-align: left;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.attach-menu-item:hover {
  background: var(--hover-color);
}

/* Delete Chat Button */
.delete-chat-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
}

.history-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.history-list li:hover .delete-chat-btn {
  opacity: 1;
}

.delete-chat-btn:hover {
  background: rgba(255, 50, 50, 0.1);
  color: #ff5252;
}

.session-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Link Preview Tooltip */
.link-preview-tooltip {
  position: absolute;
  z-index: 1000;
  width: 250px;
  background: rgba(30, 31, 32, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.link-preview-tooltip.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.link-preview-image {
  width: 100%;
  height: 120px;
  background-color: #2c2d30;
  background-size: cover;
  background-position: center;
}

.link-preview-content {
  padding: 12px;
}

.link-preview-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

.link-preview-domain {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.link-preview-domain img {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.preview-link {
  position: relative;
  cursor: pointer;
}

/* --- Unified Custom Menu --- */
.unified-menu-container {
  position: relative;
}

.unified-menu-btn {
  background: rgba(40, 42, 45, 0.7);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.unified-menu-btn:hover {
  background: rgba(60, 62, 65, 0.8);
  border-color: #555;
}

.unified-menu-popover {
  position: absolute;
  bottom: calc(100% + 25px);
  left: 0;
  width: 280px;
  background: rgba(30, 31, 32, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  z-index: 100;
  animation: popoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.menu-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-section h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.menu-divider {
  height: 1px;
  background: var(--border-color);
  margin: 12px 0;
}

.menu-radio {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.menu-radio:hover {
  background: rgba(255,255,255,0.05);
}

.menu-radio input[type="radio"] {
  margin-top: 4px;
  accent-color: #a8c7fa;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.radio-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.radio-content .title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.radio-content .desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

