/* =========================================================
   RAÍZ INMOBILIARIA — Sistema de turnos
   Paleta: petróleo #1B3A4B · arena #E8DFD0 · terracota #C1693C
           crema #FAF7F2 · carbón #23282B · verde sello #4C6E5D
   ========================================================= */

:root {
  --petroleo: #1B3A4B;
  --petroleo-light: #2A4F63;
  --arena: #E8DFD0;
  --terracota: #C1693C;
  --terracota-dark: #A4502A;
  --crema: #FAF7F2;
  --carbon: #23282B;
  --sello: #4C6E5D;
  --linea: #D8CDB9;
  --rojo-alerta: #B23A3A;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Georgia", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Consolas, monospace;

  --radius: 4px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--arena);
  color: var(--carbon);
  font-family: var(--font-body);
  min-height: 100vh;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

a { color: inherit; text-decoration: none; }

/* =========================================================
   1. MOSTRADOR DEL CLIENTE (selección, formulario, ticket)
   ========================================================= */

body:not(.screenboard) {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 20px 60px;
}

.lobby {
  width: 100%;
  max-width: 640px;
  background: var(--crema);
  border: 1px solid var(--linea);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(27, 58, 75, 0.04), 0 16px 40px -24px rgba(27, 58, 75, 0.35);
  overflow: hidden;
}

.lobby--narrow { max-width: 460px; }

.lobby__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: var(--petroleo);
  color: var(--arena);
}

.brand { display: flex; align-items: baseline; gap: 8px; }

.brand__mark {
  font-family: var(--font-display);
  color: var(--terracota);
  font-size: 1.1rem;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.header-link {
  font-size: 0.82rem;
  color: var(--arena);
  opacity: 0.85;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.header-link:hover { opacity: 1; }

.screen {
  padding: 40px 32px 36px;
  animation: rise 0.32s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracota-dark);
}

.screen h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--petroleo);
  letter-spacing: -0.01em;
}

.lede {
  margin: 0 0 28px;
  color: #5B5650;
  font-size: 0.97rem;
  line-height: 1.5;
}

.advisor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

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

.advisor-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--linea);
  background: #fff;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.advisor-card:hover {
  border-color: var(--terracota);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -10px rgba(27, 58, 75, 0.4);
}

.advisor-card:focus-visible {
  outline: 2px solid var(--petroleo);
  outline-offset: 2px;
}

.advisor-card__avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--petroleo);
  color: var(--arena);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.advisor-card__info { display: flex; flex-direction: column; gap: 2px; }
.advisor-card__name { font-weight: 600; color: var(--carbon); font-size: 0.95rem; }
.advisor-card__role { font-size: 0.78rem; color: #8A847A; }

.advisor-card__status {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sello);
  flex-shrink: 0;
}

.selected-advisor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 8px 14px;
  background: var(--arena);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--petroleo);
  font-weight: 600;
}

.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }

.field__label { font-size: 0.82rem; font-weight: 600; color: var(--petroleo); }

.field input {
  padding: 12px 14px;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  font-size: 0.97rem;
  font-family: var(--font-body);
  background: #fff;
  color: var(--carbon);
  transition: border-color 0.15s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--petroleo);
  box-shadow: 0 0 0 3px rgba(27, 58, 75, 0.12);
}

.field input.is-invalid { border-color: var(--terracota-dark); }
.field__error { display: block; min-height: 16px; font-size: 0.78rem; color: var(--terracota-dark); margin-top: 4px; }

.form__actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 6px; }
.form__actions--end { justify-content: flex-end; }

.btn {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.btn:focus-visible { outline: 2px solid var(--petroleo); outline-offset: 2px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn--primary { background: var(--terracota); color: #fff; }
.btn--primary:hover:not(:disabled) { background: var(--terracota-dark); }
.btn--primary:active:not(:disabled) { transform: scale(0.98); }

.btn--ghost { background: transparent; color: var(--petroleo); border-color: var(--linea); }
.btn--ghost:hover { border-color: var(--petroleo); }

.btn--block { width: 100%; text-align: center; }

.screen--ticket { display: flex; flex-direction: column; align-items: center; text-align: center; }
.screen--ticket .lede { margin-bottom: 24px; }

.ticket {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 6px;
  padding: 26px 24px 22px;
  box-shadow: 0 18px 36px -22px rgba(27, 58, 75, 0.45);
  animation: stamp 0.4s cubic-bezier(.2,.9,.3,1.2) both;
}

@keyframes stamp {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.ticket__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.ticket__brand { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; color: #8A847A; }
.ticket__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  background: var(--sello);
  color: #fff;
  border-radius: 999px;
}

.ticket__number { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; color: var(--petroleo); line-height: 1; }
.ticket__divider { margin: 20px 0; border-top: 1px dashed var(--linea); }
.ticket__details { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ticket__row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.85rem; }
.ticket__row dt { color: #8A847A; }
.ticket__row dd { margin: 0; font-weight: 600; color: var(--carbon); text-align: right; }

.ticket-actions { display: flex; gap: 12px; margin-top: 26px; }

/* =========================================================
   2. PANTALLA PÚBLICA DE TURNOS (monitor de sala de espera)
   ========================================================= */

body.screenboard {
  background: var(--petroleo);
  padding: 0;
}

.board { min-height: 100vh; display: flex; flex-direction: column; }

.board__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  border-bottom: 1px solid rgba(232, 223, 208, 0.15);
}

.brand--board .brand__name,
.brand--board .brand__mark { color: var(--arena); }
.brand--board .brand__mark { color: var(--terracota); }

.board__clock {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--arena);
  letter-spacing: 0.04em;
}

.board__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1px;
  background: rgba(232, 223, 208, 0.15);
}

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

.board__panel {
  background: var(--petroleo);
  padding: 28px 32px;
  overflow-y: auto;
}

.board__panel-title {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--arena);
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 10px;
}

.board__empty { color: rgba(232, 223, 208, 0.55); font-size: 0.9rem; }

.calling-list { display: flex; flex-direction: column; gap: 14px; }

.calling-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--terracota);
  border-radius: 6px;
  animation: pulseIn 0.5s ease both;
}

