/* Modern Dark Theme Design System & D&D Stat Card Preview */

:root {
  --bg-dark: #0a0708;
  --bg-panel: #1c1917;
  --bg-panel-hover: #292524;
  --bg-input: #0c0a09;
  --border-color: #44403c;
  --border-focus: #f97316;
  --text-main: #e7e5e4;
  --text-muted: #a8a29e;
  --primary: #f97316;
  --primary-hover: #fb923c;
  --success: #f97316;
  --success-hover: #fb923c;
  --accent: #d97706;
  --accent-hover: #f59e0b;
  --danger: #ef4444;
  --card-parchment-bg: #f0ede8;
  --card-parchment-border: #b58900;
  --card-text: #2b2b2b;
  --card-red-accent: #7a200d;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-panel: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 20px 30px -10px rgba(0, 0, 0, 0.6);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(255, 120, 40, 0.07), transparent 60%),
    radial-gradient(50% 45% at 90% 10%, rgba(150, 60, 180, 0.05), transparent 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(200, 70, 30, 0.06), transparent 65%),
    var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

#app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

/* App Header */
.app-header {
  height: 64px;
  background: rgba(28, 25, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
}

.logo h1 {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(to bottom, #fed7aa, #fb923c, #c2410c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.badge {
  background: rgba(249, 115, 22, 0.15);
  color: #fdba74;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Main Grid Layout */
.main-container {
  display: grid;
  grid-template-columns: 340px 1fr 440px;
  gap: 16px;
  padding: 16px;
  height: calc(100vh - 64px);
  overflow: hidden;
}

@media (max-width: 1400px) {
  .main-container {
    grid-template-columns: 300px 1fr 400px;
  }
}

@media (max-width: 1100px) {
  .main-container {
    grid-template-columns: 1fr;
    overflow: auto;
    height: auto;
  }
  #app {
    height: auto;
    overflow: auto;
  }
}

/* Panels */
.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.panel-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(10, 7, 8, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-header h2 {
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-num {
  background: var(--primary);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.panel-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-body.scrollable {
  overflow-y: auto;
  flex: 1;
}

/* Custom Scrollbars */
.scrollable::-webkit-scrollbar {
  width: 6px;
}
.scrollable::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}
.scrollable::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
.scrollable::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: rgba(249, 115, 22, 0.1);
  color: #fed7aa;
  border-color: rgba(249, 115, 22, 0.4);
}
.btn-primary:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: rgba(251, 146, 60, 0.6);
  box-shadow: 0 0 25px -8px rgba(255, 120, 40, 0.6);
}

.btn-secondary {
  background: var(--bg-input);
  color: var(--text-main);
  border-color: var(--border-color);
}
.btn-secondary:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.4);
  color: #fdba74;
}

.btn-success {
  background: rgba(249, 115, 22, 0.1);
  color: #fed7aa;
  border-color: rgba(249, 115, 22, 0.4);
}
.btn-success:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: rgba(251, 146, 60, 0.6);
  box-shadow: 0 0 25px -8px rgba(255, 120, 40, 0.6);
}

.btn-accent {
  background: rgba(217, 119, 6, 0.12);
  color: #fbbf24;
  border-color: rgba(217, 119, 6, 0.45);
}
.btn-accent:hover {
  background: rgba(217, 119, 6, 0.22);
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow: 0 0 25px -8px rgba(217, 119, 6, 0.6);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.3);
}
.btn-danger:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.55);
  color: #fecaca;
}

.btn-small {
  padding: 4px 10px;
  font-size: 0.75rem;
}

.btn-full {
  width: 100%;
}

.link-btn {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
}
.link-btn:hover {
  color: #fed7aa;
}

/* Toggle Buttons */
.card-type-toggle, .tab-buttons {
  display: flex;
  background: var(--bg-input);
  padding: 3px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.toggle-btn, .tab-btn {
  padding: 5px 12px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.toggle-btn.active, .tab-btn.active {
  background: rgba(249, 115, 22, 0.15);
  color: #fdba74;
}

/* Forms & Inputs */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.label-with-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

input[type="text"],
input[type="number"],
input[type="password"],
select,
textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 8px 12px;
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.25);
}

textarea {
  resize: vertical;
  line-height: 1.4;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
}

