﻿/* Login follows the landing page palette and typography. */
html body.admin-light #auth-view.auth-wrapper { background:#f7f9f5; font-family:Inter,system-ui,sans-serif; }
html body.admin-light #auth-view .auth-visual-side { flex:1.08; padding:clamp(55px,8vw,140px); border:0 !important; background:radial-gradient(circle at 85% 25%,#286b55 0,transparent 34%),linear-gradient(145deg,#12382f,#102f28 70%,#194c3c) !important; }
html body.admin-light #auth-view .auth-visual-overlay { opacity:.2; background-image:radial-gradient(rgba(212,248,222,.3) 1px,transparent 1px) !important; background-size:28px 28px; pointer-events:none; }
html body.admin-light #auth-view .auth-visual-content { max-width:590px; }
html body.admin-light #auth-view .logo-large { margin-bottom:clamp(80px,11vh,130px); }
html body.admin-light #auth-view .auth-visual-side .logo-wordmark-auth { width:190px; max-width:100%; height:auto; filter:brightness(0) invert(1); }
html body.admin-light #auth-view .auth-eyebrow { color:#96dfbd !important; letter-spacing:.16em; }
html body.admin-light #auth-view .auth-eyebrow::before { display:inline-block; width:8px; height:8px; margin-right:10px; border-radius:50%; background:#7ce0ae; box-shadow:0 0 0 5px #7ce0ae22; content:''; }
html body.admin-light #auth-view .auth-hero-text { margin:16px 0 25px; color:#f6fff8 !important; font-size:clamp(3.3rem,5.4vw,5.4rem); line-height:.98; letter-spacing:-.065em; }
html body.admin-light #auth-view .auth-hero-text em { color:#92dfb7; font-style:normal; }
html body.admin-light #auth-view .auth-subtext { max-width:410px; color:#bdd6c9 !important; line-height:1.7; }
html body.admin-light #auth-view .auth-visual-detail { display:flex; align-items:center; gap:12px; margin-top:55px; color:#a7d5ba; font-size:.6rem; font-weight:800; letter-spacing:.16em; }
html body.admin-light #auth-view .auth-visual-detail span { width:38px; height:1px; background:#7bc9a0; }
html body.admin-light #auth-view .auth-orbit { position:absolute; right:-155px; bottom:-180px; width:490px; height:490px; border:1px solid #92dfb735; border-radius:50%; pointer-events:none; }
html body.admin-light #auth-view .auth-orbit-two { right:-85px; bottom:-110px; width:350px; height:350px; border-color:#92dfb722; }
html body.admin-light #auth-view .auth-form-side { flex:.92; padding:40px; border:0 !important; background:#f7f9f5 !important; }
html body.admin-light #auth-view .auth-form-container { max-width:465px; }
html body.admin-light #auth-view .auth-card-new { padding:clamp(32px,4vw,52px); border:1px solid #e0ebe2 !important; border-radius:24px; background:#fff !important; box-shadow:0 24px 70px #1d483411 !important; }
html body.admin-light #auth-view .auth-card-new .badge { margin-bottom:24px; padding:8px 12px; border:0; background:#eaf6ef; color:#14795b; font-size:.62rem; letter-spacing:.08em; }
html body.admin-light #auth-view .auth-title { margin:0 0 12px; color:#102d28 !important; font-size:clamp(2rem,3vw,2.6rem); letter-spacing:-.055em; }
html body.admin-light #auth-view .auth-description { margin-bottom:32px; color:#687d72 !important; line-height:1.65; }
html body.admin-light #auth-view .input-group-new label { color:#3b564a; }
html body.admin-light #auth-view .input-group-new input { min-height:56px; border:1px solid #dce9df !important; border-radius:11px; background:#f9fbf9 !important; color:#183b30 !important; box-shadow:none; }
html body.admin-light #auth-view .input-group-new input:focus { border-color:#199c77 !important; outline:3px solid #199c7726; }
html body.admin-light #auth-view .auth-remember-option { color:#60786b; }
html body.admin-light #auth-view .auth-card-new .btn-full { display:flex; align-items:center; justify-content:center; gap:18px; min-height:56px; border:0; border-radius:100px; background:#123f33 !important; color:#fff !important; box-shadow:none !important; transition:background .2s ease,transform .2s ease; }
html body.admin-light #auth-view .auth-card-new .btn-full:hover { background:#168566 !important; transform:translateY(-2px); }
html body.admin-light #auth-view .auth-back-link { display:flex; justify-content:center; gap:8px; margin-top:25px; color:#53806b; font-size:.78rem; font-weight:700; text-decoration:none; }
html body.admin-light #auth-view .auth-back-link:hover { color:#087459; }
html body.admin-light #auth-view :is(button,a,input):focus-visible { outline:3px solid #41b58d; outline-offset:3px; }
@media (max-width:1100px) {
 html body.admin-light:has(#auth-view:not(.hidden)) { overflow:auto; }
 html body.admin-light #auth-view.auth-wrapper { height:auto; max-height:none; min-height:100svh; overflow:visible; }
 html body.admin-light #auth-view .auth-form-side { min-height:100svh; height:auto; padding:28px 18px; overflow:visible; }
 html body.admin-light #auth-view .auth-form-container { width:min(100%,430px); }
 html body.admin-light #auth-view .auth-card-new { max-height:none; overflow:visible; }
 html body.admin-light #auth-view .auth-mobile-brand { width:68px; height:68px; border-radius:20px; background:#e5f3e9; box-shadow:none; }
}
@media (max-width:430px) { html body.admin-light #auth-view .auth-card-new { padding:28px 22px; } html body.admin-light #auth-view .auth-description { margin-bottom:22px; } }
@media (prefers-reduced-motion:reduce) { html body.admin-light #auth-view .auth-visual-content, html body.admin-light #auth-view .auth-form-container { animation:none !important; } html body.admin-light #auth-view .auth-card-new .btn-full { transition:none; } }
/* A quieter login: fewer decorative elements and a clear form hierarchy. */
html body.admin-light #auth-view .auth-visual-side { flex:1; background:#e6f1e9 !important; }
html body.admin-light #auth-view .auth-visual-overlay,
html body.admin-light #auth-view .auth-orbit,
html body.admin-light #auth-view .auth-eyebrow,
html body.admin-light #auth-view .auth-visual-detail { display:none; }
html body.admin-light #auth-view .auth-visual-side .logo-wordmark-auth { width:155px; filter:brightness(0) saturate(100%) invert(17%) sepia(17%) saturate(1166%) hue-rotate(108deg) brightness(91%) !important; }
html body.admin-light #auth-view .logo-large { margin-bottom:clamp(70px,10vh,110px); }
html body.admin-light #auth-view .auth-hero-text { margin:0 0 22px; color:#173d31 !important; font-size:clamp(2.9rem,4.4vw,4.5rem); line-height:1.05; letter-spacing:-.055em; }
html body.admin-light #auth-view .auth-hero-text em { color:#268968; }
html body.admin-light #auth-view .auth-subtext { max-width:360px; color:#5f7d6d !important; font-size:1rem; }
html body.admin-light #auth-view .auth-form-side { flex:1; background:#fff !important; }
html body.admin-light #auth-view .auth-form-container { max-width:390px; }
html body.admin-light #auth-view .auth-card-new { padding:0; border:0 !important; border-radius:0; background:transparent !important; box-shadow:none !important; }
html body.admin-light #auth-view .auth-card-new .badge { display:none; }
html body.admin-light #auth-view .auth-title { font-size:clamp(2rem,2.7vw,2.5rem); }
html body.admin-light #auth-view .auth-description { margin-bottom:32px; font-size:.94rem; }
html body.admin-light #auth-view .input-group-new input { background:#fff !important; border-color:#dce6df !important; }
html body.admin-light #auth-view .auth-card-new .btn-full { border-radius:10px; }
html body.admin-light #auth-view .auth-back-link { justify-content:flex-start; margin-top:27px; color:#6c8377; font-weight:600; }
@media (max-width:1100px) {
 html body.admin-light #auth-view .auth-form-side { background:#fff !important; }
 html body.admin-light #auth-view .auth-form-container { width:min(100%,390px); }
 html body.admin-light #auth-view .auth-card-new { padding:0; }
 html body.admin-light #auth-view .auth-mobile-brand { margin:0 0 32px; width:54px; height:54px; padding:6px; border-radius:15px; }
}
@media (max-width:430px) { html body.admin-light #auth-view .auth-card-new { padding:0; } html body.admin-light #auth-view .auth-form-side { padding:32px 24px; } }
html body.admin-light #auth-view .auth-password-help { display:flex; align-items:center; gap:8px; margin-top:14px; color:#667b70; font-size:.78rem; }
html body.admin-light #auth-view .auth-request-access { margin:28px 0 0; padding-top:22px; border-top:1px solid #e8efe9; color:#6e8075; font-size:.8rem; line-height:1.6; }
html body.admin-light #auth-view .auth-request-access a { margin-left:4px; color:#14795b; font-weight:700; text-decoration:none; }
html body.admin-light #auth-view .auth-request-access a:hover { text-decoration:underline; }
html body.admin-light #auth-view .auth-login-options { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 16px; }
html body.admin-light #auth-view .auth-login-options .auth-remember-option, html body.admin-light #auth-view .auth-login-options .auth-password-help { margin:0; }
html body.admin-light:has(#register-form:not(.hidden)) #auth-view .auth-form-container { max-width:540px; }
html body.admin-light:has(#register-form:not(.hidden)) #auth-view .auth-form-side { align-items:flex-start; overflow-y:auto; padding-top:48px; padding-bottom:48px; }
html body.admin-light #auth-view .auth-register-kicker { display:inline-block; margin-bottom:14px; color:#178463; font-size:.7rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
html body.admin-light #auth-view .auth-register .auth-description { margin-bottom:24px; }
html body.admin-light #auth-view .auth-register-grid { display:grid; grid-template-columns:1fr 1fr; gap:0 16px; }
html body.admin-light #auth-view .auth-register-grid .input-group-new { min-width:0; margin-bottom:15px; }
html body.admin-light #auth-view .auth-register-wide { grid-column:1 / -1; }
html body.admin-light #auth-view .auth-register select { width:100%; min-height:56px; padding:0 14px; border:1px solid #dce9df; border-radius:11px; background:#fff; color:#183b30; font:inherit; }
html body.admin-light #auth-view .auth-register .btn-full { margin-top:12px; }
html body.admin-light #auth-view .auth-register-note { margin:14px 0 0; color:#6b8073; font-size:.75rem; text-align:center; }
html body.admin-light #auth-view .auth-register .auth-request-access { margin-top:18px; padding-top:16px; }
@media(max-width:1100px) { html body.admin-light:has(#register-form:not(.hidden)) #auth-view .auth-form-side { min-height:100svh; height:auto; align-items:flex-start; } html body.admin-light:has(#register-form:not(.hidden)) #auth-view .auth-form-container { width:min(100%,540px); } }
@media(max-width:540px) { html body.admin-light #auth-view .auth-register-grid { grid-template-columns:1fr; } html body.admin-light #auth-view .auth-register-wide { grid-column:auto; } }
/* Registration has more fields than login and must remain scrollable at all sizes. */
html body.admin-light:has(#register-form:not(.hidden)) { height:auto; min-height:100%; overflow-y:auto; }
html body.admin-light:has(#register-form:not(.hidden)) #auth-view.auth-wrapper { height:auto; min-height:100svh; max-height:none; overflow:visible; }
/* Keep the illustration still and scroll only the form area. */
html body.admin-light:has(#auth-view:not(.hidden)) { height:100%; overflow:hidden; }
html body.admin-light:has(#auth-view:not(.hidden)) #auth-view.auth-wrapper { height:100svh; min-height:100svh; max-height:100svh; overflow:hidden; }
html body.admin-light:has(#auth-view:not(.hidden)) #auth-view .auth-form-side { height:100%; min-height:0; overflow-y:auto; overscroll-behavior:contain; }
html body.admin-light:has(#auth-view:not(.hidden)) #auth-view .auth-form-container { width:min(100%,390px); max-width:390px; }
html body.admin-light:has(#register-form:not(.hidden)) #auth-view .auth-form-side { align-items:flex-start; }
@media(max-width:1100px) { html body.admin-light:has(#auth-view:not(.hidden)) #auth-view .auth-form-side { min-height:0; height:100%; overflow-y:auto; } }
/* Wider fields within the same fixed split layout. */
html body.admin-light:has(#auth-view:not(.hidden)) #auth-view .auth-visual-side,
html body.admin-light:has(#auth-view:not(.hidden)) #auth-view .auth-form-side { flex:1 1 0; min-width:0; }
html body.admin-light:has(#register-form:not(.hidden)) #auth-view .auth-form-container { width:min(100%,540px); max-width:540px; }
html body.admin-light #auth-view .signup-business-picker { position:relative; width:100%; }
html body.admin-light #auth-view .signup-business-trigger { display:flex; width:100%; min-height:56px; align-items:center; justify-content:space-between; gap:12px; padding:0 16px; border:1px solid #dce9df; border-radius:11px; background:#fff; color:#81968a; font:inherit; text-align:left; cursor:pointer; transition:border-color .2s ease,box-shadow .2s ease; }
html body.admin-light #auth-view .signup-business-trigger.has-value { color:#183b30; }
html body.admin-light #auth-view .signup-business-trigger:hover { border-color:#a5cdb5; }
html body.admin-light #auth-view .signup-business-trigger:focus-visible,
html body.admin-light #auth-view .signup-business-trigger[aria-expanded="true"],
html body.admin-light #auth-view .signup-business-trigger[aria-invalid="true"] { outline:none; border-color:#199c77; box-shadow:0 0 0 3px #199c7726; }
html body.admin-light #auth-view .signup-business-trigger svg { flex:none; width:18px; height:18px; fill:none; stroke:#648475; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; transition:transform .2s ease; }
html body.admin-light #auth-view .signup-business-trigger[aria-expanded="true"] svg { transform:rotate(180deg); }
html body.admin-light #auth-view .signup-business-menu { position:absolute; z-index:20; top:calc(100% + 7px); right:0; left:0; display:grid; gap:2px; max-height:240px; overflow-y:auto; padding:6px; border:1px solid #dce9df; border-radius:12px; background:#fff; box-shadow:0 16px 35px rgba(17,55,37,.14); }
html body.admin-light #auth-view .signup-business-menu[hidden] { display:none; }
html body.admin-light #auth-view .signup-business-menu button { width:100%; padding:10px 12px; border:0; border-radius:8px; background:transparent; color:#29483c; font:inherit; font-size:.9rem; text-align:left; cursor:pointer; }
html body.admin-light #auth-view .signup-business-menu button:hover,
html body.admin-light #auth-view .signup-business-menu button:focus-visible,
html body.admin-light #auth-view .signup-business-menu button[aria-selected="true"] { outline:none; background:#eaf6ef; color:#087459; }
@media(max-width:540px) { html body.admin-light:has(#register-form:not(.hidden)) #auth-view .auth-form-container { width:100%; } }
@media(prefers-reduced-motion:reduce) { html body.admin-light #auth-view .signup-business-trigger, html body.admin-light #auth-view .signup-business-trigger svg { transition:none; } }
/* Keep scrolling available without displaying scrollbars. */
html body.admin-light #auth-view .auth-form-side,
html body.admin-light #auth-view .signup-business-menu { scrollbar-width:none; -ms-overflow-style:none; }
html body.admin-light #auth-view .auth-form-side::-webkit-scrollbar,
html body.admin-light #auth-view .signup-business-menu::-webkit-scrollbar { display:none; }
/* Mouse interaction stays visually quiet; keyboard focus remains visible. */
html body.admin-light #auth-view .input-group-new input:focus:not(:focus-visible) { outline:none; border-color:#dce9df !important; box-shadow:none; }
html body.admin-light #auth-view .signup-business-trigger[aria-expanded="true"]:not(:focus-visible) { outline:none; border-color:#dce9df; box-shadow:none; }
html body.admin-light #auth-view .signup-business-menu button:hover,
html body.admin-light #auth-view .signup-business-menu button[aria-selected="true"] { background:transparent; color:#29483c; }
html body.admin-light #auth-view .signup-business-menu button:focus-visible { outline:2px solid #70b596; outline-offset:-2px; background:transparent; color:#29483c; }
html body.admin-light #auth-view .auth-password-help a { color:#60786b; text-decoration:none; }
html body.admin-light #auth-view .auth-password-help a:hover { color:#087459; text-decoration:underline; }
html body.admin-light #auth-view .auth-recovery-note { margin:16px 0 0; color:#6b8073; font-size:.78rem; line-height:1.5; }
/* A little more structure for the login brand panel. */
html body.admin-light #auth-view .auth-visual-side { background:linear-gradient(145deg,#eef7f0 0%,#e1f0e6 100%) !important; }
html body.admin-light #auth-view .auth-visual-content { width:100%; max-width:475px; }
html body.admin-light #auth-view .logo-large { margin-bottom:clamp(76px,10vh,112px); }
html body.admin-light #auth-view .auth-eyebrow { display:inline-flex; align-items:center; gap:9px; margin-bottom:20px; color:#398463 !important; font-size:.62rem; letter-spacing:.13em; }
html body.admin-light #auth-view .auth-eyebrow::before { width:7px; height:7px; margin:0; background:#37a676; box-shadow:0 0 0 4px rgba(55,166,118,.1); }
html body.admin-light #auth-view .auth-hero-text { margin:0 0 22px; font-size:clamp(2.9rem,4.2vw,4.4rem); line-height:1.02; }
html body.admin-light #auth-view .auth-subtext { max-width:365px; line-height:1.75; }
html body.admin-light #auth-view .auth-visual-detail { display:flex; flex-wrap:wrap; gap:10px; margin-top:42px; color:#477361; font-size:.7rem; font-weight:600; letter-spacing:0; }
html body.admin-light #auth-view .auth-visual-detail span { display:inline-flex; align-items:center; width:auto; height:auto; padding:7px 12px; border:1px solid rgba(60,137,94,.16); border-radius:999px; background:rgba(255,255,255,.42); }
/* Softer light background for login and recovery. */
html body.admin-light #auth-view .auth-form-side { background:#f0f5f0 !important; }
