* { box-sizing:border-box; }
:root { --ink:#252525; --muted:#6f737d; --blue:#4c70ff; --line:#e4e6ec; --page:#f7f8fb; }
html,body { width:100%; min-height:100%; margin:0; }
body { color:var(--ink); background:var(--page); font-family:Inter,Arial,Helvetica,sans-serif; }
.secure-entry { -webkit-text-security:disc; text-security:disc; }
.page-shell { min-height:100svh; padding:34px 28px; position:relative; overflow:hidden; }
.bg-glow,.grid-overlay { display:none; }
.login-layout { position:relative; z-index:1; width:min(1180px,100%); min-height:min(700px,calc(100svh - 68px)); margin:0 auto; display:grid; grid-template-columns:.88fr 1.12fr; background:#fff; border:1px solid #e7e8ed; border-radius:22px; overflow:hidden; box-shadow:0 24px 70px rgba(25,29,42,.09); }
.brand-panel { position:relative; display:flex; flex-direction:column; justify-content:space-between; padding:34px 38px; color:#fff; overflow:hidden; background:#252525; }
.brand-panel::before { content:""; position:absolute; width:390px; height:390px; right:-170px; bottom:-190px; border:1px solid rgba(255,255,255,.12); border-radius:50%; box-shadow:0 0 0 42px rgba(255,255,255,.025),0 0 0 84px rgba(255,255,255,.02); }
.brand-panel::after { content:""; position:absolute; width:240px; height:240px; left:-150px; top:26%; border-radius:50%; background:rgba(76,112,255,.14); filter:blur(24px); }
.brand-panel-overlay { position:absolute; inset:0; pointer-events:none; }
.brand-top,.brand-content { position:relative; z-index:1; }
.brand-logo { display:inline-flex; align-items:center; text-decoration:none; }
.brand-logo img { display:block; width:146px; height:auto; }
.brand-content { max-width:480px; padding:60px 0 10px; }
.brand-kicker { display:inline-flex; padding:8px 11px; border:1px solid rgba(255,255,255,.18); border-radius:5px; color:#b9c5ff; font-size:11px; line-height:1; letter-spacing:.11em; font-weight:700; margin-bottom:22px; }
.brand-content h1 { max-width:460px; margin:0; color:#fff; font-size:clamp(40px,4.3vw,58px); line-height:1.08; letter-spacing:-.045em; font-weight:600; }
.brand-content>p { max-width:410px; margin:22px 0 0; color:rgba(255,255,255,.72); font-size:16px; line-height:1.65; }
.form-panel { display:flex; align-items:center; justify-content:center; padding:52px; background:#fff; }
.form-card { width:100%; max-width:440px; color:var(--ink); }
.form-header { margin-bottom:27px; }
.mobile-logo,.logo { display:none; margin-bottom:20px; }
.mobile-logo img,.logo img { display:block; width:118px; height:auto; }
.form-header h2 { margin:0; color:var(--ink); font-size:30px; line-height:1.2; letter-spacing:-.035em; font-weight:650; }
.form-header p { margin:8px 0 0; color:var(--muted); font-size:14px; line-height:1.5; }
.status-message { margin:0 0 15px; padding:12px 14px; border-radius:8px; font-size:13px; line-height:1.45; }
.status-error { color:#a22d39; background:#fff1f1; border:1px solid #f4d4d6; }
.status-success { color:#187548; background:#ebf8f0; border:1px solid #c8ebd5; }
.login-form { display:flex; flex-direction:column; gap:17px; }
.input-group { display:flex; flex-direction:column; gap:7px; }
.input-group label { color:#424650; font-size:13px; font-weight:600; }
.phone-field,.input-wrap input { height:48px; border:1px solid var(--line); border-radius:8px; background:#fff; transition:border-color .18s,box-shadow .18s; }
.phone-field { position:relative; display:flex; align-items:center; }
.phone-field:focus-within,.input-wrap input:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(76,112,255,.12); outline:0; }
.country-picker { height:100%; min-width:126px; display:inline-flex; align-items:center; gap:7px; padding:0 10px; border:0; border-right:1px solid var(--line); border-radius:8px 0 0 8px; background:#f9faff; cursor:pointer; flex-shrink:0; }
.country-picker:hover { background:#f1f4ff; }
.country-flag-wrap,.opt-flag-wrap { display:inline-flex; width:20px; height:20px; align-items:center; justify-content:center; overflow:hidden; border-radius:50%; background:#edf0f6; flex-shrink:0; }
.country-flag-img,.opt-flag-img { width:100%; height:100%; display:block; object-fit:cover; }
.country-code,.country-dial { color:#343844; font-size:12px; font-weight:600; }
.country-chevron { margin-left:auto; color:#7f8490; font-size:11px; }
.phone-field input { min-width:0; flex:1; height:100%; padding:0 13px; border:0; outline:0; background:transparent; color:var(--ink); font:400 14px Inter,Arial,sans-serif; }
.phone-field input::placeholder,.input-wrap input::placeholder { color:#9a9eaa; }
.country-dropdown { position:absolute; z-index:10; top:calc(100% + 7px); left:0; right:0; display:none; max-height:240px; overflow:auto; padding:6px; border:1px solid var(--line); border-radius:10px; background:#fff; box-shadow:0 14px 36px rgba(20,24,35,.14); }
.country-dropdown.show { display:block; }
.country-option { width:100%; display:grid; grid-template-columns:22px 1fr auto; align-items:center; gap:9px; padding:10px; border:0; border-radius:7px; background:transparent; text-align:left; cursor:pointer; }
.country-option:hover,.country-option.active { background:#f2f5ff; }
.opt-code,.opt-name,.opt-dial { color:#383c46; font-size:12px; }
.opt-dial { color:#858a96; }
.input-wrap { position:relative; display:flex; align-items:center; }
.input-icon { position:absolute; left:15px; z-index:1; color:#8b91a0; font-size:10px; pointer-events:none; }
.input-wrap input { width:100%; padding:0 14px 0 40px; color:var(--ink); font:400 14px Inter,Arial,sans-serif; outline:0; }
.turnstile-wrap { width:100%; margin-top:1px; padding:12px; border:1px solid var(--line); border-radius:9px; background:#fafbff; display:grid; justify-items:stretch; gap:8px; overflow:hidden; }
#turnstileWidget { width:100%; }
#turnstileWidget iframe { width:100%!important; max-width:100%!important; }
.turnstile-status { color:var(--muted); font-size:12px; line-height:1.4; text-align:center; }
.turnstile-status.success { color:#187548; }
.turnstile-status.error { color:#a22d39; }
.login-submit-btn,.login-btn { height:49px; margin-top:3px; border:0; border-radius:8px; background:var(--blue); color:#fff; font:600 14px Inter,Arial,sans-serif; cursor:pointer; transition:background .18s,transform .18s; }
.login-submit-btn:hover,.login-btn:hover { background:#3e5fe4; transform:translateY(-1px); }
.login-submit-btn:disabled,.login-btn:disabled { opacity:.72; cursor:not-allowed; transform:none; }
.success-btn { background:#188452!important; color:#fff!important; }
.register-link { margin:3px 0 0; color:#737783; text-align:center; font-size:13px; }
.register-link a { margin-left:4px; color:var(--blue); font-weight:600; text-decoration:none; }
.register-link a:hover { text-decoration:underline; }
.back-home-bottom { display:flex; justify-content:center; margin-top:4px; color:#777c88; font-size:13px; text-decoration:none; }
.back-home-bottom:hover { color:var(--blue); }
@media(max-width:900px) {
 .page-shell { padding:20px; }
 .login-layout { width:min(620px,100%); min-height:0; grid-template-columns:1fr; }
 .brand-panel { min-height:250px; padding:25px 30px; }
 .brand-content { max-width:100%; padding:38px 0 0; }
 .brand-content h1 { max-width:540px; font-size:40px; }
 .brand-content>p { max-width:500px; margin-top:14px; font-size:14px; }
 .form-panel { padding:38px 30px; }
}
@media(max-width:520px) {
 .page-shell { padding:0; }
 .login-layout { width:100%; min-height:100svh; border:0; border-radius:0; box-shadow:none; }
 .brand-panel { min-height:0; padding:21px 21px 24px; }
 .brand-logo img { width:122px; }
 .brand-content { padding-top:42px; }
 .brand-kicker { margin-bottom:14px; font-size:10px; }
 .brand-content h1 { font-size:34px; }
 .brand-content>p { margin-top:13px; font-size:14px; line-height:1.55; }
 .form-panel { padding:30px 21px 38px; }
 .form-header { margin-bottom:22px; }
 .form-header h2 { font-size:26px; }
 .login-form { gap:15px; }
 .phone-field,.input-wrap input { height:46px; }
}
@media(max-width:360px) {
 .brand-panel { min-height:0; padding:18px 16px; }
 .brand-content h1 { font-size:30px; }
 .brand-panel,.form-panel { padding-left:17px; padding-right:17px; }
 .country-picker { min-width:112px; gap:5px; padding:0 8px; }
}

/* Keep the shared auth-page logo on the same fixed box on both pages. */
.brand-top { display:flex; align-items:center; min-height:46px; }
.brand-logo { width:auto; height:auto; display:inline-flex; align-items:center; }
.brand-logo img { display:block; width:146px; height:auto; object-fit:initial; object-position:left center; }
.brand-top { position:absolute; top:34px; left:38px; min-height:0; }
.brand-panel { justify-content:flex-end; }
.brand-content { padding:0 0 26px; }
@media(max-width:520px) {
 .brand-panel { justify-content:flex-start; }
 .brand-top { top:21px; left:21px; min-height:36px; margin:0; }
 .brand-logo { width:122px; height:36px; }
 .brand-logo img { width:100%; height:100%; object-fit:contain; }
 .brand-content { padding:78px 0 0; }
}
@media(max-width:360px) {
 .brand-top { top:18px; left:17px; }
 .brand-content { padding-top:72px; }
}
