/* ═══════════════════════════════════════════════════════════════════
   Auth theme tokens — Apple-style light, with automatic dark mode.

   Every colour in lux-login-lite.css and lux-repair-status-lite.css is
   expressed as one of these tokens, so both themes are driven from here.
   Load this BEFORE those two stylesheets.

   Covers: login · forgot password · reset password · 2FA challenge ·
           customer screen (lookup, device cards, chat, invoices,
           notifications, diagnostics).
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* Surfaces */
  --a-bg:         #f5f5f7;  /* page */
  --a-surface:    #ffffff;  /* cards, panels, sheets */
  --a-surface-2:  #f5f5f7;  /* inputs, insets, subtle fills */

  /* Hairlines */
  --a-line:       #d2d2d7;
  --a-line-soft:  #e8e8ed;

  /* Text */
  --a-text:       #1d1d1f;
  --a-text-2:     #3a3a3c;
  --a-muted:      #6e6e73;
  --a-faint:      #86868b;

  --a-shadow:     rgba(0, 0, 0, 0.10);

  /* Blue — primary action */
  --a-blue:       #0071e3;
  --a-blue-hi:    #0077ed;
  --a-blue-deep:  #0051b3;
  --a-on-blue:    #0071e3;  /* text sitting on a blue-tinted chip */
  --a-blue-bg:    rgba(0, 113, 227, 0.10);
  --a-blue-bd:    rgba(0, 113, 227, 0.28);

  /* Green — success / ready */
  --a-green:      #1d6f42;
  --a-green-bg:   rgba(29, 111, 66, 0.10);
  --a-green-bd:   rgba(29, 111, 66, 0.26);

  /* Red — errors / overdue */
  --a-red:        #d70015;
  --a-red-bg:     rgba(215, 0, 21, 0.08);
  --a-red-bd:     rgba(215, 0, 21, 0.24);

  /* Amber — warnings / pending */
  --a-amber:      #8a5a00;
  --a-amber-bg:   rgba(180, 120, 0, 0.10);
  --a-amber-bd:   rgba(180, 120, 0, 0.26);

  /* Violet — status updates */
  --a-violet:     #5a3fc0;
  --a-violet-bg:  rgba(90, 63, 192, 0.10);
  --a-violet-bd:  rgba(90, 63, 192, 0.26);

  /* Teal — diagnostics */
  --a-teal:       #0f766e;
  --a-teal-bg:    rgba(15, 118, 110, 0.10);
  --a-teal-bd:    rgba(15, 118, 110, 0.26);
}

@media (prefers-color-scheme: dark) {
  :root {
    --a-bg:         #0b0b0d;
    --a-surface:    #1c1c1e;
    --a-surface-2:  #2c2c2e;

    --a-line:       #38383a;
    --a-line-soft:  #2c2c2e;

    --a-text:       #f5f5f7;
    --a-text-2:     #e5e5ea;
    --a-muted:      #98989d;
    --a-faint:      #8e8e93;

    --a-shadow:     rgba(0, 0, 0, 0.55);

    --a-blue:       #0a84ff;
    --a-blue-hi:    #409cff;
    --a-blue-deep:  #0060df;
    --a-on-blue:    #cfe9ff;
    --a-blue-bg:    rgba(10, 132, 255, 0.16);
    --a-blue-bd:    rgba(10, 132, 255, 0.36);

    --a-green:      #30d158;
    --a-green-bg:   rgba(48, 209, 88, 0.16);
    --a-green-bd:   rgba(48, 209, 88, 0.36);

    --a-red:        #ff453a;
    --a-red-bg:     rgba(255, 69, 58, 0.16);
    --a-red-bd:     rgba(255, 69, 58, 0.36);

    --a-amber:      #ffd60a;
    --a-amber-bg:   rgba(255, 214, 10, 0.14);
    --a-amber-bd:   rgba(255, 214, 10, 0.32);

    --a-violet:     #bf5af2;
    --a-violet-bg:  rgba(191, 90, 242, 0.16);
    --a-violet-bd:  rgba(191, 90, 242, 0.34);

    --a-teal:       #40c8e0;
    --a-teal-bg:    rgba(64, 200, 224, 0.14);
    --a-teal-bd:    rgba(64, 200, 224, 0.32);
  }
}

