@charset "UTF-8";
.contenedor_encabezado {
  display: grid;
  grid-template-columns: repeat(4, auto);
  column-gap: 1.2rem;
  justify-items: center;
  padding: 2rem;
  background-color: var(--blanco);
  -webkit-box-shadow: 0px 1px 44px 1px rgba(32, 36, 42, 0.42);
  -moz-box-shadow: 0px 1px 44px 1px rgba(32, 36, 42, 0.42);
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  border-radius: 20px;
  align-items: center;
}

.usuario {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1.titulo_Usuario {
  font-family: var(--fuentePrincipal);
  color: black;
  font-size: 2rem;
  text-align: center;
  margin-top: 2rem;
}

.cerrar_sesion {
  width: 15rem;
  height: 4rem;
  border-radius: 15px;
  border: 1px solid #0a1770;
  font-family: "Roboto", sans-serif;
  text-align: center;
  background-color: #0a1770;
  color: white;
  cursor: pointer;
}

.cerrar_sesion:hover {
  background-color: #ff8000;
  transform: scale(1.1);
  transition: 0.4s;
}

.logo img {
  width: 15rem; /* tamaño reducido */
  height: auto;
}

.logo2 {
  width: 25rem;
}

.sidebar {
  width: 260px; /* ancho fijo */
  height: 100vh; /* ocupa toda la pantalla */
  background: linear-gradient(180deg, #004080, #0066cc); /* degradado elegante */
  position: relative;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2); /* sombra lateral */
}

.menu {
  font-family: "Roboto", sans-serif;
  text-decoration: none;
  height: 100%;
}
.menu a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: white;
  font-family: "Roboto", sans-serif;
  font-size: auto;
  text-decoration: none;
  border-radius: 8px;
}
.menu a:hover {
  background-color: #ff8000;
  transition: all 0.3s ease-in-out;
  transform: scale(1.05);
}
.menu li {
  list-style: none;
}
.menu .icono_barra {
  height: 3rem;
  width: 3rem;
}
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

body {
  background-color: white;
  font-family: "Roboto", sans-serif;
  overflow-y: auto; /* activa scroll vertical */
  overflow-x: hidden; /* oculta scroll horizontal */
}

