/* ==================================================
  Acceso de clientes (inc-clientes-acceso.php, inc-clientes-acceso-recuperar.php)
  Estilos propios: no dependen de Bootstrap (no se carga en las paginas publicas).
  Colores de la marca: #022E64 (azul) y #A41D1F (rojo), los de style.css.
  ================================================== */

/* Sin Bootstrap el navegador deja su margen de 8px alrededor de la pagina y el pie
   sale en la fuente por defecto. Sólo afecta a las paginas que cargan este fichero. */
body {
  margin: 0;
}

.site-footer .credits {
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  padding: 0 16px;
}

.acceso {
  display: flex;
  justify-content: center;
  padding: 56px 16px 72px;
  background: #f3f5f9;
}

.acceso-tarjeta {
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  padding: 36px 32px 32px;
  background: #fff;
  border-top: 4px solid #022E64;
  border-radius: 8px;
  box-shadow: 0 6px 28px rgba(2, 46, 100, 0.10);
  font-family: "Roboto", Helvetica, Arial, sans-serif;
}

.acceso-tarjeta h1 {
  margin: 0 0 8px;
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #022E64;
}

.acceso-tarjeta p.acceso-sub {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.5;
  color: #5a6472;
}

.acceso-campo {
  margin-bottom: 20px;
}

.acceso-campo label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #1f2a37;
}

.acceso-etiqueta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.acceso-etiqueta a,
.acceso-pie a {
  font-size: 14px;
  color: #022E64;
  text-decoration: underline;
}

.acceso-etiqueta a:hover,
.acceso-pie a:hover {
  color: #A41D1F;
}

.acceso-campo input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 16px;
  color: #1f2a37;
  background: #fff;
  border: 1px solid #c3ccd8;
  border-radius: 6px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.acceso-campo input:focus {
  border-color: #022E64;
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 46, 100, 0.18);
}

.acceso-tarjeta p.acceso-ayuda {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #5a6472;
}

.acceso-boton {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #022E64;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.acceso-boton:hover {
  background: #A41D1F;
}

.acceso-boton:focus-visible {
  outline: 3px solid rgba(2, 46, 100, 0.35);
  outline-offset: 2px;
}

.acceso-aviso {
  margin-bottom: 20px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  border-radius: 6px;
}

.acceso-aviso[hidden] {
  display: none;
}

.acceso-aviso-error {
  color: #8a1c1e;
  background: #fdeeee;
  border: 1px solid #f3c4c5;
}

.acceso-aviso-ok {
  color: #1d6338;
  background: #eaf6ee;
  border: 1px solid #bfe2cc;
}

.acceso-tarjeta p.acceso-pie {
  margin: 24px 0 0;
  text-align: center;
}

@media (max-width: 480px) {
  .acceso {
    padding: 24px 16px 40px;
  }

  .acceso-tarjeta {
    padding: 28px 20px 24px;
  }
}
