/* ============ PepeHX — login / cadastro ============ */
.auth { display: grid; grid-template-columns: minmax(380px, 46%) 1fr; min-height: 100vh; }
.auth-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: 34px 44px; color: #fff; background: linear-gradient(150deg, #4caf3a 0%, #2f7d25 100%); border-right: 2px solid var(--line); }
.auth-panel::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .14) 1px, transparent 0); background-size: 22px 22px; }
.auth-panel > * { position: relative; }
.auth-panel .logo { color: #fff; }
.auth-panel .logo b { color: var(--lime); }
.ap-stage { position: relative; flex: 1; min-height: 300px; display: grid; place-items: center; }
.ap-blob { position: absolute; width: min(360px, 80%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f0ffd9, var(--lime) 60%, #8fd85a); border: 2px solid var(--line); box-shadow: 7px 7px 0 var(--ink); }
.ap-hopper { position: relative; width: min(330px, 76%); aspect-ratio: 260 / 270; }
.auth-panel h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); letter-spacing: .5px; line-height: 1.05; }
.ap-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ap-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 16px; }
.ap-list li span:first-child { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .16); border: 2px solid rgba(15, 42, 18, .5); }

.auth-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px 24px; position: relative; }
.auth-top { position: absolute; top: 22px; left: 24px; right: 24px; display: flex; justify-content: flex-end; align-items: center; }
.m-only { display: none; }
.auth-card { width: min(440px, 100%); padding: 32px 30px; }
.auth-card h1 { font-family: var(--display); font-weight: 400; font-size: 32px; letter-spacing: .5px; line-height: 1.1; }
.auth-card .sub { margin: 6px 0 22px; font-size: 15px; }
#f { display: flex; flex-direction: column; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.inp { display: flex; align-items: center; background: #fff; border: 2px solid var(--line); border-radius: 12px; transition: box-shadow .15s, border-color .15s; }
.inp:focus-within { box-shadow: 3px 3px 0 var(--lime), 0 0 0 1px var(--line); }
.inp.bad { border-color: var(--red); box-shadow: 3px 3px 0 rgba(210, 81, 58, .25); }
.inp input { flex: 1; min-width: 0; border: 0; outline: none; background: none; padding: 13px 14px; font: 500 15px var(--body); color: var(--ink); }
.pw-toggle { padding: 0 14px; font-size: 12px; font-weight: 700; color: var(--green-d); align-self: stretch; }
.err { color: var(--red); font-size: 12px; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.link { color: var(--green-d); font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(47, 125, 37, .35); }
.link:hover { text-decoration-color: currentColor; }
.btn-block { width: 100%; justify-content: center; padding: 14px; font-size: 16px; margin-top: 4px; }
.form-err { color: var(--red); font-weight: 700; font-size: 14px; }
.form-err:empty { display: none; }
.form-ok { display: none; background: var(--soft); border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 14px; }
.form-ok.show { display: block; animation: tin .25s ease; }
.switch-line { text-align: center; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.invited { display: inline-flex; margin: -10px 0 16px; }
.demo-note { font-size: 12px; color: var(--ink-2); text-align: center; }

.meter { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 6px; align-items: center; margin-top: -6px; }
.meter i { height: 6px; border-radius: 99px; background: #e2ebdc; transition: background .2s; }
.meter span { font-size: 12px; font-weight: 700; min-width: 70px; text-align: right; }
.meter.s0 i:nth-child(1) { background: var(--red); }
.meter.s0 span { color: var(--red); }
.meter.s1 i:nth-child(1) { background: var(--amber); }
.meter.s1 span { color: #b27c0a; }
.meter.s2 i:nth-child(-n+2) { background: #7cc84e; }
.meter.s2 span { color: var(--green-d); }
.meter.s3 i { background: var(--green); }
.meter.s3 span { color: var(--green-d); }

@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-panel { display: none; }
  .auth-main { justify-content: flex-start; padding: 18px 16px 30px; }
  .auth-top { position: static; width: 100%; justify-content: space-between; margin-bottom: 10px; }
  .m-only { display: flex; }
  .auth-card { padding: 26px 20px; }
  .auth-card h1 { font-size: 28px; }
}