/* ─────────────────────────────────────────────────────────────────
   Apple polish — typography and shape, shared by every auth screen.
   ───────────────────────────────────────────────────────────────── */

/* NOTE ON SPECIFICITY
   This sheet loads BEFORE lux-login-lite.css / lux-repair-status-lite.css so
   the tokens above are defined when those sheets consume them. That means the
   polish rules below would LOSE a same-specificity tie to the later sheets.
   Each one is therefore prefixed with `html body.lux-login-page` so it wins on
   specificity and never depends on load order. */

html body.lux-login-page {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    system-ui, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

html[dir="rtl"] body.lux-login-page {
  font-family: "Noto Sans Arabic", -apple-system, BlinkMacSystemFont,
    system-ui, sans-serif;
}

/* Headings: Apple's tight tracking, lighter weight than the old 800 */
body.lux-login-page .lux-login-form-intro h1,
body.lux-login-page .lux-login-visual h2 {
  font-weight: 600;
  letter-spacing: -0.022em;
}

/* Shell: hairline + soft shadow instead of the glow stack */
body.lux-login-page .lux-login-shell {
  box-shadow: 0 12px 40px var(--a-shadow);
}

/* The gradient accent line across the top of the shell reads as noise
   in a light theme */
body.lux-login-page .lux-login-shell::before {
  display: none;
}

/* Primary button: flat Apple blue, no gradient, no coloured glow */
body.lux-login-page .lux-submit {
  background: var(--a-blue);
  font-weight: 500;
  letter-spacing: 0;
  box-shadow: none;
}

body.lux-login-page .lux-submit:hover {
  background: var(--a-blue-hi);
  filter: none;
  box-shadow: none;
}

body.lux-login-page .lux-submit:active {
  background: var(--a-blue-deep);
}

/* Field labels: sentence case, not shouting */
body.lux-login-page .lux-field label {
  font-weight: 500;
  letter-spacing: 0;
}

/* Autofill: keep the surface, not a hardcoded navy */
body.lux-login-page .lux-field input:-webkit-autofill,
body.lux-login-page .lux-field input:-webkit-autofill:hover,
body.lux-login-page .lux-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--a-text);
  -webkit-box-shadow: 0 0 0 1000px var(--a-surface-2) inset !important;
}

/* ═════════════════════════════════════════════════════════════════
   Customer screen (/repair-status).

   This page does NOT extend the auth layout — it ships its own <head>
   and its own skin (lux-device-external.css), and it also pulls in
   lux-public-theme.css + lux-landing.css, both of which define the dark
   marketing --lp-* palette. Those sheets load after ours, so the dark
   values would win and fight the light theme.

   Re-point the --lp-* palette at our tokens for this page only. The
   marketing site itself is untouched (it has no .lux-device-ext body).
   ═════════════════════════════════════════════════════════════════ */

body.lux-device-ext {
  --lp-bg: var(--a-bg);
  --lp-bg-deep: var(--a-bg);
  --lp-bg-image: none;
  --lp-surface: var(--a-surface);
  --lp-surface-2: var(--a-surface-2);
  --lp-border: var(--a-line);
  --lp-text: var(--a-text);
  --lp-muted: var(--a-muted);
  --lp-primary: var(--a-blue);
  --lp-primary-2: var(--a-blue-hi);
  --lp-accent: var(--a-blue);
  --lp-glow: var(--a-blue-bg);
}

/* The marketing sheet paints the page dark via body.lux-landing, which
   this page also carries. Same specificity, later sheet — so it needs
   overriding, not just re-tokenising. */
body.lux-device-ext.lux-landing,
body.lux-device-ext.lux-public {
  background-color: var(--a-bg);
  background-image: none;
  color: var(--a-text);
}

/* White text that used to sit on dark panels and now sits on white ones.
   (`#fff` is three characters, so it slipped past the colour sweep — the
   same trap that hid the secondary button earlier.) */
