@charset "utf-8";
/* SNF+ · Página de entrada (index.php), diseño nuevo. Mismos colores que w2.css y r2.css. */
:root {
  --azul: #207ebd; --azul-osc: #17608f; --azul-claro: #e8f2f8; --naranja: #f28c00;
  --rojo: #c0392b; --rojo-claro: #fbe3e1; --texto: #23303b; --suave: #5f6f7c; --borde: #d5dde4; --fondo: #f6f8fa; --blanco: #fff;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: 'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif; color: var(--texto); font-size: 16px; line-height: 1.5;
  background: var(--fondo) linear-gradient(160deg, #e8f2f8 0%, #f6f8fa 45%, #fff4e6 100%) fixed; min-height: 100vh; }
a { color: var(--azul-osc); }

.acceso { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px 24px; gap: 24px; }
.acceso-caja { width: 100%; max-width: 420px; background: var(--blanco); border-radius: 20px; box-shadow: 0 10px 40px rgba(20, 50, 80, .12); padding: 32px 28px 28px; }
.acceso-logo { display: block; height: 64px; width: auto; margin: 0 auto 18px; }
.acceso h1 { font-size: 26px; line-height: 1.2; margin: 0 0 4px; text-align: center; }
.acceso-sub { margin: 0 0 22px; text-align: center; color: var(--suave); }
.campo { display: grid; gap: 6px; font-weight: 600; margin-bottom: 16px; }
.campo input { font: inherit; font-weight: 400; width: 100%; padding: 12px 14px; border: 1px solid var(--borde); border-radius: 12px; background: var(--blanco); color: var(--texto); min-height: 48px; }
.campo input:focus { outline: 3px solid var(--azul-claro); border-color: var(--azul); }
.clave { position: relative; display: block; }
.clave input { padding-right: 84px; }
.ver-clave { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: var(--azul-claro); color: var(--azul-osc);
  font: inherit; font-size: 14px; font-weight: 700; border-radius: 8px; padding: 6px 12px; cursor: pointer; min-height: 36px; }
.acceso-btn { width: 100%; border: 0; border-radius: 12px; background: var(--azul); color: #fff; font: inherit; font-size: 17px; font-weight: 700; padding: 14px 18px; cursor: pointer; min-height: 52px; margin-top: 4px; }
.acceso-btn:hover { background: var(--azul-osc); }
.acceso-btn:disabled { opacity: .7; cursor: default; }
.acceso-error { background: var(--rojo-claro); color: var(--rojo); border-radius: 12px; padding: 12px 14px; font-weight: 600; margin: 0 0 18px; }
.acceso-olvido { display: block; text-align: center; margin-top: 18px; font-weight: 600; }
.acceso-pie { color: var(--suave); font-size: 13px; text-align: center; }
.acceso-pie a { color: var(--suave); margin: 0 6px; }

/* Aviso de cookies: hoja abajo */
.acceso-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 640px; margin: 0 auto; background: var(--blanco); border-radius: 16px;
  box-shadow: 0 10px 40px rgba(20, 50, 80, .2); padding: 16px 18px; display: flex; gap: 16px; align-items: center; z-index: 20; font-size: 14px; color: var(--suave); }
.acceso-cookies p { margin: 0; }
.acceso-cookies .acceso-btn { width: auto; flex: none; margin: 0; font-size: 15px; min-height: 44px; padding: 10px 18px; }
@media (max-width: 560px) {
  .acceso-caja { padding: 26px 20px 22px; border-radius: 18px; }
  .acceso-cookies { flex-direction: column; align-items: stretch; bottom: 12px; left: 12px; right: 12px; }
  .acceso-cookies .acceso-btn { width: 100%; }
}
/* Chatbot: que no tape el aviso de cookies */
.acceso-cookies:not([style*="none"]) ~ #jepco-chat-widget { bottom: 150px !important; }
@media (max-width: 560px) { .acceso-cookies:not([style*="none"]) ~ #jepco-chat-widget { bottom: 215px !important; } }
