/* FILUXIA ATLAS R51.52 — registration consent and privacy controls */
#registerForm .register-legal{min-width:0;margin:22px 0 4px;padding:16px;border:1px solid rgba(151,108,42,.28);border-radius:16px;background:rgba(255,252,246,.76)}
#registerForm .register-legal legend{padding:0 8px;color:#30251f;font-size:15px;font-weight:800}
#registerForm .register-consent-row{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:10px;margin:0;padding:11px 0;color:#4d4037;font-size:14px;line-height:1.55;cursor:pointer}
#registerForm .register-consent-row+.register-consent-row{border-top:1px solid rgba(151,108,42,.14)}
#registerForm .register-consent-row input{width:18px;height:18px;margin:2px 0 0;accent-color:#9a682c}
#registerForm .register-consent-row a,.legal-document-links a{color:#744514;font-weight:750;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
#registerForm .register-consent-row b{display:inline-block;margin-left:4px;color:#80521d;font-size:11px;letter-spacing:.04em;text-transform:uppercase}
#registerForm .register-consent-row em{display:block;margin-top:3px;color:#6f6258;font-size:12px;font-style:normal}
#registerForm .register-consent-row--optional{margin-top:4px;padding:13px 11px;border:1px dashed rgba(151,108,42,.25)!important;border-radius:12px;background:rgba(194,149,79,.07)}
#registerForm .register-legal-help{margin:12px 0 0!important;color:#6f6258!important;font-size:12px!important;line-height:1.55!important}
.legal-document-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:16px;font-size:13px}
.consent-settings-check{margin-bottom:12px}
.legal-reader-modal{z-index:10040!important;padding:clamp(8px,2vw,24px)!important;background:rgba(20,14,11,.7)!important;backdrop-filter:blur(10px)}
.legal-reader-modal .legal-reader-card{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;width:min(980px,100%)!important;height:min(880px,calc(100dvh - 32px))!important;max-height:calc(100dvh - 32px)!important;margin:auto!important;padding:0!important;overflow:hidden!important;border:1px solid rgba(170,119,53,.42)!important;border-radius:22px!important;background:#fffaf2!important;box-shadow:0 26px 90px rgba(21,14,8,.3)!important}
.legal-reader-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px 15px;border-bottom:1px solid rgba(151,108,42,.24);background:#fffaf2;color:#342820}
.legal-reader-head span{display:block;margin-bottom:4px;color:#9a682c;font-size:11px;font-weight:800;letter-spacing:.13em}
.legal-reader-head h2{margin:0;color:#342820!important;font-size:clamp(21px,3vw,29px);line-height:1.15;opacity:1!important;text-shadow:none!important}.legal-reader-head p{margin:5px 0 0;color:#74665c!important;font-size:13px;opacity:1!important}
html.atlas-v951 body #legalReaderModal .legal-reader-head .close-btn{flex:0 0 auto;color:#342820!important;border-color:rgba(151,108,42,.3)!important;background:#fffdf9!important;box-shadow:none!important}
.legal-reader-frame{display:block;width:100%;height:100%;min-height:0;border:0;background:#fffaf2}
.legal-reader-footer{display:flex;justify-content:flex-end;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid rgba(151,108,42,.24);background:#fffaf2}
.legal-reader-footer .primary-btn{width:auto;min-width:230px}
body.legal-reader-open{overflow:hidden!important}
body.atlas-auth-open #appScreen,body.atlas-auth-open #mobileBottomNav,body.atlas-auth-open #professionalPage{display:none!important;visibility:hidden!important;pointer-events:none!important}
#registerForm{min-width:0}
#registerForm .register-stepper{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin:0 0 14px!important}
#registerForm .register-stepper button{display:flex!important;width:100%!important;min-height:42px!important;margin:0!important}
#registerForm .register-step-note{margin:-6px 0 12px!important;color:#75665b!important;font-size:12px!important;text-align:center}
#registerForm .register-step{padding:14px 15px;border:1px solid rgba(151,108,42,.2);border-radius:16px;background:rgba(255,252,246,.58)}
#registerForm .register-step-head{margin-bottom:12px}
#registerForm .register-step-head h3{margin-top:0;color:#30251f!important;opacity:1!important;text-shadow:none!important}
#registerForm .form-group{margin-bottom:11px}
#registerForm .register-legal{margin-top:13px;padding:11px 14px}
#registerForm .register-consent-row{padding:8px 0;line-height:1.42}
#registerForm .register-consent-row--optional{padding:10px}
#registerForm .register-legal-help{margin-top:8px!important;line-height:1.42!important}
#registerForm .register-step-actions--single{grid-template-columns:1fr}
#registerForm .register-step-actions .primary-btn,#registerForm .register-step-actions .ghost-btn{margin:0}
#registerForm[data-register-step="2"] .location-action-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:8px!important}
.password-input-wrap{position:relative}
.password-input-wrap .input{padding-right:66px!important}
.password-toggle{position:absolute;top:50%;right:7px;transform:translateY(-50%);min-width:52px;height:34px;padding:0 8px;border:0;border-radius:9px;background:rgba(151,108,42,.1);color:#744514;font:inherit;font-size:12px;font-weight:750;cursor:pointer}
.password-toggle:hover,.password-toggle:focus-visible{background:rgba(151,108,42,.18);outline:2px solid rgba(151,108,42,.25);outline-offset:1px}
@media(min-width:901px) and (max-height:820px){
  html body #authScreen:has(#registerForm:not(.hidden)){padding:14px!important}
  html body #authScreen:has(#registerForm:not(.hidden)) .auth-layout,
  html body #authScreen:has(#registerForm:not(.hidden)) .auth-showcase{min-height:0!important}
  html body #authScreen:has(#registerForm:not(.hidden)) .auth-form-wrap{padding:20px 28px!important}
  html body #authScreen:has(#registerForm:not(.hidden)) .r45-auth-home-link{margin-bottom:8px!important}
  html body #authScreen:has(#registerForm:not(.hidden)) .auth-form-wrap h2{margin:3px 0!important}
  html body #authScreen:has(#registerForm:not(.hidden)) .auth-form-wrap>p{margin:6px 0 10px!important}
  html body #authScreen:has(#registerForm:not(.hidden)) .auth-tabs{min-height:50px!important;margin-bottom:12px!important}
  html body #authScreen:has(#registerForm:not(.hidden)) #registerForm .register-stepper{margin-bottom:10px!important}
  html body #authScreen:has(#registerForm:not(.hidden)) #registerForm .register-step-note{margin:-4px 0 8px!important}
  html body #authScreen:has(#registerForm:not(.hidden)) #registerForm .register-step{padding:10px 13px}
  html body #authScreen:has(#registerForm:not(.hidden)) #registerForm .register-step-head{margin-bottom:8px}
  html body #authScreen:has(#registerForm:not(.hidden)) #registerForm .form-group{margin-bottom:6px}
  html body #authScreen:has(#registerForm:not(.hidden)) #registerForm .input{min-height:44px!important;padding:10px 12px!important}
}
@media(max-width:600px){#registerForm .register-legal{padding:13px;margin-top:18px}#registerForm .register-consent-row{font-size:13px}.legal-document-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}html.atlas-v951 body #legalReaderModal{inset:0!important;width:100vw!important;max-width:none!important;padding:0!important}html.atlas-v951 body #legalReaderModal>#legalReaderCard{width:100%!important;height:100dvh!important;max-width:none!important;max-height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important}.legal-reader-head{padding:14px 15px 12px}.legal-reader-head p{font-size:12px}.legal-reader-footer{padding:10px 14px calc(10px + env(safe-area-inset-bottom))}.legal-reader-footer .primary-btn{width:100%;min-width:0}}
