html {
  width: 100%;
}

/* ══════════════════════════════════════════════
   ESTILO GLOBAL DE TABLAS
   ══════════════════════════════════════════════ */

/* 1. Padding interno en celdas */
.table > thead > tr > th,
.table > tbody > tr > td,
.table > tfoot > tr > td,
table.dataTable thead th,
table.dataTable tbody td,
table.dataTable tfoot td {
  padding: 1rem 1.5rem !important;
  vertical-align: middle;
}

/* 2. Sin bordes verticales ni borde exterior — solo línea horizontal entre filas */
.table,
.table > thead > tr > th,
.table > tbody > tr > td,
table.dataTable thead th,
table.dataTable tbody td {
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.07) !important;
}

/* 3. Sin borde en el wrapper DataTables y table-responsive */
.dataTables_wrapper,
.table-responsive {
  border: none !important;
  box-shadow: none !important;
}

/* 4. Sin borde superior en el thead (la primera línea arriba de los encabezados) */
.table > thead > tr > th {
  border-bottom: 2px solid rgba(0,0,0,0.1) !important;
  font-weight: 600;
}

/* 5. Quitar borde de la card que envuelve la tabla cuando la hay */
.card {
  border: none !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.07) !important;
}

body {
  overflow-x: hidden !important;
}

body.show-spinner>main {
  overflow: hidden !important;
}

/* Hide everything under body tag */
body.show-spinner>* {
  opacity: 0;
}

/* Spinner */
body.show-spinner::after {
  content: " ";
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  border-top-color: rgba(0, 0, 0, 0.3);
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
  left: calc(50% - 15px);
  top: calc(50% - 15px);
  position: fixed;
  z-index: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
  }
}