.contenedor_logos {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logos_inicio {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  gap: 8rem;
}
.logos_inicio img {
  display: block;
  height: 15rem;
  width: 15rem;
}
.logos_inicio img .logoin {
  width: 20rem;
}

.logo_lab {
  display: flex;
  justify-content: center;
  margin-top: 0%;
}
.logo_lab img {
  height: auto;
  width: 25rem;
}

.contenedor_form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.contenedor_form legend {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

fieldset {
  border-radius: 10px;
  width: 35rem;
}

.titulo_login {
  text-align: center;
  font-size: 2.5rem;
  color: black;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.contenedor-campos {
  display: block;
  display: inline-block;
}
.contenedor-campos .campo {
  display: flex;
  justify-content: center; /* eje horizontal */
  align-items: center;
}
.contenedor-campos .campo label {
  margin: 0 auto;
  font-family: "Roboto", sans-serif;
  color: #0a1770;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 0;
  padding: 1rem;
  font-size: 2rem;
  text-align: center;
}
.contenedor-campos .campo input {
  width: 25rem;
  padding: 2rem;
  margin-top: 1rem;
  border: 1px solid #ccc; /* borde gris */
  border-radius: 8px; /* esquinas redondeadas */
  font-size: 1.5rem;
  outline: none; /* quita el borde azul por defecto */
  box-sizing: border-box; /* asegura que el padding no rompa el ancho */
}
.contenedor-campos .campo input:focus {
  border-color: #666; /* cambia el color al hacer clic */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* efecto visual */
}

.boton {
  background-color: #ff8000;
  width: 100%;
  height: 5rem;
  margin-top: 1rem;
  border-radius: 8px;
  border: none;
  font-family: "Roboto", sans-serif;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.boton:hover {
  background-color: #0a1770;
  transition-duration: 0.3s;
  transform: scale(1.05);
}

.olvidar_contraseña {
  background-color: transparent;
  width: 100%;
  font-family: "Courier New", Courier, monospace;
  border: none;
  cursor: pointer;
}

.olvidar_contraseña:hover {
  color: #ff8000;
  transform: scale(1.05);
}

.error {
  position: static;
  background-color: #f8d7da;
  color: #721c24;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 5px;
  text-align: center;
  width: 100%;
  max-width: 35rem;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-y: auto; /* scroll vertical global */
  overflow-x: hidden; /* activa scroll si el contenido lo necesita */
}

a {
  text-decoration: none;
}

.titulo_pagina {
  font-family: "Roboto", sans-serif;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0rem;
  color: #ff8000;
  font-size: 3rem;
  padding: 0;
}

.contenedor-principal {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  overflow-y: auto;
  align-items: flex-start;
}
.contenedor-principal .formulario_registrarUsuario {
  width: 75rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.contenedor-principal .fieldset-datos-usuario {
  display: flex;
  flex-direction: row;
  border-radius: 10px;
  width: auto;
  margin-bottom: 2rem;
}
.contenedor-principal .fieldset-datos-sistema {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  width: auto;
  margin-bottom: 2rem;
}
.contenedor-principal label {
  display: block;
  font-family: "Roboto", sans-serif;
  color: #0a1770;
  text-align: left;
  margin-top: 1rem;
  margin-bottom: 0;
  padding: 0;
  font-size: 2rem;
  width: 100%;
}
.contenedor-principal input {
  width: 75%;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  font-size: 1.5rem;
  font-family: "Roboto", sans-serif;
  margin-left: 0;
  margin-right: 0.5rem;
}
.contenedor-principal select {
  width: 35%;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  font-size: 1.5rem;
  font-family: "Roboto", sans-serif;
}
.contenedor-principal .boton {
  width: 30%;
  height: 4rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  font-size: 1.5rem;
  font-family: "Roboto", sans-serif;
  background-color: #ff8000;
  color: white;
  border: none;
  cursor: pointer;
  margin: 0 auto;
  display: block;
}
.contenedor-principal .boton:hover {
  background-color: #0a1770;
  transition: all 0.3s ease-in-out;
  transform: scale(1.05);
}

.mensaje-resultado {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
}
.mensaje-resultado .exito {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  text-align: center;
}
.mensaje-resultado .error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  text-align: center;
}

.contenedor-registro {
  width: auto;
  margin: 10px;
}

.formulario_registro {
  width: 100%;
  display: grid;
  grid-template-areas: "datosgenerales especificos" "datosEnsayo datosEnsayo";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); /* columnas flexibles */
  gap: 20px; /* separación entre columnas */
  width: 100%; /* ocupa todo el ancho disponible */
  box-sizing: border-box;
}

.fieldset-datos-generales {
  grid-area: datosgenerales;
  width: 45rem;
  display: flex;
  flex-direction: column;
}
.fieldset-datos-generales label {
  color: #ff8000;
  font-size: 2rem;
}
.fieldset-datos-generales input {
  width: auto; /* en lugar de 45rem */
  height: auto;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgb(197, 192, 192);
  text-align: center;
  box-sizing: border-box;
}
.fieldset-datos-generales input:focus {
  border-color: rgb(197, 192, 192);
  box-shadow: 0 0 5 #0a1770;
}

.fieldset-datos-especificos {
  grid-area: especificos;
  width: 45rem;
  display: flex;
  flex-direction: column; /* etiqueta arriba, input abajo */
}
.fieldset-datos-especificos label {
  color: #ff8000;
  font-size: 2rem;
}
.fieldset-datos-especificos input {
  width: auto; /* en lugar de 45rem */
  height: auto;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgb(197, 192, 192);
  text-align: center;
  box-sizing: border-box;
}
.fieldset-datos-especificos input:focus {
  border-color: rgb(197, 192, 192);
  box-shadow: 0 0 5 #0a1770;
}
.fieldset-datos-especificos .tiempo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1rem;
  gap: 1remx;
}
.fieldset-datos-especificos .tiempo label {
  margin-left: 2rem;
  padding: 0;
}
.fieldset-datos-especificos .tiempo input {
  width: 15rem;
}

.fieldset-datos-ensayo {
  grid-area: datosEnsayo;
  width: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}
.fieldset-datos-ensayo label {
  color: #ff8000;
  font-size: 2rem;
}
.fieldset-datos-ensayo input {
  width: auto; /* en lugar de 45rem */
  height: auto;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgb(197, 192, 192);
  text-align: center;
  box-sizing: border-box;
}
.fieldset-datos-ensayo input:focus {
  border-color: rgb(197, 192, 192);
  box-shadow: 0 0 5 #0a1770;
}

.campo {
  display: flex;
  flex-direction: row; /* etiqueta arriba, input abajo */
  justify-content: space-between;
}

.campo-radio {
  font-size: 1.5rem;
  display: flex;
  border: 1px solid gray;
  padding: 1rem;
  width: 40rem;
}
.campo-radio input[type=radio] {
  accent-color: #007bff; /* cambia el color del círculo */
  margin: 0;
  width: 5rem;
  font-size: 0.5rem;
  transform: scale(0.8);
  display: block;
}

.observaciones {
  display: flex;
}
.observaciones .input-observaciones {
  width: 30rem;
  margin-left: 10px;
}

.boton-enviar {
  display: flex;
  align-items: center;
  justify-content: center;
}
.boton-enviar input {
  background-color: #ff8000;
  color: white;
  font-size: 2rem;
  border-radius: 5px;
  border-color: #0a1770;
  cursor: pointer;
  margin: 1rem;
  width: 50rem;
  height: 5rem;
}
.boton-enviar input:hover {
  background-color: #0a1770;
  transform: scale();
}

.mensaje-resultado {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
}
.mensaje-resultado .exito {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  text-align: center;
}
.mensaje-resultado .error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  text-align: center;
}

.registro-ensayo-cilindros {
  width: 100%;
}

table {
  border-collapse: collapse;
  width: 70%;
  margin-top: 20px;
}
table th, table td {
  border: 1px solid #333;
  padding: 8px;
  text-align: center;
}
table th {
  background-color: #f2f2f2;
  font-size: 2rem;
}
table input, table select {
  width: 95%;
  padding: 5px;
  border-radius: 10px;
  border: 1px solid #ff8000;
}

.formularioMuestraSuelo {
  width: 100%;
  padding: 10px;
  display: grid;
  grid-template-areas: "cliente muestra" "ensayos ensayos";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); /* columnas flexibles */
  gap: 20px; /* separación entre columnas */
  width: 100%; /* ocupa todo el ancho disponible */
  box-sizing: border-box;
}

