/* ==========================================================================
   Calculadora de independencia financiera y regla del 4 % (FIRE)
   Estándar canónico de diseño y maquetación - Fijate Tools
   ========================================================================== */

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

  /* Paleta base modo oscuro (Midnight Slate) */
  --bg-page: #0b0f17;
  --bg-surface: #111827;
  --bg-card: #151d30;
  --bg-card-hover: #1c263d;
  --bg-card-alt: #1a233a;
  --border-color: #1f293d;
  --border-focus: #3b82f6;

  /* Tipografía */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  /* Acentos de color temático */
  --accent-fire: #f97316;
  --accent-fire-glow: rgba(249, 115, 22, 0.25);
  --accent-primary: #3b82f6;
  --accent-primary-hover: #2563eb;
  --accent-success: #10b981;
  --accent-warning: #f59e0b;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;

  /* Radios y sombras */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);

  color-scheme: dark;
}

[data-theme="light"],
body.light-theme {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-card-alt: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #2563eb;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.1);

  color-scheme: light;
}

/* Reset y caja general */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

h1, h2, h3, h4, h5, h6,
.brand-title,
.section-title,
.hero-title {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-main);
}

.mono,
.kpi-value,
.data-num,
code {
  font-family: var(--font-mono);
}

/* Layout canónico */
.main-wrapper.tool-layout {
  max-width: 1280px;
  width: 100%;
  margin: 1.5rem auto 3rem;
  padding: 0 1rem;
  flex: 1 0 auto;
}

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

.tool-main-content {
  flex: 1 1 0%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Hero informativo */
.fire-hero {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1) 0%, rgba(59, 130, 246, 0.06) 100%), var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.fire-hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--accent-fire-glow) 0%, transparent 70%);
  pointer-events: none;
}

.fire-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-fire);
  border: 1px solid rgba(249, 115, 22, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.fire-hero-title {
  font-size: 1.625rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.fire-hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 900px;
}

/* Grid de KPIs principales */
.kpis-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1024px) {
  .kpis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .kpis-grid {
    grid-template-columns: 1fr;
  }
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.4);
}

.kpi-card.kpi-target {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, var(--bg-card) 100%);
  border-color: rgba(249, 115, 22, 0.4);
}

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

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

.kpi-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card-alt);
  color: var(--text-muted);
}

.kpi-target .kpi-icon {
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-fire);
}

.kpi-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.kpi-subtext {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.kpi-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-card-alt);
  color: var(--accent-success);
}

/* Workspace de dos columnas */
.fire-workspace {
  display: grid;
  grid-template-columns: minmax(360px, 440px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 960px) {
  .fire-workspace {
    grid-template-columns: 1fr;
  }
}

/* Paneles de controles (Columna izquierda) */
.controls-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.panel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.panel-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.panel-icon-wrap.fire {
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-fire);
}

.panel-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.375rem;
}

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

.form-label-desc {
  font-size: 0.775rem;
  color: var(--text-subtle);
  margin-bottom: 0.375rem;
}

.form-val-badge {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.1);
  padding: 0.125rem 0.45rem;
  border-radius: 4px;
}

.input-with-unit {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 42px;
}

.input-with-unit:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.input-with-unit input[type="number"],
.input-with-unit input[type="text"] {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  font-family: var(--font-mono);
  outline: none;
  height: 40px;
}

.input-unit {
  padding: 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card-alt);
  height: 40px;
  display: flex;
  align-items: center;
  border-top-right-radius: calc(var(--radius-sm) - 1px);
  border-bottom-right-radius: calc(var(--radius-sm) - 1px);
  border-left: 1px solid var(--border-color);
  user-select: none;
}

/* Sliders interactivos */
.range-slider-wrapper {
  margin-top: 0.5rem;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-primary);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  cursor: grab;
  transition: transform 0.1s ease;
}

input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.15);
  cursor: grabbing;
}

/* Modos FIRE rápidos (Pills) */
.fire-mode-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.btn-mode-pill {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.5rem 0.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  min-height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.2;
}

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

.btn-mode-pill.active {
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-fire);
  border-color: var(--accent-fire);
}

.btn-mode-pill small {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.8;
}

