@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Savate:ital,wght@0,200..900;1,200..900&display=swap");

html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
::selection {
  background-color: #cbff8fbb;
}
:root {
  --primario: #11402e;
  --secunadrio: #deedcd;
}
body {
  background-color: whitesmoke;
  font-family: "DM Sans", sans-serif;
}
h1 {
  font-family: "DM Sans";
  font-weight: 700;
  text-align: center;
  font-size: 5rem;
  color: var(--primario);
}
span {
  font-family: "DM Sans";
  color: white;
}
section {
  justify-self: center;
}

.body-container {
  display: grid;
  min-height: 100dvh;
  grid-template-rows: auto 1fr auto;
  align-items: center;
}
/* Inputs de tipo texto */
#txtUser,
#pswPassword,
#txtUsuarioReg,
#txtNombrePerro,
#pswPasswordReg {
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  color: #555;
  outline: none;
}
#txtUser:focus,
#pswPassword:focus,
#txtUsuarioReg:focus,
#txtNombrePerro:focus,
#pswPasswordReg:focus {
  border-color: var(--primario);
  box-shadow: 0 0 0 0.2rem var(--secunadrio);
}

.contenedor {
  max-width: 1200px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* Login section */
#inicio-section h2 {
  font-size: 3rem;
  text-align: center;
  color: var(--primario);
}
#inicio-section p:first-of-type {
    color: #555;
    text-align: center;
}

#inicio-section .contenedor > div {
  margin: 1rem 0 1rem 0;
}
#inicio-section .contenedor div:last-child {
  display: flex;
  flex-direction: column;
}
#inicio-section .login-boton {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#inicio-section p:last-child {
    color: rgb(255, 60, 60);
    text-align: center;
  }

#btnIngresar {
  margin: 1rem 0 1rem 0;
  font-family: "DM Sans";
  font-weight: 500;
  font-size: 16px;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  padding: 10px 20px 10px 20px;
  border-radius: 50px;
  color: var(--primario);
  border: 2px solid transparent;
  border-color: var(--primario);
  background: transparent;
  transition: background 0.3s ease, color 0.1s ease-in-out;
}
#btnIngresar:hover {
  background-color: var(--primario);
  color: var(--secunadrio);
}
#txtUser,
#pswPassword {
  width: 100%;
  margin: 1rem 0 1rem 0;
}

#paseador-aprobadas-section > div,
#cliente-reservas-section > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#btnAccesoRegistro {
  color: black;
}
#btnAccesoRegistro:hover {
  color: var(--primario);
  transition: color 0.5s ease;
}
/* info listado contrataciones */
.listado-select {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.info {
  font-size: 20px;
  color: var(--primario);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* Centra el ícono */
  width: 30px; /* Un poco más de espacio */
  height: 30px; /* Para que sea un círculo contenedor */
  border-radius: 50%; /* Hacemos el contenedor circular */
  cursor: pointer;
  transition: all 0.5s ease;
}

.info i {
  z-index: 2; /* Asegura que el ícono esté sobre el fondo */
}

.extra-info {
  position: absolute;
  top: 50%;
  left: 50%; /* Empieza desde el centro del ícono */
  transform: translate(-50%, -50%) scale(0.5); /* Escala inicial pequeña */
  background-color: var(--primario);
  color: white;
  padding: 10px;
  width: max-content;
  max-width: 250px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
  opacity: 0;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Animación elástica */
  pointer-events: none;
}

.info:hover .extra-info {
  opacity: 1;
  transform: translate(0, -10%) scale(1); /* Se expande hacia la derecha */
  left: 100%; /* Sale hacia el lado derecho */
}

.info:hover {
  color: #185d42;
}

/* Header */
.botones-header {
    display: flex;
    gap: 1rem;
    align-items: center;
}
header ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header ul li > input {
    font-weight: 500;
    margin: 1rem 0 1rem 0;
    font-size: 14px;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    padding: 10px 20px 10px 20px;
    border-radius: 50px;
    color: black;
    border: 2px solid transparent;
    background: transparent;
    background-color: #e8e8e8;
    transition: background 0.3s ease, color 0.1s ease-in-out;
  }

  header ul li > input:hover {
    background-color: #d9d9d9;
    transition: all .5s ease;
  }
header {
  margin: 2rem 0 2rem 0;
}

/* Tablas */
table {
  width: 350px;
  text-align: center;
  background-color: #333;
  border-radius: 10px;
  overflow: hidden;
  border-collapse: collapse;
  table-layout: fixed;
  color: white;
  font-size: 0.8rem;
}
th,
td {
  padding: 1rem 1.5rem 1rem 1.5rem;
}

thead {
  background-color: rgb(31, 31, 31);
}
#paseador-aprobadas-section h2:last-of-type {
  margin: 1rem 0 1rem 0;
}
/* Footer */

footer {
  text-align: center;
  color: var(--primario);
  margin: 2rem 0 2rem 0;
}

/* Registro section */
#registro-section ul {
  list-style-type: none;
}
#msgErrorRegistro {
  font-size: 12px;
  color: rgb(255, 60, 60);
}

/* tabla */

#table-wrapper {
  position: relative;
}
#table-scroll {
  height: 200px;
  overflow: scroll;
}
#table-wrapper table thead th .text {
  position: absolute;
  top: -20px;
  z-index: 2;
  height: 20px;
  width: 35%;
}

/* Registro section */

#slcTamano {
width: 100%;
}
.lista-pass i {
  color: var(--primario);
}
#registro-section form div {
  margin: 1rem 0 1rem 0;
}
#registro-section form input {
  width: 100%;
}
#registro-section h2 {
  font-size: 2rem;
  color: var(--primario);
  text-align: center;
  margin-bottom: 1rem;
}
button {
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
  padding: 10px 15px;
  border-radius: 100px;
  background: transparent;
  border: 2px solid var(--primario);
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: var(--primario);
  font-family: "DM Sans", sans-serif;
}

button:hover {
  color: var(--secunadrio);
  background: var(--primario);
  transition: all 0.6s ease;
}

button > i {
  width: 34px;
  margin-left: 2px;
  transition: transform 0.3s ease-in-out;
  color: var(--primario);
}

button:hover i {
  transform: translateX(5px);
  color: var(--secunadrio);
}

button:active {
  transform: scale(0.95);
}
/* botones general */
#btnAprobarContrato, #btnContratar, #btnCancelarContrato {
font-weight: 500;
margin: 1rem 0 1rem 0;
font-size: 10px;
display: inline-block;
text-decoration: none;
text-align: center;
cursor: pointer;
padding: 8px 16px 8px 16px;
border-radius: 25px;
color: rgb(255, 255, 255);
border: 2px solid transparent;
background: transparent;
background-color: #262626;
transition: background 0.3s ease, color 0.1s ease-in-out;
}
#btnAprobarContrato:hover, #btnContratar:hover, #btnCancelarContrato:hover{
background-color: #171717;
transition: all .5s ease;
}