@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-size: 30px;
  text-align: center;
  color: #303030;
  background-color: #eef3f8;
}

#fondo-tabla {
  width: 500px;
  height: 400px; /* Ajusta la altura dependiendo del contenido */
  background-color: #FFFFFF;
  border-radius: 10px;
  border-color: gainsboro;
  border-style: solid;
  border-width: .5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
  display: flex;
  position: relative;
  overflow: hidden; /* Para asegurarse de que la imagen no sobresalga */
}

.tabla-contenedor {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.imagen-contenedor {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Alinea la imagen al borde izquierdo */
}

.logo-login {
  position: absolute; /* Permite que la imagen se ajuste completamente al contenedor */
  left: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  width: auto; /* Mantiene la proporción de la imagen */
  max-width: 250px;
  object-fit: cover; /* La imagen se adapta al contenedor */
  border-top-left-radius: 10px; /* Asegura que los bordes coincidan */
  border-bottom-left-radius: 10px;
}

.contenido-tabla {
  flex: 1; /* El contenido ocupa el resto del espacio */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.h1 {
  font-weight: bold;
  color: #3C65B3;
}

.dat {
  color: #3C65B3;
}

.accept {
  width: 25px;
  height: 25px;
  margin: 0;
  padding: 0;
  border: none;
  background-color: #ff8c15;
  border-radius: 50%;
  cursor: pointer;
  text-align: center;
  background-image: url(../img/arrow-forward-outline-white.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 15px;
}

.accept:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

input {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  color: #303030;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
}

input:focus {
  border-color: #3C65B3;
  background-color: #eef3f8;
  outline: none;
  box-shadow: 0 0 8px rgba(60, 101, 179, 0.3);
}

input[type="text"] {
  font-weight: 400;
}

input[type="password"] {
  font-weight: 400;
}

select {
  padding: 8px;
  background-color: #fff;
  border: 1px solid #ccc;
  font-size: 12px;
}

select:focus {
  background-color: #eef3f8;
  color: #3C65B3;
}

.title {
    color: #646464;
    font-size: 25px;
  }
  
  .login {
    font-size: 16px;
  }

/* Media Queries para hacerlo responsivo */

@media (max-width: 768px) {
  body {
    font-size: 24px;
  }

  #fondo-tabla {
    width: 80%; /* Ajuste para pantallas medianas */
    height: auto;
  }

  .logo-login {
    max-width: 120px;
  }

  .accept {
    width: 20px;
    height: 20px;
    background-size: 12px;
  }

  input {
    font-size: 12px;
  }

  select {
    font-size: 10px;
  }

  /* Ocultar imagen en pantallas menores a 768px */
  .imagen-contenedor {
    display: none;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 20px;
  }

  #fondo-tabla {
    width: 90%; /* Ajuste para pantallas pequeñas */
    height: auto;
  }

  .logo-login {
    max-width: 100px;
  }

  .accept {
    width: 18px;
    height: 18px;
    background-size: 10px;
  }

  input {
    font-size: 10px;
  }

  select {
    font-size: 10px;
  }

  /* Ocultar imagen en pantallas menores a 480px */
  .imagen-contenedor {
    display: none;
  }
}
