/* ConsentMode · entrar, criar conta, conta em análise */
.cm-auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 48px 16px 32px; background: var(--cm-bg); }
.cm-auth-card { width: 100%; max-width: 448px; padding: 40px 40px 32px; background: var(--cm-surface); border: 1px solid var(--cm-line); border-radius: 28px; }
.cm-auth-card.is-wide { max-width: 560px; }
.cm-auth-card .cm-brand { margin-bottom: 24px; }
.cm-auth h1 { margin: 0; font: 400 28px/36px var(--cm-font); color: var(--cm-ink); }
.cm-auth-sub { margin: 8px 0 24px; color: var(--cm-ink-2); font-size: 16px; line-height: 24px; }
.cm-auth form { display: grid; gap: 16px; }
.cm-auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cm-in { position: relative; display: block; }
.cm-in input, .cm-in select { width: 100%; height: 56px; padding: 22px 16px 8px; border: 1px solid var(--cm-line-2); border-radius: 8px; background: #fff; font: 400 16px var(--cm-font); color: var(--cm-ink); outline: 0; }
.cm-in span { position: absolute; left: 16px; top: 8px; font-size: 12px; line-height: 14px; color: var(--cm-muted); pointer-events: none; }
.cm-in input:focus, .cm-in select:focus { border-color: var(--cm-blue-500); box-shadow: inset 0 0 0 1px var(--cm-blue-500); }
.cm-in input:focus + span, .cm-in select:focus + span { color: var(--cm-blue); }
.cm-in small { display: block; margin: 4px 16px 0; color: var(--cm-muted); font-size: 12px; line-height: 16px; }
.cm-in .cm-eye { position: absolute; right: 8px; top: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--cm-muted); cursor: pointer; }
.cm-in .cm-eye:hover { background: var(--cm-surface-2); }
.cm-in .cm-eye svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cm-auth-err { display: flex; gap: 8px; padding: 12px 16px; border-radius: 8px; background: var(--cm-red-50); color: var(--cm-red); font-size: 14px; line-height: 20px; }
.cm-auth-err[hidden], .cm-auth [hidden] { display: none !important; }
.cm-auth-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.cm-auth-actions .cm-btn { height: 40px; padding: 0 24px; }
.cm-auth-actions a { font: 500 14px var(--cm-font); text-decoration: none; color: var(--cm-blue); }
.cm-auth-actions a:hover { text-decoration: underline; }
.cm-or { display: flex; align-items: center; gap: 16px; margin: 8px 0; color: var(--cm-muted); font-size: 12px; }
.cm-or::before, .cm-or::after { content: ""; flex: 1; height: 1px; background: var(--cm-line); }
.cm-google { display: flex; justify-content: center; min-height: 44px; }
.cm-google-off { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 44px; border: 1px solid var(--cm-line-2); border-radius: 22px; background: #fff; color: var(--cm-ink-2); font: 500 14px var(--cm-font); cursor: not-allowed; opacity: .7; }
.cm-google-off svg { width: 18px; height: 18px; }
.cm-google-note { margin: 6px 0 0; text-align: center; color: var(--cm-muted); font-size: 12px; }
.cm-check { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 20px; color: var(--cm-ink-2); }
.cm-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--cm-blue); flex: none; }

/* captcha de demonstração (visual) */
.cm-captcha { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 304px; height: 74px; padding: 0 12px 0 14px; border: 1px solid #d3d3d3; border-radius: 4px; background: #f9f9f9; box-shadow: 0 0 4px 1px rgba(0, 0, 0, .08); }
.cm-captcha label { display: flex; align-items: center; gap: 12px; font: 400 14px Roboto, Arial, sans-serif; color: #000; cursor: pointer; }
.cm-captcha input { appearance: none; width: 28px; height: 28px; margin: 0; border: 2px solid #c1c1c1; border-radius: 2px; background: #fff; cursor: pointer; display: grid; place-items: center; }
.cm-captcha input:checked { border-color: transparent; }
.cm-captcha input:checked::after { content: ""; width: 9px; height: 18px; margin-top: -4px; border: solid #1e8e3e; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.cm-captcha input:focus-visible { outline: 2px solid var(--cm-blue-500); outline-offset: 2px; }
.cm-captcha-logo { display: grid; justify-items: center; gap: 2px; font: 400 9px Roboto, Arial, sans-serif; color: #555; text-align: center; }
.cm-captcha-logo svg { width: 30px; height: 30px; }
.cm-captcha-logo b { font-weight: 500; font-size: 10px; color: #555; }

.cm-auth-foot { width: 100%; max-width: 448px; display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 0 8px; font-size: 12px; color: var(--cm-muted); }
.cm-auth-foot a { color: var(--cm-muted); text-decoration: none; margin-left: 16px; }
.cm-auth-foot a:hover { color: var(--cm-blue); }

/* conta em análise */
.cm-hold-ic { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 50%; background: var(--cm-yellow-50); color: var(--cm-yellow); }
.cm-hold-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cm-hold-steps { margin: 24px 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.cm-hold-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.cm-hold-steps i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--cm-blue-50); color: var(--cm-blue); font: 500 14px var(--cm-font); font-style: normal; }
.cm-hold-steps i.is-done { background: var(--cm-green-50); color: var(--cm-green); }
.cm-hold-steps b { display: block; font-weight: 500; }
.cm-hold-steps span { color: var(--cm-muted); font-size: 14px; }
.cm-hold-cta { display: grid; gap: 12px; }
.cm-hold-cta .cm-btn { width: 100%; height: 48px; border-radius: 24px; }
.cm-hold-cta .cm-btn.is-wa { border-color: #1e8e3e; background: #1e8e3e; color: #fff; }

@media (max-width: 520px) {
  .cm-auth { padding: 24px 0 24px; background: var(--cm-surface); }
  .cm-auth-card { border: 0; border-radius: 0; padding: 24px 24px 16px; }
  .cm-auth-row { grid-template-columns: 1fr; }
  .cm-auth-foot { padding: 0 24px; flex-wrap: wrap; }
}

.cm-auth-forgot { margin: -8px 0 0; font-size: 14px; }
.cm-auth-forgot a { color: var(--cm-blue); font-weight: 500; text-decoration: none; }
.cm-auth-forgot a:hover { text-decoration: underline; }
.cm-auth-ok { padding: 12px 16px; border-radius: 8px; background: var(--cm-green-50); color: var(--cm-green); font-size: 14px; line-height: 20px; }
