/* === PeopleHef – Registro (CSS dedicado) === */
/* Fondo general */
body.pf-auth-bg {
  background: #f6f7fb;
  font-family: 'Nunito', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans";
  color: #4a4a4a;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contenedor tarjeta mitad/mitad */
.pf-auth-card {
  display: flex;
  width: 100%;
  max-width: 980px;
  height: 600px;                 /* altura base desktop */
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 25px rgba(0,0,0,.1);
}

/* Columna del formulario */
.pf-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #fff;
  overflow-y: auto;
}

/* Logo */
.pf-logo-img {
  height: 90px;                  /* un poco más grande que en login */
  width: auto;
  display: inline-block;
}

/* Subtítulo del mockup */
.register-subtitle {
  font-size: 1.05rem;
  font-weight: 700;              /* negrilla */
  text-align: center;
  color: #6c63ff;                /* morado amable; ajusta si deseas */
  margin: .25rem 0 1.25rem 0;
}

/* Campos */
.pf-form .form-group { margin-bottom: .9rem; }

/* Campos del formulario con bordes más oscuros y gruesos */
.pf-form .form-control {
  height: 46px;
  /* border: 1px solid #e4e6ef; */
  border: 2px solid #6c757d;   /* gris Bootstrap más oscuro */
  border-radius: .75rem;
  background: #fff;
  box-shadow: none;
}

.pf-form .form-control:focus {
  border-color: #5a36d6;
  /* box-shadow: 0 0 0 2px rgba(90,54,214,.08); */
  box-shadow: 0 0 0 2px rgba(90,54,214,.1);
}

/* Placeholder en negrilla */
.pf-form .form-control::placeholder { font-weight: 700; color: #6c757d; }


/* Botón primario (Registrarse) */
.pf-primary-btn {
  background: #5a36d6;
  border-color: #5a36d6;
  color: #fff;
  font-weight: 700;
  height: 48px;
  border-radius: .75rem;
}
.pf-primary-btn:hover,
.pf-primary-btn:focus { background:#4a2ec0; border-color:#4a2ec0; }

/* Separador “o” */
.pf-divider { height:1px; background:#6c757d; }

/* Botón Google (borde gris, texto morado) */
.pf-google-btn {
  background:#fff;
  border: 2px solid #dadce0;
  color:#4a2ec0;
  font-weight:700;
  height:48px;
  border-radius:.5rem;
  transition: all .2s ease-in-out;
  text-decoration:none;
}
.pf-google-btn:hover { background:#f9f9f9; border-color:#c6c8ca; color:#5a36d6; }
.google-icon { display:inline-flex; align-items:center; justify-content:center; font-size:18px; color:#4a2ec0; }

/* Enlaces inferiores */
.auth-links { font-size:1.1rem; font-weight:500; color:#4a4a4a; }
.auth-links a { font-size:1.1rem; font-weight:700; color:#5a36d6; text-decoration:none; }
.auth-links a:hover { text-decoration:underline; }

/* Columna ilustración (imagen se define en el ERB con asset_path) */
.pf-illustration {
  flex: 1;
  background-size: contain;      /* muestra la imagen completa */
  background-repeat: no-repeat;
  background-position: center;
  background-color: #ffffff;
}

/* Placeholder y texto escrito con mismo tamaño */
.pf-form .form-control {
  font-size: 1rem;        /* tamaño base (16px aprox) */
  font-weight: 700;       /* negrilla para que combine con placeholder */
  color: #4a4a4a;       /* gris legible */
}

.pf-form .form-control::placeholder {
  font-size: 1rem;        /* mismo tamaño que el input */
  font-weight: 700;       /* negrilla también */
  color: #6c757d;       /* gris más claro para diferenciar */
}


/* ===================== Responsive ===================== */

/* Tablets (<= 991.98px) */
@media (max-width: 991.98px) {
  body.pf-auth-bg { padding: 0 12px; }
  .pf-auth-card { flex-direction: column; height: auto; }
  .pf-illustration, .pf-form-side { flex: none; width:100%; height:auto; }
  .pf-illustration { min-height: 300px; }
  .pf-form-side { padding: 1.25rem; }
  .pf-logo-img { height: 72px; }
  .register-subtitle { font-size: 1rem; margin-bottom: 1rem; }
  .pf-google-btn { height:46px; font-size:.98rem; }
  .auth-links, .auth-links a { font-size:1rem; }
}

/* Móviles (<= 575.98px) */
@media (max-width: 575.98px) {
  .pf-auth-card { border-radius: .75rem; }
  .pf-illustration { min-height: 220px; }
  .pf-form-side { padding: 1rem; }
  .pf-logo-img { height: 56px; }
  .pf-form .form-control { height: 44px; }
  .pf-primary-btn, .pf-google-btn { height: 44px; font-size: .95rem; }
  .auth-links, .auth-links a { font-size: .98rem; }
}

/* Pantallas anchas (>= 1200px) */
@media (min-width: 1200px) {
  .pf-auth-card { max-width: 1100px; height: 640px; }
  .pf-logo-img { height: 96px; }
  .auth-links, .auth-links a { font-size: 1.15rem; }
}