body.lux-device-ext .lux-rs-form-panel .lux-login-form-intro h1 {
  color: var(--a-text) !important;
}

body.lux-device-ext .lux-visual-brand strong,
body.lux-device-ext .lux-slide-stat strong {
  color: var(--a-text);
}

body.lux-device-ext .lux-slide-title {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--a-text);
}

body.lux-device-ext .ldx-foot-links a:hover {
  color: var(--a-text);
}

body.lux-device-ext .ldx-lang-item.is-active {
  color: var(--a-blue);
}

/* ── The left panel ───────────────────────────────────────────────
   It is a marketing carousel: three rotating slides, each with a badge
   in a different hue (indigo / violet / amber), sitting on three blurred
   coloured glow blobs. That works on a black background and turns into
   noise on a white sheet. Stripped to a calm, monochrome panel: the
   information stays, the decoration goes.
   ───────────────────────────────────────────────────────────────── */

/* The three coloured glow blobs — pure decoration, and the main source
   of the colour clash. */
body.lux-device-ext .lux-visual-glow {
  display: none;
}

body.lux-device-ext .lux-login-visual,
body.lux-device-ext .lux-rs-visual {
  background: var(--a-surface);
  border-inline-end: 1px solid var(--a-line);
}

/* One neutral chip instead of three competing hues */
body.lux-device-ext .lux-slide-badge,
body.lux-device-ext .lux-slide-badge--indigo,
body.lux-device-ext .lux-slide-badge--violet,
body.lux-device-ext .lux-slide-badge--amber {
  color: var(--a-muted);
  background: var(--a-surface-2);
  border: 1px solid var(--a-line);
  font-weight: 500;
  letter-spacing: 0;
}

body.lux-device-ext .lux-visual-brand {
  color: var(--a-muted);
}

body.lux-device-ext .lux-visual-brand__dot {
  background: var(--a-muted);
}

body.lux-device-ext .lux-slide-icon {
  background: var(--a-surface-2);
  border: 1px solid var(--a-line);
  color: var(--a-muted);
}

body.lux-device-ext .lux-slide-title {
  font-weight: 600;
  letter-spacing: -0.022em;
}

body.lux-device-ext .lux-slide-desc,
body.lux-device-ext .ldx-lang-item {
  color: var(--a-muted);
}

body.lux-device-ext .lux-login-slide--reports .lux-slide-icon {
  color: var(--a-muted);
}

/* `color: var(--a-line)` is a hairline grey — as text on white it was
   all but unreadable. */
body.lux-device-ext .lux-slide-feature {
  background: transparent;
  border: 1px solid var(--a-line);
  color: var(--a-text);
  font-weight: 400;
}

body.lux-device-ext .lux-slide-stat {
  background: var(--a-surface-2);
  border: 1px solid var(--a-line);
}

body.lux-device-ext .lux-slide-stat span {
  color: var(--a-muted);
}

/* Slider dots: grey rail, dark active — no blue */
body.lux-device-ext .lux-slider-dot {
  background: var(--a-line);
}

body.lux-device-ext .lux-slider-dot.is-active {
  background: var(--a-text);
}

body.lux-device-ext .lux-visual-chips span {
  color: var(--a-muted);
  background: var(--a-surface-2);
  border: 1px solid var(--a-line);
}

body.lux-device-ext .lux-visual-footer {
  color: var(--a-faint);
}

/* ── The floating bar ─────────────────────────────────────────────
   Keep the pill silhouette — it is the elegant part — but make it a
   light, translucent, blurred surface instead of a dark slab, and give
   it a proper button hierarchy: outlined pills for secondary actions,
   a single solid blue pill for the primary one.
   ───────────────────────────────────────────────────────────────── */

body.lux-device-ext .ldx-top {
  background: var(--a-surface); /* fallback */
  background: color-mix(in srgb, var(--a-surface) 78%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--a-line);
  box-shadow: 0 4px 24px var(--a-shadow);
}

body.lux-device-ext .ldx-brand {
  color: var(--a-text);
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: opacity 0.15s ease;
}

body.lux-device-ext .ldx-brand:hover {
  opacity: 0.65;
}

