/* Login page only (resources/views/vendor/nova/auth/login.blade.php). Every selector is prefixed .lg- or scoped to body.fdq-auth .lg-page. */
:root { --lg-ink:#1f2638; --lg-muted:#6b7385; --lg-line:#e3e6ec; --lg-ph:#a3aabb; --lg-coral:#f65d5d; --lg-coral-d:#e04848; --lg-green:#4cc04a; }
html:has(body.fdq-auth), body.fdq-auth { background:#eef0f4 !important; }
body.fdq-auth .lg-page { color:var(--lg-ink); font-family:'Fandaqah Sans','Outfit','Montserrat','Almarai',system-ui,-apple-system,'Segoe UI',sans-serif; }
body.fdq-auth .lg-page :where(h1,h2,h3,p,ul,li,div,span,a,label,input,button,bdi) { font-family:inherit !important; }
body.fdq-auth .lg-page i.fab { font-family:'Font Awesome 5 Brands' !important; font-weight:400 !important; }
body.fdq-auth .lg-page * { box-sizing:border-box; }
body.fdq-auth .lg-wrap { max-width:1180px; margin:0 auto; padding:24px 20px; }
body.fdq-auth .lg-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; min-height:640px; }

/* left panel */
body.fdq-auth .lg-hero { position:relative; overflow:hidden; display:flex; flex-direction:column; border-radius:28px; background-color:#1f2638; color:#fff; padding:40px 44px; isolation:isolate; }
/* the art on its own layer, faded to about the sidebar's (sidebar-nav-art.svg tops out at 0.18, login-art.svg at 0.55) */
body.fdq-auth .lg-hero::before { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.4;
  background-image:url('/brand/login-art.svg'); background-repeat:no-repeat; background-position:right top; background-size:100% 100%; }
[dir="rtl"] body.fdq-auth .lg-hero::before, body.fdq-auth[dir="rtl"] .lg-hero::before, html[dir="rtl"] body.fdq-auth .lg-hero::before { background-image:url('/brand/login-art-rtl.svg'); background-position:left top; }
body.fdq-auth .lg-logo { display:block; margin:0 0 44px; align-self:flex-start; background:none; border-radius:0; padding:0; box-shadow:none; }
body.fdq-auth .lg-logo img { display:block; height:64px; width:auto; }
body.fdq-auth .lg-hero h1 { color:#fff !important; font-size:36px !important; font-weight:600 !important; line-height:1.2; margin:0 0 16px !important; }
body.fdq-auth .lg-intro { font-size:16px; line-height:1.7; color:#d6dbe7; max-width:480px; margin:0 0 30px; }
body.fdq-auth .lg-features { list-style:none; padding:0; margin:0 0 24px; max-width:500px; display:flex; flex-direction:column; gap:16px; }
body.fdq-auth .lg-features li { display:flex; gap:16px; align-items:flex-start; margin:0; }
body.fdq-auth .lg-ico { flex:none; width:48px; height:48px; border-radius:14px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.14); display:flex; align-items:center; justify-content:center; color:#fff; }
body.fdq-auth .lg-ico-coral { background:#f65d5d; border-color:#f65d5d; }
body.fdq-auth .lg-ico svg { width:22px; height:22px; }
body.fdq-auth .lg-features h3 { color:#fff !important; font-size:17px !important; font-weight:600 !important; margin:0 0 4px !important; }
body.fdq-auth .lg-features p { font-size:14.5px; line-height:1.55; color:#d0d5e1; margin:0; }
body.fdq-auth .lg-points { margin-top:auto; border-top:1px solid rgba(255,255,255,.18); padding-top:20px; display:flex; flex-wrap:wrap; gap:10px 26px; font-size:14px; color:#d6dbe7; }
body.fdq-auth .lg-points span { display:inline-flex; align-items:center; gap:8px; }
body.fdq-auth .lg-points svg { width:16px; height:16px; color:var(--lg-coral); flex:none; }

/* right card */
body.fdq-auth .lg-card { display:flex; flex-direction:column; background:#fff; border-radius:28px; box-shadow:0 8px 30px rgba(31,38,56,.07); padding:28px 56px 40px; }
body.fdq-auth .lg-lang { align-self:flex-end; display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:600; color:var(--lg-ink); }
body.fdq-auth .lg-lang svg { width:16px; height:16px; }
body.fdq-auth .lg-lang a { color:var(--lg-ink) !important; font-weight:600; text-decoration:none; padding:0; min-height:0; background:none; }
body.fdq-auth .lg-card h2 { font-size:28px !important; font-weight:700 !important; margin:44px 0 6px !important; text-align:start; color:var(--lg-ink) !important; }
body.fdq-auth .lg-sub { font-size:15px; color:var(--lg-muted); margin:0 0 30px; text-align:start; }
body.fdq-auth .lg-form { margin:0; padding:0; width:100%; max-width:none; }
body.fdq-auth .lg-field { margin-bottom:22px; }
body.fdq-auth .lg-field label { display:block; font-size:14.5px; font-weight:500; color:var(--lg-ink); margin:0 0 8px; text-align:start; }
body.fdq-auth .lg-card form .lg-input { display:block; width:100% !important; height:50px !important; min-height:50px !important; border:1px solid var(--lg-line) !important; border-radius:6px !important; background:#fff !important; background-image:none !important; padding:0 16px !important; margin:0 !important; font-size:15px !important; font-weight:500 !important; color:var(--lg-ink) !important; box-shadow:none; text-align:start; }
body.fdq-auth .lg-card form .lg-input::placeholder { color:var(--lg-ph) !important; font-weight:400; opacity:1; }
body.fdq-auth .lg-card form .lg-input:focus { border-color:var(--lg-coral) !important; box-shadow:0 0 0 3px rgba(246,93,93,.14) !important; outline:none !important; }
body.fdq-auth .lg-card form .lg-input:-webkit-autofill,
body.fdq-auth .lg-card form .lg-input:-webkit-autofill:hover,
body.fdq-auth .lg-card form .lg-input:-webkit-autofill:focus { -webkit-box-shadow:0 0 0 1000px #fff inset !important; box-shadow:0 0 0 1000px #fff inset !important; -webkit-text-fill-color:var(--lg-ink) !important; caret-color:var(--lg-ink); }
body.fdq-auth .lg-pass { position:relative; }
body.fdq-auth .lg-card form .lg-pass .lg-input { padding-inline-end:54px !important; }
body.fdq-auth .lg-eye { position:absolute; inset-block-start:50%; inset-inline-end:6px; transform:translateY(-50%); width:38px; height:38px; display:flex; align-items:center; justify-content:center; background:none !important; border:0 !important; box-shadow:none !important; padding:0; min-height:0 !important; cursor:pointer; color:var(--lg-ph); }
body.fdq-auth .lg-eye svg { width:20px; height:20px; }
body.fdq-auth .lg-eye:hover, body.fdq-auth .lg-eye.on { color:var(--lg-ink); }
body.fdq-auth .lg-turnstile { max-width:300px; border:1px solid var(--lg-line); border-radius:6px; overflow:hidden; line-height:0; }
body.fdq-auth .lg-turnstile:empty { border:0; }
body.fdq-auth .lg-forgot { margin:16px 0 22px; text-align:start; float:none; width:auto; }
body.fdq-auth .lg-forgot a { font-size:14px; font-weight:600; color:var(--lg-coral-d) !important; text-decoration:none; }
body.fdq-auth .lg-card form .lg-submit { display:block; width:100%; height:52px; min-height:52px; margin:0; background:var(--lg-coral) !important; color:#fff !important; font-size:16px !important; font-weight:600 !important; border:0 !important; border-radius:6px !important; box-shadow:none !important; cursor:pointer; }
body.fdq-auth .lg-card form .lg-submit:hover { background:var(--lg-coral-d) !important; }
body.fdq-auth .lg-have { display:flex; justify-content:center; flex-wrap:wrap; gap:6px; margin-top:26px; font-size:14.5px; color:var(--lg-muted); }
body.fdq-auth .lg-have p { margin:0; color:var(--lg-muted) !important; }
body.fdq-auth .lg-have a { color:var(--lg-coral-d) !important; font-weight:600 !important; text-decoration:none; }
body.fdq-auth .lg-card .alert { margin:0 0 20px; font-size:14px; }

/* footer */
body.fdq-auth .lg-footer { background:transparent !important; }
body.fdq-auth .lg-ask { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; padding:30px 4px 22px; }
body.fdq-auth .lg-ask-title { font-size:20px; font-weight:500; color:var(--lg-ink); }
body.fdq-auth .lg-ask-wa { display:flex; flex-direction:column; gap:8px; align-items:flex-start; font-size:14px; color:var(--lg-muted); }
body.fdq-auth .lg-ask-wa a { display:inline-flex; align-items:center; gap:8px; background:var(--lg-green); color:#fff !important; font-size:16px; font-weight:600; border-radius:6px; padding:10px 18px; text-decoration:none; }
body.fdq-auth .lg-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; border-top:1px solid var(--lg-line); padding-top:18px; font-size:13.5px; color:var(--lg-muted); }
body.fdq-auth .lg-social { display:flex; gap:18px; }
body.fdq-auth .lg-social a { color:var(--lg-ink) !important; font-size:16px; }

@media (max-width:900px) {
  body.fdq-auth .lg-grid { grid-template-columns:1fr; min-height:0; }
  body.fdq-auth .lg-hero { padding:32px 24px; }
  body.fdq-auth .lg-hero h1 { font-size:30px !important; }
  body.fdq-auth .lg-points { margin-top:8px; }
  body.fdq-auth .lg-card { padding:24px; }
  body.fdq-auth .lg-card h2 { margin-top:28px !important; }
}

/* one screen, no page scroll (desktop) */
@media (min-width:901px) {
  html:has(body.fdq-auth), body.fdq-auth { height:100vh; overflow:hidden; }
  body.fdq-auth #login_page { height:100vh; }
  body.fdq-auth .lg-wrap { height:100vh; display:flex; flex-direction:column; padding:14px 20px 8px; }
  body.fdq-auth .lg-grid { flex:1 1 auto; min-height:0; }
  body.fdq-auth .lg-hero { padding:24px 40px 18px; min-height:0; }
  body.fdq-auth .lg-logo { margin-bottom:max(12px,2.2vh); }
  body.fdq-auth .lg-logo img { height:max(44px,5.5vh); }
  body.fdq-auth .lg-hero h1 { font-size:clamp(26px,4vh,36px) !important; margin-bottom:max(8px,1.4vh) !important; }
  body.fdq-auth .lg-intro { font-size:clamp(13px,1.9vh,16px); line-height:1.55; margin-bottom:max(12px,2.4vh); }
  body.fdq-auth .lg-features { gap:max(8px,1.6vh); margin-bottom:12px; }
  body.fdq-auth .lg-ico { width:42px; height:42px; }
  body.fdq-auth .lg-features h3 { font-size:clamp(14px,2vh,17px) !important; margin-bottom:2px !important; }
  body.fdq-auth .lg-features p { font-size:clamp(12px,1.75vh,14.5px); line-height:1.45; }
  body.fdq-auth .lg-points { padding-top:12px; gap:6px 22px; font-size:13px; }
  body.fdq-auth .lg-card { padding:20px 56px 24px; min-height:0; justify-content:center; }
  body.fdq-auth .lg-card h2 { margin:max(12px,3vh) 0 4px !important; }
  body.fdq-auth .lg-sub { margin-bottom:max(14px,2.6vh); }
  body.fdq-auth .lg-field { margin-bottom:max(12px,2.2vh); }
  body.fdq-auth .lg-forgot { margin:max(8px,1.4vh) 0 max(10px,2vh); }
  body.fdq-auth .lg-have { margin-top:max(12px,2.2vh); }
  body.fdq-auth .lg-footer { flex:none; }
  body.fdq-auth .lg-ask { padding:8px 4px 6px; }
  body.fdq-auth .lg-ask-title { font-size:16px; }
  body.fdq-auth .lg-ask-wa { flex-direction:row; align-items:center; gap:14px; }
  body.fdq-auth .lg-ask-wa a { font-size:14px; padding:6px 14px; }
  body.fdq-auth .lg-bottom { padding-top:8px; font-size:12.5px; }
}
@media (min-width:901px) {
  body.fdq-auth .lg-wrap { max-width:1040px; }
  body.fdq-auth .lg-grid { gap:18px; }
  body.fdq-auth .lg-hero { padding:28px 36px 20px; }
  body.fdq-auth .lg-features { margin-block:auto; gap:max(14px,2.6vh); }
  body.fdq-auth .lg-card { padding:20px 44px 24px; }
}

/* 2026-11-18 round: logo on the right of the navy panel; one button look (#F15E5A, 34px, 12px; the Login button keeps its own size); red footer band with logo and every social account */
body.fdq-auth .lg-logo { align-self:flex-end; }
html[dir="rtl"] body.fdq-auth .lg-logo { align-self:flex-start; }
body.fdq-auth .lg-ask-wa a,
body.fdq-auth #ex1 .btn { display:inline-flex !important; align-items:center; justify-content:center; gap:6px; height:34px !important; min-height:34px !important; padding:0 14px !important; background:#F15E5A !important; color:#fff !important; border:1px solid #F15E5A !important; border-radius:10px !important; font-family:inherit !important; font-size:12px !important; font-weight:600 !important; line-height:1 !important; box-shadow:none !important; text-decoration:none; }
body.fdq-auth .lg-card form .lg-submit { background:#F15E5A !important; }
body.fdq-auth .lg-card form .lg-submit:hover, body.fdq-auth .lg-ask-wa a:hover, body.fdq-auth #ex1 .btn:hover { background:#D94B47 !important; border-color:#D94B47 !important; }
body.fdq-auth .lg-forgot a, body.fdq-auth .lg-have a { color:#F15E5A !important; }
body.fdq-auth .lg-card form .lg-input:focus { border-color:#F15E5A !important; box-shadow:0 0 0 3px rgba(241, 94, 90,.14) !important; }

body.fdq-auth .lg-footer { display:block; width:100%; max-width:none; align-self:stretch; box-sizing:border-box; margin-top:14px; padding:14px 24px; border-radius:20px; background:#F15E5A !important; color:#fff; }
body.fdq-auth .lg-ask { padding:0 0 12px; }
body.fdq-auth .lg-ask-title { color:#fff; }
body.fdq-auth .lg-ask-wa { color:rgba(255,255,255,.85); }
body.fdq-auth .lg-ask-wa a { border-color:#fff !important; }
body.fdq-auth .lg-bottom { display:flex; align-items:center; gap:16px; border-top:1px solid rgba(255,255,255,.28); padding-top:12px; color:#fff; }
body.fdq-auth .lg-foot-logo { display:block; flex:none; line-height:0; }
body.fdq-auth .lg-foot-logo img { display:block; height:30px; width:auto; }
body.fdq-auth .lg-copy { flex:1 1 auto; min-width:0; color:rgba(255,255,255,.9); }
body.fdq-auth .lg-social { display:flex; flex-wrap:wrap; gap:8px; }
body.fdq-auth .lg-social a { display:flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,.14); color:#fff !important; transition:background-color .15s ease, color .15s ease; }
body.fdq-auth .lg-social a:hover { background:#fff; color:#F15E5A !important; }
body.fdq-auth .lg-social svg { width:15px; height:15px; display:block; }
@media (max-width:900px) {
  body.fdq-auth .lg-bottom { flex-direction:column; text-align:center; }
  body.fdq-auth .lg-social { justify-content:center; }
}
@media (min-width:901px) {
  body.fdq-auth .lg-footer { margin-top:10px; padding:10px 22px; }
  body.fdq-auth .lg-ask { padding:0 0 8px; }
  body.fdq-auth .lg-bottom { padding-top:8px; }
}

/* the whole login section (welcome panel, form, footer band) a little smaller on desktop; it keeps 90% of the screen height and
   sits centred, with a little space above and below */
@media (min-width:901px) {
  body.fdq-auth #login_page.lg-page { display: flex; align-items: center; justify-content: center; }
  body.fdq-auth .lg-wrap { zoom: .9; width: 100%; }
}

/* 2026-11-22 round (b): (1) the navy panel's logo on the right in both languages, on a patch of the panel's own navy with
   the identity guide's clear space round it, so the art never runs through it; (2) the footer logo is the identity
   guide's version for a coral ground (white lettering, white pin, coral dot) at a readable size; (3) the social
   buttons are grey circles (identity grey #889594) with white icons, white with a coral icon on hover. */
body.fdq-auth .lg-logo { align-self:flex-end; }
html[dir="rtl"] body.fdq-auth .lg-logo { align-self:flex-start; }
body.fdq-auth .lg-hero .lg-logo { position:relative; z-index:1; padding:10px 12px !important; margin-right:-12px; border-radius:14px !important; background:#1f2638 !important; }
body.fdq-auth .lg-foot-logo img { height:32px !important; width:auto !important; }
body.fdq-auth .lg-social a { background:#889594 !important; color:#fff !important; }
body.fdq-auth .lg-social a:hover { background:#fff !important; color:#F15E5A !important; }

/* 2026-11-22 round (e): "Welcome Back!" and the field labels in the Fandaqah coral; the navy panel's logo on the left
   (both languages, still on its navy patch); the social buttons on the identity navy with white icons */
body.fdq-auth .lg-card h2 { color:#F15E5A !important; }
body.fdq-auth .lg-card form label, body.fdq-auth .lg-card label[for] { color:#F15E5A !important; }
body.fdq-auth .lg-logo, html[dir="rtl"] body.fdq-auth .lg-logo { align-self:flex-start !important; }
html[dir="rtl"] body.fdq-auth .lg-logo { align-self:flex-end !important; }
body.fdq-auth .lg-hero .lg-logo { margin-right:0 !important; margin-left:-12px !important; }
body.fdq-auth .lg-social a { background:#262E43 !important; color:#fff !important; }
body.fdq-auth .lg-social a:hover { background:#fff !important; color:#F15E5A !important; }