.input-with-button {
  display: flex;
  gap: 8px;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Image Preview */
.image-preview {
  height: 130px;
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-input);
  position: relative;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Parser Actions */
.parser-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.parser-type-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Gemini Config Accordion */
.gemini-config {
  background: rgba(10, 7, 8, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.gemini-config summary {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.gemini-config .config-content {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.help-text {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Form Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.align-center {
  align-items: center;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(10, 7, 8, 0.2);
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(68, 64, 60, 0.4);
}

.form-section .form-group,
.field-accordion-body .form-group {
  gap: 4px;
}

.section-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fdba74;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 4px;
}

/* Saving throw override strip: a single compact row of plain inputs (no
   stepper buttons, no ability-box chrome) since this field is rarely used —
   most creatures rely on the plain ability modifier instead. */
.save-strip {
  display: flex;
  gap: 6px;
}

.save-mini {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.save-mini label {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
}

.save-mini input {
  width: 100%;
  text-align: center;
  padding: 4px 2px;
}

/* Field accordions: collapsible sub-sections inside the Card Data Editor.
   Traits/Actions default open, the rarer Bonus Actions/Reactions/Legendary
   Actions default closed — renderList() in app.js also force-opens one the
   moment it holds data (e.g. after loading/parsing a card), so nothing
   filled-in ever hides silently. */
.field-accordion {
  background: rgba(10, 7, 8, 0.2);
  border: 1px solid rgba(68, 64, 60, 0.4);
  border-radius: var(--radius-sm);
}

.field-accordion > summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fdba74;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}

.field-accordion > summary::-webkit-details-marker { display: none; }

.field-accordion > summary::before {
  content: '';
  width: 0;
  height: 0;
  flex-shrink: 0;
  border-style: solid;
  border-width: 4px 0 4px 5px;
  border-color: transparent transparent transparent var(--text-muted);
  transition: transform 0.15s ease;
}

.field-accordion[open] > summary::before {
  transform: rotate(90deg);
}

.field-accordion[open] > summary {
  border-bottom: 1px solid rgba(68, 64, 60, 0.4);
}

.acc-count {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: normal;
}

.field-accordion-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}

/* Ability Grid */
.abilities-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.ability-box {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.ability-box label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
}

.ability-box input {
  text-align: center;
  padding: 4px;
  font-weight: 700;
}

.mod-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--success);
}

/* Stat stepper: replaces the browser's native up/down number-input spinner
   with an explicit minus button on the left and plus button on the right. */
.stat-stepper {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 3px;
}

.stat-stepper input[type="number"] {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  /* Hide the native spinner arrows (Firefox) */
  -moz-appearance: textfield;
}

.stat-stepper input[type="number"]::-webkit-inner-spin-button,
.stat-stepper input[type="number"]::-webkit-outer-spin-button {
  /* Hide the native spinner arrows (Chrome/Safari/Edge) */
  -webkit-appearance: none;
  margin: 0;
}

.stat-step-btn {
  flex: 0 0 auto;
  width: 18px;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: rgba(249, 115, 22, 0.08);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.stat-step-btn:hover {
  background: rgba(249, 115, 22, 0.18);
  border-color: rgba(249, 115, 22, 0.5);
}

.stat-step-btn:active {
  background: rgba(249, 115, 22, 0.3);
}

/* Dynamic Item Cards (Traits, Actions) */
.dynamic-list-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.list-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.list-header h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.dynamic-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dynamic-item-card {
  background: rgba(10, 7, 8, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.dynamic-item-header {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dynamic-item-header input {
  font-weight: 600;
}

/* Card Visual Preview (D&D Stat Block / Parchment Style) */
.card-visual-wrapper {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.dnd-card {
  width: 100%;
  max-width: 400px;
  background: var(--card-parchment-bg);
  color: var(--card-text);
  border: 3px double var(--card-red-accent);
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  font-family: 'Times New Roman', Times, serif;
  overflow: hidden;
}

.card-image-box {
  width: 100%;
  height: 180px;
  background: #111;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--card-red-accent);
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  background: #1e293b;
}

.card-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 12px 14px 8px 14px;
  color: #fff;
}

.card-title-overlay h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #f1c40f;
  line-height: 1.1;
  margin-bottom: 2px;
}

.card-title-overlay p {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-style: italic;
  color: #cbd5e1;
}

.card-statblock-body {
  padding: 12px 14px;
}

/* Ornamental section divider: a thin gradient rule with a centered diamond,
   the signature D&D stat-block divider look (2014 SRD through the 2024
   revision and virtually every Homebrewery theme replicate it). */
.red-line {
  position: relative;
  height: 3px;
  margin: 9px 0;
  background: linear-gradient(to right, transparent, var(--card-red-accent) 15%, var(--card-red-accent) 85%, transparent);
}
.red-line::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--card-red-accent);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* Quick vitals row: AC / Initiative / HP / Speed as individual bordered
   badges, matching the 2024 stat block's "vitals" tag row. */
.quick-stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 8px 0;
}

.stat-pill {
  flex: 1 1 0;
  text-align: center;
  background: rgba(122, 32, 13, 0.06);
  border: 1px solid rgba(122, 32, 13, 0.35);
  border-radius: 6px;
  padding: 5px 4px 6px;
  font-family: 'Inter', sans-serif;
}

.quick-stats-bar .stat-pill .label {
  display: block;
  color: var(--card-red-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.6rem;
}

/* The headline number (AC 11, HP 14, Speed 30, Initiative +1) reads big and
   bold; any qualifier (Natural Armor, the dice expression, the "ft." unit,
   the passive-initiative score) sits underneath as a small subtitle —
   matching how a clean printed stat block leads with the number. */
.stat-pill-main {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--card-text);
  margin-top: 1px;
}

.stat-pill-sub {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--card-text);
  opacity: 0.65;
  white-space: normal;
  word-break: break-word;
}

/* Ability score table: Score(mod) row + a separate Save row per ability,
   the signature addition of the 2024 stat block redesign. */
.render-ability-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
}

.render-ability-table th,
.render-ability-table td {
  text-align: center;
  padding: 3px 2px;
  border: 1px solid rgba(122, 32, 13, 0.25);
  color: var(--card-text);
}

.render-ability-table thead th {
  background: rgba(122, 32, 13, 0.1);
  color: var(--card-red-accent);
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.render-ability-table .ability-row-label {
  text-align: left;
  padding-left: 6px;
  width: 42px;
  background: rgba(122, 32, 13, 0.05);
  color: var(--card-red-accent);
  font-weight: 700;
  font-size: 0.6rem;
  text-transform: uppercase;
}

.render-attributes p {
  font-size: 0.8rem;
  line-height: 1.3;
  margin-bottom: 3px;
}

.render-attributes strong {
  color: var(--card-red-accent);
}

.render-section {
  margin-top: 6px;
}

.render-heading {
  font-family: 'Cinzel', serif;
  color: var(--card-red-accent);
  font-size: 1rem;
  font-variant: small-caps;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--card-red-accent);
  padding-bottom: 2px;
  margin: 8px 0 6px;
}

.render-intro-text {
  font-size: 0.8rem;
  font-style: italic;
  margin-bottom: 6px;
}

.render-item-block {
  font-size: 0.85rem;
}

.item-desc-text {
  font-size: 0.85rem;
  white-space: pre-wrap;
  line-height: 1.4;
  margin-top: 6px;
}

.trait-item, .action-item {
  font-size: 0.8rem;
  line-height: 1.35;
  margin-bottom: 6px;
}

.trait-item strong, .action-item strong {
  font-weight: 700;
  font-style: italic;
  color: #111;
}

/* JSON Output View */
.card-json-wrapper {
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  padding: 14px;
  overflow: auto;
}

.card-json-wrapper pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: #d6d3d1;
  line-height: 1.4;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Usage Help Button (always available, reopens the usage warning modal) */
.usage-help-btn {
  position: fixed;
  bottom: 18px;
  right: 18px;
  height: 38px;
  padding: 0 16px 0 12px;
  border-radius: 9999px;
  background: rgba(28, 25, 23, 0.9);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #fdba74;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-panel);
  transition: all 0.2s ease;
  z-index: 250;
}
.usage-help-btn:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(251, 146, 60, 0.7);
  color: #fed7aa;
  transform: translateY(-2px);
}

/* Usage Warning Modal (injected by app.js on first load, reopenable via the help button) */
.usage-warning-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 300;
}

.usage-warning-modal {
  background: var(--bg-panel);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  max-width: 480px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 20px 22px;
}

.usage-warning-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.usage-warning-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #fdba74;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.usage-warning-modal h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: #fed7aa;
}

.usage-warning-modal p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.usage-warning-modal ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.usage-warning-modal li {
  font-size: 0.8rem;
  color: var(--text-main);
  line-height: 1.45;
  padding-left: 16px;
  position: relative;
}

.usage-warning-modal li::before {
  content: '\2022';
  position: absolute;
  left: 2px;
  color: #fb923c;
  font-weight: 700;
}

.usage-warning-modal li strong {
  color: #fdba74;
}
