
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden; /*evita scroll*/
}


main {
  display: flex;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  background-color: black;
}


/*------------------------------------------------------MITAD IZQUIERDA---------------------------------------------------------------------*/



.lado-izquierdo {
  width: 50%;
  height: 100vh;
  background-color: #1e1e1e; /* para que combine con la derecha */
  display: flex;
  align-items: center;
  justify-content: center;
}

.esfera-blanca {
  background-color: white;
  width: 100%;
  height: 100%;
  clip-path: ellipse(100% 100% at 0% 50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.esfera-blanca img {
  width: 80%;         /* o probá con 40%, 30% según lo que necesites */
  max-width: 800px;   /* límite máximo en píxeles */
  height: auto;       /* mantiene proporción */
}



/*------------------------------------------------------MITAD DERECHA---------------------------------------------------------------------*/

.form-container {
  width: 50%;
  display: flex;
  justify-content: center;
  padding-right: 80px; /*margen para el lado derecho*/
  background-color: #1e1e1e;
}


.lado-derecho {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra verticalmente */
  align-items: center;     /* Centra horizontalmente */
  height: 100vh;
  padding: 30px;
  color: white;
}

.lado-derecho h2{
  font-size: 42px;
  text-align: center;
  max-width: 600px;
  margin-bottom: 30px; /*margen con la parte de abajo*/
}



#login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 60%;
  color: #000;
}

#login-form label {
  font-size: 14px;
  text-align: left;
  margin-bottom: -10px;
  font-weight: 500;
}

/* Campos de entrada con estilo moderno */
#login-form input {
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
}

/* Botón de login estilo naranja como el submit de la imagen */
.submit-button {
  padding: 14px;
  border: none;
  border-radius: 10px;
  background-color: #f59e00;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #d88800;
}


.form-container-movil {
  display: none;
}



/*--------------------------------PARTE MÓVIL-----------------------------------*/


@media (max-width: 768px) {
  main {
    background-color: white;
  }

  .form-container {
    display: none;
  }
  .lado-izquierdo{
    display: none;
  }


  .form-container-movil {
    display: block; /*lo mostramos en versión móvil*/
    max-width: 400px;
    height: 500px;
    margin: 50px auto;
    background-color: rgba(255, 255, 255, 0.06); /* o usa un fondo morado pálido */
    backdrop-filter: blur(6px); /* da efecto de cristal difuso */
    color: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
  }
  .form-container-movil img{
    width: 100%;         /* o probá con 40%, 30% según lo que necesites */
    max-width: 800px;   /* límite máximo en píxeles */
    height: auto; 
  }


  /* BOTÓN */
  .form-container-movil button[type="submit"] {
    width: 100%;
    background-color: #ff9900;
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .form-container-movil button[type="submit"]:hover {
    background-color: #e98700;
  }



  .form-container-movil h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1d1d1d;
  }

  .form-container-movil p {
    font-size: 14px;
    color: #444;
    margin-bottom: 20px;
  }

  .form-container-movil label {
    display: block;
    text-align: left;
    font-weight: 500;
    margin: 12px 0 4px;
    color: #333;
    font-size: 14px;
  }


  /* INPUTS Y SELECTS */
  .form-container-movil input,
  .form-container-movil select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    background-color: white;
    box-sizing: border-box;
  }


}


