/* DOVYR HEALTH · entrada (boas-vindas, login, convite, candidatura, recuperação) */
.auth { position: fixed; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 460px); align-items: center; gap: 48px; padding: 0 max(56px, 6vw); overflow: hidden; background: #07090b; color: #f2f0e9; }
.auth .topbar { position: absolute; inset: 0 0 auto 0; height: 44px; z-index: 3; }
.auth-bg { position: absolute; inset: 0; background: url("../assets/runner.jpg") 74% 50% / cover no-repeat; transform: scale(1.06); animation: bgIn 2.4s var(--ease) both; }
.auth-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 6, 8, .94) 0%, rgba(5, 6, 8, .8) 34%, rgba(5, 6, 8, .22) 60%, rgba(5, 6, 8, .3) 100%), linear-gradient(0deg, rgba(5, 6, 8, .85) 0%, rgba(5, 6, 8, 0) 40%); }
@keyframes bgIn { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: scale(1.06); } }
.auth-hero { position: relative; z-index: 1; max-width: 600px; }
.auth-hero .brand { margin-bottom: 64px; }
.auth-hero .wordmark { width: 132px; background: #f2f0e9; }
.auth-hero .brand small { color: rgba(242, 240, 233, .62); -webkit-text-stroke: .2px #07090b; }
.auth-hero h1 { font: 600 clamp(48px, 5.6vw, 76px)/.98 var(--display); letter-spacing: -.045em; margin: 0 0 26px; }
.auth-hero h1 em { font-style: normal; color: #d8ff3e; }
.auth-hero p { font-size: 16.5px; line-height: 1.6; color: rgba(242, 240, 233, .72); margin: 0; max-width: 46ch; }
.auth-foot { position: absolute; left: max(56px, 6vw); bottom: 34px; z-index: 1; display: flex; align-items: center; gap: 9px; color: rgba(242, 240, 233, .48); font-size: 12.5px; }
.auth-foot svg { width: 14px; height: 14px; }

/* o cartão fica sempre escuro, como no DOVYR FINANCE */
.auth-card { position: relative; z-index: 2; border-radius: 22px; padding: 34px 32px 30px; background: rgba(9, 12, 14, .78); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(22px) saturate(1.2); box-shadow: 0 40px 90px rgba(0, 0, 0, .5); max-height: calc(100vh - 96px); overflow: auto; animation: cardIn 1s .25s var(--ease) both;
  --bg: #080a0c; --field: rgba(255, 255, 255, .035); --raised-2: #15191c; --pop: rgba(16, 20, 23, .97);
  --rule: rgba(255, 255, 255, .08); --line: rgba(255, 255, 255, .14); --line-strong: rgba(255, 255, 255, .26);
  --ink: #f2f0e9; --ink-2: #d9d6cd; --ink-3: #9da3aa; --ink-4: #6f767c; --acid-text: #d8ff3e; --acid-wash: rgba(216, 255, 62, .07); --acid-line: rgba(216, 255, 62, .3); --hover: rgba(255, 255, 255, .05); --loss: #ff7a84; --on-acid: #050608;
  color: var(--ink); color-scheme: dark; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.auth-card .head { margin-bottom: 26px; }
.auth-card .head h2 { font: 600 26px/1.15 var(--display); letter-spacing: -.025em; margin: 0 0 8px; }
.auth-card .head p { margin: 0; color: var(--ink-3); font-size: 14px; line-height: 1.55; }
.auth-card .back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 13px; margin: -6px 0 18px; height: 28px; }
.auth-card .back svg { width: 15px; height: 15px; }
.auth-card .back:hover { color: var(--ink); }
.auth-card form { display: flex; flex-direction: column; gap: 16px; }
.auth-card .line-between { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-3); }
.auth-card .remember { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.auth-card .or { display: flex; align-items: center; gap: 12px; color: var(--ink-4); font-size: 12.5px; margin: 24px 0 14px; }
.auth-card .or::before, .auth-card .or::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.auth-card .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.auth-card .note { margin: 18px 0 0; font-size: 12.5px; color: var(--ink-4); line-height: 1.5; }
.auth-card .swap { animation: rise .55s var(--ease) both; }
.pw-row { display: flex; flex-direction: column; gap: 8px; margin-top: -6px; }
.pw-meter { display: flex; gap: 4px; }
.pw-meter i { flex: 1; height: 3px; border-radius: 3px; background: var(--line); transition: background .3s; }
.pw-meter[data-s="1"] i:nth-child(-n+1) { background: var(--loss); }
.pw-meter[data-s="2"] i:nth-child(-n+2) { background: #f1c66b; }
.pw-meter[data-s="3"] i:nth-child(-n+3) { background: #b9d94a; }
.pw-meter[data-s="4"] i { background: #d8ff3e; }
.pw-hint { font-size: 12px; color: var(--ink-4); }

/* código de recuperação */
.rec-code { margin: 6px 0 4px; padding: 22px; border-radius: 14px; border: 1px dashed var(--acid-line); background: var(--acid-wash); text-align: center; font: 600 26px/1 var(--font); letter-spacing: .12em; font-variant-numeric: tabular-nums; user-select: all; }
.rec-acts { display: flex; justify-content: center; margin-bottom: 8px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); cursor: pointer; line-height: 1.45; }
.check-row input { appearance: none; width: 18px; height: 18px; flex: none; margin-top: 1px; border-radius: 5px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: all .2s; }
.check-row input:checked { background: var(--acid); border-color: var(--acid); }
.check-row input:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid #050608; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }

/* candidatura enviada */
.pending-mark { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--acid-line); display: grid; place-items: center; color: var(--acid-text); margin-bottom: 22px; }
.pending-mark svg { width: 24px; height: 24px; }
.steps-mini { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.steps-mini li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-3); }
.steps-mini li b { color: var(--ink); font-weight: 500; min-width: 18px; font-variant-numeric: tabular-nums; }
.steps-mini li.on b { color: var(--acid-text); }

@media (max-width: 1260px) { .auth { gap: 36px; padding: 0 48px; grid-template-columns: minmax(0, 1fr) 420px; } .auth-foot { left: 48px; } .auth-hero .brand { margin-bottom: 44px; } }
@media (max-height: 760px) { .auth-card { padding: 28px 28px 24px; } .auth-card .head { margin-bottom: 20px; } .auth-card form { gap: 13px; } .auth-hero .brand { margin-bottom: 36px; } }
