/* ==========================================================================
   SkyTracker ATC - Radar Aéreo Táctico 3D
   Estilos inspirados en consolas profesionales de control de tráfico aéreo
   ========================================================================== */

:root {
  --atc-bg: #060b14;
  --atc-surface: #0a1120;
  --atc-card: #0e172a;
  --atc-card-subtle: rgba(14, 23, 42, 0.75);
  --atc-border: rgba(56, 189, 248, 0.2);
  --atc-border-highlight: rgba(0, 240, 255, 0.45);
  --atc-cyan: #00f0ff;
  --atc-cyan-dim: #0284c7;
  --atc-cyan-glow: rgba(0, 240, 255, 0.25);
  --atc-blue: #38bdf8;
  --atc-text: #f8fafc;
  --atc-text-muted: #94a3b8;
  --atc-text-dim: #64748b;
  --atc-danger: #f43f5e;
  --atc-font-mono: 'JetBrains Mono', monospace;
  --atc-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-theme="light"] {
  --atc-bg: #f1f5f9;
  --atc-surface: #ffffff;
  --atc-card: #f8fafc;
  --atc-card-subtle: rgba(255, 255, 255, 0.9);
  --atc-border: rgba(2, 132, 199, 0.25);
  --atc-border-highlight: rgba(2, 132, 199, 0.5);
  --atc-cyan: #0284c7;
  --atc-cyan-dim: #0369a1;
  --atc-cyan-glow: rgba(2, 132, 199, 0.15);
  --atc-blue: #0284c7;
  --atc-text: #0f172a;
  --atc-text-muted: #475569;
  --atc-text-dim: #94a3b8;
  --atc-danger: #e11d48;
}

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

