
    :root {
      --bg-cream: #f4efe6;
      --bg-input: rgba(255, 255, 255, 0.56);
      --white: #ffffff;
      --ink: #18181b;
      --ink-secondary: #52525b;
      --ink-muted: #71717a;
      --border: rgba(24, 24, 27, 0.11);
      --border-focus: #18181b;
      --amber: #e59a38;
      --amber-hover: #d4892a;
      --dot-accent: #c8553d;
      --font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      --font-ar: 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html, body {
      min-height: 100vh;
    }

    body {
      font-family: var(--font-en);
      background-color: var(--bg-cream);
      color: var(--ink);
      font-size: 14px;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      overflow-x: hidden;
    }

    html[dir="rtl"] body {
      font-family: var(--font-ar);
    }

    /* Screen-Reader & Search/AI Crawler Semantic Copy (Zero Visual Clutter) */
    .sr-only-aeo {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* Living Ambient Sky & Panoramic Skyline Stage */
    .ambient-sky-scene {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }

    .ambient-sky-glow {
      position: absolute;
      border-radius: 50%;
      filter: blur(75px);
      pointer-events: none;
      z-index: 0;
      opacity: 0.85;
    }
    .ambient-sky-glow.gold-glow {
      width: 340px;
      height: 340px;
      background: radial-gradient(circle, rgba(245, 158, 11, 0.24) 0%, rgba(245, 158, 11, 0) 70%);
      top: 25%;
      left: 12%;
    }
    .ambient-sky-glow.blue-glow {
      width: 380px;
      height: 380px;
      background: radial-gradient(circle, rgba(14, 165, 233, 0.20) 0%, rgba(14, 165, 233, 0) 70%);
      top: 38%;
      right: 10%;
    }

    .bg-skyline-horizon {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 1520px;
      pointer-events: none;
      opacity: 0.78;
      line-height: 0;
    }

    .bg-skyline-horizon img {
      width: 100%;
      height: auto;
      display: block;
      -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 100%);
      mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 100%);
    }

    /* Soft Ambient Sky Clouds */
    .sky-clouds-svg {
      position: absolute;
      top: 4%;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 1440px;
      height: 190px;
      opacity: 0.65;
    }

    .drifting-cloud {
      animation: cloudDrift 34s ease-in-out infinite alternate;
    }

    .drifting-cloud.c2 {
      animation-duration: 42s;
      animation-direction: alternate-reverse;
    }

    @keyframes cloudDrift {
      0%   { transform: translateX(-22px); }
      100% { transform: translateX(22px); }
    }

    /* ==============================================================
       HOMEPAGE-EXACT SVG TEARDROP HOT-AIR BALLOONS (18 COUNTRIES)
       ============================================================== */
    .balloon-wrapper {
      position: absolute;
      touch-action: none;
      user-select: none;
      will-change: transform;
      pointer-events: auto;
      z-index: 5;
    }

    .balloon {
      position: relative;
      width: 72px;
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      background: none;
      border: none;
      padding: 0;
      font-family: inherit;
      filter: drop-shadow(0 12px 18px rgba(24, 24, 27, 0.13));
      transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
    }

    .balloon-wrapper:hover .balloon {
      transform: translateY(-6px) scale(1.08);
      filter: drop-shadow(0 16px 26px rgba(24, 24, 27, 0.19));
    }

    .balloon-svg-art {
      width: 100%;
      height: auto;
      display: block;
      overflow: visible;
    }

    /* Tooltip on Hover */
    .balloon-tooltip {
      position: absolute;
      bottom: calc(100% + 6px);
      left: 50%;
      transform: translateX(-50%) translateY(4px);
      background: rgba(24, 24, 27, 0.92);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      color: #ffffff;
      font-size: 11px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 99px;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
      box-shadow: 0 6px 14px rgba(24, 24, 27, 0.16);
      z-index: 20;
    }

    .balloon-wrapper:hover .balloon-tooltip {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    /* Rigging, Burner Flame & Woven Wicker Basket matching Homepage */
    .balloon-rigging {
      width: 20px;
      height: 12px;
      border-left: 1.3px solid #57534e;
      border-right: 1.3px solid #57534e;
      margin-top: -1px;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      position: relative;
    }

    .burner-flame {
      width: 10px;
      height: 13px;
      background: radial-gradient(circle at 50% 85%, #ffffff 0%, #fef08a 38%, #f97316 70%, rgba(234, 88, 12, 0) 100%);
      border-radius: 50% 50% 35% 35% / 70% 70% 30% 30%;
      transform-origin: bottom center;
      animation: flameFlicker 0.85s ease-in-out infinite alternate;
      filter: drop-shadow(0 0 5px rgba(249, 115, 22, 0.85));
      transition: transform 0.25s ease, filter 0.25s ease;
    }

    body.burners-ignited .burner-flame,
    .balloon-wrapper:hover .burner-flame {
      transform: scale(1.55, 1.85);
      filter: drop-shadow(0 0 12px rgba(253, 224, 71, 1)) drop-shadow(0 -4px 14px rgba(234, 88, 12, 0.95));
    }

    @keyframes flameFlicker {
      0%   { transform: scale(0.92, 0.94) rotate(-2deg); opacity: 0.88; }
      50%  { transform: scale(1.06, 1.14) rotate(2deg);  opacity: 1; }
      100% { transform: scale(0.95, 1.04) rotate(-1deg); opacity: 0.92; }
    }

    .balloon-basket {
      width: 18px;
      height: 13px;
      border-radius: 3px;
      background:
        repeating-linear-gradient(45deg, rgba(69,39,15,0.26) 0, rgba(69,39,15,0.26) 2px, transparent 2px, transparent 4px),
        linear-gradient(180deg, #b87943 0%, #78350f 100%);
      border: 1px solid #45270f;
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.22);
    }

    /* Scale Classes for Depth Perspective Across 18 Balloons */
    .sz-lg .balloon { width: 78px; }
    .sz-md .balloon { width: 65px; }
    .sz-sm .balloon { width: 54px; }
    .sz-sm .balloon-rigging { width: 15px; height: 10px; }
    .sz-sm .balloon-basket { width: 14px; height: 10px; }

    /* Left Wing (9 Balloons: KSA, UAE, KWT, QAT, BHR, OMN, ESP, PRT, MYS) */
    .pos-1 { top: 8%;  left: 3.5%; }
    .pos-2 { top: 30%; left: 2.2%; }
    .pos-3 { top: 15%; left: 13.5%; }
    .pos-4 { top: 40%; left: 11.5%; }
    .pos-5 { top: 7%;  left: 24%; }
    .pos-6 { top: 27%; left: 22.5%; }
    .pos-7 { top: 53%; left: 4.5%; }
    .pos-8 { top: 50%; left: 20.5%; }
    .pos-9 { top: 68%; left: 12.5%; }

    /* Right Wing (9 Balloons: GBR, DEU, FRA, NLD, SWE, AUS, NZL, SGP, THA) */
    .pos-10 { top: 8%;  right: 3.5%; }
    .pos-11 { top: 30%; right: 2.2%; }
    .pos-12 { top: 15%; right: 13.5%; }
    .pos-13 { top: 40%; right: 11.5%; }
    .pos-14 { top: 7%;  right: 24%; }
    .pos-15 { top: 27%; right: 22.5%; }
    .pos-16 { top: 53%; right: 4.5%; }
    .pos-17 { top: 50%; right: 20.5%; }
    .pos-18 { top: 68%; right: 12.5%; }

    @media (max-width: 1240px) {
      .pos-5, .pos-6, .pos-8, .pos-14, .pos-15, .pos-17 { display: none; }
    }

    @media (max-width: 900px) {
      .pos-3, .pos-4, .pos-9, .pos-12, .pos-13, .pos-18 { display: none; }
      .pos-1 { left: 2%; }
      .pos-2 { left: 3%; }
      .pos-10 { right: 2%; }
      .pos-11 { right: 3%; }
    }

    @media (max-width: 640px) {
      .pos-3, .pos-4, .pos-5, .pos-6, .pos-8, .pos-9, .pos-12, .pos-13, .pos-14, .pos-16, .pos-17, .pos-18 { display: none !important; }
      .pos-1 { top: 7% !important; left: 1% !important; display: block !important; }
      .pos-10 { top: 7% !important; right: 1% !important; display: block !important; }
      .pos-2 { top: 38% !important; left: -10px !important; display: block !important; opacity: 0.9 !important; }
      .pos-11 { top: 38% !important; right: -10px !important; display: block !important; opacity: 0.9 !important; }
      .pos-7 { top: 68% !important; left: 2% !important; display: block !important; opacity: 0.8 !important; }
      .pos-15 { top: 68% !important; right: 2% !important; display: block !important; opacity: 0.8 !important; }
      .sz-lg .balloon, .sz-md .balloon, .sz-sm .balloon { width: 50px !important; }

      .bg-skyline-horizon {
        width: 230% !important;
        max-width: none !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        bottom: -15px !important;
        opacity: 0.88 !important;
      }
      .bg-skyline-horizon img {
        min-height: 280px !important;
        object-fit: cover !important;
        object-position: center bottom !important;
      }

      .login-card {
        padding: 28px 20px 24px !important;
        border-radius: 24px !important;
        background: linear-gradient(
          145deg,
          rgba(255, 255, 255, 0.74) 0%,
          rgba(255, 255, 255, 0.46) 100%
        ) !important;
        backdrop-filter: blur(30px) saturate(210%) !important;
        -webkit-backdrop-filter: blur(30px) saturate(210%) !important;
        border: 1px solid rgba(255, 255, 255, 0.92) !important;
        box-shadow:
          0 24px 64px -12px rgba(24, 24, 27, 0.14),
          0 6px 20px rgba(24, 24, 27, 0.05),
          inset 0 1.5px 0.5px rgba(255, 255, 255, 0.98),
          inset 0 -1px 0 rgba(24, 24, 27, 0.05),
          inset 0 0 20px rgba(255, 255, 255, 0.3) !important;
      }
    }

    /* ==============================================================
       APPLE-LIKE LIQUID FROSTED GLASS LOGIN CARD & INPUTS
       ============================================================== */
    .portal-topbar {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 22px 24px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      z-index: 10;
    }

    .back-home-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      font-weight: 600;
      color: var(--ink-secondary);
      text-decoration: none;
      padding: 6px 12px;
      border-radius: 99px;
      background: rgba(255, 255, 255, 0.55);
      backdrop-filter: blur(16px) saturate(180%);
      -webkit-backdrop-filter: blur(16px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.75);
      box-shadow: 0 2px 10px rgba(24, 24, 27, 0.04);
      transition: all 0.18s ease;
    }

    .back-home-link:hover {
      color: var(--ink);
      background: rgba(255, 255, 255, 0.82);
    }

    .lang-toggle-btn {
      background: rgba(255, 255, 255, 0.58);
      backdrop-filter: blur(16px) saturate(180%);
      -webkit-backdrop-filter: blur(16px) saturate(180%);
      border: 1px solid rgba(255, 255, 255, 0.8);
      box-shadow: 0 2px 10px rgba(24, 24, 27, 0.04);
      padding: 6px 14px;
      border-radius: 99px;
      cursor: pointer;
      font-size: 12px;
      font-weight: 700;
      color: var(--ink);
      font-family: inherit;
      transition: all 0.18s ease;
    }

    .lang-toggle-btn:hover {
      background: rgba(255, 255, 255, 0.88);
    }

    /* Centered Auth Container */
    .login-page {
      background: transparent !important;
    }

    .login-page {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 20px 20px 42px;
      position: relative;
      z-index: 10;
    }

    /* Apple Vision / macOS Frosted Glass Card */
    .login-card {
      background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(255, 255, 255, 0.52) 100%
      );
      backdrop-filter: blur(28px) saturate(190%);
      -webkit-backdrop-filter: blur(28px) saturate(190%);
      border: 1px solid rgba(255, 255, 255, 0.82);
      border-radius: 24px;
      padding: 38px 36px 32px;
      width: 100%;
      max-width: 440px;
      box-shadow:
        0 24px 60px rgba(24, 24, 27, 0.08),
        0 4px 16px rgba(24, 24, 27, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        inset 0 0 0 0.5px rgba(24, 24, 27, 0.06);
    }

    @media (max-width: 480px) {
      .login-card {
        padding: 28px 20px 24px;
        border-radius: 20px;
      }
    }

    /* Clean Brand Header */
    .login-brand {
      text-align: center;
      margin-bottom: 20px;
    }

    .brand-logo-link {
      text-decoration: none;
      color: inherit;
      display: inline-block;
    }

    .login-brand h1 {
      font-size: 31px;
      font-weight: 800;
      color: var(--ink);
      letter-spacing: -0.8px;
      line-height: 1.1;
    }

    .login-brand h1 span {
      color: var(--dot-accent);
    }

    .login-brand p {
      font-size: 13.5px;
      color: var(--ink-secondary);
      font-weight: 500;
      margin-top: 5px;
    }

    /* Subtle Personal Locker & B2B Freight Forwarding Glass Pill Under Brand */
    .b2b-freight-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 10px;
      padding: 4.5px 12px;
      border-radius: 99px;
      background: rgba(255, 255, 255, 0.58);
      border: 1px solid rgba(255, 255, 255, 0.85);
      box-shadow: 0 2px 6px rgba(24, 24, 27, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.8);
      font-size: 11.5px;
      font-weight: 600;
      color: var(--ink-secondary);
    }

    .b2b-freight-pill strong {
      color: var(--ink);
      font-weight: 700;
    }

    .b2b-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--amber);
      display: inline-block;
    }

    /* Apple-Style Segmented Glass Switcher */
    .auth-mode-tabs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4px;
      background: rgba(24, 24, 27, 0.055);
      border: 1px solid rgba(255, 255, 255, 0.5);
      padding: 4px;
      border-radius: 12px;
      margin-bottom: 22px;
      box-shadow: inset 0 1px 2px rgba(24, 24, 27, 0.04);
    }

    .auth-tab-btn {
      background: transparent;
      border: none;
      padding: 8.5px 10px;
      border-radius: 9px;
      font-family: inherit;
      font-size: 13px;
      font-weight: 700;
      color: var(--ink-secondary);
      cursor: pointer;
      transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .auth-tab-btn.active {
      background: rgba(255, 255, 255, 0.88);
      color: var(--ink);
      box-shadow:
        0 2px 8px rgba(24, 24, 27, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    }

    /* Smooth Form Fade-Slide Transition on Tab Switch */
    @keyframes formSlideIn {
      from { opacity: 0; transform: translateY(6px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .login-form {
      display: flex;
      flex-direction: column;
      gap: 14px;
      animation: formSlideIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* Account Type Glass Selector on Create Account (Personal vs B2B Commercial) */
    .account-type-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .acct-type-option {
      background: rgba(255, 255, 255, 0.52);
      border: 1px solid rgba(24, 24, 27, 0.1);
      border-radius: 10px;
      padding: 8.5px 10px;
      font-family: inherit;
      font-size: 12px;
      font-weight: 700;
      color: var(--ink-secondary);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: all 0.16s ease;
    }

    .acct-type-option.active {
      background: rgba(255, 255, 255, 0.92);
      color: var(--ink);
      border-color: var(--ink);
      box-shadow: 0 3px 10px rgba(24, 24, 27, 0.06);
    }

    /* Mini Animated Flight Route Strip inside Create Account */
    .mini-route-strip {
      background: rgba(255, 255, 255, 0.55);
      border: 1px solid rgba(255, 255, 255, 0.85);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 3px rgba(24, 24, 27, 0.03);
      border-radius: 10px;
      padding: 8px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 12px;
      font-weight: 700;
      color: var(--ink);
    }

    .mini-route-track {
      flex: 1;
      margin: 0 12px;
      height: 1.5px;
      background: repeating-linear-gradient(90deg, var(--amber) 0, var(--amber) 5px, transparent 5px, transparent 10px);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .mini-route-plane {
      padding: 0 5px;
      color: var(--dot-accent);
      font-size: 13px;
      display: inline-block;
      animation: miniPlaneGlide 2.2s ease-in-out infinite;
    }

    @keyframes miniPlaneGlide {
      0%, 100% { transform: translateX(-5px); }
      50%      { transform: translateX(5px); }
    }

    .form-row-2col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    @media (max-width: 480px) {
      .form-row-2col {
        grid-template-columns: 1fr;
      }
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .form-group label {
      font-size: 13px;
      font-weight: 600;
      color: var(--ink);
    }

    .form-header-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .forgot-link {
      color: var(--ink-secondary);
      font-size: 12px;
      cursor: pointer;
      font-weight: 600;
      text-decoration: none;
      background: none;
      border: none;
      font-family: inherit;
      padding: 0;
      transition: color 0.15s ease;
    }

    .forgot-link:hover {
      color: var(--ink);
      text-decoration: underline;
    }

    .input-wrapper {
      position: relative;
      display: flex;
      align-items: center;
    }

    /* Apple-Like Translucent Glass Inputs */
    .form-control {
      width: 100%;
      padding: 10.5px 13px;
      background: rgba(255, 255, 255, 0.62);
      border: 1px solid rgba(24, 24, 27, 0.12);
      border-radius: 11px;
      color: var(--ink);
      font-size: 14px;
      font-weight: 500;
      font-family: inherit;
      outline: none;
      box-shadow: inset 0 1px 2px rgba(24, 24, 27, 0.02), 0 1px 0 rgba(255, 255, 255, 0.7);
      transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    }

    .form-control.has-toggle {
      padding-right: 38px;
    }

    html[dir="rtl"] .form-control.has-toggle {
      padding-right: 13px;
      padding-left: 38px;
    }

    .form-control:focus {
      background: rgba(255, 255, 255, 0.94);
      border-color: var(--border-focus);
      box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
    }

    /* Subtle Show/Hide Password Toggle */
    .pw-toggle-btn {
      position: absolute;
      right: 10px;
      background: none;
      border: none;
      color: var(--ink-muted);
      cursor: pointer;
      padding: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    html[dir="rtl"] .pw-toggle-btn {
      right: auto;
      left: 10px;
    }

    .pw-toggle-btn:hover {
      color: var(--ink);
    }

    .remember-row {
      display: flex;
      align-items: center;
      font-size: 13px;
      color: var(--ink-secondary);
    }

    .checkbox-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      user-select: none;
    }

    .checkbox-label input[type="checkbox"] {
      width: 15px;
      height: 15px;
      accent-color: var(--ink);
      cursor: pointer;
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12.5px 20px;
      border-radius: 12px;
      font-size: 14.5px;
      font-weight: 700;
      font-family: inherit;
      cursor: pointer;
      transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);
      border: none;
      width: 100%;
      margin-top: 4px;
    }

    .btn-primary {
      background: var(--ink);
      color: var(--white);
      box-shadow: 0 6px 18px rgba(24, 24, 27, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    }

    .btn-primary:hover {
      background: #000000;
      transform: translateY(-1px);
      box-shadow: 0 10px 22px rgba(24, 24, 27, 0.22);
    }

    .btn-amber {
      background: var(--amber);
      color: var(--ink);
      box-shadow: 0 6px 18px rgba(229, 154, 56, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    }

    .btn-amber:hover {
      background: var(--amber-hover);
      transform: translateY(-1px);
      box-shadow: 0 10px 22px rgba(229, 154, 56, 0.34);
    }

    /* Subtle Status Message */
    .auth-status-banner {
      display: none;
      padding: 10px 12px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 600;
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(255, 255, 255, 0.9);
      color: var(--ink);
      margin-bottom: 14px;
      text-align: center;
    }

    .auth-status-banner.show {
      display: block;
    }

    /* Bottom Switch Prompt & Legal Links */
    .register-prompt {
      text-align: center;
      margin-top: 20px;
      font-size: 13.5px;
      color: var(--ink-secondary);
    }

    .register-link {
      color: var(--ink);
      cursor: pointer;
      font-weight: 700;
      text-decoration: underline;
      margin-left: 4px;
      background: none;
      border: none;
      font-family: inherit;
      font-size: inherit;
    }

    html[dir="rtl"] .register-link {
      margin-left: 0;
      margin-right: 4px;
    }

    .locker-footnote {
      text-align: center;
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid rgba(24, 24, 27, 0.08);
      font-size: 12px;
      color: var(--ink-secondary);
    }

    .footer-legal {
      text-align: center;
      margin-top: 14px;
      font-size: 12px;
      color: var(--ink-secondary);
    }

    .footer-legal a {
      color: inherit;
      text-decoration: underline;
      margin: 0 8px;
    }

    .footer-legal a:hover {
      color: var(--ink);
    }

    /* Subtle Validation Hints */
    .field-hint-row {
      font-size: 12px;
      color: var(--ink-muted);
      display: none;
      align-items: center;
      justify-content: space-between;
      margin-top: 2px;
    }

    .field-hint-row.visible {
      display: flex;
    }

    .hint-action-btn {
      background: none;
      border: none;
      color: var(--ink);
      font-weight: 700;
      font-size: 12px;
      text-decoration: underline;
      cursor: pointer;
      font-family: inherit;
      padding: 0;
    }

    /* Minimalist 4-Segment Password Strength Bar */
    .pw-strength-wrap {
      margin-top: 4px;
      display: none;
      flex-direction: column;
      gap: 5px;
    }

    .pw-strength-wrap.visible {
      display: flex;
    }

    .pw-bars-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 5px;
    }

    .pw-bar-seg {
      height: 3px;
      border-radius: 99px;
      background: rgba(24, 24, 27, 0.12);
      transition: background 0.2s ease;
    }

    .pw-bar-seg.filled-weak   { background: #a1a1aa; }
    .pw-bar-seg.filled-medium { background: var(--amber); }
    .pw-bar-seg.filled-strong { background: var(--ink); }

    .pw-strength-meta {
      display: flex;
      justify-content: space-between;
      font-size: 11.5px;
      color: var(--ink-muted);
    }

    /* Button Loading Spinner */
    .btn-spinner {
      width: 15px;
      height: 15px;
      border: 2px solid rgba(255,255,255,0.3);
      border-top-color: currentColor;
      border-radius: 50%;
      animation: spinCircle 0.65s linear infinite;
      display: none;
    }

    .btn.loading .btn-spinner {
      display: inline-block;
    }

    @keyframes spinCircle {
      to { transform: rotate(360deg); }
    }
  

    /* Dedicated Email Verification Required / Notice View */
    .verify-notice-view {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 14px;
      padding: 6px 0 2px;
      animation: fadeIn 0.24s ease-out;
    }
    .verify-notice-icon {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: rgba(245, 158, 11, 0.12);
      border: 1px solid rgba(245, 158, 11, 0.32);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--brand-amber);
      margin-bottom: 2px;
    }
    .verify-notice-title {
      font-size: 21px;
      font-weight: 800;
      color: var(--ink);
      margin: 0;
      letter-spacing: -0.02em;
    }
    .verify-notice-badge {
      display: inline-block;
      background: rgba(24, 24, 27, 0.05);
      border: 1px solid rgba(24, 24, 27, 0.12);
      padding: 6px 14px;
      border-radius: 99px;
      font-weight: 700;
      font-size: 13.5px;
      color: var(--ink);
      word-break: break-all;
    }
    .verify-notice-desc {
      font-size: 13px;
      line-height: 1.55;
      color: var(--ink-secondary);
      margin: 0;
    }
    .verify-notice-actions {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 6px;
    }
    .verify-resend-btn {
      background: transparent;
      border: none;
      color: var(--brand-amber);
      font-weight: 700;
      font-size: 12.5px;
      cursor: pointer;
      padding: 4px;
      text-decoration: underline;
      font-family: inherit;
    }
    .verify-resend-btn:hover {
      opacity: 0.85;
    }
    .verify-notice-tip {
      font-size: 11px;
      color: var(--ink-tertiary);
    }
