/* ═══ PANTALLAS DE ACCESO (cargando · login · verifica) ═══ */
.pantalla { min-height: 100dvh; }
.pantalla-centro { display: grid; place-items: center; padding: 24px 16px; }

.spinner {
  width: 44px; height: 44px;
  border: 4px solid var(--border);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: girar .8s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }

.acceso-card {
  width: min(100%, 26rem);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand-primary);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 40px) clamp(20px, 5vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
}
.acceso-card--centro { text-align: center; align-items: center; }
.acceso-logo { height: 36px; width: auto; align-self: center; margin-bottom: 6px; }
.acceso-icono { font-size: 44px; line-height: 1; }
.acceso-titulo {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem);
  letter-spacing: 1px; line-height: 1.2; text-align: center; margin: 0;
}
.acceso-sub { font-size: 15px; line-height: 1.55; color: var(--text-secondary); text-align: center; margin: -4px 0 6px; }
.acceso-nota { font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.acceso-pie { font-size: 14px; line-height: 1.5; color: var(--text-secondary); text-align: center; margin-top: 8px; }
.acceso-pie a { font-weight: 700; }

.separador { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.separador::before, .separador::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.campo { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.campo label { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.campo input {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 2px solid #d6d6d6; border-radius: var(--radius-md);
  background: var(--bg-white); color: #333;
  font: inherit; font-size: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.campo input:focus { border-color: var(--brand-primary); outline: none; box-shadow: 0 0 0 4px rgba(252, 107, 1, .12); }
.campo-error { color: var(--red-error); font-size: 14px; line-height: 1.45; margin: 0; }
.campo-ok { color: #1f7a4d; font-size: 14px; line-height: 1.45; margin: 0; }

/* Registro */
.acceso-legal { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-secondary); cursor: pointer; }
/* Casilla propia: con accent-color naranja el navegador pintaba el ✓ negro; así es siempre blanco */
.acceso-legal input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; border: 2px solid #bdbdbd; border-radius: 4px; background: var(--bg-white) center / 14px no-repeat; cursor: pointer; transition: background-color .15s, border-color .15s; }
.acceso-legal input:hover { border-color: var(--brand-primary); }
.acceso-legal input:checked { background-color: var(--brand-primary); border-color: var(--brand-primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.acceso-legal input:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.acceso-legal input:disabled { opacity: .6; cursor: wait; }
.acceso-legal a { color: var(--brand-primary); font-weight: 700; }
.btn-enlace--linea { min-height: 0; padding: 0; font-size: inherit; vertical-align: baseline; }
.campo-ayuda { font-size: 13px; color: var(--text-muted); }


/* Pendiente de acceso: caja «¿Aún no tienes plaza?» */
.pendiente-plaza { width: 100%; display: grid; gap: 10px; padding: 16px; border-radius: var(--radius-md); background: #fff4ec; }
.pendiente-plaza p { margin: 0; font-size: 15px; font-weight: 700; color: var(--text-primary); }
.acceso-nota a { color: var(--brand-primary); font-weight: 700; }
