/* La cuenta: contraseña, Google, menú de la cuenta y la ventanita del WhatsApp */
body.is-checking .app-main { visibility: hidden; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 84px !important; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 40px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--cian); font-family: var(--body); font-weight: 600; font-size: 14px; cursor: pointer; }
.pw-rules { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 2px 0 0; padding: 0; list-style: none; }
.pw-rules li { position: relative; padding-left: 18px; font-size: 13px; color: var(--text-4); }
.pw-rules li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--text-4); }
.pw-rules li.ok { color: var(--text-2); }
.pw-rules li.ok::before { background: #25D366; border-color: #25D366; }
.or-line { display: flex; align-items: center; gap: 12px; color: var(--text-4); font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; }
.or-line::before, .or-line::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); }
.g-wrap { display: flex; flex-direction: column; gap: 14px; }
.g-wrap[hidden] { display: none; }
.g-btn { min-height: 44px; display: flex; justify-content: center; }
.have-acct { font-size: 15px; color: var(--text-3); text-align: center; }
.have-acct a { color: var(--cian); font-weight: 600; }
/* Menú de la cuenta */
.acct-ini { font-family: var(--display); font-weight: 900; font-size: 20px; color: var(--text); }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 220px; max-width: 280px; padding: 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--card); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }
.acct-menu[hidden] { display: none; }
.acct-name { font-weight: 700; font-size: 16px; }
.acct-mail { margin-top: 2px; font-size: 13px; color: var(--text-4); overflow: hidden; text-overflow: ellipsis; }
.acct-out { margin-top: 12px; width: 100%; min-height: 42px; border-radius: 8px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font-family: var(--body); font-weight: 600; font-size: 15px; cursor: pointer; }
/* Ventanita del WhatsApp (después de entrar con Google) */
.wa-ask { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(8, 9, 11, 0.82); }
.wa-box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--card); }
.wa-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--cian); }
.wa-t { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; }
.wa-p { font-size: 15px; line-height: 1.5; color: var(--text-3); }
.wa-l { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.wa-box input[type="tel"] { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--text); font-family: var(--body); font-size: 17px; }
.wa-c { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--text-3); }
.wa-c input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--naranja); }
.wa-e { padding: 10px 12px; border-radius: 8px; border: 1px solid var(--naranja); background: rgba(255, 94, 19, 0.08); font-size: 14px; }
.wa-e[hidden] { display: none; }
.wa-box .btn { width: 100%; margin-top: 4px; }
.wa-later { min-height: 40px; border: 0; background: transparent; color: var(--text-3); font-family: var(--body); font-weight: 600; font-size: 15px; cursor: pointer; }
/* Página de entrar */
.auth { min-height: calc(100svh - 80px); display: flex; align-items: center; justify-content: center; padding: 32px 16px 60px; }
.auth-card { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.auth-card[hidden] { display: none; }
.auth-k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--cian); }
.auth-t { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 6vw, 44px); line-height: 0.95; text-transform: uppercase; }
.auth-p { font-size: 16px; line-height: 1.5; color: var(--text-3); }
.auth-card form { display: flex; flex-direction: column; gap: 16px; }
.auth-card .btn { width: 100%; }
.link-btn { align-self: center; min-height: 40px; border: 0; background: transparent; color: var(--cian); font-family: var(--body); font-weight: 600; font-size: 15px; cursor: pointer; }
.auth-ok { padding: 12px 14px; border-radius: 8px; border: 1px solid #25D366; background: rgba(37, 211, 102, 0.08); font-size: 15px; line-height: 1.5; }
/* Aviso de privacidad y términos */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 80px; }
.legal h1 { font-family: var(--display); font-weight: 900; font-size: clamp(38px, 6vw, 60px); line-height: 0.95; text-transform: uppercase; }
.legal .upd { margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--text-4); }
.legal h2 { margin-top: 36px; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.05; text-transform: uppercase; }
.legal p, .legal li { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--text-2); }
.legal ul { padding-left: 22px; }
.legal li { margin-top: 6px; }
.legal strong { color: var(--text); }
.legal a { color: var(--cian); }
.legal .llenar { padding: 1px 6px; border-radius: 4px; background: rgba(255, 94, 19, 0.16); color: #FFB08A; font-weight: 600; }
.legal .nota { margin-top: 24px; padding: 14px 16px; border: 1px dashed var(--naranja); border-radius: 10px; font-size: 14px; color: var(--text-3); }
