/* Asegúrate de que no haya margen, padding o sombras en toda la página */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

  .element {
    background: linear-gradient(to bottom, #241288 0%, rgb(106, 10, 216) 300px);
    background-repeat: no-repeat;
    height: 350px; /* Ajusta la altura del contenedor */
    position: relative; /* Para manejar la posición de los elementos */
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 50% 25%; /* Curvatura suave solo en la parte inferior */
    border-bottom-right-radius: 50% 25%;
    overflow: hidden; /* Esto asegura que el contenido no sobresalga por los bordes redondeados */
}

/* Título de inicio de sesión */
h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #1e90ff; /* Azul */
    margin: 5px auto 0 auto;
}

/* Campos de entrada y ajustes de estilo */
.input-container {
    position: relative;
    margin-bottom: 10px;
    width: 100%;
    max-width: 360px;
    margin: auto;
    padding: 5px;
}

.icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #165fcc; /* Azul */
    font-size: 18px;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px 15px 10px 45px;
    border-radius: 4px; /* Cambia a un valor bajo para un redondeo leve */
    border: 1px solid #011030;
    background-color: #fff;
    font-size: 16px;
}


input[type="text"]:focus, input[type="password"]:focus {
  border-color: #4682b4; /* Azul moderado */
  box-shadow: 0 0 12px rgba(70, 130, 180, 0.7); /* Aumenta el tamaño de la sombra */
}


/* Botón de envío */
.btn-submit {
    background: linear-gradient(135deg, #3f13ff, #4a98cc); /* Degradado azul */
    color: white;
    padding: 10px 20px;
    font-size: 20px;
    border-radius: 25px;
    width: 100%;
    max-width: 360px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #3984c2, #64b1fd); /* Invertir degradado en hover */
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.5); /* Sombra en azul */
}
input::placeholder {
    color: #000; /* Cambia el color si lo deseas */
    opacity: 0.5 !important; /* Ajusta la opacidad entre 0 y 1 */
}
.subheader-text {
    font-family: 'Poppins', sans-serif;
}

.form-container {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 420px;
    bottom: 0;
    padding: 10px 15px;
    border-radius: 20px;
    text-align: center;
    transition: bottom 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px;
    background-color: transparent;
}

.header-logo {
    width: 70px;
    height: 70px;
    margin-right: 8px;
    margin-top: -40px;
}

.header-text {
    font-weight: bold;
    color: white;
    font-size: 50px;
    font-family: "Lalezar", system-ui;
    font-weight: 400;
    font-style: normal;
    margin-top: -30px;
} 
.header-text .version {
    font-size: 15px;
    gap: 5px;
}

.subheader-text {
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    margin-top: -70px;
    margin-bottom: 20px;
    padding: 50px;
}
.profile-photo-container {
    position: absolute;  /* Permite moverlo libremente */
    top: 220px; /* Ajusta la posición según el tamaño deseado para la foto */
    left: 50%; /* Centrado horizontalmente */
    transform: translateX(-50%); /* Ajuste fino para centrar */
    z-index: 10; /* Asegúrate de que esté encima de otros elementos */
}

.profile-photo {
    width: 180px; /* Ajusta el tamaño del círculo */
    height: 180px;
    border-radius: 50%; /* Para hacerlo redondo */
    object-fit: cover;
    border: 3px solid #ffffff; /* Borde para la foto */
}
.user-info{
    text-align: center;
}
#togglePassword{
    margin-top: 5px;
    font-size: 18px;
    margin-right: 5px;
    
}


@media (max-height: 600px) {
    .header-text {
      font-size: 32px;
      margin-top: -20px;
    }
  
    .header-text .version {
      font-size: 12px;
    }
  
    .header-logo {
      width: 50px;
      height: 50px;
      margin-top: -30px;
    }
  
    .subheader-text {
      font-size: 14px;
      padding: 20px;
      margin-top: -50px;
      margin-bottom: 10px;
    }
  
    .profile-photo-container {
      top: 180px;
    }
  

    .form-container {
      max-width: 90%;
      padding: 10px;
      border-radius: 15px;

    }
  
    .btn-submit {
      font-size: 16px;
      padding: 8px 16px;
    }
  
    h2 {
      font-size: 20px;
    }
  
    input[type="text"], input[type="password"] {
      font-size: 14px;
      padding: 8px 12px 8px 40px;
    }
  
    .icon {
      font-size: 16px;
      left: 12px;
    }
    .element {
        background: linear-gradient(to bottom, #241288 0%, rgb(116, 10, 216) 300px);
        background-repeat: no-repeat;
        height: 250px; /* Ajusta la altura del contenedor */
        position: relative; /* Para manejar la posición de los elementos */
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 50% 25%; /* Curvatura suave solo en la parte inferior */
        border-bottom-right-radius: 50% 25%;
        overflow: hidden; /* Esto asegura que el contenido no sobresalga por los bordes redondeados */
    }
    .profile-photo-container {
        position: absolute;  /* Permite moverlo libremente */
        top: 180px; /* Ajusta la posición según el tamaño deseado para la foto */
        left: 50%; /* Centrado horizontalmente */
        transform: translateX(-50%); /* Ajuste fino para centrar */
        z-index: 10; /* Asegúrate de que esté encima de otros elementos */
    }
    .profile-photo {
        width: 120px; /* Ajusta el tamaño del círculo */
        height: 120px;
        border-radius: 50%; /* Para hacerlo redondo */
        object-fit: cover;
        border: 3px solid #ffffff; /* Borde para la foto */
    }

  }
  
  @media (min-height: 600px) and (max-height: 700px) {
    .header-text {
      font-size: 45px;
      margin-top: -20px;
    }
  
    .header-logo {
      width: 60px;
      height: 60px;
      margin-top: -30px;
    }
  
    .subheader-text {
      font-size: 15px;
      margin-top: -40px;
      padding: 30px;
    }
  
    .profile-photo {
      width: 140px;
      height: 140px;
    }
  
    .profile-photo-container {
      top: 180px;
    }
  
    .form-container {
      padding: 10px;
    }
    .element {
        background: linear-gradient(to bottom, #241288 0%, rgb(116, 10, 216) 300px);
        background-repeat: no-repeat;
        height: 250px; /* Ajusta la altura del contenedor */
        position: relative; /* Para manejar la posición de los elementos */
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 50% 25%; /* Curvatura suave solo en la parte inferior */
        border-bottom-right-radius: 50% 25%;
        overflow: hidden; /* Esto asegura que el contenido no sobresalga por los bordes redondeados */
    }
    .subheader-text {
        font-size: 14px;
        padding: 20px;
        margin-top: -80px;
        margin-bottom: 10px;
      }
    
}