/* Desplegables <select> canónicos */
select.form-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  height: 42px;
  padding: 0.5rem 2.5rem 0.5rem 0.75rem;
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-main);
  appearance: none;
  -webkit-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='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  cursor: pointer;
}

select.form-select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

select.form-select option {
  background-color: var(--bg-surface);
  color: var(--text-main);
  padding: 0.5rem;
}

/* Botones de acción */
.btn-action-primary {
  width: 100%;
  min-height: 44px;
  background: linear-gradient(135deg, var(--accent-fire) 0%, #ea580c 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-action-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.45);
}

.action-buttons-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.btn-secondary {
  min-height: 40px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  transition: background 0.15s ease;
}

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

/* Columna de resultados y visualizaciones (Columna derecha) */
.results-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  max-width: 100%;
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  max-width: 100%;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Canvas container con prevención de bucle de redimensionamiento */
.canvas-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 320px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
}

.canvas-wrapper canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Tooltip sobre Canvas */
.canvas-tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -115%);
  white-space: nowrap;
  display: none;
  z-index: 10;
}

/* Leyenda del gráfico */
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  justify-content: center;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/* Tabla de hitos del camino */
.milestones-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .milestones-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.milestone-box {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  text-align: center;
}

.milestone-pct {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
}

.milestone-amount {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.2rem 0;
  color: var(--text-main);
}

.milestone-time {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* Bloque Supervivencia a 30, 40 y 50 años */
.survival-pills-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.btn-horizon {
  flex: 1;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
  transition: all 0.15s ease;
}

.btn-horizon.active {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-success);
  border-color: var(--accent-success);
}

.survival-stats-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .survival-stats-cards {
    grid-template-columns: 1fr;
  }
}

.stat-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
}

.stat-box-title {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.stat-box-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.stat-box-hint {
  font-size: 0.725rem;
  color: var(--text-subtle);
  margin-top: 0.15rem;
}

/* Tabla comparativa de modalidades FIRE */
.fire-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}

.fire-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.fire-table th {
  background: var(--bg-card-alt);
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.fire-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.fire-table tr:last-child td {
  border-bottom: none;
}

.fire-table tr.active-mode {
  background: rgba(249, 115, 22, 0.08);
}

.fire-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.fire-badge.lean { background: rgba(59, 130, 246, 0.15); color: var(--accent-primary); }
.fire-badge.standard { background: rgba(249, 115, 22, 0.15); color: var(--accent-fire); }
.fire-badge.fat { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.fire-badge.coast { background: rgba(16, 185, 129, 0.15); color: var(--accent-success); }
.fire-badge.barista { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }

/* Sección informativa y educativa (Glosario / Fiscalidad) */
.info-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .info-section {
    grid-template-columns: 1fr;
  }
}

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

.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card p,
.info-card li {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.info-card ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

/* Modales canónicos */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  position: relative;
}

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

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-close-modal:hover {
  background: var(--bg-card-alt);
  color: var(--text-main);
}

.modal-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-body h4 {
  color: var(--text-main);
  margin: 1rem 0 0.4rem;
  font-size: 1rem;
}

.modal-body p {
  margin-bottom: 0.75rem;
}

/* Print sheet para informe A4 oficial (Lección 238) */
.print-sheet {
  display: none;
}

@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt;
  }

  .app-header,
  .tools-ad-banner-section,
  .tool-ad-sidebar,
  .fijate-footer,
  .controls-column,
  .action-buttons-row,
  .btn-action-primary,
  .modal-overlay,
  .canvas-tooltip,
  .survival-pills-row {
    display: none !important;
  }

  .main-wrapper.tool-layout {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .tool-with-sidebar {
    display: block !important;
  }

  .tool-main-content {
    display: block !important;
  }

  .print-sheet {
    display: block !important;
    max-width: 210mm;
    margin: 0 auto;
    padding: 15mm;
  }

  .print-header {
    border-bottom: 2px solid #000000;
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .print-header h1 {
    font-size: 18pt;
    color: #000000;
  }

  .print-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    margin-bottom: 20px;
  }

  .print-table th,
  .print-table td {
    border: 1px solid #cccccc;
    padding: 8px 10px;
    text-align: left;
    font-size: 10pt;
  }

  .print-table th {
    background-color: #f3f4f6 !important;
    color: #000000 !important;
  }
}