.cliente {
  grid-area: cliente;
  width: 90%;
  display: flex;
  flex-direction: column;
}
.cliente label {
  font-size: 2rem;
  color: black;
}
.cliente input {
  width: auto; /* en lugar de 45rem */
  height: 2.5rem;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgb(197, 192, 192);
  text-align: start;
  box-sizing: border-box;
}

.muestra {
  grid-area: muestra;
  width: 90%;
  display: flex;
  flex-direction: column;
}
.muestra label {
  font-size: 2rem;
  color: black;
}
.muestra input {
  width: auto; /* en lugar de 45rem */
  height: 2.5rem;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgb(197, 192, 192);
  text-align: start;
}

.ensayos {
  grid-area: ensayos;
  width: auto;
}
.ensayos legend {
  font-size: 2.5rem;
  color: #ff8000;
}
.ensayos p {
  font-size: 2rem;
  color: #0a1770;
  margin: 0;
}

textarea {
  width: auto;
  height: 5rem;
  border-radius: 10px;
  text-align: start;
  box-sizing: border-box;
  border: 1px solid rgb(197, 192, 192);
}

.formularioTarea {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 0 auto;
}
.formularioTarea .datos-usuario select {
  width: 40rem;
  text-align: center;
  font-size: 2.5rem;
}
.formularioTarea .campo {
  display: flex;
  flex-direction: column;
  font-size: 2.5rem;
  margin: 1rem;
  width: 50rem;
  align-items: center;
}
.formularioTarea .campo label {
  text-align: center;
}
.formularioTarea .campo input {
  text-align: center;
  width: 30rem;
  height: 3rem;
  border-radius: 10px;
  border: 1px solid rgb(197, 192, 192);
}
.formularioTarea .campo .textarea {
  width: 50rem;
  height: 10rem;
}

