/**
 * Auditor y generador de aviso legal, privacidad y cookies para webs
 * css/style.css - Estilos corporativos, auditoría y previsualización de documentos
 * Fijate Legal Studio • Versión 2026
 */

:root {
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Paleta cromática tema claro */
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-highlight: #e0f2fe;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-heading: #0f172a;
  --border-color: #e2e8f0;
  --border-focus: #3b82f6;

  /* Primarios y estado */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --info: #0284c7;
  --info-bg: #f0f9ff;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

[data-theme="dark"] {
  --bg-page: #090d16;
  --bg-card: #131b2e;
  --bg-subtle: #1c2640;
  --bg-highlight: #1e293b;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-heading: #ffffff;
  --border-color: #273553;
  --border-focus: #60a5fa;

  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --success: #34d399;
  --success-bg: rgba(16, 185, 129, 0.15);
  --warning: #fbbf24;
  --warning-bg: rgba(245, 158, 11, 0.15);
  --danger: #f87171;
  --danger-bg: rgba(239, 68, 68, 0.15);
  --info: #38bdf8;
  --info-bg: rgba(2, 132, 199, 0.15);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 8px -1px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 20px -3px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   1. ESTRUCTURA BASE Y LAYOUT CANÓNICO
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6,
.brand-title,
.section-title,
.card-title {
  font-family: var(--font-heading);
  color: var(--text-heading);
  margin-top: 0;
}

.mono,
code,
pre,
.score-value {
  font-family: var(--font-mono);
}

.tool-layout {
  max-width: 1200px;
  margin: 1.5rem auto 3rem;
  padding: 0 1rem;
  box-sizing: border-box;
  flex: 1 0 auto;
  width: 100%;
}

.tool-with-sidebar {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}

.tool-main-content {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
}

/* ==========================================================================
   2. HERO Y DESCRIPCIÓN INTRODUCTORIA
   ========================================================================== */

.hero-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.hero-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--info));
}

.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 300px;
}

.hero-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.975rem;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   3. BOTONES Y CONTROLES TÁCTILES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.65rem 1.25rem;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-secondary {
  background-color: var(--bg-subtle);
  color: var(--text-main);
  border-color: var(--border-color);
}
.btn-secondary:hover {
  background-color: var(--border-color);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}
.btn-outline:hover {
  background: var(--bg-subtle);
}

/* ==========================================================================
   4. FORMULARIO ASISTENTE (WIZARD)
   ========================================================================== */

.wizard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-step-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.65rem;
  margin-top: 1.75rem;
  margin-bottom: 1.25rem;
}

.form-step-title:first-of-type {
  margin-top: 0;
}

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

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

label.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

.input-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  min-height: 42px;
  padding: 0.65rem 0.85rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Radio Tiles */
.radio-tiles-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.radio-tile-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--bg-card);
  transition: all 0.2s ease;
}

.radio-tile-label:hover {
  border-color: var(--primary);
  background: var(--bg-subtle);
}

.radio-tile-label input[type="radio"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  margin: 0;
}

.radio-tile-label input[type="radio"]:checked + .tile-text {
  font-weight: 700;
  color: var(--primary);
}

/* Checkbox Cards */
.checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s ease;
}

.checkbox-card:hover {
  background: var(--bg-highlight);
}

.checkbox-card input[type="checkbox"] {
  accent-color: var(--primary);
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.checkbox-card-title {
  display: block;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--text-main);
}

.checkbox-card-desc {
  display: block;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ==========================================================================
   5. DASHBOARD DE AUDITORÍA Y RESULTADOS
   ========================================================================== */

.audit-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
}

.audit-hero-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .audit-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.score-chart-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-circle-svg {
  width: 140px;
  height: 140px;
  transform: rotate(-90deg);
}

.score-bg-circle {
  fill: none;
  stroke: var(--bg-subtle);
  stroke-width: 10;
}

.score-progress-circle {
  fill: none;
  stroke: var(--success);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 282.74;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.8s ease, stroke 0.4s ease;
}

.score-display-text {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
}

.audit-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: none;
  margin-top: 0.75rem;
}

