/* =====================================================================
   Login pages v2 (enterprise glass card + motion). 2026-11-16.
   Applies ONLY to #content.login_content.lgx (class added by login_v2.js),
   so without JavaScript every login page keeps its previous look.
   Pages: login, merchant_login, forgot_password, signup, reset_password,
   reset, user_terms (+ vpages/login, vpages/forgot_password, vpages/signup).
   ===================================================================== */
#content.login_content.lgx{--brand:#2563eb;--brand-d:#1d4ed8;--ring:rgba(37,99,235,.28);--ink:#0f172a;--mut:#64748b;--line:#cbd5e1;
	position:relative;overflow:hidden;background-image:none!important;background-color:#cfd8e6;
	font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);isolation:isolate}
#content.login_content.lgx[data-brand="smartserva"]{--brand:#0e7490;--brand-d:#0b5e75;--ring:rgba(14,116,144,.28)}
#content.login_content.lgx[data-brand="propserva"]{--brand:#0f766e;--brand-d:#0b5f58;--ring:rgba(15,118,110,.28)}
#content.login_content.lgx[data-brand="sportserva"]{--brand:#16a34a;--brand-d:#12813b;--ring:rgba(22,163,74,.28)}

/* background layers (parallax) */
.lgx .lgx_bg{position:fixed;inset:-3%;z-index:-2;background:center/cover no-repeat;transform:translate3d(var(--bx,0px),var(--by,0px),0) scale(1.03);transition:transform .7s cubic-bezier(.2,.7,.2,1);will-change:transform}
.lgx .lgx_vig{position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at center,rgba(255,255,255,0) 45%,rgba(15,23,42,.14) 100%)}
.lgx .lgx_motes{position:fixed;inset:0;z-index:-1;pointer-events:none;transform:translate3d(calc(var(--bx,0px)*1.8),calc(var(--by,0px)*1.8),0);transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.lgx .lgx_motes i{position:absolute;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.95),rgba(255,255,255,0) 70%);opacity:0;animation:lgx_mote var(--d,14s) ease-in-out infinite}
@keyframes lgx_mote{0%{transform:translateY(20px) scale(.6);opacity:0}25%{opacity:.7}75%{opacity:.45}100%{transform:translateY(-120px) scale(1);opacity:0}}

/* layout */
#content.login_content.lgx > .page_c{display:flex;flex-direction:column;align-items:center}
.lgx .login_logo{display:none!important}
.lgx .login_box{position:relative;width:420px!important;max-width:calc(100% - 4px);margin:clamp(6px,1.6vh,18px) auto;padding:0!important;box-sizing:border-box;
	background:rgba(255,255,255,.70)!important;-webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%);
	border:1px solid rgba(255,255,255,.65);border-radius:20px;box-shadow:0 1px 2px rgba(15,23,42,.06),0 24px 60px -12px rgba(15,23,42,.35);
	text-align:left;isolation:isolate;transform:perspective(1200px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .35s cubic-bezier(.2,.7,.2,1);animation:lgx_rise .8s cubic-bezier(.2,.8,.2,1) both}
@keyframes lgx_rise{from{transform:translateY(14px) scale(.985)}to{transform:none}}
.lgx .login_box::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;background:radial-gradient(360px circle at var(--sx,50%) var(--sy,0%),rgba(255,255,255,.75),rgba(255,255,255,0) 60%);opacity:var(--so,.5);transition:opacity .3s}
.lgx .login_box::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1.5px;pointer-events:none;background:conic-gradient(from var(--lgx_a,0deg),transparent 0 70%,var(--brand) 82%,#fff 88%,transparent 96%);
	-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.7;animation:lgx_spin 7s linear infinite}
@property --lgx_a{syntax:'<angle>';initial-value:0deg;inherits:false}
@keyframes lgx_spin{to{--lgx_a:360deg}}
.lgx .login_box_c, .lgx .login_box.lgx_solo{background:transparent!important;box-shadow:none;border-radius:0;max-width:none;width:100%!important;display:block!important;padding:clamp(18px,3vh,28px) 30px clamp(16px,2.6vh,22px)!important;box-sizing:border-box}
@media (max-width:420px){.lgx .login_box_c, .lgx .login_box.lgx_solo{padding-left:20px!important;padding-right:20px!important}}

