* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    height: 100vh;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #ffffff, #404040);
}

.login {
    display: flex;
    width: 90%;
    max-width: 1000px;
    height: 600px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.login-datos {
    width: 40%;
    padding: 10px;
    column-gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.login-logo {
    margin-top: 50px;
    width: 250px;
    height: 100px;
    margin-bottom: 10px;
}

.login-logo img {
    width: 100%;
}

.form-datos {
    padding: 3px;
    width: 100%;
}

.datos {
    align-items: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.usuario-login,
.contraseña-login {
    margin-top: 10px;
    width: 78%;
    display: flex;
    align-items: center;
    flex-direction: row;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #ccc;
}


.usuario-login i,
.contraseña-login i {
    font-size: 20px;
    color: #c7a445;
    margin-left: 10px;
}

.usuario-login input,
.contraseña-login input {
    flex: 1;
    width: 100%;
    padding: 12px 15px;
    border: none;
    background: transparent;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 300;
    outline: none;
}

.usuario-login:focus-within,
.contraseña-login:focus-within {
  border: 1px solid #c7a445;
  box-shadow: 0 0 6px rgba(199, 164, 69, 0.5);
}

/* === OJO (botón) === */
.toggle-btn{
  position: relative;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
}

.toggle-btn i{
  color: #888 !important;
}

.ingresar {
    margin-top: 20px;
    padding: 12px;
    width: 70%;
    background: linear-gradient(to right, #d4af37, #b88a2c);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight:400;
    cursor: pointer;
    transition: 0.3s;
}

.ingresar:hover {
    background: linear-gradient(to right, #b88a2c, #d4af37);
}

.redes-sociales {
    margin-top: 40px;
    margin-bottom: 15px;
    display: flex;
    gap: 30px;
}

.redes-sociales i {
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s;
    color: #2f2f2f;
}

.redes-sociales i:hover {
    transform: scale(1.1);
}

.login-imagen {
    width: 60%;
    height: 100%;
}

.login-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
  .login {
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
  }

  .login-imagen {
    order: -1;
    width: 100%;
    height: 150px;
  }

  .login-datos {
    width: 100%;
    height: auto;
    padding: 20px;
  }

  .ingresar {
    width: 70%;
  }

  .usuario-login,
  .contraseña-login {
    width: 90%;
  }

  .redes-sociales {
    padding: 5px;
    margin-top: 100px;
  }

  .login-logo {
    margin: 20px auto;
    width: 100%;
    max-width: 300px;
    height: auto;
  }
}

