/* Reinicio básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  /* (Opcional) Fuente Montserrat */
  /* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap'); */
  
  body {
    font-family: 'Montserrat', sans-serif;
    background: #f0f0f0; /* Fondo neutro para todo el documento */
  }
  
  /* Contenedor principal que aloja la parte degradada y la parte blanca */
  .login-wrapper {
    width: 90%;
    max-width: 1000px;
    height: 550px;
    margin: 50px auto;
    display: flex;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden; 
    background: #fff;     /* El fondo para rellenar el “arco” en blanco */
    border-radius: 8px;   /* Borde global (opcional) */
  }
  
  /* Panel Izquierdo con degradado y bordes redondeados a la derecha */
  .left-gradient {
    width: 50%;
    background: linear-gradient(135deg, #8360c3 0%, #2ebf91 100%);
    padding: 60px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  
    /* Bordes redondeados en la parte derecha */
    border-top-right-radius: 80px;
    border-bottom-right-radius: 80px;
  }
  
  /* Logo dentro del panel izquierdo */
  .logo-inside {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 20px;
  }
  
  /* Título y texto de bienvenida en el panel izquierdo */
  .left-gradient h1 {
    font-size: 38px;
    margin-bottom: 15px;
  }
  .left-gradient p {
    font-size: 14px;
    max-width: 300px;
    margin-bottom: 20px;
  }
  
  /* Botón "Ir al inicio" */
  .btn-home {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 25px;
    background: #fff;
    color: #2ebf91;
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
  }
  .btn-home img {
    width: 14px;
    height: 14px;
    margin-right: 5px;
  }
  .btn-home:hover {
    background: #2ebf91;
    color: #fff;
  }
  
  /* Sección de redes sociales debajo */
  .social-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
  }
  .social-row img {
    width: 22px;
    cursor: pointer;
  }
  
  /* Panel Derecho en Blanco */
  .right-white {
    width: 50%;
    background: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  /* Formulario dentro del panel blanco */
  .login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 300px;
    margin: 0 auto;
  }
  
  /* Contenedores translúcidos para los campos (email, password, etc.) */
  .field-container {
    background: linear-gradient(135deg, rgba(131,96,195,0.2), rgba(46,191,145,0.2));
    border-radius: 8px;
    padding: 10px 15px;
  }
  .field-container label {
    font-size: 14px;
    color: #333;
  }
  .field-container input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    padding: 5px;
    font-size: 14px;
    border-bottom: 1px solid #ccc;
    color: #333;
  }
  
  /* Campo Password con ícono */
  .password-field {
    position: relative;
  }
  .password-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .toggle-password {
    width: 20px;
    cursor: pointer;
  }
  
  /* Botones */
  .buttons-row {
    display: flex;
    gap: 8px;
  }
  .btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s;
    background: #fff;
    color: #4cf6af;
  }
  .btn-login:hover {
    background: #338eb8;
  }
  .btn-login img {
    width: 14px;
    margin-right: 5px;
  }
  
  /* Responsivo */
  @media (max-width: 768px) {
    .login-wrapper {
      flex-direction: column;
      height: auto;
      border-radius: 0;
    }
    .left-gradient,
    .right-white {
      width: 100%;
      border-radius: 0;
      padding: 30px;
    }
    .left-gradient {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
    }
  }
  
  .right-white {
    overflow-y: auto;
    max-height: 100vh;
    padding: 60px 20px 20px 20px; /* Top, Right, Bottom, Left */
  }
  