.card-kpi {
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(2,6,23,.07);
}
.knum { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.klabel { color: #556; font-size: .9rem; }
input.kint { width: 88px; }




/* ====== Tarjetas KPI ====== */
.card-kpi {
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(2,6,23,.07);
}
.knum { font-size: 1.9rem; font-weight: 800; line-height: 1; }
.klabel { color: #556; font-size: .9rem; }

/* Inputs numéricos compactos (pero cómodos al tacto) */
input.kint {
  width: 92px;
  min-width: 72px;
  padding: .375rem .5rem;
}

/* ====== Tabla ====== */
.table-responsive {
  overflow-x: auto;
}
.table thead th.sticky {
  position: sticky;
  top: 0;
  background: #f8f9fa;
  z-index: 2;
}

/* Botón guardar */
.btn-save {
  min-width: 88px;
}

/* ====== Breakpoints de mejora móvil ====== */
@media (max-width: 992px) {
  .knum { font-size: 1.6rem; }
}
@media (max-width: 768px) {
  input.kint { width: 82px; }
}
@media (max-width: 576px) {
  .knum { font-size: 1.4rem; }
  input.kint { width: 74px; }
}

/* Opcional: navbar fija arriba (descomenta si la usas fija)
body.has-fixed-navbar {
  padding-top: 56px; 
}
*/




/* Selects con estado SI/NO o abierto/cerrado coloreados */
.form-select.text-success {
  color: #198754 !important;
}
.form-select.text-danger {
  color: #dc3545 !important;
}

/* Fondo y borde suaves para que se note más */
.form-select.bg-success-subtle {
  background-color: #d1e7dd !important; /* Bootstrap 5.3 subtle */
  border-color: #badbcc !important;
}
.form-select.bg-danger-subtle {
  background-color: #f8d7da !important;
  border-color: #f5c2c7 !important;
}




