html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* --- QkitoFEz --------------------------------------------------------- */

.semaforo {
  display: inline-block;
  width: .8rem;
  height: .8rem;
  border-radius: 50%;
  margin-right: .35rem;
  vertical-align: baseline;
}
.semaforo-verde { background: var(--bs-success); }
.semaforo-ambar { background: var(--bs-warning); }
.semaforo-rojo  { background: var(--bs-danger); }

.tarjeta-rojo  { border-left: 4px solid var(--bs-danger); }
.tarjeta-ambar { border-left: 4px solid var(--bs-warning); }
.tarjeta-verde { border-left: 4px solid var(--bs-success); }

.cifra {
  font-size: 1.5rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.accion {
  display: inline-block;
  padding: .05rem .4rem;
  border-radius: .25rem;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
}
.accion-RR     { background: #e7f1ff; color: #0a4fa8; }
.accion-SR     { background: #e6f6ec; color: #146c43; }
.accion-MANUAL { background: #fff4d6; color: #8a5a00; }
.accion-NUNCA  { background: #fde2e4; color: #a4161a; }

.bandeja td.mensaje {
  max-width: 40rem;
  font-size: .85rem;
}

.filtros .form-label {
  font-size: .8rem;
  margin-bottom: .1rem;
}

.tarjeta-diagnostico { background: var(--bs-tertiary-bg); }

pre.respuesta {
  white-space: pre-wrap;
  background: var(--bs-tertiary-bg);
  padding: .75rem;
  border-radius: .375rem;
  font-size: .85rem;
}

td.text-end, th.text-end { font-variant-numeric: tabular-nums; }
.accion-CF     { background: #ede7ff; color: #4b2aa6; }

.orden { display: inline-block; padding: .05rem .4rem; border-radius: .25rem; font-weight: 600; white-space: nowrap; }
.orden-PE { background: #e9ecef; color: #495057; }
.orden-EN { background: #e7f1ff; color: #0a4fa8; }
.orden-OK { background: #e6f6ec; color: #146c43; }
.orden-SI { background: #ede7ff; color: #4b2aa6; }
.orden-ER { background: #fde2e4; color: #a4161a; }
