body{
  margin: 0;
  padding: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../image/Fondo.jpg) no-repeat center top;
  background-size: cover;
  font-family: sans-serif;
  min-height: 100vh; 
  overflow: auto;
}

.login-box{
  width: 90%;
  max-width: 400px;
  height: auto;
  padding: 60px 30px 40px;
  background: #0D283B;
  border-radius: 10px;
  color: #fff;
  top: 52%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
}

.logo-frame {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: -110px auto 20px;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-frame img {
  width: 50px;
  height: 70px;
}

.login-box h1{
  margin: 0;
  padding: 0 0 20px;
  text-align: center;
  font-size: 22px;
}

.login-box label{
  margin: 0;
  padding: 0;
  font-weight: bold;
  display: block;
}

.login-box input{
  width: 100%;
  margin-bottom: 25px;
}

.login-box input[type="text"],
.login-box input[type="password"],
.login-box input[type="email"]{
  border: none;
  border-bottom: 1px solid #fff;
  background: transparent;
  outline: none;
  height: 30px;
  color: #fff;
  font-size: 16px;
}

.login-box input[type="submit"]{
  border: none;
  outline: none;
  height: 40px;
  background: #4E6580;
  color: #fff;
  font-size: 16px;
  border-radius: 20px;
  cursor: pointer;
}

.login-box input[type="submit"]:hover {
  background: #7692b2;
}
.enlace {
  text-align: center;
  margin-top: 10px;
}

.enlace span{
  text-decoration: none;
  font-size: 14px;
  line-height: 30px;
  color: darkgrey;
  margin-left: 11px;
}

.login-box a{
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  line-height: 30px;
  color: #b6d2f2;
}

.login-box a:hover{
  color: #fff;
}

/*Mostrar/Ocultar contraseña*/
.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 40px; /* Espacio para el icono */
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #ccc;
  font-size: 18px;
  user-select: none;
}

.toggle-password:hover {
  color: #fff;
}


/* General styles for social buttons */
.social-button {
  display: block;
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Google button style */
#google-login {
  background-color: #4285F4;
  color: white;
}

#google-login:hover {
  background-color: #357ae8;
  transform: scale(1.02);
}

/* Facebook button style */
#facebook-login {
  background-color: #4267B2;
  color: white;
}

#facebook-login:hover {
  background-color: #365899;
  transform: scale(1.02);
}

/* Optional: Add spacing and alignment to social login container */
.social-login {
  text-align: center;
  margin-top: -15px;
}

.social-login p {
  margin-bottom: 10px;
  font-size: 14px;
  color: darkgray;
}

/*Media Queries para pantallas pequeñas*/
@media (max-width: 480px) {
  .login-box {
      padding: 40px 20px;
  }

  .logo-frame {
      width: 70px;
      height: 70px;
      margin-top: -90px;
  }

  .logo-frame img {
      width: 40px;
      height: 55px;
  }

  .login-box h1 {
      font-size: 20px;
  }

  .social-button {
      font-size: 14px;
      padding: 8px;
  }

  .enlace span,
  .login-box a {
      font-size: 13px;
  }
}