/* header: logo + Client name + About */
.lgx .lgx_hd{display:flex;align-items:center;gap:12px;margin:0 0 clamp(12px,2.2vh,20px)}
.lgx .lgx_lo{width:44px;height:44px;border-radius:12px;flex:0 0 44px;object-fit:cover;background:#000;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.lgx .lgx_org{min-width:0;flex:1;line-height:1.3}
.lgx .lgx_org b, .lgx .lgx_org .loginbox_co_nm{display:block;font-size:15px;font-weight:600;color:var(--ink);margin:0!important;text-align:left;white-space:normal}
.lgx .lgx_org span{display:block;font-size:12.5px;color:var(--mut)}
.lgx .lgx_org .loginbox_co_nm br + *,.lgx .lgx_org .loginbox_co_nm{font-size:15px}
/* main brand login pages (no Client in the URL): free-standing brand icon, no dark tile */
/* Uploaded Client / Management Body / Project logos: show as-is, no tile (2026-11-18) */
.lgx .lgx_lo.lgx_custom{background:transparent!important;box-shadow:none!important;border-radius:0!important;width:auto!important;max-width:min(300px,100%);flex:0 0 auto!important;object-fit:contain}
.lgx .lgx_lo.lgx_icon{background:transparent!important;box-shadow:none;border-radius:0!important;object-fit:contain;filter:drop-shadow(0 3px 6px rgba(15,23,42,.2))}
/* title in the header: "Log In" big, Client name small grey under it */
.lgx .lgx_hd_t .lgx_lo{width:48px;height:48px;flex-basis:48px}
.lgx .lgx_hd_t .login_logo_w{font-size:22px;margin:0 0 2px;line-height:1.15}
.lgx .lgx_hd_t .lgx_org b, .lgx .lgx_hd_t .lgx_org .loginbox_co_nm{font-size:13px;font-weight:500!important;color:var(--mut)!important}
.lgx .lgx_hd_t{margin-bottom:clamp(14px,2.4vh,22px)}
.lgx .s_aboutus{position:static;width:34px!important;height:34px;flex:0 0 34px;border-radius:10px;border:1px solid #e2e8f0;background:#fff center/18px no-repeat!important;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23475569' d='M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'/%3E%3C/svg%3E")!important;cursor:pointer;margin:0}
.lgx .s_aboutus:hover{background-color:#f8fafc!important}

/* title */
.lgx .login_logo_w{font-size:clamp(20px,3vh,24px);font-weight:700!important;letter-spacing:-.02em;text-align:left;margin:0 0 clamp(10px,2vh,18px);color:var(--ink)!important;line-height:1.2;background:none!important;padding:0!important}
.lgx .login_logo_w .lgx_ch{font:inherit!important;color:inherit;display:inline-block;animation:lgx_ch .6s cubic-bezier(.2,.8,.2,1) both}
@keyframes lgx_ch{from{transform:translateY(.35em);color:var(--brand)}to{transform:none}}

/* fields */
.lgx .in_r{position:relative;margin:0 0 clamp(10px,1.6vh,14px)!important;text-align:left}
.lgx .lgx_lab{display:block;font-size:13px;font-weight:600;color:#334155;margin:0 0 6px;line-height:1.2}
.lgx .lgx_ip{position:relative;display:block}
.lgx .lgx_ic{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#94a3b8;pointer-events:none;z-index:1}
#content.lgx .login_box input[type="text"], #content.lgx .login_box input[type="email"], #content.lgx .login_box input[type="password"], #content.lgx .login_box input[type="tel"], #content.lgx .login_box select{
	height:46px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:#fff!important;font-size:15px!important;color:var(--ink)!important;
	padding:0 14px!important;box-shadow:none!important;width:100%!important;box-sizing:border-box!important;transition:border-color .15s,box-shadow .2s;-webkit-appearance:none;appearance:none}
#content.lgx .login_box select{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2364748b' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") no-repeat right 10px center/20px!important;padding-right:36px!important}
#content.lgx .login_box .lgx_ip.has_ic input{padding-left:40px!important}
#content.lgx .login_box .lgx_ip.has_eye input{padding-right:46px!important}
#content.lgx .login_box input:focus, #content.lgx .login_box select:focus{border-color:var(--brand)!important;box-shadow:0 0 0 4px var(--ring)!important;outline:none}
#content.lgx .login_box input::placeholder{color:#94a3b8}
.lgx .lgx_eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;background:none;border-radius:8px;color:#64748b;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;z-index:1}
.lgx .lgx_eye:hover{background:#f1f5f9}
.lgx .lgx_eye:focus-visible,.lgx .lgx_rf:focus-visible,.lgx .longbtn:focus-visible{outline:3px solid var(--ring);outline-offset:2px}
.lgx .lgx_caps{display:none;font-size:12px;color:#b45309;margin-top:6px}
.lgx .lgx_caps.on{display:block}

/* security code row */
.lgx .capt_c{display:block!important}
.lgx .lgx_row{display:flex!important;gap:8px;align-items:stretch}
.lgx .lgx_row > .lgx_ip{flex:1 1 auto;min-width:0}
#content.lgx .lgx_row input{width:100%!important;letter-spacing:normal;vertical-align:middle!important}
/* wide letter-spacing only for the code the person types, never for the placeholder ("Code" must not read "C o d e") */
#content.lgx .lgx_row input:not(:placeholder-shown){letter-spacing:.12em}
#content.lgx .login_box input::placeholder{letter-spacing:normal;text-overflow:ellipsis}
#content.lgx .login_box input{text-overflow:ellipsis}

/* field names: the icon + placeholder show them; labels stay for screen readers only (all pages) */
.lgx .lgx_lab{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0}
/* long forms (sign up): tighter gaps */
.lgx.lgx_dense .lgx_lab{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;margin:0}
.lgx.lgx_dense .in_r{margin-bottom:clamp(8px,1.2vh,12px)!important}
.lgx.lgx_dense .lgx_hd{margin-bottom:clamp(8px,1.6vh,16px)}
@media (max-height:680px){ .lgx .lgx_sec{display:none} }
@media (max-height:660px){
	.lgx.lgx_dense .lgx_lo{width:34px;height:34px;flex-basis:34px;border-radius:10px}
	.lgx.lgx_dense .lgx_hd{margin-bottom:8px}
	.lgx.lgx_dense .login_logo_w{margin-bottom:8px!important}
	.lgx.lgx_dense .in_r{margin-bottom:7px!important}
}
.lgx .capt_img{flex:0 0 auto;width:124px!important;height:46px;border-radius:12px;border:1px solid var(--line)!important;background:#fff;object-fit:contain;cursor:pointer;margin:0;vertical-align:top}
.lgx .lgx_rf{flex:0 0 46px;width:46px;height:46px;border-radius:12px;border:1px solid var(--line);background:#fff;color:#475569;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.lgx .lgx_rf:hover{background:#f8fafc}
@media (max-width:380px){.lgx .capt_img{width:100px!important}}

/* primary button (div.longbtn or button) */
#content.lgx .longbtn, #content.lgx button.longbtn{position:relative;overflow:hidden;display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%!important;height:48px;line-height:48px;padding:0 16px!important;
	border:0!important;border-radius:12px;background:linear-gradient(180deg,var(--brand),var(--brand-d))!important;color:#fff!important;font-size:15.5px;font-weight:600!important;
	box-shadow:0 1px 0 rgba(255,255,255,.25) inset,0 8px 20px -6px var(--ring);cursor:pointer;margin:6px 0 0!important;box-sizing:border-box;text-align:center;transition:filter .15s,transform .1s}
#content.lgx .longbtn:hover{filter:brightness(1.06)}
#content.lgx .longbtn:active{transform:translateY(1px)}
#content.lgx .longbtn::after{content:"";position:absolute;top:0;bottom:0;width:40%;left:-60%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-18deg);animation:lgx_shine 4.5s ease-in-out 1.2s infinite;pointer-events:none}
@keyframes lgx_shine{0%,70%{left:-60%}100%{left:130%}}
#content.lgx .longbtn.lgx_busy{cursor:progress;filter:none;opacity:.9}
.lgx .lgx_spin{width:18px;height:18px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:lgx_sp .8s linear infinite;display:inline-block}
@keyframes lgx_sp{to{transform:rotate(360deg)}}

/* links + navigation rows */
.lgx .lbox_nav{font-size:14px!important;color:#475569!important;text-align:center;margin:clamp(10px,1.8vh,16px) 0 0!important;line-height:1.4}
.lgx .lbox_nav.tar{text-align:right!important;margin-top:10px!important;font-size:13px!important}
.lgx .lbox_nav a, .lgx .login_box a{color:var(--brand)!important;font-weight:600;text-decoration:none}
.lgx .lbox_nav a:hover, .lgx .login_box a:hover{text-decoration:underline}
.lgx .lgx_sec{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;color:var(--mut);margin:clamp(10px,1.8vh,16px) 0 0;text-align:center;line-height:1.35}
.lgx .lgx_sec svg{flex:0 0 14px}

/* Sign Up ...... Forgot Password */
#content.lgx .lbox_nav.lgx_links{display:flex!important;justify-content:space-between;align-items:center;gap:12px;margin:clamp(12px,2vh,16px) 0 0!important;font-size:14px!important;text-align:left!important}
#content.lgx .lbox_nav.lgx_links a{font-size:13.5px!important;font-weight:500!important;letter-spacing:0;color:var(--brand)!important;opacity:.92;padding:2px 0;text-decoration:none}
#content.lgx .lbox_nav{font-size:13.5px!important}
#content.lgx .lbox_nav a{font-size:13.5px!important;font-weight:500!important;text-decoration:none}
#content.lgx .lbox_nav a:hover{text-decoration:underline;text-underline-offset:3px}
#content.lgx .lbox_nav.lgx_links a:hover{opacity:1;text-decoration:underline;text-underline-offset:3px}

/* messages already on the pages */
.lgx .ul_err{background:#fef2f2!important;color:#991b1b!important;border:1px solid #fecaca;border-radius:12px!important}
.lgx .ul_ok{background:#f0fdf4!important;color:#166534!important;border:1px solid #bbf7d0;border-radius:12px!important}
.lgx .ul_hint, .lgx .ul_lead{color:var(--mut)!important;font-size:13.5px!important;text-align:left!important}
.lgx #cookie_warn{background:#fffbeb!important;color:#92400e!important;border:1px solid #fde68a!important;border-radius:12px!important}

/* account picker (shared /login) */
.lgx .ul_card{border:1px solid #e2e8f0!important;border-radius:14px!important;background:#fff!important;padding:12px!important;transition:border-color .15s,box-shadow .15s}
.lgx .ul_card:not([disabled]):hover{border-color:var(--brand)!important;box-shadow:0 0 0 3px var(--ring)!important}
.lgx .ul_ic{border-radius:12px!important;background:#eef2ff!important;color:var(--brand)!important}
.lgx .ul_role{color:var(--brand)!important}

/* send-code links, ticks (moved into .lgx_ip by the script) */
.lgx .lgx_ip .oktick,.lgx .lgx_ip .nook{position:absolute!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;right:12px!important;margin:0!important;width:18px!important;height:18px!important;z-index:1}
.lgx .lgx_ip.has_eye .oktick,.lgx .lgx_ip.has_eye .nook{right:46px!important}
#content.lgx .login_box .lgx_ip.has_tick input{padding-right:40px!important}
#content.lgx .login_box .lgx_ip.has_tick.has_eye input{padding-right:72px!important}
/* "Send Code" + countdown: small pill button inside the field, vertically centred */
.lgx .lgx_ip .send_code,.lgx .lgx_ip .code_cd{position:absolute!important;top:50%!important;bottom:auto!important;right:7px!important;transform:translateY(-50%)!important;margin:0!important;
	height:32px!important;line-height:32px!important;padding:0 12px!important;border-radius:9px!important;font-size:13px!important;font-weight:600!important;white-space:nowrap;box-sizing:border-box;z-index:1}
.lgx .lgx_ip .send_code{background:var(--ring)!important;color:var(--brand-d)!important;cursor:pointer;transition:filter .15s}
.lgx .lgx_ip .send_code:hover{filter:brightness(.95)}
.lgx .lgx_ip .code_cd{background:#f1f5f9!important;color:#475569!important;min-width:44px;text-align:center}
#content.lgx .login_box .lgx_ip.has_send input{padding-right:116px!important}
.lgx .send_code{color:var(--brand)!important;font-weight:600}

/* footer (moved below the card by the script) */
.lgx .footer_terms{display:flex!important;justify-content:center;padding:clamp(8px,1.6vh,14px) 0 0!important;margin:0;background:none!important}
.lgx .s_terms{display:inline-flex!important;gap:6px;align-items:center;background:rgba(15,23,42,.55)!important;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:999px;padding:6px 14px!important;font-size:12px;color:rgba(255,255,255,.6)!important}
.lgx .s_terms > span{color:#fff!important;cursor:pointer}
.lgx .box_powered{margin-top:clamp(4px,1vh,10px);padding:0!important}
.lgx .box_powered span{background:none!important;color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.45);font-size:12px;padding:0!important}
.lgx .box_powered a{color:#fff!important;font-weight:600}

/* footer pinned to the bottom-centre of the viewport (not right under the card).
   Long forms (sign up) and short screens fall back to the normal flow so nothing overlaps the card. */
#content.login_content.lgx:not(.lgx_dense) .footer_terms{position:fixed;left:0;right:0;bottom:34px;z-index:5;padding:0 12px!important;pointer-events:none}
#content.login_content.lgx:not(.lgx_dense) .footer_terms .s_terms{pointer-events:auto;flex-wrap:wrap;justify-content:center;max-width:calc(100vw - 24px)}
#content.login_content.lgx:not(.lgx_dense) .box_powered{position:fixed;left:0;right:0;bottom:12px;z-index:5;margin:0!important;text-align:center;pointer-events:none}
#content.login_content.lgx:not(.lgx_dense) .box_powered a{pointer-events:auto}
@media (max-height:700px){
	#content.login_content.lgx .footer_terms,#content.login_content.lgx .box_powered{position:static!important}
	#content.login_content.lgx .box_powered{text-align:center;margin-bottom:12px!important}
}

/* short screens: tighter fields */
@media (max-height:700px){
	#content.lgx .login_box input[type="text"], #content.lgx .login_box input[type="email"], #content.lgx .login_box input[type="password"], #content.lgx .login_box input[type="tel"], #content.lgx .login_box select{height:42px!important}
	.lgx .capt_img,.lgx .lgx_rf{height:42px!important}
	#content.lgx .longbtn{height:44px!important;line-height:44px!important}
	.lgx .lgx_lab{margin-bottom:4px}
}

/* no motion for people who ask for it */
@media (prefers-reduced-motion:reduce){
	.lgx .lgx_bg,.lgx .lgx_motes,.lgx .login_box,.lgx .login_logo_w .lgx_ch,#content.lgx .longbtn::after,.lgx .login_box::after{animation:none!important;transform:none!important;transition:none!important}
	.lgx .lgx_motes{display:none}
	.lgx .login_box::after{opacity:0}
}

/* Text inside the buttons we replace while loading ("Signing in...") must follow the button, not the old global span/div/a rule (12px black) */
#content.lgx .longbtn *{font:inherit!important;color:inherit!important;line-height:inherit}
#content.lgx .longbtn .lgx_spin{width:18px;height:18px;flex:0 0 18px}
#content.lgx .longbtn [role="status"]{font-size:15.5px!important;font-weight:600!important;color:#fff!important}
#content.lgx .longbtn.lgx_busy{color:#fff!important}

/* header layout: logo centred at the top, page title + Client name centred under it, About button pinned top-right */
.lgx .lgx_hd{position:relative;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center}
/* logo: fixed HEIGHT, width follows the picture's own ratio (square, wide or tall uploads all fit, never stretched or cropped) */
.lgx .lgx_hd .lgx_lo,.lgx .lgx_hd_t .lgx_lo{height:80px;width:auto;max-width:min(300px,100%);flex:0 0 auto;object-fit:contain;border-radius:16px}
.lgx .lgx_hd .lgx_org{flex:0 0 auto;width:100%;text-align:center}
.lgx .lgx_hd .login_logo_w,.lgx .lgx_hd_t .login_logo_w{text-align:center;margin:0 0 5px;line-height:1.25}
.lgx .lgx_hd .lgx_org b,.lgx .lgx_hd .lgx_org span,.lgx .lgx_hd .lgx_org .loginbox_co_nm{text-align:center!important}
.lgx .lgx_hd .s_aboutus{position:absolute!important;top:0;right:0}
/* the page title ("Log In", "Sign Up", ...) is plain centred text ABOVE the card (outside it), on every screen height; the Client name sits under the logo */
.lgx .lgx_hd{position:static}
.lgx .lgx_hd .login_logo_w,.lgx .lgx_hd_t .login_logo_w{position:absolute;left:0;right:0;bottom:calc(100% + 16px);margin:0!important;padding:0!important;text-align:center;white-space:nowrap;
	font-size:28px!important;font-weight:700!important;color:#fff!important;text-shadow:0 1px 3px rgba(15,23,42,.55),0 2px 18px rgba(15,23,42,.45)}
.lgx .lgx_hd .login_logo_w .lgx_ch{color:#fff!important}
.lgx .lgx_hd .s_aboutus{top:18px;right:18px}
/* reserve room above the card for the title */
#content.login_content.lgx .login_box{margin-top:clamp(56px,9vh,72px)!important}
@media (max-height:700px){
	.lgx .lgx_hd{gap:6px}
	.lgx .lgx_hd .lgx_lo,.lgx .lgx_hd_t .lgx_lo{height:56px;width:auto}
}

.ul_note{background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe;border-radius:12px;padding:10px 12px;margin:0 0 12px;font-size:14px;line-height:1.4;text-align:left}

/* footer links row (Sign Up / Forgot Password): inset both ends a little from the input edges (2026-11-18) */
#content.lgx .lbox_nav.lgx_links{padding:0 10px!important;box-sizing:border-box}
@media (max-width:360px){#content.lgx .lbox_nav.lgx_links{padding:0 6px!important}}

/* =====================================================================
   Login box themes (2026-11-18). Chosen in Client Console > Settings > Login Box Theme
   (system_config.login_theme). login_v2.js adds .lgx_th + .lgx_th_<key> to #content.lgx;
   no class = 'frost' = the original look above, unchanged.
   ===================================================================== */
#content.login_content.lgx.lgx_th .login_box{background:var(--t-bg)!important;-webkit-backdrop-filter:var(--t-blur);backdrop-filter:var(--t-blur);border:1px solid var(--t-bd)!important}
#content.lgx.lgx_th .login_box::before{opacity:var(--t-glow,.5)}
#content.lgx.lgx_th .lgx_lab{color:var(--ink)}
#content.lgx.lgx_th .lgx_ic, #content.lgx.lgx_th .lgx_eye{color:var(--t-ic)}
#content.lgx.lgx_th .lgx_eye:hover{background:var(--t-hov)}
#content.lgx.lgx_th .login_box input[type="text"], #content.lgx.lgx_th .login_box input[type="email"], #content.lgx.lgx_th .login_box input[type="password"], #content.lgx.lgx_th .login_box input[type="tel"], #content.lgx.lgx_th .login_box select{background-color:var(--t-in)!important;color:var(--t-intx)!important;border-color:var(--line)!important}
#content.lgx.lgx_th .login_box input:focus, #content.lgx.lgx_th .login_box select:focus{border-color:var(--brand)!important}
#content.lgx.lgx_th .login_box input::placeholder{color:var(--t-ph);opacity:1}
#content.lgx.lgx_th .login_box select option{color:#0f172a;background:#fff}
#content.lgx.lgx_th .lgx_rf{background:var(--t-in);color:var(--t-ic);border-color:var(--line)}
#content.lgx.lgx_th .lgx_rf:hover{background:var(--t-hov)}
#content.lgx.lgx_th .longbtn, #content.lgx.lgx_th button.longbtn, #content.lgx.lgx_th .longbtn.lgx_busy, #content.lgx.lgx_th .longbtn [role="status"]{color:var(--t-btx)!important}
#content.lgx.lgx_th .lbox_nav{color:var(--mut)!important}
#content.lgx.lgx_th .lbox_nav a, #content.lgx.lgx_th .login_box a, #content.lgx.lgx_th .lbox_nav.lgx_links a{color:var(--t-lnk)!important;opacity:1}
#content.lgx.lgx_th .lgx_caps{color:var(--t-warn,#b45309)}
#content.lgx.lgx_th .lgx_ip .code_cd{background:var(--t-in)!important;color:var(--mut)!important}
#content.lgx.lgx_th .lgx_ip .send_code{color:var(--t-lnk)!important}
#content.lgx.lgx_th .ul_card{background:var(--t-in)!important;border-color:var(--line)!important;color:var(--ink)}

/* Midnight: dark slate glass, blue accents. ink #f1f5f9 / mut #cbd5e1 on ~#0f172a > 10:1; button #60a5fa with #0b1220 text 7.9:1 */
#content.login_content.lgx.lgx_th_midnight{--t-bg:rgba(15,23,42,.80);--t-blur:blur(18px) saturate(140%);--t-bd:rgba(148,163,184,.28);--t-glow:.08;
	--ink:#f1f5f9;--mut:#cbd5e1;--line:#475569;--t-ic:#94a3b8;--t-hov:rgba(148,163,184,.16);--t-in:rgba(2,6,23,.55);--t-intx:#f8fafc;--t-ph:#94a3b8;
	--brand:#60a5fa;--brand-d:#3b82f6;--ring:rgba(96,165,250,.35);--t-btx:#0b1220;--t-lnk:#93c5fd;--t-warn:#fcd34d}

/* Champagne Gold (for gold / light transparent logos on warm photos, e.g. Pavilion Mont' Kiara).
   Box ~#1c140c: logo gold #c9a25a 7.6:1, ink #f6ecd9 15:1, mut #d9c7a3 10:1, links #e3c48a 9.8:1; button #d4af6a with #1c140c text 8.6:1 */
#content.login_content.lgx.lgx_th_gold{--t-bg:rgba(28,20,12,.80);--t-blur:blur(16px) saturate(120%);--t-bd:rgba(201,162,90,.55);--t-glow:.06;
	--ink:#f6ecd9;--mut:#d9c7a3;--line:rgba(201,162,90,.50);--t-ic:#c9a25a;--t-hov:rgba(201,162,90,.16);--t-in:rgba(15,10,5,.55);--t-intx:#fbf5e9;--t-ph:#b8a27c;
	--brand:#d4af6a;--brand-d:#b88a3e;--ring:rgba(212,175,106,.38);--t-btx:#1c140c;--t-lnk:#e3c48a;--t-warn:#fcd34d}
#content.lgx.lgx_th_gold .login_box{box-shadow:0 1px 0 rgba(201,162,90,.25) inset,0 24px 60px -12px rgba(0,0,0,.55)!important}
#content.lgx.lgx_th_gold .login_box::after{background:conic-gradient(from var(--lgx_a,0deg),transparent 0 70%,#c9a25a 82%,#f3dfb4 88%,transparent 96%)}
#content.lgx.lgx_th_gold .lgx_org b, #content.lgx.lgx_th_gold .lgx_org .loginbox_co_nm{font-family:Georgia,"Times New Roman",serif;letter-spacing:.04em}
#content.lgx.lgx_th_gold .longbtn::after{background:linear-gradient(100deg,transparent,rgba(255,248,230,.5),transparent)}

/* Ivory: solid warm white, no glass. ink #1f2937 14:1; button #1f2937 with white 14:1; links #8a5a14 6.3:1 */
#content.login_content.lgx.lgx_th_ivory{--t-bg:#fffdf8;--t-blur:none;--t-bd:#e7e1d3;--t-glow:0;
	--ink:#1f2937;--mut:#57534e;--line:#d6d0c2;--t-ic:#78716c;--t-hov:#f5f1e8;--t-in:#ffffff;--t-intx:#1f2937;--t-ph:#78716c;
	--brand:#374151;--brand-d:#1f2937;--ring:rgba(31,41,55,.22);--t-btx:#ffffff;--t-lnk:#8a5a14}

/* Brand Blue: deep blue glass, white inputs, white button with blue text. mut #dbeafe 11:1; button #fff/#1e3a8a 10:1 */
#content.login_content.lgx.lgx_th_ocean{--t-bg:rgba(23,37,84,.84);--t-blur:blur(18px) saturate(150%);--t-bd:rgba(191,219,254,.30);--t-glow:.08;
	--ink:#ffffff;--mut:#dbeafe;--line:#93c5fd;--t-ic:#64748b;--t-hov:rgba(191,219,254,.16);--t-in:#ffffff;--t-intx:#0f172a;--t-ph:#64748b;
	--brand:#ffffff;--brand-d:#e0e7ff;--ring:rgba(191,219,254,.45);--t-btx:#1e3a8a;--t-lnk:#bfdbfe;--t-warn:#fcd34d}
#content.lgx.lgx_th_ocean .lgx_eye{color:#64748b}
#content.lgx.lgx_th_ocean .lgx_rf{color:#475569}
/* Theme UI/UX fixes (2026-11-18): (i) About Us button + ocean Send Code followed the theme poorly */
#content.lgx.lgx_th .s_aboutus{background-color:var(--t-in)!important;border-color:var(--line)!important}
#content.lgx.lgx_th .s_aboutus:hover{background-color:var(--t-hov)!important}
#content.lgx.lgx_th .s_aboutus:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
#content.lgx.lgx_th_midnight .s_aboutus, #content.lgx.lgx_th_gold .s_aboutus, #content.lgx.lgx_th_emerald .s_aboutus{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e2e8f0' d='M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'/%3E%3C/svg%3E")!important}
#content.lgx.lgx_th_ocean .s_aboutus{background-color:#fff!important;border-color:#93c5fd!important}
#content.lgx.lgx_th_ocean .s_aboutus:hover{background-color:#eff6ff!important}
#content.lgx.lgx_th_ocean .lgx_ip .send_code{background:#dbeafe!important;color:#1e3a8a!important}

/* Emerald (2026-11-18, ONE Client theme): deep green glass, mint accents. ink #ecfdf5 / mut #b7e4d4 on ~#06281f > 10:1; button #6ee7b7 with #052e26 text 10:1; links #a7f3d0 12:1 */
#content.login_content.lgx.lgx_th_emerald{--t-bg:rgba(6,40,34,.82);--t-blur:blur(18px) saturate(140%);--t-bd:rgba(110,231,183,.30);--t-glow:.08;
	--ink:#ecfdf5;--mut:#b7e4d4;--line:rgba(110,231,183,.40);--t-ic:#6ee7b7;--t-hov:rgba(110,231,183,.14);--t-in:rgba(2,20,16,.55);--t-intx:#f0fdf8;--t-ph:#8cc7b3;
	--brand:#6ee7b7;--brand-d:#34d399;--ring:rgba(110,231,183,.38);--t-btx:#052e26;--t-lnk:#a7f3d0;--t-warn:#fcd34d}
/* ===== Premium layer (2026-11-19, user: "elegant, premium design"). Themed boxes only (frost untouched); refines, no layout change.
   Gold re-tuned toward champagne/brass: button #e2c893 -> #b8925a with #1c140c text (6.3:1 at the darker end, 11.2:1 at the top). */
#content.lgx.lgx_th_gold{--brand:#d6b981;--brand-d:#b8925a;--t-lnk:#e6cd9c;--t-ic:#cdb07a;--line:rgba(214,185,129,.42);--t-bd:rgba(214,185,129,.45)}
#content.lgx.lgx_th_gold .longbtn, #content.lgx.lgx_th_gold button.longbtn{background:linear-gradient(180deg,#e2c893,#c9a66b 55%,#b8925a)!important}
/* box: inner top highlight hairline + deeper soft drop (dark glass themes) */
#content.lgx:is(.lgx_th_midnight,.lgx_th_ocean,.lgx_th_emerald) .login_box{box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 24px 60px -16px rgba(0,0,0,.5)!important}
#content.lgx.lgx_th_ivory .login_box{box-shadow:0 1px 2px rgba(43,39,34,.05),0 24px 56px -22px rgba(43,39,34,.35)!important}
/* typography: button + links a touch more refined */
#content.lgx.lgx_th .longbtn, #content.lgx.lgx_th button.longbtn{letter-spacing:.03em}
#content.lgx.lgx_th .lbox_nav.lgx_links a{letter-spacing:.01em}
#content.lgx.lgx_th .lgx_lab{letter-spacing:.01em}

/* ===== 2026-11-19 fixB U8: login premium themes =====
   Ocean: dark glass inputs + light-blue button like midnight/emerald (was white inputs + white button). Input text #f8fafc on ~#0c1638 16.9:1,
   placeholder #a9bbe6 8.3:1, button #93c5fd with #0c1638 text 9.8:1. */
#content.login_content.lgx.lgx_th_ocean{--t-in:rgba(8,15,40,.55);--t-intx:#f8fafc;--t-ph:#a9bbe6;--t-ic:#a9bbe6;--line:rgba(147,197,253,.42);
	--brand:#93c5fd;--brand-d:#60a5fa;--ring:rgba(147,197,253,.38);--t-btx:#0c1638;--t-hov:rgba(147,197,253,.16)}
#content.lgx.lgx_th_ocean .lgx_eye{color:#a9bbe6}
#content.lgx.lgx_th_ocean .lgx_rf{color:#a9bbe6}
#content.lgx.lgx_th_ocean .s_aboutus{background-color:var(--t-in)!important;border-color:var(--line)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e2e8f0' d='M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'/%3E%3C/svg%3E")!important}
#content.lgx.lgx_th_ocean .s_aboutus:hover{background-color:var(--t-hov)!important}
#content.lgx.lgx_th_ocean .lgx_ip .send_code{background:rgba(147,197,253,.18)!important;color:#bfdbfe!important}
#content.lgx.lgx_th_ocean .longbtn, #content.lgx.lgx_th_ocean button.longbtn{background:linear-gradient(180deg,#bfdbfe,#93c5fd)!important}
/* Ivory: matte - no moving sheen, flat button */
#content.lgx.lgx_th_ivory .longbtn::after{display:none!important;animation:none!important}
#content.lgx.lgx_th_ivory .longbtn, #content.lgx.lgx_th_ivory button.longbtn{background:#1f2937!important;background-image:none!important;box-shadow:none!important}
#content.lgx.lgx_th_ivory .longbtn:hover, #content.lgx.lgx_th_ivory button.longbtn:hover{background:#111827!important}
/* Gold: company name in the same family as the rest of the box (the Georgia override mixed two families) */
#content.lgx.lgx_th_gold .lgx_org b, #content.lgx.lgx_th_gold .lgx_org .loginbox_co_nm{font-family:inherit!important;letter-spacing:.02em}
/* "Log In" over the wallpaper: legible on light skies too (soft dark halo, no box) */
#content.lgx .lgx_hd .login_logo_w, #content.lgx .lgx_hd_t .login_logo_w{text-shadow:0 1px 2px rgba(0,0,0,.55),0 2px 16px rgba(0,0,0,.45),0 0 32px rgba(0,0,0,.25)}
/* NO UNDERLINES rule: lives in style_both.css (loaded before this file on every page that loads it); duplicate removed 2026-11-19. */