body.lux-device-ext .ldx-btn {
  font-weight: 500;
  letter-spacing: 0;
  color: var(--a-text);
  background: transparent;
  border: 1px solid var(--a-line);
  transition: background 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
}

body.lux-device-ext .ldx-btn:hover {
  color: var(--a-text);
  background: var(--a-surface-2);
  border-color: var(--a-muted);
}

body.lux-device-ext .ldx-btn-primary {
  color: #ffffff;
  background: var(--a-blue);
  border-color: var(--a-blue);
}

body.lux-device-ext .ldx-btn-primary:hover {
  color: #ffffff;
  background: var(--a-blue-hi);
  border-color: var(--a-blue-hi);
}

body.lux-device-ext .ldx-btn-primary:active {
  background: var(--a-blue-deep);
  border-color: var(--a-blue-deep);
}

/* ─────────────────────────────────────────────────────────────────
   Top bar.
   It was a row of bare text links floating on the page background with
   no surface of their own. Given a real bar — translucent, blurred,
   closed with a hairline — and proper buttons: quiet outlined pills for
   the secondary actions, one solid blue pill for the primary one.
   ───────────────────────────────────────────────────────────────── */

body.lux-login-page .lux-login-top {
  position: sticky;
  top: 0;
  z-index: 50;
  max-width: none;
  padding: 0.7rem clamp(1rem, 4vw, 2rem);
  background: var(--a-bg); /* fallback where color-mix is unsupported */
  background: color-mix(in srgb, var(--a-bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--a-line);
}

body.lux-login-page .lux-login-brand {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--a-text) !important;
  transition: opacity 0.15s ease;
}

body.lux-login-page .lux-login-brand:hover {
  opacity: 0.65;
}

body.lux-login-page .lux-login-top__actions {
  gap: 0.5rem;
}

/* Secondary: outlined pill */
body.lux-login-page .lux-login-link {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--a-text) !important;
  background: var(--a-surface);
  border: 1px solid var(--a-line);
  transition: background 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
}

body.lux-login-page .lux-login-link:hover {
  color: var(--a-text) !important;
  background: var(--a-surface-2);
  border-color: var(--a-muted);
}

/* Primary: one solid blue pill, the only filled colour up here */
body.lux-login-page .lux-login-link--accent {
  color: #ffffff !important;
  background: var(--a-blue);
  border-color: var(--a-blue);
}

body.lux-login-page .lux-login-link--accent:hover {
  color: #ffffff !important;
  background: var(--a-blue-hi);
  border-color: var(--a-blue-hi);
}

body.lux-login-page .lux-login-link--accent:active {
  background: var(--a-blue-deep);
  border-color: var(--a-blue-deep);
}

/* The page content shouldn't start flush against the bar */
body.lux-login-page .lux-login-main {
  margin-top: 1.5rem;
}

@media (max-width: 480px) {
  body.lux-login-page .lux-login-link {
    height: 32px;
    padding: 0 0.75rem;
    font-size: 0.78rem;
  }
}

/* ─────────────────────────────────────────────────────────────────
   Form clarity.
   In the light theme the shell, the visual panel and the form panel all
   resolve to white, so the inputs stopped reading as inputs. Apple's
   pattern: white sheet, grey-filled fields, hairline borders, a strong
   focus ring, and labels in full-strength text.
   ───────────────────────────────────────────────────────────────── */

body.lux-login-page .lux-login-shell {
  border: 1px solid var(--a-line);
  border-radius: 20px;
}

/* One white card on a grey page, split by a hairline — no two-tone panels */
body.lux-login-page .lux-login-visual {
  background: var(--a-surface);
  border-inline-end: 1px solid var(--a-line);
}

body.lux-login-page .lux-login-form-panel {
  background: var(--a-surface);
}

/* ─────────────────────────────────────────────────────────────────
   Restraint.
   The dark original leaned on colour for hierarchy: a violet badge on
   the left panel, a blue badge on the right, blue/violet gradient icon
   tiles. Three hues on one screen. Apple's rule is the opposite —
   neutral surfaces, a monochrome interface, and a single accent that
   belongs to the primary action and the focus ring alone.
   ───────────────────────────────────────────────────────────────── */

