.elementor-881 .elementor-element.elementor-element-f0b2f92{--display:flex;}.elementor-881 .elementor-element.elementor-element-86c4df0{--display:flex;}/* Start custom CSS for html, class: .elementor-element-05f9fe3 *//* ===== Reset & base ===== */
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #f6f7fb;
}

/* Imágenes responsivas */
img { max-width: 100%; height: auto; display: block; }

/* Fuente secundaria */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600&display=swap');
/* ===== Wrapper centrado ===== */
.auth-wrapper {
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;   /* coloca la caja arriba */
  justify-content: center;
  padding-top: 150px;         /* máximo 150px arriba */
  padding-inline: 16px;
  padding-bottom: 16px;
}

/* ===== Tarjeta ===== */
.login-box,
.rcp_login_form {
  width: min(420px, 92vw);
  background: #ffffff;
  padding: 24px 28px;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.07);
  text-align: center;
  margin-top: 0;
}

/* TITULAR */
.login-box h1 {
  font-family: 'Oswald', sans-serif !important;
  color: #000 !important;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 10px;
}

/* SUBTÍTULO */
.login-box .subtitle {
  font-size: 15px;
  color: #666;
  margin: 0 0 18px;
}

/* DIVISOR */
.login-box .divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: #999;
  font-size: 13px;
}
.login-box .divider::before,
.login-box .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ddd;
}
.login-box .divider::before { margin-right: 10px; }
.login-box .divider::after  { margin-left: 10px; }

/* ===== Campos con label flotante ===== */
#nr_wp_login_form { text-align: left; }
#nr_wp_login_form p { position: relative; margin: 0 0 12px; }

#nr_wp_login_form p:has(> input[type="text"]) > label,
#nr_wp_login_form p:has(> input[type="email"]) > label,
#nr_wp_login_form p:has(> input[type="password"]) > label {
  position: absolute;
  top: 14px;
  left: 14px;
  color: #999;
  font-size: 15px;
  transition: all 0.18s ease;
  pointer-events: none;
}

#nr_wp_login_form input[type="text"],
#nr_wp_login_form input[type="email"],
#nr_wp_login_form input[type="password"] {
  width: 100%;
  padding: 18px 14px 10px;
  border: none;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  background: #f9f9f9;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0,0,0,0.04);
  transition: box-shadow 0.25s ease;
}

#nr_wp_login_form p:has(> input:focus) > label,
#nr_wp_login_form p.has-value > label,
#nr_wp_login_form p:has(> input:-webkit-autofill) > label {
  top: 6px;
  left: 10px;
  font-size: 12px;
  color: #3366ff;
}

#nr_wp_login_form p.has-value:not(:has(> input:focus)) > label {
  color: #666;
}

#nr_wp_login_form input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(51, 102, 255, 0.2), inset 0 2px 4px rgba(0,0,0,0.05);
}

/* ===== Checkbox “Recuérdame” ===== */
#nr_wp_login_form p:has(> input[type="checkbox"]),
p:has(#rcp_user_remember) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 8px;
  margin-bottom: 16px;
  justify-content: flex-start;
  text-align: left;
}

#nr_wp_login_form p:has(> input[type="checkbox"]) > label,
label[for="rcp_user_remember"] {
  font-size: 13px;
  font-weight: 400;
  color: #888;
  position: static !important;
  pointer-events: auto;
}

#rcp_user_remember,
#nr_wp_login_form input[type="checkbox"] {
  transform: scale(0.9);
  accent-color: #3366ff;
  cursor: pointer;
}

/* ===== Botón login ===== */
#nr_wp_login_form input[type="submit"] {
  width: 100%;
  padding: 14px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  background-color: #3366ff;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-top: 32px; /* buena separación sin empujar toda la caja */
  display: block;
}
#nr_wp_login_form input[type="submit"]:hover {
  background-color: #254eda;
}

