/* Pantallas de acceso de CúcutaCome: login del panel, login del admin y registro (2026-11-14).
   Un tiquete negro (marca y lo que gana el restaurante) junto al formulario; en celular el
   tiquete queda como franja corta arriba. Familia "La comanda": papel crema, tinta, rojo solo
   en la acción, líneas punteadas de menú, radio de 6 px. Independiente de cada página. */
.acceso {
  --ac-tinta: #151410;
  --ac-crema: #fef1df;
  --ac-papel: #fffcf5;
  --ac-rojo: #ea090b;
  --ac-rojo-2: #c50608;
  --ac-gris: #574f48;
  --ac-punteo: #8f8173;
  display: grid;
  width: 100%;
  border: 1px solid var(--ac-tinta);
  border-radius: 6px;
  overflow: hidden;
  background: var(--ac-papel);
  color: var(--ac-tinta);
  box-shadow: 6px 6px 0 var(--ac-tinta);
}
.acceso h1, .acceso h2 { margin: 0; font: 800 clamp(26px, 6vw, 32px)/1.05 "Baloo 2", system-ui, sans-serif; letter-spacing: 0; text-wrap: balance; }

/* Tiquete */
.acceso__tiquete { position: relative; display: grid; align-content: start; gap: 10px; padding: 18px 20px; background: var(--ac-tinta); color: var(--ac-crema); }
.acceso__tiquete :focus-visible { outline-color: #ffd23f; }
.acceso__sello { justify-self: start; margin: 0; padding: 2px 8px; border: 2px solid currentColor; border-radius: 4px; font: 700 12px/1.4 "Outfit", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-2deg); }
.acceso__titular { margin: 0; font: 800 clamp(24px, 6.4vw, 40px)/1.02 "Baloo 2", system-ui, sans-serif; color: #fff; text-wrap: balance; }
.acceso__titular span { color: #ff6a5e; }
.acceso__lineas { display: none; margin: 6px 0 0; padding: 0; list-style: none; }
.acceso__lineas li { display: flex; align-items: flex-end; gap: 8px; padding: 9px 0; border-bottom: 1px dashed rgba(254, 241, 223, .3); font-size: 15px; }
.acceso__lineas i { flex: 1 1 12px; min-width: 12px; border-bottom: 2px dotted rgba(254, 241, 223, .55); transform: translateY(-6px); }
.acceso__lineas b { flex: none; color: #fff; font-weight: 700; }
.acceso__moti { display: none; }

/* Formulario */
.acceso__form { display: grid; align-content: start; gap: 6px; padding: 22px 20px 24px; }
.acceso__form > p { margin: 0; }
.acceso__ayuda { color: var(--ac-gris); font-size: 15px; }
.acceso__campos { display: grid; gap: 14px; margin-top: 14px; }
.acceso__campo { display: grid; gap: 6px; font-weight: 700; }
.acceso input { width: 100%; min-height: 50px; margin: 0; padding: 10px 12px; border: 1px solid var(--ac-tinta); border-radius: 6px; background: #fff; color: var(--ac-tinta); font: 400 16px/1.3 "DM Sans", system-ui, sans-serif; }
.acceso input::placeholder { color: var(--ac-gris); }
.acceso input:focus { outline: none; border-color: var(--ac-rojo-2); box-shadow: inset 0 0 0 1px var(--ac-rojo-2); }
.acceso input[aria-invalid="true"] { border-color: var(--ac-rojo-2); }
.acceso__clave { position: relative; }
.acceso__clave input { padding-right: 88px; }
.acceso__ver { position: absolute; top: 3px; right: 3px; bottom: 3px; min-width: 76px; padding: 0 10px; border: 0; border-left: 1px dashed var(--ac-punteo); border-radius: 0 4px 4px 0; background: transparent; color: var(--ac-tinta); font: 700 14px/1 "Outfit", system-ui, sans-serif; cursor: pointer; }
.acceso__ver:hover { background: var(--ac-crema); }
.acceso__ver:focus-visible { outline: 3px solid var(--ac-tinta); outline-offset: -3px; }
.acceso__entrar { min-height: 52px; margin-top: 4px; padding: 10px 18px; border: 0; border-radius: 6px; background: var(--ac-rojo); color: #fff; font: 700 17px/1 "Outfit", system-ui, sans-serif; cursor: pointer; }
.acceso__entrar:hover:not(:disabled) { background: var(--ac-rojo-2); }
.acceso__entrar:disabled { opacity: .6; cursor: not-allowed; }
.acceso__entrar:focus-visible { outline: 3px solid var(--ac-tinta); outline-offset: 3px; }
.acceso__enlace { justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ac-tinta); font: 600 15px/1.2 "DM Sans", system-ui, sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.acceso__enlace:disabled { opacity: .6; cursor: wait; }
.acceso__otro { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--ac-punteo); color: var(--ac-gris); font-size: 15px; }
.acceso__otro a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ac-rojo-2); font-weight: 700; text-underline-offset: 4px; }

/* Registro: dos pasos */
.acceso__paso { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.acceso__paso + .acceso__paso { margin-top: 16px; }
.acceso__paso legend { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; padding: 0; font: 700 13px/1 "Outfit", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.acceso__paso legend b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ac-tinta); color: var(--ac-crema); font-size: 13px; letter-spacing: 0; }
.acceso__paso > label { margin-top: 4px; font-weight: 700; }

/* Computador: tiquete a la izquierda con sus renglones y Moti asomado */
@media (min-width: 760px) {
  .acceso { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .acceso__tiquete { gap: 14px; padding: 36px 32px 190px; }
  .acceso__tiquete::after { content: ""; position: absolute; top: 0; right: -6px; bottom: 0; width: 12px; background: radial-gradient(circle at 6px 9px, var(--ac-papel) 5px, transparent 5.5px) 0 0 / 12px 18px repeat-y; }
  .acceso__lineas { display: block; }
  .acceso__moti { display: block; position: absolute; left: 24px; bottom: -14px; width: auto; height: 170px; }
  .acceso__form { padding: 36px 40px 32px; }
}
@media (prefers-reduced-motion: reduce) { .acceso__sello { transform: none; } }

/* "Entrar con Google" y separador */
.acceso__o { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; color: var(--ac-gris); font-size: 14px; }
.acceso__o::before, .acceso__o::after { content: ""; flex: 1; border-top: 1px dashed var(--ac-punteo); }
.acceso__google { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 10px 18px; border: 1px solid var(--ac-tinta); border-radius: 6px; background: #fff; color: var(--ac-tinta); font: 700 16px/1 "Outfit", system-ui, sans-serif; cursor: pointer; }
.acceso__google:hover:not(:disabled) { background: var(--ac-crema); }
.acceso__google:disabled { opacity: .6; cursor: wait; }
.acceso__google:focus-visible { outline: 3px solid var(--ac-tinta); outline-offset: 3px; }
.acceso__g { flex: none; }

/* Registro con Google: cuenta elegida */
.acceso__grupo { display: grid; gap: 8px; }
.acceso__grupo > label { margin-top: 4px; font-weight: 700; }
.acceso__google-listo { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; padding: 10px 12px; border: 1px solid var(--ac-tinta); border-radius: 6px; background: #fff; }
.acceso__google-listo strong { overflow-wrap: anywhere; }