body.lux-login-page .lux-login-version,
body.lux-login-page .lux-login-visual__badge,
body.lux-login-page .lux-rs-visual .lux-login-visual__badge {
  color: var(--a-muted);
  background: var(--a-surface-2);
  border: 1px solid var(--a-line);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* Feature rows: a hairline list, not filled grey boxes */
body.lux-login-page .lux-login-visual__point {
  background: transparent;
  border: 1px solid var(--a-line);
  color: var(--a-text);
  font-weight: 400;
}

/* Icon tiles: monochrome, flat */
body.lux-login-page .lux-login-visual__point svg {
  background: var(--a-surface-2);
  border: 1px solid var(--a-line);
  color: var(--a-muted);
}

body.lux-login-page .lux-login-visual h2 {
  color: var(--a-text);
}

body.lux-login-page .lux-login-visual p {
  color: var(--a-muted);
}

/* Labels carry the "where am I typing" signal — full contrast, not grey */
body.lux-login-page .lux-field label {
  color: var(--a-text);
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
}

/* The field itself: filled, bordered, unmistakably a control */
body.lux-login-page .lux-field-control {
  min-height: 52px;
  background: var(--a-surface-2);
  border: 1px solid var(--a-line);
  border-radius: 12px;
  box-shadow: none;
}

body.lux-login-page .lux-field-control:hover {
  border-color: var(--a-muted);
}

body.lux-login-page .lux-field-control:focus-within {
  background: var(--a-surface);
  border-color: var(--a-blue);
  box-shadow: 0 0 0 4px var(--a-blue-bg);
}

body.lux-login-page .lux-field input[type="text"],
body.lux-login-page .lux-field input[type="password"],
body.lux-login-page .lux-field input[type="email"] {
  height: 50px;
  padding: 0 1rem;
  font-size: 1rem;
  color: var(--a-text);
}

body.lux-login-page .lux-field input::placeholder {
  color: var(--a-faint);
}

/* Room to breathe between fields */
body.lux-login-page .lux-login-form {
  gap: 1.15rem;
}

/* Eye toggle sits inside the control, muted until used */
body.lux-login-page .lux-field-toggle {
  color: var(--a-faint);
}

body.lux-login-page .lux-field-toggle:hover,
body.lux-login-page .lux-field-toggle:focus-visible {
  color: var(--a-text);
  background: var(--a-line-soft);
}

body.lux-login-page .lux-field-toggle[aria-pressed="true"] {
  color: var(--a-blue);
}

/* Submit: match the field height so the column reads as one rhythm */
body.lux-login-page .lux-submit {
  height: 52px;
  border-radius: 12px;
  font-size: 1rem;
}

/* ─────────────────────────────────────────────────────────────────
   Customer screen — lookup form.
   ───────────────────────────────────────────────────────────────── */

/* Secondary button inherits `color: #fff` from .lux-submit; once its
   background turned white the label vanished. */
body.lux-login-page .lux-submit--ghost {
  color: var(--a-text) !important;
  font-weight: 500;
}

body.lux-login-page .lux-submit--ghost:hover {
  background: var(--a-surface-2) !important;
  border-color: var(--a-muted) !important;
}

/* Job-sheet / invoice picker → a real segmented control:
   grey track, white raised pill for the active choice. */
body.lux-login-page .lux-rs-type-tabs {
  gap: 0;
  padding: 3px;
  border-radius: 12px;
  background: var(--a-surface-2);
  border: 1px solid var(--a-line);
}

body.lux-login-page .lux-rs-type-tab {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--a-muted);
  font-weight: 500;
  box-shadow: none;
}

body.lux-login-page .lux-rs-type-tab:hover:not(.is-active) {
  background: transparent;
  border-color: transparent;
  color: var(--a-text);
}

body.lux-login-page .lux-rs-type-tab.is-active {
  background: var(--a-surface);
  border-color: var(--a-line);
  color: var(--a-text);
  box-shadow: 0 1px 3px var(--a-shadow);
}

