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;
}

/* wwwroot/css/site.css */

/* Estilos para botones de ancho completo */
.btn-block {
    width: 100%;
}

/* Sticky header para consultar estados */
.sticky-top {
    position: sticky;
    z-index: 1020;
}

/* Contenedor de resultados con scroll */
#resultado {
    max-height: 600px;
    overflow-y: auto;
}

    #resultado table {
        font-size: 0.9rem;
    }

/* REMOVIDO el position: sticky de los headers */
/* Los headers ahora se mueven con la tabla */

/* Sombras para los contenedores de pasos */
.border.rounded {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .border.rounded:hover {
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        transition: box-shadow 0.3s ease;
    }


/* Headers fijos en la tabla con fondo sólido */
#resultado thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #343a40 !important; /* Fondo oscuro de Bootstrap */
    color: white !important;
}

/* Alternativa si usas thead-dark de Bootstrap */
#resultado .thead-dark th {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #343a40 !important;
}