body.atc-theme {
  background-color: var(--atc-bg);
  color: var(--atc-text);
  font-family: var(--atc-font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Marca en el header */
.brand-logo-box {
  background: linear-gradient(135deg, #0284c7, #00f0ff);
  color: #060b14;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Layout General */
.radar-app-layout {
  flex: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
}

.atc-main-frame {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--atc-surface);
  border: 1px solid var(--atc-border);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

/* Barra Superior de la Consola ATC */
.atc-console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.6rem 0.85rem;
  border-bottom: 1px solid var(--atc-border);
  gap: 1rem;
}

.btn-atc-station {
  background: transparent;
  border: none;
  color: var(--atc-text);
  font-family: var(--atc-font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-atc-station:hover {
  background: rgba(56, 189, 248, 0.1);
  color: var(--atc-cyan);
}

.station-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--atc-cyan);
  box-shadow: 0 0 10px var(--atc-cyan);
  animation: pulse-cyan 1.8s infinite;
}

@keyframes pulse-cyan {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.75); opacity: 0.4; }
}

.atc-time-badge {
  font-family: var(--atc-font-mono);
  font-size: 0.85rem;
  color: var(--atc-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.atc-time-label {
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--atc-blue);
}

.atc-time-separator {
  opacity: 0.4;
}

.atc-time-utc {
  color: var(--atc-text);
  font-weight: 600;
}

/* Grid de Radar + HUD Sidebar */
.atc-display-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 1rem;
  min-height: 560px;
}

@media (max-width: 1080px) {
  .atc-display-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Visor de Radar PPI 3D (Plan Position Indicator)
   ========================================================================== */
.radar-viewport-container {
  position: relative;
  background: radial-gradient(circle at center, #091222 0%, #040813 100%);
  border-radius: 16px;
  border: 1px solid var(--atc-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 540px;
  box-shadow: inset 0 0 60px rgba(0, 240, 255, 0.05);
}

#radar-webgl-container {
  width: 100%;
  height: 100%;
  min-height: 500px;
  flex: 1;
  cursor: crosshair;
}

/* Capa de etiquetas 2D sobre el radar */
#radar-hud-labels-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}

.radar-aircraft-hud-tag {
  position: absolute;
  transform: translate(12px, -50%);
  font-family: var(--atc-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--atc-cyan);
  background: rgba(6, 11, 20, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.4);
  backdrop-filter: blur(6px);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.radar-aircraft-hud-tag:hover,
.radar-aircraft-hud-tag.selected {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--atc-cyan);
  color: #ffffff;
  box-shadow: 0 0 12px var(--atc-cyan-glow);
}

/* Botón Superior: AR Overhead Compass */
.atc-overhead-compass-wrap {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: auto;
}

.btn-overhead-compass {
  background: rgba(10, 17, 32, 0.88);
  border: 1px solid var(--atc-border);
  backdrop-filter: blur(12px);
  color: var(--atc-text);
  padding: 0.45rem 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-overhead-compass:hover {
  border-color: var(--atc-cyan);
  background: rgba(14, 23, 42, 0.95);
}

.btn-overhead-compass.active {
  border-color: var(--atc-cyan);
  background: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 20px var(--atc-cyan-glow);
}

.compass-btn-icon {
  color: var(--atc-cyan);
  display: flex;
  align-items: center;
}

.compass-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.compass-title {
  font-family: var(--atc-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--atc-text);
  letter-spacing: 0.02em;
}

.compass-subtitle {
  font-size: 0.65rem;
  color: var(--atc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compass-north-indicator {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--atc-font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--atc-cyan);
  padding-left: 0.4rem;
  border-left: 1px solid rgba(56, 189, 248, 0.3);
}

.north-arrow {
  font-size: 0.65rem;
}

/* Botones de Control en las Esquinas del Radar */
.radar-scope-controls-bottom-left {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.radar-scope-controls-bottom-center {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.radar-scope-controls-bottom-right {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.btn-scope-tool {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(10, 17, 32, 0.85);
  border: 1px solid var(--atc-border);
  backdrop-filter: blur(10px);
  color: var(--atc-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--atc-font-mono);
  font-weight: 700;
  font-size: 0.8rem;
}

.btn-scope-tool:hover,
.btn-scope-tool.active {
  color: var(--atc-cyan);
  border-color: var(--atc-cyan);
  background: rgba(0, 240, 255, 0.12);
  box-shadow: 0 0 15px var(--atc-cyan-glow);
}

.radius-pill-group {
  display: flex;
  background: rgba(10, 17, 32, 0.85);
  border: 1px solid var(--atc-border);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  padding: 0.25rem;
  gap: 0.2rem;
}

.btn-radius-pill {
  background: transparent;
  border: none;
  color: var(--atc-text-muted);
  font-family: var(--atc-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-radius-pill:hover {
  color: var(--atc-text);
}

.btn-radius-pill.active {
  background: var(--atc-cyan);
  color: #060b14;
  font-weight: 700;
}

/* Pie inferior de estado dentro del radar */
.radar-scope-footer-bar {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
  pointer-events: none;
}

.footer-status-pill,
.footer-refresh-pill {
  background: rgba(10, 17, 32, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--atc-border);
  border-radius: 9999px;
  padding: 0.35rem 0.75rem;
  font-family: var(--atc-font-mono);
  font-size: 0.72rem;
  color: var(--atc-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  pointer-events: auto;
}

.live-signal-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

@media (max-width: 768px) {
  .radar-scope-footer-bar {
    display: none;
  }
}

/* ==========================================================================
   HUD Sidebar: Ficha de Telemetría y Controles
   ========================================================================== */
.atc-hud-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Barra de Pestañas con Iconos */
.atc-hud-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(10, 17, 32, 0.6);
  border: 1px solid var(--atc-border);
  border-radius: 14px;
  padding: 0.3rem;
  gap: 0.3rem;
}

.hud-tab-btn {
  background: transparent;
  border: none;
  color: var(--atc-text-muted);
  border-radius: 10px;
  padding: 0.55rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hud-tab-btn:hover {
  color: var(--atc-text);
  background: rgba(56, 189, 248, 0.08);
}

.hud-tab-btn.active {
  background: rgba(2, 132, 199, 0.25);
  color: var(--atc-cyan);
  border: 1px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 0 15px var(--atc-cyan-glow);
}

/* Paneles de Contenido */
.hud-tab-pane {
  display: none;
  flex-direction: column;
  flex: 1;
}

.hud-tab-pane.active {
  display: flex;
}

/* ==========================================================================
   Tarjeta Principal del Vuelo Seleccionado (Exacta a la imagen)
   ========================================================================== */
.atc-flight-card {
  background: linear-gradient(180deg, #101c33 0%, #0b1424 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 16px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Encabezado del Vuelo */
.flight-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.flight-title-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.flight-title-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--atc-text);
  letter-spacing: -0.01em;
}

.flight-title-code {
  font-family: var(--atc-font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.flight-route-subtitle {
  font-size: 0.85rem;
  color: var(--atc-text-muted);
  margin-top: 0.15rem;
}

.flight-card-flag {
  font-size: 1.35rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* Render 3D del Modelo del Avión */
.aircraft-3d-spotlight-wrapper {
  position: relative;
  width: 100%;
  height: 155px;
  border-radius: 12px;
  background: radial-gradient(circle at center, rgba(2, 132, 199, 0.12) 0%, rgba(6, 11, 20, 0.4) 75%);
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

#aircraft-3d-canvas-container {
  width: 100%;
  height: 100%;
  cursor: grab;
}

#aircraft-3d-canvas-container:active {
  cursor: grabbing;
}

.aircraft-model-glow {
  position: absolute;
  bottom: 15%;
  width: 65%;
  height: 25px;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.3) 0%, transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

.aircraft-drag-hint {
  position: absolute;
  bottom: 0.5rem;
  left: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--atc-font-mono);
  font-size: 0.68rem;
  color: var(--atc-text-dim);
  pointer-events: none;
}

/* Rejilla de Telemetría (2 columnas) */
.flight-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.metric-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.7rem;
  color: var(--atc-text-muted);
  font-weight: 500;
  text-transform: capitalize;
}

.metric-main-value {
  font-family: var(--atc-font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--atc-text);
  margin-top: 0.2rem;
}

.metric-main-value.text-cyan {
  color: var(--atc-cyan);
}

.metric-sub-value {
  font-family: var(--atc-font-mono);
  font-size: 0.65rem;
  color: var(--atc-text-dim);
  margin-top: 0.15rem;
}

/* Gráficos de Historial de Telemetría (Sparklines) */
.flight-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.telemetry-chart-card {
  background: rgba(6, 11, 20, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  display: flex;
  flex-direction: column;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}

.chart-title {
  font-size: 0.68rem;
  color: var(--atc-text-muted);
  font-weight: 500;
}

.chart-current-val {
  font-family: var(--atc-font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--atc-cyan);
}

.chart-canvas-wrap {
  width: 100%;
  height: 50px;
  position: relative;
}

.chart-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* ==========================================================================
   Paneles Secundarios (Lista, Brújula, Filtros, Ajustes)
   ========================================================================== */
.atc-panel-card {
  background: var(--atc-card);
  border: 1px solid var(--atc-border);
  border-radius: 16px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.panel-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--atc-text);
}

.badge-count {
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--atc-cyan);
  font-family: var(--atc-font-mono);
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-weight: 600;
}

.traffic-search-row {
  margin-bottom: 0.25rem;
}

.atc-input {
  width: 100%;
  background: rgba(6, 11, 20, 0.6);
  border: 1px solid var(--atc-border);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  color: var(--atc-text);
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s;
}

.atc-input:focus {
  border-color: var(--atc-cyan);
}

.traffic-scroll-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.traffic-flight-row {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.traffic-flight-row:hover,
.traffic-flight-row.selected {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--atc-cyan);
}

.flight-row-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.flight-row-code {
  font-family: var(--atc-font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--atc-text);
}

.flight-row-route {
  font-size: 0.72rem;
  color: var(--atc-text-muted);
}

.flight-row-right {
  text-align: right;
  font-family: var(--atc-font-mono);
}

.flight-row-alt {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--atc-cyan);
}

.flight-row-dist {
  font-size: 0.7rem;
  color: var(--atc-text-dim);
}

/* Panel de Brújula */
.compass-hud-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1rem 0;
}

.compass-rose {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px dashed rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.compass-needle {
  width: 4px;
  height: 100px;
  background: linear-gradient(180deg, var(--atc-danger) 50%, var(--atc-cyan) 50%);
  border-radius: 2px;
  transition: transform 0.1s linear;
}

.compass-mark {
  position: absolute;
  font-family: var(--atc-font-mono);
  font-size: 0.75rem;
  font-weight: 800;
}

.mark-n { top: 4px; color: var(--atc-danger); }
.mark-s { bottom: 4px; color: var(--atc-cyan); }
.mark-e { right: 8px; color: var(--atc-text-muted); }
.mark-w { left: 8px; color: var(--atc-text-muted); }

.compass-data-row {
  display: flex;
  gap: 1.5rem;
  font-family: var(--atc-font-mono);
  font-size: 0.85rem;
}

.compass-help-text {
  font-size: 0.78rem;
  color: var(--atc-text-muted);
  line-height: 1.4;
}

.btn-atc-action {
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid var(--atc-cyan);
  color: var(--atc-text);
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-atc-action:hover {
  background: var(--atc-cyan);
  color: #060b14;
}

/* Panel de Filtros */
.filters-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.filter-group label {
  font-size: 0.8rem;
  color: var(--atc-text-muted);
  display: flex;
  justify-content: space-between;
}

.atc-range {
  width: 100%;
  accent-color: var(--atc-cyan);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--atc-text);
}

/* Panel de Ajustes / Aeropuertos */
.settings-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-atc-station-select {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--atc-cyan);
  color: var(--atc-text);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-atc-station-select:hover {
  background: var(--atc-cyan);
  color: #060b14;
}

.airports-preset-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.btn-airport-preset {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--atc-border);
  color: var(--atc-text-muted);
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  font-size: 0.78rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.btn-airport-preset:hover,
.btn-airport-preset.active {
  border-color: var(--atc-cyan);
  color: var(--atc-cyan);
  background: rgba(0, 240, 255, 0.08);
}

/* ==========================================================================
   Modales Tácticos de Confirmación / Alerta
   ========================================================================== */
.atc-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 8, 19, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.atc-modal-overlay.open {
  display: flex;
}

.atc-modal-card {
  background: var(--atc-surface);
  border: 1px solid var(--atc-border-highlight);
  border-radius: 16px;
  width: 90%;
  max-width: 460px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px var(--atc-cyan-glow);
}

.atc-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

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

.atc-modal-footer {
  display: flex;
  justify-content: flex-end;
}

.btn-atc-modal-action {
  background: var(--atc-cyan);
  border: none;
  color: #060b14;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
}
