:root {
    --auth-ink: #10242d;
    --auth-muted: #667982;
    --auth-line: #dce8e6;
    --auth-soft: #f2f8f7;
    --auth-panel: #071d28;
    --auth-teal: #12cbbb;
    --auth-teal-dark: #07978e;
    --auth-danger: #d64b53;
    --auth-white: #fff;
    --auth-radius: 18px;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-height: 100vh; color: var(--auth-ink); font-family: Inter, Arial, sans-serif; background: #f7faf9; }
button, input, select { font: inherit; }
a { color: inherit; }
.auth-public-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(330px, 38%) 1fr; }
.auth-public-aside { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 48px clamp(34px, 5vw, 76px); color: white; background: var(--auth-panel); }
.auth-public-aside::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; top: -300px; right: -260px; background: radial-gradient(circle, rgba(18,203,187,.28), transparent 67%); }
.auth-public-aside::after { content: ""; position: absolute; width: 360px; height: 360px; left: -210px; bottom: -170px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.02), 0 0 0 160px rgba(255,255,255,.018); }
.auth-public-brand { position: relative; z-index: 1; display: inline-flex; width: fit-content; align-items: center; text-decoration: none; }
.auth-public-brand img { width: 210px; height: auto; display: block; }
.auth-aside-content { position: relative; z-index: 1; margin: auto 0; max-width: 510px; }
.auth-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; color: #79e4da; text-transform: uppercase; letter-spacing: .16em; font-size: 10px; font-weight: 700; }
.auth-eyebrow::before { content: ""; width: 24px; border-top: 1px solid currentColor; }
.auth-aside-content h1 { margin: 0; font: 600 clamp(38px, 4.4vw, 64px)/1.02 Outfit, Inter, sans-serif; letter-spacing: -.045em; }
.auth-aside-content > p { max-width: 460px; margin: 25px 0 0; color: #9bb0b8; line-height: 1.75; font-size: 14px; }
.auth-benefits { display: grid; gap: 13px; margin-top: 38px; }
.auth-benefit { display: flex; align-items: center; gap: 12px; color: #c9d7dc; font-size: 12px; }
.auth-benefit i { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; color: var(--auth-teal); background: rgba(18,203,187,.12); font-size: 12px; }
.auth-aside-footer { position: relative; z-index: 1; display: flex; gap: 10px; align-items: center; color: #6f8791; font-size: 10px; }
.auth-aside-footer i { color: var(--auth-teal); }
.auth-public-main { min-width: 0; display: flex; align-items: center; justify-content: center; padding: 50px clamp(24px, 6vw, 90px); }
.auth-card { width: min(100%, 500px); }
.auth-mobile-brand { display: none; margin-bottom: 38px; }
.auth-mobile-brand img { width: 190px; filter: brightness(.18); }
.auth-card-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 25px; border-radius: 17px; color: var(--auth-teal-dark); background: #e2f7f4; font-size: 23px; }
.auth-card h2 { margin: 0; font: 600 clamp(32px, 4vw, 44px)/1.05 Outfit, Inter, sans-serif; letter-spacing: -.04em; }
.auth-card-lead { margin: 14px 0 30px; color: var(--auth-muted); line-height: 1.7; font-size: 13px; }
.auth-alert { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 22px; padding: 14px 16px; border-radius: 12px; font-size: 12px; line-height: 1.5; }
.auth-alert-danger { color: #9f343d; background: #fff0f1; border: 1px solid #f5cdd0; }
.auth-alert-success { color: #08736c; background: #e8f9f6; border: 1px solid #bee9e3; }
.auth-field { margin-bottom: 18px; }
.auth-field label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 700; }
.auth-control { width: 100%; min-height: 49px; border: 1px solid #cfddda; border-radius: 11px; padding: 0 14px; outline: none; background: white; color: var(--auth-ink); font-size: 13px; transition: .2s; }
.auth-control:focus { border-color: var(--auth-teal-dark); box-shadow: 0 0 0 4px rgba(18,203,187,.1); }
.auth-password-wrap { position: relative; }
.auth-password-wrap .auth-control { padding-right: 48px; }
.auth-password-toggle { position: absolute; inset: 0 0 0 auto; width: 46px; border: 0; background: transparent; color: #6f858d; cursor: pointer; }
.auth-primary-button { width: 100%; min-height: 51px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 0; border-radius: 11px; color: #052329; background: var(--auth-teal); font-weight: 800; font-size: 13px; cursor: pointer; transition: .22s; box-shadow: 0 12px 28px rgba(18,203,187,.18); }
.auth-primary-button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(18,203,187,.26); }
.auth-secondary-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 24px; color: #536a73; text-decoration: none; font-size: 11px; font-weight: 700; }
.auth-secondary-link:hover { color: var(--auth-teal-dark); }
.auth-help { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--auth-line); color: #829198; font-size: 10px; line-height: 1.6; }
.password-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: -6px 0 20px; color: #7a8c93; font-size: 9px; }
.password-rule { display: flex; align-items: center; gap: 5px; }
.password-rule::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #bdc9cc; }
.password-rule.ok { color: #07877f; }
.password-rule.ok::before { background: var(--auth-teal); }

/* Cadastro de clínicas */
.signup-page { background: #f5f9f8; }
.signup-shell { min-height: 100vh; display: grid; grid-template-columns: 340px minmax(0, 1fr); }
.signup-aside { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow: hidden; padding: 36px 34px; color: white; background: var(--auth-panel); }
.signup-aside::before { content: ""; position: absolute; width: 430px; height: 430px; left: -190px; bottom: -210px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.signup-brand { position: relative; z-index: 1; display: inline-flex; text-decoration: none; }
.signup-brand img { width: 185px; height: auto; }
.signup-aside-copy { position: relative; z-index: 1; margin: 64px 0 38px; }
.signup-aside-copy .auth-eyebrow { margin-bottom: 16px; }
.signup-aside-copy h1 { margin: 0; font: 600 35px/1.06 Outfit, Inter, sans-serif; letter-spacing: -.04em; }
.signup-aside-copy p { color: #91a7af; font-size: 11px; line-height: 1.65; }
.signup-progress { position: relative; z-index: 1; display: grid; gap: 7px; }
.signup-step-nav { position: relative; display: grid; grid-template-columns: 37px 1fr; gap: 12px; align-items: center; padding: 9px; border: 0; border-radius: 12px; text-align: left; color: #78909a; background: transparent; cursor: default; }
.signup-step-nav .step-num { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; font-size: 10px; font-weight: 800; }
.signup-step-nav strong, .signup-step-nav small { display: block; }
.signup-step-nav strong { color: #9fb1b8; font: 600 11px Outfit; }
.signup-step-nav small { margin-top: 2px; font-size: 8px; }
.signup-step-nav.active { background: rgba(255,255,255,.06); }
.signup-step-nav.active .step-num { color: #03282c; border-color: var(--auth-teal); background: var(--auth-teal); box-shadow: 0 0 22px rgba(18,203,187,.25); }
.signup-step-nav.active strong { color: white; }
.signup-step-nav.completed .step-num { color: var(--auth-teal); border-color: rgba(18,203,187,.35); }
.signup-step-nav.completed .step-num::after { content: "✓"; }
.signup-step-nav.completed .step-num span { display: none; }
.signup-aside-bottom { position: relative; z-index: 1; margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); color: #6f8791; font-size: 9px; line-height: 1.55; }
.signup-aside-bottom a { color: #a9bcc3; }
.signup-main { min-width: 0; padding: 34px clamp(24px, 5vw, 76px) 60px; }
.signup-main-inner { width: min(850px, 100%); margin: 0 auto; }
.signup-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 38px; color: #70838a; font-size: 10px; }
.signup-topbar a { color: var(--auth-ink); text-decoration: none; font-weight: 800; }
.signup-mobile-brand { display: none; }
.signup-progress-mobile { display: none; height: 4px; margin-bottom: 30px; border-radius: 4px; overflow: hidden; background: #dfeae8; }
.signup-progress-mobile span { display: block; width: 25%; height: 100%; background: var(--auth-teal); transition: width .3s; }
.signup-header { margin-bottom: 28px; }
.signup-kicker { color: var(--auth-teal-dark); text-transform: uppercase; letter-spacing: .15em; font-size: 9px; font-weight: 800; }
.signup-header h2 { margin: 10px 0 8px; font: 600 clamp(30px, 4vw, 43px)/1.05 Outfit, Inter, sans-serif; letter-spacing: -.04em; }
.signup-header p { margin: 0; color: var(--auth-muted); font-size: 12px; line-height: 1.6; }
.signup-server-alert { margin-bottom: 24px; }
.signup-form-card { padding: clamp(22px, 4vw, 38px); border: 1px solid var(--auth-line); border-radius: 22px; background: white; box-shadow: 0 20px 60px rgba(18,51,61,.07); }
.signup-pane { display: none; animation: signupPane .28s ease; }
.signup-pane.active { display: block; }
@keyframes signupPane { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.signup-section-title { margin: 0 0 20px; font: 600 18px Outfit, Inter, sans-serif; }
.signup-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 17px; }
.signup-field { grid-column: span 6; min-width: 0; }
.signup-field.full { grid-column: 1 / -1; }
.signup-field.third { grid-column: span 4; }
.signup-field.quarter { grid-column: span 3; }
.signup-field.eight { grid-column: span 8; }
.signup-field label { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 7px; font-size: 10px; font-weight: 800; }
.signup-field label span { color: #91a0a5; font-weight: 500; }
.signup-control { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid #cfddda; border-radius: 10px; outline: none; color: var(--auth-ink); background: #fff; font-size: 12px; transition: .2s; }
.signup-control:focus { border-color: var(--auth-teal-dark); box-shadow: 0 0 0 4px rgba(18,203,187,.09); }
.signup-control.is-invalid { border-color: var(--auth-danger); background: #fffafb; }
.signup-control.is-valid { border-color: #24ad84; }
.field-feedback { min-height: 14px; margin-top: 5px; color: var(--auth-danger); font-size: 8px; }
.field-feedback.success { color: #138765; }
.type-selector { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 9px; }
.type-option { display: flex; align-items: center; gap: 13px; min-height: 80px; padding: 15px; border: 1px solid var(--auth-line); border-radius: 14px; background: #fbfdfd; cursor: pointer; transition: .2s; }
.type-option:hover { border-color: #9cded7; }
.type-option.selected { color: #073d41; border-color: var(--auth-teal); background: #edfbf9; box-shadow: inset 0 0 0 1px var(--auth-teal); }
.type-option i { display: grid; place-items: center; flex: 0 0 auto; width: 39px; height: 39px; border-radius: 12px; color: var(--auth-teal-dark); background: #ddf6f3; }
.type-option strong, .type-option small { display: block; }
.type-option strong { font: 600 12px Outfit; }
.type-option small { margin-top: 4px; color: #73868e; font-size: 8px; line-height: 1.4; }
.password-input { position: relative; }
.password-input .signup-control { padding-right: 42px; }
.password-input button { position: absolute; inset: 0 0 0 auto; width: 42px; border: 0; background: transparent; color: #6f838b; cursor: pointer; }
.upload-zone { grid-column: 1/-1; display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; padding: 22px; border: 1px dashed #b9d1cd; border-radius: 16px; background: #f8fbfa; }
.upload-preview { width: 120px; height: 120px; display: grid; place-items: center; overflow: hidden; border-radius: 24px; background: var(--auth-panel); }
.upload-preview img { max-width: 78%; max-height: 78%; object-fit: contain; }
.upload-copy strong { display: block; font: 600 14px Outfit; }
.upload-copy p { margin: 6px 0 13px; color: var(--auth-muted); font-size: 9px; line-height: 1.5; }
.upload-button { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid #c9d9d6; border-radius: 9px; background: white; cursor: pointer; font-size: 9px; font-weight: 800; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .signup-control { max-width: 260px; text-transform: uppercase; letter-spacing: .1em; }
.coupon-button { padding: 0 14px; border: 1px solid #c8d8d5; border-radius: 10px; color: var(--auth-ink); background: white; font-size: 9px; font-weight: 800; cursor: pointer; }
.signup-summary { grid-column: 1/-1; margin-top: 5px; padding: 17px; border-radius: 14px; background: #eff8f6; }
.signup-summary > span { display: block; color: var(--auth-teal-dark); text-transform: uppercase; letter-spacing: .13em; font-size: 8px; font-weight: 800; }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.summary-grid small, .summary-grid strong { display: block; }
.summary-grid small { color: #7c8d93; font-size: 8px; }
.summary-grid strong { margin-top: 3px; font: 600 11px Outfit; }
.signup-actions { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 26px; }
.signup-back, .signup-next { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 0 18px; font-size: 10px; font-weight: 800; cursor: pointer; transition: .2s; }
.signup-back { color: #5d7179; border: 1px solid #d0dddb; background: white; }
.signup-back:disabled { visibility: hidden; }
.signup-next { min-width: 145px; color: #05252b; border: 0; background: var(--auth-teal); box-shadow: 0 9px 24px rgba(18,203,187,.17); }
.signup-next:hover { transform: translateY(-1px); }
.signup-trust { display: flex; justify-content: center; gap: 22px; margin-top: 20px; color: #7d8e94; font-size: 8px; }
.signup-trust span { display: flex; align-items: center; gap: 5px; }
.signup-trust i { color: var(--auth-teal-dark); }
.signup-toast { position: fixed; z-index: 20; top: 18px; right: 18px; max-width: 330px; padding: 13px 16px; border-radius: 11px; color: white; background: var(--auth-panel); box-shadow: 0 18px 45px rgba(6,31,41,.24); font-size: 10px; transform: translateY(-15px); opacity: 0; pointer-events: none; transition: .25s; }
.signup-toast.show { transform: none; opacity: 1; }

@media (max-width: 980px) {
    .auth-public-shell { grid-template-columns: 1fr; }
    .auth-public-aside { display: none; }
    .auth-public-main { min-height: 100vh; }
    .auth-mobile-brand { display: block; }
    .signup-shell { grid-template-columns: 1fr; }
    .signup-aside { display: none; }
    .signup-main { padding-top: 24px; }
    .signup-mobile-brand { display: block; }
    .signup-mobile-brand img { width: 180px; filter: brightness(.18); }
    .signup-progress-mobile { display: block; }
}

@media (max-width: 650px) {
    .auth-public-main { align-items: flex-start; padding: 30px 20px; }
    .auth-mobile-brand { margin-bottom: 45px; }
    .signup-main { padding: 20px 14px 40px; }
    .signup-topbar { align-items: flex-start; }
    .signup-topbar > span { display: none; }
    .signup-form-card { padding: 21px 17px; border-radius: 17px; }
    .signup-field, .signup-field.third, .signup-field.quarter, .signup-field.eight { grid-column: 1/-1; }
    .type-selector { grid-template-columns: 1fr; }
    .type-option { min-height: 70px; }
    .upload-zone { grid-template-columns: 1fr; text-align: center; }
    .upload-preview { margin: auto; }
    .summary-grid { grid-template-columns: 1fr; }
    .signup-actions { position: sticky; bottom: 0; margin-inline: -17px; padding: 14px 17px; background: rgba(255,255,255,.94); border-top: 1px solid var(--auth-line); backdrop-filter: blur(10px); }
    .signup-trust { flex-wrap: wrap; }
}

/* Login — mesma linguagem visual do cadastro de clínicas */
.login-page { min-height: 100vh; overflow-x: hidden; background: #f7faf9; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(390px, 42%) minmax(0, 1fr); }
.login-aside { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 100vh; padding: 38px clamp(34px, 4vw, 64px); color: white; background: var(--auth-panel); }
.login-aside::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; top: -390px; right: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(18,203,187,.3), rgba(18,203,187,.03) 52%, transparent 70%); }
.login-aside::after { content: ""; position: absolute; z-index: -1; width: 390px; height: 390px; left: -245px; bottom: -195px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 75px rgba(255,255,255,.022), 0 0 0 150px rgba(255,255,255,.014); }
.login-brand { display: inline-flex; width: fit-content; text-decoration: none; }
.login-brand img { display: block; width: 190px; height: auto; }
.login-aside-center { width: min(520px, 100%); margin: auto 0; padding: 35px 0 28px; }
.login-product-visual { position: relative; width: 270px; height: 170px; margin: 0 auto 30px; }
.login-orbit { position: absolute; inset: 50% auto auto 50%; border: 1px solid rgba(121,228,218,.15); border-radius: 50%; transform: translate(-50%,-50%); }
.login-orbit::before { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--auth-teal); box-shadow: 0 0 13px rgba(18,203,187,.9); }
.login-orbit.orbit-one { width: 150px; height: 150px; animation: loginOrbit 18s linear infinite; }
.login-orbit.orbit-one::before { top: 15px; left: 22px; }
.login-orbit.orbit-two { width: 235px; height: 108px; animation: loginOrbitReverse 22s linear infinite; }
.login-orbit.orbit-two::before { right: 7px; bottom: 26px; }
.login-visual-core { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 73px; height: 73px; border: 1px solid rgba(121,228,218,.42); border-radius: 23px; color: #06262d; background: linear-gradient(145deg,#79e4da,var(--auth-teal)); box-shadow: 0 18px 55px rgba(18,203,187,.24); transform: translate(-50%,-50%) rotate(-4deg); font-size: 28px; }
.login-visual-chip { position: absolute; display: flex; align-items: center; gap: 8px; min-width: 116px; padding: 9px 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.065); box-shadow: 0 14px 30px rgba(0,0,0,.13); backdrop-filter: blur(8px); animation: loginFloat 5s ease-in-out infinite; }
.login-visual-chip > i { color: var(--auth-teal); font-size: 15px; }
.login-visual-chip b,.login-visual-chip small { display: block; }.login-visual-chip b { color: #eaf5f5; font: 600 9px Outfit,Inter,sans-serif; }.login-visual-chip small { margin-top: 1px; color: #78919a; font-size: 7px; }
.login-visual-chip.chip-agenda { left: 0; top: 15px; }.login-visual-chip.chip-paciente { right: -4px; top: 30px; animation-delay: -1.4s; }.login-visual-chip.chip-gestao { left: 16px; bottom: 5px; animation-delay: -2.7s; }
.login-story[hidden] { display: none; }
.login-story.active { animation: loginStory .42s ease both; }
.login-story .auth-eyebrow { margin-bottom: 14px; }
.login-story-icon { display: none; }
.login-story-image { display: block; max-width: 100%; max-height: 130px; margin: 0 0 18px; object-fit: contain; }
.login-story h1 { max-width: 490px; margin: 0; font: 600 clamp(31px,3.5vw,49px)/1.04 Outfit,Inter,sans-serif; letter-spacing: -.045em; }
.login-story p { max-width: 470px; margin: 17px 0 0; color: #91a7af; font-size: 11px; line-height: 1.72; }
.login-story-nav { display: flex; gap: 7px; margin-top: 24px; }
.login-story-nav button { width: 18px; height: 4px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.15); cursor: pointer; transition: width .25s,background .25s; }
.login-story-nav button.active { width: 36px; background: var(--auth-teal); }
.login-aside-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.08); color: #708791; font-size: 8px; }
.login-aside-footer span { display: inline-flex; align-items: center; gap: 6px; }.login-aside-footer i { color: var(--auth-teal); }
.login-main { min-width: 0; min-height: 100vh; display: flex; flex-direction: column; padding: 32px clamp(24px,5vw,76px) 24px; }
.login-topbar { min-height: 42px; display: flex; align-items: center; justify-content: flex-end; }
.login-mobile-brand { display: none; }.login-mobile-brand img { display: block; width: 176px; filter: brightness(.18); }
.login-signup-callout { display: flex; align-items: center; gap: 15px; color: #7a8d94; font-size: 9px; }
.login-signup-callout a { display: inline-flex; align-items: center; gap: 6px; min-height: 37px; padding: 0 13px; border: 1px solid #cad9d6; border-radius: 9px; color: var(--auth-ink); text-decoration: none; background: white; font-weight: 800; transition: .2s; }
.login-signup-callout a:hover { border-color: #8fdad2; color: var(--auth-teal-dark); transform: translateY(-1px); }
.login-main-inner { width: min(470px,100%); margin: auto; padding: 40px 0; }
.login-form-intro { margin-bottom: 27px; }
.login-kicker { color: var(--auth-teal-dark); text-transform: uppercase; letter-spacing: .16em; font-size: 9px; font-weight: 800; }
.login-form-intro h2 { margin: 10px 0 9px; font: 600 clamp(33px,4vw,45px)/1.04 Outfit,Inter,sans-serif; letter-spacing: -.045em; }
.login-form-intro p { margin: 0; color: var(--auth-muted); font-size: 11px; line-height: 1.6; }
.login-server-alert { margin-bottom: 16px; }
.login-form-card { padding: clamp(24px,3vw,32px); border: 1px solid var(--auth-line); border-radius: 20px; background: white; box-shadow: 0 22px 65px rgba(18,51,61,.075); }
.login-field { margin-bottom: 18px; }
.login-field label { display: block; color: #52676f; font-size: 10px; font-weight: 800; }
.login-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.login-label-row a { color: var(--auth-teal-dark); text-decoration: none; font-size: 9px; font-weight: 800; }.login-label-row a:hover { text-decoration: underline; }
.login-field > label { margin-bottom: 7px; }
.login-control-wrap { position: relative; }
.login-control-wrap > i { position: absolute; z-index: 1; left: 14px; top: 50%; color: #82959c; transform: translateY(-50%); pointer-events: none; font-size: 13px; }
.login-control { width: 100%; min-height: 49px; padding: 0 14px 0 41px; border: 1px solid #cfddda; border-radius: 11px; outline: none; color: var(--auth-ink); background: #fff; font-size: 12px; transition: border-color .2s,box-shadow .2s,background .2s; }
.login-control::placeholder { color: #a5b1b5; }.login-control:hover { border-color: #aec4c0; }.login-control:focus { border-color: var(--auth-teal-dark); box-shadow: 0 0 0 4px rgba(18,203,187,.09); }
.login-control:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px white inset; -webkit-text-fill-color: var(--auth-ink); }
.login-password-wrap .login-control { padding-right: 48px; }
.login-password-toggle { position: absolute; z-index: 2; inset: 0 0 0 auto; width: 46px; border: 0; color: #71868e; background: transparent; cursor: pointer; }
.login-remember { width: fit-content; display: flex; align-items: center; gap: 8px; margin: 2px 0 22px; color: #71838a; font-size: 9px; cursor: pointer; user-select: none; }
.login-remember input { position: absolute; opacity: 0; pointer-events: none; }
.login-checkbox { display: grid; place-items: center; width: 16px; height: 16px; border: 1px solid #becfcb; border-radius: 5px; color: transparent; background: white; transition: .18s; }
.login-checkbox i { font-size: 11px; }.login-remember input:checked + .login-checkbox { color: #05252b; border-color: var(--auth-teal); background: var(--auth-teal); }.login-remember input:focus-visible + .login-checkbox { outline: 3px solid rgba(18,203,187,.18); }
.login-submit { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 11px; color: #05252b; background: var(--auth-teal); box-shadow: 0 12px 28px rgba(18,203,187,.2); font-size: 11px; font-weight: 850; cursor: pointer; transition: .22s; }
.login-submit:hover { transform: translateY(-2px); box-shadow: 0 17px 35px rgba(18,203,187,.28); }.login-submit:disabled { cursor: wait; opacity: .82; transform: none; }
.login-spinner { width: 14px; height: 14px; border: 2px solid rgba(5,37,43,.25); border-top-color: #05252b; border-radius: 50%; animation: loginSpin .7s linear infinite; }
.login-security-note { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 15px; color: #8a9a9f; font-size: 8px; }.login-security-note i { color: var(--auth-teal-dark); }
.login-mobile-signup { display: none; margin-top: 24px; text-align: center; color: var(--auth-muted); font-size: 10px; line-height: 1.6; }.login-mobile-signup span,.login-mobile-signup a { display: block; }.login-mobile-signup a { color: var(--auth-teal-dark); text-decoration: none; font-weight: 800; }
.login-main-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #9aa8ac; font-size: 8px; }
@keyframes loginOrbit { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes loginOrbitReverse { to { transform: translate(-50%,-50%) rotate(-360deg); } }
@keyframes loginFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes loginStory { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes loginSpin { to { transform: rotate(360deg); } }

@media (max-width: 1050px) {
    .login-shell { grid-template-columns: minmax(340px,38%) minmax(0,1fr); }
    .login-product-visual { transform: scale(.88); margin-inline: -10px; transform-origin: center; }
}
@media (max-width: 860px) {
    .login-shell { grid-template-columns: 1fr; }
    .login-aside { display: none; }
    .login-main { min-height: 100vh; padding: 24px clamp(20px,7vw,60px); }
    .login-topbar { justify-content: space-between; }
    .login-mobile-brand { display: block; }
    .login-main-inner { margin-block: auto; }
}
@media (max-width: 560px) {
    .login-main { padding: 20px 16px 18px; }
    .login-topbar { align-items: flex-start; }
    .login-mobile-brand img { width: 150px; }
    .login-signup-callout span { display: none; }
    .login-signup-callout a { min-height: 34px; padding-inline: 10px; font-size: 8px; }
    .login-main-inner { padding: 46px 0 34px; }
    .login-form-card { padding: 22px 17px; border-radius: 17px; }
    .login-mobile-signup { display: block; }
    .login-main-footer { justify-content: center; }.login-main-footer span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .login-orbit,.login-visual-chip,.login-story.active,.login-spinner { animation-duration: .01ms; animation-iteration-count: 1; }
    .login-submit,.login-signup-callout a { transition: none; }
}
