:root {
  --font-system: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font-system);
}

.font-mono {
  font-family: var(--font-mono);
}

/* CUSTOM SCROLLBARS */
.custom-scroll::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.custom-scroll::-webkit-scrollbar-track {
  background: transparent;
}

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

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

/* MODE BUTTONS */
.mode-btn {
  color: #94a3b8;
  background: transparent;
}

.mode-btn.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* MESSAGE BUBBLES */
.msg-user {
  background: #1e202e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px 18px 4px 18px;
}

.msg-assistant {
  background: #13141d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px 18px 18px 4px;
}

/* CODE BLOCKS */
.msg-assistant pre {
  background: #090a0f !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
  margin: 0.75rem 0;
  overflow-x: auto;
}

.msg-assistant code {
  font-family: var(--font-mono) !important;
  font-size: 0.85rem;
}

.msg-assistant p {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.msg-assistant ul, .msg-assistant ol {
  margin-left: 1.5rem;
  margin-bottom: 0.6rem;
}

.msg-assistant ul {
  list-style-type: disc;
}

.msg-assistant ol {
  list-style-type: decimal;
}

/* REASONING INSPECTOR */
.reasoning-details summary {
  list-style: none;
  cursor: pointer;
}

.reasoning-details summary::-webkit-details-marker {
  display: none;
}

.reasoning-details[open] summary svg {
  transform: rotate(180deg);
}
