/* Portal de clientes de NetPlus (usa los colores y la letra de styles.css) */
body.portal { background: #F4F2F8; min-height: 100dvh; }
.portal .hidden { display: none !important; }
.pt-login { max-width: 420px; margin: 0 auto; padding: 9vh 18px 28px; display: grid; gap: 14px; text-align: center; }
.pt-logo-big { width: min(300px, 78vw); height: auto; margin: 0 auto; display: block; }
.pt-tagline { font-size: 15px; color: var(--muted); margin-top: -4px; }
.pt-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 12px; text-align: left; }
.pt-card h2 { margin: 0; font-size: 18px; }
.pt-forgot { text-align: center; font-size: 14px; }
.pt-install { width: 100%; margin: 0; border: 1px dashed var(--purple); background: #fff; color: var(--purple-dark); border-radius: 12px; padding: 12px; font: 700 15px var(--font); cursor: pointer; }
.pt-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 10px; background: #fff; border-bottom: 3px solid var(--cyan); padding: 10px 14px; }
.pt-top img { height: 34px; width: auto; }
.pt-top select { flex: 1; min-width: 0; margin: 0; padding: 7px 8px; font-size: 14px; }
.pt-icon-btn { margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 12px; font-size: 20px; font-weight: 800; cursor: pointer; }
.pt-menu { position: fixed; right: 12px; top: 64px; z-index: 20; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px #20253630; padding: 6px; display: grid; min-width: 220px; }
.pt-menu button { margin: 0; width: 100%; text-align: left; border: 0; background: transparent; padding: 11px 12px; border-radius: 10px; font: 600 15px var(--font); color: var(--ink); cursor: pointer; }
.pt-menu button:hover { background: #F1EEF7; }
.pt-main { max-width: 560px; margin: 0 auto; padding: 14px 14px 150px; display: block; }
.pt-main section { display: grid; gap: 12px; }
.pt-main h1 { font-size: 21px; margin: 2px 0; }
.pt-alert { border-radius: 14px; padding: 12px 14px; font-weight: 600; }
.pt-alert small { display: block; font-weight: 500; margin-top: 3px; }
.pt-alert.bad { background: #FDE8EC; color: #8E2236; }
.pt-alert.warn { background: #FFF4D6; color: #6B4600; }
.pt-alert.ok { background: #E3F6EC; color: #0F6B44; }
.pt-alert.info { background: #EAF2FF; color: #174EA6; }
.pt-label { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; margin: 0 0 4px; }
.pt-big { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pt-big.bad { color: var(--red); } .pt-big.ok { color: var(--green); }
.pt-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.pt-row:first-of-type { border-top: 0; }
.pt-row small { display: block; color: var(--muted); font-size: 12.5px; }
.pt-row strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pt-row .pos { color: var(--green); }
.pt-link { background: none; border: 0; padding: 0; margin: 0; width: auto; color: var(--purple); font: 700 14px var(--font); cursor: pointer; text-align: left; }
.pt-btns { display: grid; gap: 8px; }
.pt-btns .secondary, .pt-btns .primary { margin: 0; width: 100%; }
.pt-pay { display: flex; align-items: center; justify-content: center; gap: 8px; }
.pt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-chips label { display: inline-flex; margin: 0; position: relative; }
.pt-chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.pt-chips span { border: 1px solid #CFC6DD; border-radius: 999px; padding: 8px 14px; font-weight: 600; cursor: pointer; background: #fff; }
.pt-chips input:checked + span { background: var(--lavender); border-color: var(--purple); color: var(--purple-dark); }
.pt-chips input:focus-visible + span { outline: 3px solid #8755cb; }
.pt-photo img { max-width: 100%; max-height: 180px; border-radius: 10px; display: block; margin-top: 6px; }
.pt-foot { max-width: 560px; margin: 0 auto; padding: 0 14px 100px; text-align: center; font-size: 13px; color: var(--muted); }
.pt-foot a { font-weight: 700; }
.pt-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px #2025360f; }
.pt-nav button { margin: 0; border: 0; background: transparent; display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border-radius: 10px; font: 600 12px var(--font); color: #5b6272; cursor: pointer; }
.pt-nav button span { font-size: 20px; line-height: 1; }
.pt-nav button.on { color: var(--purple-dark); background: var(--lavender); }
.pt-receipt { position: fixed; inset: 0; z-index: 50; background: #fff; overflow: auto; padding: 22px 18px 40px; }
.pt-receipt .doc { max-width: 520px; margin: 0 auto; display: grid; gap: 10px; }
.pt-receipt .doc img { height: 46px; width: auto; }
.pt-receipt .acts { display: flex; gap: 8px; max-width: 520px; margin: 18px auto 0; }
.pt-receipt .acts button { margin: 0; }
@media print {
  body.portal * { visibility: hidden; }
  .pt-receipt, .pt-receipt * { visibility: visible; }
  .pt-receipt { position: absolute; inset: 0; padding: 0; }
  .pt-receipt .acts { display: none; }
}
@media (min-width: 720px) { .pt-nav { left: 50%; transform: translateX(-50%); max-width: 560px; border-radius: 16px 16px 0 0; border: 1px solid var(--line); } }
