:root {
  --bg-page: #f0f5fa;
  --surface: #ffffff;
  --primary: #005bb5;
  --primary-dark: #003f82;
  --primary-light: #e6f0fa;
  --accent-teal: #00897b;
  --success: #0d9488;
  --success-bright: #10b981;
  --success-bg: #ecfdf5;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border: #cbd5e1;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 18px 40px rgba(0, 91, 181, 0.16);
  --radius-md: 14px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hidden {
  display: none !important;
}

/* CABECERA */
.turnos-header {
  background: linear-gradient(135deg, #003973 0%, #005bb5 60%, #0077cc 100%);
  color: #ffffff;
  padding: 16px 16px 20px;
  box-shadow: 0 4px 18px rgba(0, 57, 115, 0.22);
}

.header-container {
  max-width: 680px;
  margin: 0 auto;
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.brand-subtitle {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bae6fd;
}

.brand-identity h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: background 0.2s ease;
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.26);
}

.sede-bar {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sede-current {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sede-current.sede-locked {
  flex: 1;
}

.sede-address-sub {
  display: block;
  font-size: 11.5px;
  color: #bae6fd;
  font-weight: 500;
  margin-top: 2px;
}

/* PÍLDORA DE ESTADO GPS */
.geo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.geo-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.geo-pill.checking {
  background: rgba(255, 255, 255, 0.18);
  color: #e0f2fe;
}
.geo-pill.checking .geo-pill-dot {
  background: #38bdf8;
  animation: pulseBadge 1.2s infinite;
}

.geo-pill.valid {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}
.geo-pill.valid .geo-pill-dot {
  background: #22c55e;
}

.geo-pill.invalid {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}
.geo-pill.invalid .geo-pill-dot {
  background: #ef4444;
}

.geo-pill.error {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}
.geo-pill.error .geo-pill-dot {
  background: #f59e0b;
}

/* BANNER DE ALERTA GPS / GEOCERCA */
.geo-alert-banner {
  background: #ffffff;
  border: 2px solid #f87171;
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 12px;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.geo-alert-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.geo-alert-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.geo-alert-body strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #991b1b;
}

.geo-alert-body p {
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
  margin-top: 3px;
}

.btn-geo-action {
  align-self: flex-start;
  background: #ef4444;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease;
}

.btn-geo-action:hover {
  background: #dc2626;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.28);
}

.sede-caption {
  display: block;
  font-size: 11px;
  color: #e0f2fe;
}

.sede-current strong {
  font-size: 14px;
  font-weight: 700;
}

#select-sede-turno {
  background: #ffffff;
  color: var(--text-main);
  border: none;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* CONTENEDOR PRINCIPAL */
.turnos-main {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 14px 36px;
  flex: 1;
}

/* BANNER DE TURNO ACTIVO */
.active-ticket-banner {
  background: linear-gradient(135deg, #065f46 0%, #0d9488 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

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

.banner-badge {
  background: rgba(255, 255, 255, 0.22);
  padding: 4px 9px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
}

.banner-left strong {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-right: 6px;
}

.banner-left span {
  font-size: 13px;
  opacity: 0.92;
}

.btn-banner-view {
  background: #ffffff;
  color: #065f46;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

/* STEPPER */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #dbe3ee;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.step-item.active {
  color: var(--primary);
  font-weight: 700;
}

.step-item.active .step-num {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 91, 181, 0.16);
}

.step-item.done .step-num {
  background: var(--success);
  color: #ffffff;
}

.step-line {
  width: 32px;
  height: 2px;
  background: #cbd5e1;
}

/* TARJETAS DE PASO */
.step-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
}

.card-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.step-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: var(--text-main);
}

.card-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 3px;
}

.btn-icon-refresh {
  background: var(--primary-light);
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

/* LOADING */
.loading-box {
  text-align: center;
  padding: 36px 16px;
  color: var(--text-muted);
}

.spinner {
  width: 38px;
  height: 38px;
  border: 4px solid #dbeafe;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* GRILLA DE SERVICIOS / FILAS */
.lines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}

@media (min-width: 540px) {
  .lines-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.line-btn {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  padding: 14px 14px;
  cursor: pointer;
  transition: all 0.16s ease;
  box-shadow: var(--shadow-sm);
}

.line-btn:hover,
.line-btn:focus-visible {
  border-color: var(--primary);
  background: #f8fbff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 91, 181, 0.12);
}

.line-btn:active {
  transform: scale(0.985);
}

.line-btn.preferencial {
  border-color: #93c5fd;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.line-prefix-badge {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--primary-light);
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.line-btn.preferencial .line-prefix-badge {
  background: #0284c7;
  color: #ffffff;
}

.line-info {
  flex: 1;
  min-width: 0;
}

.line-title {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 4px;
}

.line-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.floor-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.floor-pill.piso-3 {
  background: #ede9fe;
  color: #5b21b6;
  border: 1px solid #c4b5fd;
}

.floor-pill.piso-2 {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.ticket-floor-highlight {
  margin-top: 10px;
}

.ticket-floor-highlight .floor-pill {
  font-size: 13px;
  padding: 5px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.called-floor-banner {
  background: #f8fafc;
  border-radius: 10px;
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  display: inline-block;
  margin-top: 6px;
  border: 1px solid #cbd5e1;
}

.metric-val.piso-3 {
  color: #6d28d9;
}

.metric-val.piso-2 {
  color: #0284c7;
}

.wait-pill {
  display: none !important; /* Ocultar colas a usuarios */
}

.line-arrow {
  font-size: 18px;
  color: #94a3b8;
  font-weight: 700;
}

/* PASO 2: FORMULARIO DE DOCUMENTO */
.btn-back {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.selected-service-chip {
  background: var(--primary-light);
  border: 1px solid #bfdbfe;
  border-radius: 13px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.chip-prefix {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip-eyebrow {
  display: block;
  font-size: 11px;
  color: var(--primary-dark);
  font-weight: 600;
}

.chip-texts strong {
  font-size: 16px;
  color: var(--text-main);
}

.turnos-form {
  margin-top: 16px;
}

.field-group {
  margin-bottom: 16px;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 7px;
}

.doc-type-pills {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

.doc-pill {
  padding: 10px 6px;
  border-radius: 10px;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s;
}

.doc-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.select-input {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border-radius: 10px;
  border: 2px solid var(--border);
  font-size: 15px;
  font-weight: 600;
}

.doc-input-row {
  position: relative;
  display: flex;
  align-items: center;
}

.input-large-doc {
  width: 100%;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 14px 44px 14px 16px;
  border-radius: 13px;
  border: 2px solid #94a3b8;
  color: var(--text-main);
  background: #f8fafc;
}

.input-large-doc:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 91, 181, 0.14);
}

.btn-clear-input {
  position: absolute;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #e2e8f0;
  color: #475569;
  font-size: 14px;
  cursor: pointer;
}

.btn-primary-xl,
.btn-success-xl {
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}

.btn-primary-xl {
  background: linear-gradient(135deg, #005bb5 0%, #0284c7 100%);
  box-shadow: 0 8px 20px rgba(0, 91, 181, 0.25);
}

.btn-success-xl {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.32);
}

.btn-primary-xl:disabled,
.btn-success-xl:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* CAJA PACIENTE ENCONTRADO */
.patient-found-box {
  background: var(--success-bg);
  border: 2px solid #34d399;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.found-icon {
  font-size: 26px;
}

.found-details {
  flex: 1;
}

.found-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #047857;
}

.found-details strong {
  display: block;
  font-size: 17px;
  color: #064e3b;
}

.found-doc-sub {
  font-size: 12.5px;
  color: #047857;
}

.btn-link-edit {
  background: #ffffff;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* CAMPOS PACIENTE NUEVO */
.new-patient-banner {
  background: #eff6ff;
  border-left: 4px solid var(--primary);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1e3a8a;
  margin-bottom: 14px;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 480px) {
  .two-cols {
    grid-template-columns: 1fr 1fr;
  }
}

.input-text {
  width: 100%;
  padding: 13px 14px;
  border-radius: 11px;
  border: 2px solid var(--border);
  font-size: 16px;
  font-weight: 600;
}

.input-text:focus {
  outline: none;
  border-color: var(--primary);
}

.error-alert {
  background: var(--danger-bg);
  border: 1.5px solid #f87171;
  color: #991b1b;
  padding: 13px 15px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 16px;
  white-space: pre-line;
}

/* ========================================================== */
/* PASO 3: TICKET DIGITAL EN VIVO                             */
/* ========================================================== */
.ticket-card {
  border-radius: 18px;
  overflow: hidden;
}

.ticket-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.status-pill.waiting {
  background: var(--warning-bg);
  color: #b45309;
  border: 1px solid #fcd34d;
}

.status-pill.serving {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #4ade80;
  animation: pulseBadge 1.2s infinite;
}

.status-pill.done {
  background: #f1f5f9;
  color: #475569;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.ticket-time {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.ticket-main-body {
  background: linear-gradient(145deg, #003973 0%, #005bb5 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 26px 18px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin-bottom: 16px;
  position: relative;
}

.ticket-card.calling .ticket-main-body {
  background: linear-gradient(145deg, #047857 0%, #10b981 100%);
}

.ticket-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #bae6fd;
  margin-bottom: 6px;
}

.ticket-giant-code {
  font-family: 'Outfit', sans-serif;
  font-size: 68px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  margin: 4px 0 8px;
}

.ticket-service-title {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
}

.ticket-sede-sub {
  font-size: 13px;
  color: #e0f2fe;
  margin-top: 3px;
}

/* CAJA DE LLAMADO A MÓDULO */
.ticket-called-box {
  background: #ecfdf5;
  border: 2.5px solid #10b981;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  animation: pulseBadge 1.5s infinite;
}

.ticket-called-box.calling-active {
  background: #ecfdf5;
  border-color: #10b981;
}

.ticket-called-box.dumped-view {
  animation: none;
  background: #fefce8;
  border-color: #eab308;
}

.called-icon {
  font-size: 34px;
}

.called-info {
  flex: 1;
}

.called-info .called-headline {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #047857;
  letter-spacing: 0.05em;
}

.called-info strong.called-module {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #064e3b;
  display: block;
  line-height: 1.1;
  margin-top: 2px;
}

.called-agent-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 6px 12px;
  border-radius: 8px;
}

.called-agent-row .agent-badge {
  font-size: 12px;
  font-weight: 700;
  color: #047857;
}

.called-agent-row .agent-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #064e3b;
}

.dumped-alert {
  background: #fffbeb;
  border: 2px solid #f59e0b;
  color: #92400e;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 14px;
}

/* MÉTRICAS EN VIVO */
.ticket-live-metrics {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}

.metric-item {
  flex: 1;
  text-align: center;
}

.metric-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: #cbd5e1;
}

.ticket-Patient-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px 12px;
  background: #f1f5f9;
  border-radius: 10px;
  margin-bottom: 14px;
}

.ticket-instructions {
  font-size: 13px;
  color: #334155;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 18px;
}

.ticket-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-secondary-action,
.btn-outline-action {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.btn-secondary-action {
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid #93c5fd;
}

.btn-outline-action {
  background: #ffffff;
  color: var(--text-main);
  border: 1.5px solid var(--border);
}

.btn-danger-link {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
  padding: 8px;
  cursor: pointer;
  text-decoration: underline;
}

/* FOOTER */
.turnos-footer {
  text-align: center;
  padding: 18px 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

.footer-sub {
  font-size: 11.5px;
  margin-top: 2px;
  opacity: 0.8;
}