.pantallaPrincipal {
  display: grid;
  grid-template-columns: 1fr 4fr;
}

.icono_barra {
  filter: brightness(0) invert(1);
}

.contenedorCentral h1 {
  text-align: center;
  font-size: 3.5rem;
}

.accesosDirectos {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  text-align: center;
  margin-top: 2rem;
}
.accesosDirectos a {
  display: flex;
  width: 15rem;
  height: 11rem;
  font-size: 2rem;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  border-radius: 50px;
  border: 1px solid rgb(197, 192, 192);
  text-align: center;
  justify-content: center;
  align-items: center;
}
.accesosDirectos a:hover {
  transform: scale(1.1);
  transition: all 0.3s ease;
  background: linear-gradient(90deg, #6c6b6a, #020201);
}
.accesosDirectos .btn1 {
  background-color: #0a1770;
  color: white;
}
.accesosDirectos .btn2 {
  background-color: #ff8000;
  color: white;
}
.accesosDirectos .btn3 {
  background-color: rgb(20, 157, 5);
  color: white;
}

.contenedorCilindros {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  font-size: 2rem;
}
.contenedorCilindros h2 {
  margin-bottom: 0;
}
.contenedorCilindros th {
  background-color: #0a1770;
  color: white;
  border: none;
}

.contenedorTareas {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  font-size: 2rem;
}
.contenedorTareas h2 {
  margin-bottom: 0;
}
.contenedorTareas th {
  background-color: #ff8000;
  color: white;
  border: none;
}

h2 {
  font-family: "Roboto", sans-serif;
  font-size: 3.5rem;
  text-align: center;
  font-weight: 700;
}

.tablaCilindros {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
}
.tablaCilindros input {
  width: 10rem;
  border: none;
}

.encabezado th {
  background-color: #0a1770;
  color: white;
  border: none;
}

.paginacion {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.paginacion a {
  border: none;
  background-color: rgb(20, 157, 5);
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: black;
  padding: 1rem;
  border-radius: 10px;
}
.paginacion a:hover {
  background-color: #ff8000;
  transition: 0.3s;
}

.guardarcilindro {
  width: 7rem;
  height: 3rem;
  background-color: #0a1770;
  border: none;
  color: white;
  border-radius: 10px;
  font-weight: 700;
}
.guardarcilindro:hover {
  background-color: #ff8000;
  transform: scale(1.05);
  transition: 0.3s;
}

.fechaEnsayo {
  white-space: nowrap;
}

.form {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.form fieldset {
  width: 75rem;
  display: flex;
  flex-direction: column;
}
.form fieldset legend {
  color: #0a1770;
}
.form fieldset .campo {
  display: flex;
  flex-direction: column;
}
.form fieldset .campo label {
  font-size: 2rem;
}
.form fieldset .campo input {
  height: 2.5rem;
  border: none;
  border-radius: 10px;
}
.form fieldset .campo select {
  height: 2.5rem;
  border-radius: 10px;
  border: none;
}
.form fieldset .descripcion {
  display: flex;
  flex-direction: column;
}
.form fieldset .descripcion label {
  font-size: 2rem;
}
.form fieldset .descripcion textarea {
  height: 7rem;
}
.form .archivo {
  display: flex;
  align-items: center;
  font-size: 2rem;
}

.mb-3 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem;
}
.mb-3 input {
  width: 35rem;
  height: 5rem;
  border-radius: 10px;
  border: none;
  text-align: center;
  font-size: 2rem;
}

.tablaInformes {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}
.tablaInformes .table thead th {
  background-color: #0a1770;
  color: white;
  border: none;
  font-size: 2rem;
  font-weight: 700;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
  background-color: rgb(207, 203, 203);
  font-family: "Roboto", sans-serif;
  font-size: 2.5rem;
  margin: 0;
  padding: 0;
  margin: 0; /* elimina márgenes por defecto */
  padding: 0;
}

.contenedor_encabezado {
  background-color: white;
}