@keyframes pulseIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.calling-card__mesa {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.calling-card__name {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.calling-card__code {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

.waiting-list, .history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.waiting-list li, .history-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(232, 223, 208, 0.06);
  border-radius: 5px;
  font-size: 0.92rem;
}

.waiting-code, .history-code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--terracota);
  min-width: 28px;
  text-align: right;
}

.waiting-mesa {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--arena);
  opacity: 0.7;
  white-space: nowrap;
  min-width: 52px;
}

.waiting-name, .history-name {
  flex: 1;
  color: var(--arena);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.waiting-advisor, .history-time { font-size: 0.78rem; color: rgba(232, 223, 208, 0.6); }

.board__panel--history { opacity: 0.85; }

/* =========================================================
   3. CONSOLA DE LA ASESORA
   ========================================================= */

body.console-page { display: block; padding: 0; }

.console { max-width: 1040px; margin: 0 auto; padding: 0 24px 60px; }

.console__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
}

.console__user {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--petroleo);
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  color: var(--terracota-dark);
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
}

.alert {
  margin: 0 4px 18px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
}

.alert--error {
  background: rgba(178, 58, 58, 0.1);
  color: var(--rojo-alerta);
  border: 1px solid rgba(178, 58, 58, 0.25);
}

.console__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

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

.console__panel {
  background: var(--crema);
  border: 1px solid var(--linea);
  border-radius: 6px;
  padding: 24px 26px;
}

.console__panel--current { grid-row: span 2; }

.console__panel-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--petroleo);
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--terracota);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
}

.current-ticket {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.current-ticket__code {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--petroleo);
  line-height: 1;
}

.current-ticket__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #5B5650;
  border-top: 1px solid var(--linea);
  padding-top: 10px;
}

.current-ticket__row strong { color: var(--carbon); }

.current-ticket--empty { align-items: stretch; gap: 16px; }

.console__hint { margin: 0; font-size: 0.82rem; color: #8A847A; text-align: center; }

.next-ticket {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: #fff;
  border: 1px dashed var(--linea);
  border-radius: var(--radius);
}

.next-ticket__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracota-dark);
}

.next-ticket__code { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--petroleo); }
.next-ticket__name { font-size: 0.9rem; color: var(--carbon); font-weight: 600; }

.history-list--console li {
  background: #fff;
  border: 1px solid var(--linea);
  color: var(--carbon);
}

.history-list--console .history-code { color: var(--terracota-dark); }
.history-list--console .history-name { color: var(--carbon); }
.history-list--console .history-time { color: #8A847A; }

/* =========================================================
   4. PANEL DE ADMINISTRACIÓN (gestión de asesoras)
   ========================================================= */

.console--narrow { max-width: 640px; }

.header-link--dark { color: var(--petroleo); opacity: 0.75; }
.header-link--dark:hover { opacity: 1; }

.alert--success {
  margin: 0 4px 18px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  background: rgba(76, 110, 93, 0.12);
  color: var(--sello);
  border: 1px solid rgba(76, 110, 93, 0.3);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 22px;
}

.admin-toolbar__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--petroleo);
}

.panel-h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--petroleo);
}

.admin-table-wrap {
  background: var(--crema);
  border: 1px solid var(--linea);
  border-radius: 6px;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A847A;
  padding: 14px 16px;
  border-bottom: 1px solid var(--linea);
  white-space: nowrap;
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--linea);
  vertical-align: middle;
  white-space: nowrap;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr.is-inactive { opacity: 0.55; }

.admin-table__name { font-weight: 600; color: var(--carbon); }

