/**
 * Custom CSS utilities — the only CSS file that survives the Tailwind migration.
 * Contains exactly 3 things Tailwind CDN cannot express inline.
 */

/* Gradient primary CTA (from DESIGN.md: 135deg, primary → primary-container) */
.bg-gradient-primary {
  background: linear-gradient(135deg, #006d43, #05bc77);
}

/* Glassmorphism panel (sidebar / floating elements) */
.glass-panel {
  background-color: rgba(201, 231, 252, 0.70);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Markdown toolbar wrapper */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
}

/* Markdown toolbar buttons (renderToolbar uses .toolbar__btn / .toolbar__sep) */
.toolbar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border-radius: 0.5rem;
  font-family: 'B612 Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6c7b70;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.toolbar__btn:hover {
  background: #def0ff;
  color: #006d43;
}
.toolbar__sep {
  display: inline-flex;
  align-items: center;
  color: #bbcabe;
  font-size: 0.875rem;
  padding: 0 0.125rem;
  user-select: none;
}

/* Input bottom-border-only style (DESIGN.md: "Forgo the box") */
.input-underline {
  background: transparent;
  border: none;
  border-bottom: 2px solid #bbcabe;
  border-radius: 0;
  outline: none;
  transition: border-color 0.15s ease;
  padding: 0.5rem 0.25rem;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
.input-underline:focus {
  border-bottom-color: #05bc77;
  box-shadow: 0 2px 0 0 rgba(5, 188, 119, 0.20);
}
