/* WOON v2 — pantallas de acceso. Usa las variables de woon.css. */
.access { min-height: calc(100vh - 160px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px 0 40px; }
.access__card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }

/* Franja superior: marcador de la marca, con líneas de yarda */
.access__band { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 22px; background:
  repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, .07) 46px 48px),
  linear-gradient(135deg, #1f6b45, #164d33); }
.access__brand { font: 700 26px/1 var(--display); letter-spacing: 7px; color: #fff; }
.access__tag { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #cfeedd; }

.access__body { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 14px; }
.access__title { margin: 0; font: 700 30px/1.1 var(--display); }
.access__intro { margin: 0; color: var(--text-soft); font-size: 15px; }
.access__switch { margin: 0; font-size: 14px; color: var(--muted); text-align: center; }
.access__switch a { color: var(--green); font-weight: 600; }
.access__icon { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--green-bg); color: var(--green-soft); }
.access__icon svg { width: 26px; height: 26px; }
.access__icon--ok { background: var(--green-bg); color: var(--green-soft); }
.access__icon--warn { background: var(--amber-bg); color: var(--amber); }
.access__tips { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--text-soft); font-size: 14px; }

/* Avisos */
.notice { border-radius: 12px; padding: 12px 14px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.notice p { margin: 0; }
.notice--ok { background: var(--green-bg); border: 1px solid var(--green-line); color: #d6f5e4; }
.notice--error { background: #3a1c1c; border: 1px solid #6a2e2e; color: #ffd9d3; }

/* Formulario */
.aform { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }
.afield { display: flex; flex-direction: column; gap: 6px; }
.afield__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.afield__label { font-size: 14px; font-weight: 600; }
.afield__aside { font-size: 13px; font-weight: 600; color: var(--green); padding: 4px 0; }
.afield__control { position: relative; display: flex; }
.afield__input { width: 100%; height: 50px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--ground); color: var(--text); padding: 0 14px; font: 400 16px var(--body); }
.afield__input::placeholder { color: #6f7983; }
.afield__input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(52, 199, 123, .25); }
.afield__input[data-password] { padding-right: 52px; }
.afield.is-invalid .afield__input { border-color: var(--danger); }
.afield__eye { position: absolute; right: 3px; top: 3px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.afield__eye:hover { color: var(--text); }
.afield__eye .eye-slash { display: none; }
.afield__eye[aria-pressed="true"] .eye-slash { display: inline; }
.afield__errors p, .afield__caps { margin: 0; font-size: 13px; }
.afield__errors { color: var(--danger); }
.afield__caps { color: var(--amber); }
.afield__help, .afield__note { font-size: 13px; color: var(--muted); }
.afield__note { margin: 0; }
.afield__help summary { cursor: pointer; padding: 6px 0; }
.afield__help ul { margin: 6px 0 0; padding-left: 18px; }

/* Requisitos en vivo */
.checks { list-style: none; margin: -6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid #4a535d; box-sizing: border-box; }
.checks li.is-ok { color: var(--text); }
.checks li.is-ok::before { border-color: var(--green); background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1a11' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/10px no-repeat; }

.btn--block { width: 100%; }