.admin-table__actions { display: flex; gap: 14px; }

.mesa-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 3px 10px;
  background: var(--petroleo);
  color: var(--arena);
  border-radius: 999px;
}

.prefix-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 2px 8px;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 4px;
  color: var(--terracota-dark);
}

.status-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

.status-tag--ok { background: rgba(76, 110, 93, 0.14); color: var(--sello); }
.status-tag--off { background: rgba(178, 58, 58, 0.1); color: var(--rojo-alerta); }

.link-button--danger { color: var(--rojo-alerta); }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--carbon);
  cursor: pointer;
}

.checkbox-field input { width: 16px; height: 16px; accent-color: var(--terracota); }

/* =========================================================
   5. PANTALLA DE INICIO (dos botones de flujo)
   ========================================================= */

.screen--inicio { text-align: center; }
.screen--inicio h1 { margin-bottom: 8px; }
.screen--inicio .lede { margin-bottom: 32px; }

.header-logo {
  height: 48px;
  width: auto;
  display: block;
}

/* Header claro para que el logo a color resalte bien */
.lobby__header--light {
  background: #fff;
  border-bottom: 1px solid var(--linea);
}

.lobby__header--light .header-link {
  color: var(--petroleo);
  opacity: 0.8;
}

.lobby__header--light .header-link:hover {
  opacity: 1;
}

.inicio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 580px;
  margin: 0 auto;
}

.inicio-grid--center {
  grid-template-columns: 1fr;
  max-width: 320px;
}

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

.inicio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 20px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.inicio-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -14px rgba(27, 58, 75, 0.45);
}

.inicio-card--primary {
  background: var(--petroleo);
  color: var(--arena);
}

.inicio-card--primary:hover { border-color: var(--terracota); }

.inicio-card--secondary {
  background: #fff;
  color: var(--carbon);
  border-color: var(--linea);
}

.inicio-card--secondary:hover { border-color: var(--petroleo); }

.inicio-card__icon {
  font-size: 1.6rem;
  line-height: 1;
}

.inicio-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.inicio-card__desc {
  font-size: 0.82rem;
  opacity: 0.8;
  line-height: 1.4;
}

/* Input grande para cédula */
.field__input--large {
  padding: 16px 18px;
  font-size: 1.4rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  width: 100%;
  background: #fff;
  color: var(--carbon);
  transition: border-color 0.15s ease;
}

.field__input--large:focus {
  outline: none;
  border-color: var(--petroleo);
  box-shadow: 0 0 0 3px rgba(27, 58, 75, 0.12);
}

.field__input--large.is-invalid { border-color: var(--terracota-dark); }

.cedula-hint {
  margin-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #8A847A;
}

.cedula-hint a {
  color: var(--terracota-dark);
  text-decoration: underline;
}

/* =========================================================
   6. BARRA DE BÚSQUEDA Y SELECT DEL PANEL ADMIN
   ========================================================= */

.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.search-bar__input {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-body);
  background: #fff;
  color: var(--carbon);
}

.search-bar__input:focus {
  outline: none;
  border-color: var(--petroleo);
}

.search-bar__select,
.field__select {
  padding: 10px 14px;
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-body);
  background: #fff;
  color: var(--carbon);
  cursor: pointer;
}

.field__select {
  width: 100%;
  padding: 12px 14px;
}

.field__select:focus,
.search-bar__select:focus {
  outline: none;
  border-color: var(--petroleo);
}

.field__select.is-invalid { border-color: var(--terracota-dark); }

/* =========================================================
   7. CAJA DE INFO DE IMPORTACIÓN CSV
   ========================================================= */

.import-box {
  background: var(--arena);
  border: 1px solid var(--linea);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.import-box__title {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--petroleo);
}

.import-box__desc {
  margin: 0;
  font-size: 0.85rem;
  color: #5B5650;
  line-height: 1.5;
}

.import-box__code {
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--petroleo);
  color: var(--arena);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border-radius: var(--radius);
  letter-spacing: 0.04em;
}

/* =========================================================
   8. TARJETAS DE ESTADÍSTICAS DE ASISTENCIA
   ========================================================= */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-card {
  background: var(--crema);
  border: 1px solid var(--linea);
  border-radius: 6px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-card__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--petroleo);
  line-height: 1;
}

.stat-card__label {
  font-size: 0.78rem;
  color: #8A847A;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-card--ok   { border-left: 3px solid var(--sello); }
.stat-card--ok   .stat-card__num { color: var(--sello); }

.stat-card--warn { border-left: 3px solid #C1873C; }
.stat-card--warn .stat-card__num { color: #C1873C; }

.stat-card--danger { border-left: 3px solid var(--rojo-alerta); }
.stat-card--danger .stat-card__num { color: var(--rojo-alerta); }

.status-tag--pending {
  background: rgba(193, 135, 60, 0.12);
  color: #A0662A;
}