/* layout general */
.card { border-radius: 14px; }
.btn { border-radius: 10px; }

/* tabla estilo “grid” */
.table-wrap {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.table-scroll {
  max-height: 520px;           /* altura del grid */
  overflow: auto;
}

/* tabla */
#tabla {
  margin: 0;
  font-size: 0.92rem;
}

#tabla thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  font-weight: 600;
  white-space: nowrap;
  padding: 10px 10px;
}

#tabla tbody td {
  white-space: nowrap;
  padding: 10px 10px;
  border-top: 1px solid #f1f3f5;
}

#tabla tbody tr:hover td {
  background: #f7fbff;
}

/* columnas más legibles */
.col-orden { font-weight: 700; }
.badge { font-weight: 600; }

/* pill Sí/No en Realizado */
.pill-si, .pill-no {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}
.pill-si { background: #d1e7dd; color: #0f5132; }
.pill-no { background: #f8d7da; color: #842029; }

.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #4f46e5;
  color: #fff;
  height: 44px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.loading-inner {
  width: 100%;
  max-width: 1320px; /* similar a container de bootstrap */
  margin: 0 auto;
  padding: 0 16px;
  font-weight: 600;
  font-size: 14px;
}