/* Quick lookup: a distinct panel, not a loose add-on */
body.lux-login-page .lux-rs-quick-lookup {
  margin-top: 1.35rem;
  padding: 0;
  border-top: 1px solid var(--a-line);
}

body.lux-login-page .lux-rs-quick-lookup > summary {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 0 0;
  font-weight: 500;
  color: var(--a-blue);
}

body.lux-login-page .lux-rs-quick-lookup > summary:hover {
  color: var(--a-blue-hi);
}

body.lux-login-page .lux-rs-quick-lookup > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-inline-end: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

body.lux-login-page .lux-rs-quick-lookup[open] > summary::after {
  transform: rotate(-135deg) translateY(-1px);
}

body.lux-login-page .lux-rs-form--nested {
  margin-top: 0.9rem;
  padding: 1.1rem;
  border-radius: 14px;
  background: var(--a-surface-2);
  border: 1px solid var(--a-line);
}

/* Fields inside the nested panel sit on grey — flip them to white */
body.lux-login-page .lux-rs-form--nested .lux-field-control {
  background: var(--a-surface);
}

body.lux-login-page .lux-rs-field-hint {
  color: var(--a-muted);
}

/* Same white-on-white trap as the ghost button: this hover kept `color: #fff`
   while its background became a pale blue tint. */
body.lux-login-page .lux-lang a:hover {
  color: var(--a-blue) !important;
}

/* Device / invoice tiles: flat surface reads cleaner than the grey→white
   gradient the dark original's gradient tokenised into */
body.lux-login-page .lux-rs-tile {
  background: var(--a-surface);
  border: 1px solid var(--a-line);
}

body.lux-login-page .lux-rs-card {
  background: var(--a-surface);
  box-shadow: 0 8px 30px var(--a-shadow);
}

/* Decorative colour in the results is turned off; colour that carries
   meaning — pass/fail badges, the device's status accent — is kept. */
body.lux-login-page .lux-rs-stat__icon,
body.lux-login-page .lux-rs-comment-avatar,
body.lux-login-page .lux-rs-comment--status .lux-rs-comment-avatar {
  background: var(--a-surface-2);
  border: 1px solid var(--a-line);
  color: var(--a-muted);
}

body.lux-login-page .lux-rs-section h3 .lux-rs-h-dot {
  background: var(--a-line);
}

/* Sits on a solid blue chip — it must stay white in both themes, not
   follow the surface token (which goes dark at night). */
body.lux-login-page .lux-rs-portal-avatar-edit {
  color: #ffffff;
}

body.lux-login-page .lux-rs-status-pill {
  color: var(--a-text);
  background: var(--a-surface-2);
  border: 1px solid var(--a-line);
}

/* ─────────────────────────────────────────────────────────────────
   Language FAB.
   Its stylesheet is shared with the dark marketing landing page, so it
   is re-skinned here (scoped to the auth body) rather than tokenised —
   tokenising it would leave the landing page with undefined variables.
   ───────────────────────────────────────────────────────────────── */

body.lux-login-page .lux-lang-fab-btn {
  background: var(--a-blue);
  border: 1px solid transparent;
  color: #ffffff;
  box-shadow: 0 6px 20px var(--a-shadow);
}

body.lux-login-page .lux-lang-fab-btn:hover {
  background: var(--a-blue-hi);
}

body.lux-login-page .lux-lang-fab-menu {
  background: var(--a-surface);
  border: 1px solid var(--a-line);
  box-shadow: 0 12px 32px var(--a-shadow);
}

body.lux-login-page .lux-lang-fab-item {
  background: transparent;
  border: 1px solid transparent;
  color: var(--a-text);
  box-shadow: none;
}

body.lux-login-page .lux-lang-fab-item:hover {
  background: var(--a-surface-2);
  border-color: var(--a-line);
  color: var(--a-text);
}

body.lux-login-page .lux-lang-fab-item.is-active {
  background: var(--a-blue-bg);
  border-color: var(--a-blue-bd);
  color: var(--a-on-blue);
}

body.lux-login-page .lux-lang-fab-code {
  color: var(--a-muted);
}