/* Olvidaste tu contraseña */
.nr-lost { text-align: right; margin-top: 10px; }
.nr-lost a { font-size: 13px; color: #3366ff; text-decoration: none; }

/* Legal */
.login-box .legal {
  font-size: 13px;
  color: #666;
  margin-top: 18px;
}
.login-box a { color: #3366ff; font-weight: 500; text-decoration: none; }

/* Logo */
.login-logo {
  text-align: center;
  margin-bottom: 50px;
  margin-top: 34px;/* antes 14px → más separación con el login */
}

.login-logo img {
  max-height: 25px;
  width: auto;
  opacity: 0.9;
  margin: 0 auto;
}


/* Responsive fino */
@media (max-width: 480px) {
  .auth-wrapper { padding: 12px; }
  .login-box { padding: 18px 16px; }
}


/* Evita desplazamiento horizontal y rebotes */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;          /* bloquea scroll lateral */
  overscroll-behavior: none;   /* evita “rebote” en algunos navegadores */
  touch-action: pan-y;         /* permite solo scroll vertical con el dedo */
}

/* Importante en iOS: inputs >= 16px para que no haga zoom al enfocar */
#nr_wp_login_form input[type="text"],
#nr_wp_login_form input[type="email"],
#nr_wp_login_form input[type="password"],
#nr_wp_login_form input[type="submit"],
button, select, textarea {
  font-size: 16px;             /* sube a 16px para evitar auto-zoom en iOS */
}

/* Evita que elementos creen ancho extra accidental (mejor 100% que 100vw) */
img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Si en algún sitio usaste 100vw, mejor cámbialo por 100% para evitar scroll lateral por la barra */

/* ===== Azul claro SOLO cuando el navegador autocompleta (no afecta al botón) ===== */
#nr_wp_login_form input[type="text"]:-webkit-autofill,
#nr_wp_login_form input[type="email"]:-webkit-autofill,
#nr_wp_login_form input[type="password"]:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #e8f0ff inset !important; /* fondo azul suave */
  -webkit-text-fill-color: #000 !important;
  transition: background-color 5000s ease-in-out 0s;
}

#nr_wp_login_form input[type="text"]:-webkit-autofill:focus,
#nr_wp_login_form input[type="email"]:-webkit-autofill:focus,
#nr_wp_login_form input[type="password"]:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #e1ebff inset !important; /* un pelín más intenso al foco */
  -webkit-text-fill-color: #000 !important;
}

/* Fondo normal cuando NO hay autocompletado (solo campos de texto) */
#nr_wp_login_form input[type="text"]:not(:-webkit-autofill),
#nr_wp_login_form input[type="email"]:not(:-webkit-autofill),
#nr_wp_login_form input[type="password"]:not(:-webkit-autofill) {
  background-color: #f9f9f9 !important;
  -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.04);
}

/* Aseguramos que el botón conserve su estilo */
#nr_wp_login_form input[type="submit"] {
  -webkit-text-fill-color: inherit !important; /* por si acaso algún webkit lo heredó */
  background-color: #3366ff;
  color: #fff;
}

/* ===== Botón de login con degradado (forzado y compatible) ===== */
.login-box input[type="submit"],
.login-box button[type="submit"],
#nr_wp_login_form input[type="submit"],
#nr_wp_login_form button[type="submit"],
.rcp_login_form input[type="submit"],
.rcp_login_form button[type="submit"],
input#wp-submit,
button#wp-submit,
.rcp_button[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100% !important;
  padding: 16px !important;
  margin-top: 32px !important;

  font: inherit !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1 !important;

  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;

  background: linear-gradient(135deg, #0a3aa9 0%, #00c7ff 100%) !important;
  box-shadow: 0 8px 24px rgba(10, 58, 169, 0.18) !important;

  cursor: pointer !important;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease !important;
}

.login-box input[type="submit"]:hover,
.login-box button[type="submit"]:hover,
#nr_wp_login_form input[type="submit"]:hover,
#nr_wp_login_form button[type="submit"]:hover,
.rcp_login_form input[type="submit"]:hover,
.rcp_login_form button[type="submit"]:hover,
input#wp-submit:hover,
button#wp-submit:hover,
.rcp_button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10, 58, 169, 0.25) !important;
  background: linear-gradient(135deg, #09329b 0%, #00b3e8 100%) !important;
}

/* Evita que reglas previas de autofill toquen el botón */
#nr_wp_login_form input[type="submit"] {
  -webkit-text-fill-color: inherit !important;
}/* End custom CSS */