/* Acceso y registro (estilo app: fondo negro, campos con línea, botón de contorno) */
.lg-body { margin: 0; min-height: 100vh; background: #000; color: #fff; display: flex; flex-direction: column; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.lg-brand { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 16px; background: #0a0a0a; }
.lg-brand span { color: var(--accent,#f47521); font-size: 1.7rem; font-weight: 800; letter-spacing: -.01em; }
.lg-main { width: min(420px, 100%); margin: 0 auto; padding: 40px 28px 20px; flex: 1; box-sizing: border-box; }
.lg-main h1 { text-align: center; font-size: 1.9rem; font-weight: 500; margin: 14px 0 44px; }
.lg-field { position: relative; margin-bottom: 26px; border-bottom: 2px solid #4a4a4e; transition: border-color .15s; }
.lg-field:focus-within { border-bottom-color: #ff640a; }
.lg-field input { width: 100%; box-sizing: border-box; background: none !important; border: 0 !important; outline: none !important; color: #fff; font: inherit; font-size: 1.15rem; padding: 26px 0 10px; border-radius: 0 !important; }
.lg-field label { position: absolute; left: 0; top: 24px; color: #cfcfd3; font-size: 1.2rem; pointer-events: none; transition: all .14s; }
.lg-field input:focus + label, .lg-field input:not(:placeholder-shown) + label { top: 2px; font-size: .88rem; color: #a9a9ae; }
.lg-hint { color: #a9a9ae; font-size: .9rem; margin: -14px 0 22px; }
.lg-check { display: flex; align-items: flex-start; gap: 12px; margin: 8px 0 26px; color: #e8e8ea; line-height: 1.4; }
.lg-check input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border: 2px solid #22b8c4; border-radius: 3px; display: grid; place-items: center; background: none; cursor: pointer; }
.lg-check input:checked { background: #22b8c4; }
.lg-check input:checked::after { content: ""; width: 6px; height: 11px; border: solid #000; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.lg-check a { color: #ff640a; }
.lg-btn { display: block; width: 100%; border: 3px solid #ff640a; background: #ff640a; color: #000; border-radius: 999px; padding: 15px; font: inherit; font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase; cursor: pointer; margin-top: 8px; }
.lg-btn:disabled { background: none; border-color: #3b3b3f; color: #5c5c61; cursor: default; }
.lg-alt { text-align: center; margin: 26px 0 0; color: #fff; }
.lg-alt a { color: #ff640a; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.lg-note { text-align: center; color: #9a9aa0; font-size: .9rem; line-height: 1.5; margin: 36px 4px 0; }
.lg-note a { color: #ff640a; }
.lg-err { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.5); border-radius: 8px; padding: 12px 14px; margin-bottom: 22px; font-size: .95rem; }
.lg-err ul { margin: 0; padding-left: 18px; }
.lg-ok { background: rgba(62,207,142,.12); border: 1px solid rgba(62,207,142,.4); border-radius: 8px; padding: 12px 14px; margin-bottom: 22px; }
.lg-foot { padding: 40px 20px 28px; text-align: center; }
.lg-foot nav { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.lg-foot a { color: #9a9aa0; text-decoration: none; font-size: 1.05rem; }
.lg-copy { color: #8a8a90; margin: 22px 0 0; border-top: 1px solid #26262a; padding-top: 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lg-sep { color: #fff; margin: 0 6px; }
.lg-lead { text-align: center; color: #c9c9ce; line-height: 1.5; margin: -22px 0 34px; }

.lg-field textarea { width: 100%; box-sizing: border-box; background: none !important; border: 0 !important; outline: none !important; color: #fff; font: inherit; font-size: 1.1rem; padding: 28px 0 10px; resize: none; border-radius: 0 !important; }
.lg-field textarea:focus + label, .lg-field textarea:not(:placeholder-shown) + label { top: 2px; font-size: .88rem; color: #a9a9ae; }
.lg-help { color: #ff640a !important; font-weight: 700; }

.lg-guest { text-align: center; margin: 18px 0 0; }
.lg-guest a { display: inline-block; color: #fff; border: 2px solid #55555c; border-radius: 999px; padding: 12px 22px; font-weight: 700; text-decoration: none; }
.lg-guest a:active { background: #1d1d22; }

/* Campo de fecha: la etiqueta queda siempre arriba (el navegador ya muestra «dd/mm/aaaa») */
.lg-field input[type="date"] { color-scheme: dark; }
.lg-field input[type="date"] + label { top: 2px; font-size: .88rem; color: #a9a9ae; }