.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }

.kpi-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.kpi-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.kpi-card-label {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.kpi-card-value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 0.35rem;
}

/* Tarjetas de incidencias / Plan de acción */
.issue-card {
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  border-left: 5px solid;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.issue-critica { border-left-color: var(--danger); }
.issue-alta { border-left-color: var(--warning); }
.issue-media { border-left-color: var(--info); }

.issue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.issue-priority-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.issue-badge-critica { background: var(--danger-bg); color: var(--danger); }
.issue-badge-alta { background: var(--warning-bg); color: var(--warning); }
.issue-badge-media { background: var(--info-bg); color: var(--info); }

.issue-law-tag {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  color: var(--text-muted);
}

.issue-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.issue-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.issue-sanction-box {
  background: var(--bg-card);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--danger);
  margin-bottom: 0.5rem;
  border: 1px solid var(--border-color);
}

.issue-recommendation {
  font-size: 0.875rem;
  color: var(--text-main);
}

.audit-plan-empty {
  text-align: center;
  padding: 3rem 1.5rem;
}

/* ==========================================================================
   6. VISOR DE DOCUMENTOS Y PESTAÑAS
   ========================================================================== */

.tabs-nav-bar {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 2px;
}

.nav-tab-btn {
  background: transparent;
  border: none;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-tab-btn:hover {
  color: var(--primary);
}

.nav-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Barra de herramientas para documentos */
.docs-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.format-toggle-group {
  display: flex;
  gap: 0.35rem;
}

.format-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.85rem;
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.format-toggle-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.doc-buttons-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Contenedor de visualización del documento maquetado */
.doc-preview-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .doc-preview-wrapper {
    padding: 1.25rem;
  }
}

.legal-document h2 {
  font-size: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.legal-doc-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.legal-document h3 {
  font-size: 1.2rem;
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.legal-document ul {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.legal-document li {
  margin-bottom: 0.4rem;
}

/* Tarjetas de tratamientos en privacidad */
.treatment-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.treatment-card h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.treatment-card p {
  margin: 0.35rem 0;
  font-size: 0.9rem;
}

/* Tabla de cookies */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.table-cookies {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.table-cookies th,
.table-cookies td {
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  text-align: left;
}

.table-cookies th {
  background: var(--bg-subtle);
  font-weight: 700;
  color: var(--text-heading);
}

.badge-cookie {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-config-cookies-inline {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Bloque de código raw (HTML / Markdown) */
.code-box-wrapper {
  background: #0f172a;
  color: #f8fafc;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #334155;
  margin-bottom: 1.5rem;
}

.code-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  background: #1e293b;
  border-bottom: 1px solid #334155;
  font-size: 0.85rem;
  color: #94a3b8;
}

.btn-copy-code {
  background: #3b82f6;
  color: #ffffff;
  border: none;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.775rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-copy-code:hover {
  background: #2563eb;
}

.code-box-wrapper pre {
  margin: 0;
  padding: 1.25rem;
  overflow-x: auto;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Cláusulas de formularios */
.clauses-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.clause-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.clause-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.rendered-clause-box {
  background: var(--bg-subtle);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.first-layer-privacy-box {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.privacy-summary-details {
  font-size: 0.825rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
}

.privacy-summary-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
}

.privacy-summary-table {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  border-collapse: collapse;
}

.privacy-summary-table th {
  width: 140px;
  text-align: left;
  padding: 4px 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
}

.privacy-summary-table td {
  padding: 4px 8px;
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   7. GUÍA LEGAL Y FAQ
   ========================================================================== */

.faq-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
}

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

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   8. MODALES Y TOASTS ACCESIBLES (SIN ALERT DE JS)
   ========================================================================== */

.fijate-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 999999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  border: 1px solid #334155;
}

.fijate-toast.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.custom-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  padding: 1rem;
}

.custom-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.custom-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.custom-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.custom-modal-header h4 {
  margin: 0;
  font-size: 1.15rem;
}

.btn-modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.custom-modal-body {
  padding: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
}

.custom-modal-footer {
  padding: 1rem 1.5rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

.btn-modal-primary {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
}
