/* /Pages/Signup.razor.rz.scp.css */

    /* Brand tokens (:root vars) live in wwwroot/css/auth.css —
       :root cannot be defined in scoped .razor.css. */

    *[b-aozg2cowzo],
    *[b-aozg2cowzo]::before,
    *[b-aozg2cowzo]::after {
      box-sizing: border-box;
    }

    body[b-aozg2cowzo] {
      font-family: 'Inter', sans-serif;
      background: #ffffff;
      min-height: 100vh;
      margin: 0;
    }

    /* ── Layout ── */
    .page-wrapper[b-aozg2cowzo] {
      display: flex;
      min-height: 100vh;
    }

    /* ══════════════════════════════════════════
       LEFT PANEL
    ══════════════════════════════════════════ */
    .left-panel[b-aozg2cowzo] {
      width: 340px;
      min-width: 300px;
      background: linear-gradient(160deg, var(--bg-left) 0%, var(--bg-left-2) 100%);
      display: flex;
      flex-direction: column;
      padding: 36px 32px 40px;
      position: relative;
      overflow: hidden;
    }

    /* Decorative gold arc in background */
    .left-panel[b-aozg2cowzo]::before {
      content: '';
      position: absolute;
      top: -80px;
      right: -80px;
      width: 260px;
      height: 260px;
      border-radius: 50%;
      border: 32px solid rgba(201, 154, 26, .12);
      pointer-events: none;
    }

    .left-panel[b-aozg2cowzo]::after {
      content: '';
      position: absolute;
      bottom: -60px;
      left: -60px;
      width: 200px;
      height: 200px;
      border-radius: 50%;
      border: 24px solid rgba(79, 142, 247, .10);
      pointer-events: none;
    }

    /* Brand / logo */
    .brand[b-aozg2cowzo] {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
      text-decoration: none;
      margin-bottom: 150px;
      position: relative;
      z-index: 1;
      padding: 20px 16px;
      /* background: rgba(255, 255, 255, .05);
      border: 1px solid rgba(255, 255, 255, .10);
      border-radius: 16px; */
    }

    .brand-logo[b-aozg2cowzo] {
      width: 64px;
      height: 64px;
      object-fit: contain;
      filter: brightness(0) invert(1);
      drop-shadow: 0 4px 12px rgba(0, 0, 0, .3);
    }

    .brand-divider[b-aozg2cowzo] {
      width: 40px;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
      border-radius: 2px;
    }

    .brand-text[b-aozg2cowzo] {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      line-height: 1.2;
    }

    .brand-name[b-aozg2cowzo] {
      font-size: 1.45rem;
      font-weight: 700;
      color: #fff;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .brand-tagline[b-aozg2cowzo] {
      font-size: 0.62rem;
      font-weight: 600;
      color: var(--gold-light);
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    /* Welcome section */
    .welcome-section[b-aozg2cowzo] {
      text-align: center;
      margin-bottom: 28px;
      position: relative;
      z-index: 1;
    }

    .wave-emoji[b-aozg2cowzo] {
      font-size: 2.4rem;
      line-height: 1;
      margin-bottom: 10px;
      display: block;
    }

    .welcome-section h2[b-aozg2cowzo] {
      font-size: 1.15rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 0;
    }

    /* Gold divider */
    .divider-gold[b-aozg2cowzo] {
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
      border-radius: 2px;
      width: 160px;
      margin: 12px auto 20px;
    }

    .plan-badge[b-aozg2cowzo] {
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--gold-light);
      margin-bottom: 2px;
    }

    .plan-badge span[b-aozg2cowzo] {
      font-weight: 400;
      color: var(--text-muted);
    }

    .plan-desc[b-aozg2cowzo] {
      font-size: 0.76rem;
      color: var(--text-muted);
      margin-bottom: 16px;
    }

    /* Feature list */
    .feature-list[b-aozg2cowzo] {
      list-style: none;
      padding: 0;
      margin: 0 0 28px;
      position: relative;
      z-index: 1;
    }

    .feature-list li[b-aozg2cowzo] {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.80rem;
      color: var(--text-light);
      margin-bottom: 9px;
    }

    .feature-list li .check-icon[b-aozg2cowzo] {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--gold-mid), var(--gold-dark));
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: #fff;
      font-size: 0.7rem;
    }

    /* Module grid */
    .module-grid[b-aozg2cowzo] {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 4px;
      position: relative;
      z-index: 1;
    }

    /* Centered row for remaining 2 cards */
    .module-row-center[b-aozg2cowzo] {
      width: 100%;
      display: flex;
      justify-content: center;
      gap: 4px;
    }

    .module-row-center .module-card[b-aozg2cowzo] {
      width: calc(100% / 3 - 3px);
    }

    .module-card[b-aozg2cowzo] {
      background: rgba(255, 255, 255, .06);
      border: 1px solid rgba(255, 255, 255, .10);
      border-radius: 10px;
      padding: 8px 4px 7px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      font-size: 0.70rem;
      font-weight: 500;
      color: var(--text-light);
      width: calc(100% / 3 - 3px);
      cursor: pointer;
      transition: background .18s, border-color .18s, transform .15s;
    }

    .module-card:hover[b-aozg2cowzo] {
      background: rgba(255, 255, 255, .12);
      border-color: rgba(201, 154, 26, .4);
      transform: translateY(-2px);
    }

    .module-icon[b-aozg2cowzo] {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      flex-shrink: 0;
      box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    }

    /* Module icon colors — blue & gold palette */
    .icon-blue[b-aozg2cowzo] {
      background: linear-gradient(145deg, #185493, #185493);
      color: #fff;
    }

    .icon-gold[b-aozg2cowzo] {
      background: linear-gradient(145deg, #DFA129, #DFA129);
      color: #fff;
    }

    .icon-steel[b-aozg2cowzo] {
      background: linear-gradient(145deg, #60a5fa, #185493);
      color: #fff;
    }

    .icon-teal[b-aozg2cowzo] {
      background: linear-gradient(145deg, #34d399, #059669);
      color: #fff;
    }

    .icon-purple[b-aozg2cowzo] {
      background: linear-gradient(145deg, #a78bfa, #6d28d9);
      color: #fff;
    }

    .icon-amber[b-aozg2cowzo] {
      background: linear-gradient(145deg, #fbbf24, #b45309);
      color: #fff;
    }

    .icon-coral[b-aozg2cowzo] {
      background: linear-gradient(145deg, #f87171, #dc2626);
      color: #fff;
    }

    .icon-navy[b-aozg2cowzo] {
      background: linear-gradient(145deg, #3b82f6, #185493);
      color: #fff;
    }

    .icon-warm[b-aozg2cowzo] {
      background: linear-gradient(145deg, #f59e0b, #185493);
      color: #fff;
    }

    .icon-soon[b-aozg2cowzo] {
      background: rgba(255, 255, 255, .10);
      color: rgba(255, 255, 255, .35);
      border: 1.5px dashed rgba(255, 255, 255, .25);
    }

    .module-card--soon[b-aozg2cowzo] {
      opacity: .6;
      cursor: default;
    }

    .module-card--soon:hover[b-aozg2cowzo] {
      background: rgba(255, 255, 255, .06);
      border-color: rgba(255, 255, 255, .10);
      transform: none;
    }

    .icon-amber[b-aozg2cowzo] {
      background: linear-gradient(145deg, #fbbf24, #DFA129);
      color: #fff;
    }

    .icon-navy[b-aozg2cowzo] {
      background: linear-gradient(145deg, #3b82f6, #185493);
      color: #fff;
    }

    .icon-warm[b-aozg2cowzo] {
      background: linear-gradient(145deg, #f59e0b, #185493);
      color: #fff;
    }

    /* ══════════════════════════════════════════
       RIGHT PANEL
    ══════════════════════════════════════════ */
    .right-panel[b-aozg2cowzo] {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    /* Top nav */
    .top-nav[b-aozg2cowzo] {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 24px;
      padding: 18px 40px;
      border-bottom: 1px solid #f1f5f9;
    }

    .top-nav a[b-aozg2cowzo] {
      font-size: 0.82rem;
      color: #475569;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .top-nav a:hover[b-aozg2cowzo] {
      color: var(--blue-mid);
    }

    .lang-select[b-aozg2cowzo] {
      font-size: 0.82rem;
      color: #475569;
      display: flex;
      align-items: center;
      gap: 4px;
      cursor: pointer;
    }

    /* Form area */
    .form-area[b-aozg2cowzo] {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 40px;
    }

    .form-container[b-aozg2cowzo] {
      width: 100%;
      max-width: 620px;
    }

    .form-container h1[b-aozg2cowzo] {
      font-size: 1.85rem;
      font-weight: 700;
      color: var(--text-dark);
      margin-bottom: 6px;
    }

    .h1-accent[b-aozg2cowzo] {
      background: linear-gradient(90deg, var(--blue-mid), var(--gold-mid));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .promo-line[b-aozg2cowzo] {
      font-size: 0.82rem;
      color: #64748b;
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 28px;
    }

    .promo-line span:first-child[b-aozg2cowzo] {
      color: #334155;
    }

    .promo-dot[b-aozg2cowzo] {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: #94a3b8;
      display: inline-block;
    }

    /* Step indicator */
    .step-indicator[b-aozg2cowzo] {
      display: flex;
      align-items: center;
      margin-bottom: 26px;
    }

    .step[b-aozg2cowzo] {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.82rem;
      font-weight: 600;
    }

    .step-num[b-aozg2cowzo] {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.78rem;
      font-weight: 700;
    }

    .step.active .step-num[b-aozg2cowzo] {
      background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
      color: #fff;
      box-shadow: 0 2px 8px rgba(30, 85, 168, .3);
    }

    .step.inactive .step-num[b-aozg2cowzo] {
      background: #e2e8f0;
      color: #94a3b8;
    }

    .step.active .step-label[b-aozg2cowzo] {
      color: var(--blue-mid);
    }

    .step.inactive .step-label[b-aozg2cowzo] {
      color: #94a3b8;
    }

    .step-connector[b-aozg2cowzo] {
      flex: 1;
      height: 2px;
      background: linear-gradient(90deg, var(--blue-mid) 0%, #e2e8f0 100%);
      margin: 0 12px;
    }

    .step-connector.done[b-aozg2cowzo] {
      background: linear-gradient(90deg, var(--blue-mid), var(--gold-mid));
    }

    .step.done .step-num[b-aozg2cowzo] {
      background: linear-gradient(135deg, var(--gold-mid), var(--gold-dark));
      color: #fff;
      box-shadow: 0 2px 8px rgba(201, 154, 26, .3);
    }

    .step.done .step-label[b-aozg2cowzo] {
      color: var(--gold-dark);
    }

    /* Form inputs */
    .form-control-custom[b-aozg2cowzo] {
      border: 1.5px solid #e2e8f0;
      border-radius: 10px;
      padding: 13px 16px 13px 44px;
      font-size: 0.88rem;
      color: #1e293b;
      background: #fff;
      width: 100%;
      outline: none;
      transition: border-color .18s, box-shadow .18s;
    }

    .form-control-custom[b-aozg2cowzo]::placeholder {
      color: #94a3b8;
    }

    .form-control-custom:focus[b-aozg2cowzo] {
      border-color: var(--blue-mid);
      box-shadow: 0 0 0 3px rgba(30, 85, 168, .10);
    }

    .input-wrapper[b-aozg2cowzo] {
      position: relative;
    }

    .input-icon[b-aozg2cowzo] {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: #94a3b8;
      font-size: 1rem;
    }

    .eye-toggle[b-aozg2cowzo] {
      position: absolute;
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: #94a3b8;
      cursor: pointer;
      font-size: 1rem;
      background: none;
      border: none;
      padding: 0;
    }

    /* CTA button — gold gradient */
    .btn-continue[b-aozg2cowzo] {
      width: 100%;
      background: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue-dark) 100%);
      color: #fff;
      border: none;
      border-radius: 10px;
      padding: 14px;
      font-size: 0.93rem;
      font-weight: 600;
      cursor: pointer;
      transition: opacity .18s, transform .12s, box-shadow .18s;
      margin-top: 4px;
      box-shadow: 0 4px 14px rgba(30, 85, 168, .3);
      position: relative;
      overflow: hidden;
    }

    .btn-continue[b-aozg2cowzo]::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(240, 180, 41, .15) 0%, transparent 60%);
      pointer-events: none;
    }

    .btn-continue:hover[b-aozg2cowzo] {
      opacity: .92;
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(30, 85, 168, .35);
    }

    /* Divider */
    .or-divider[b-aozg2cowzo] {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 20px 0;
      font-size: 0.78rem;
      color: #94a3b8;
    }

    .or-divider[b-aozg2cowzo]::before,
    .or-divider[b-aozg2cowzo]::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #e2e8f0;
    }

    /* OAuth buttons */
    .oauth-row[b-aozg2cowzo] {
      display: flex;
      gap: 10px;
      margin-bottom: 10px;
    }

    .btn-oauth[b-aozg2cowzo] {
      flex: 1;
      background: #fff;
      border: 1.5px solid #e2e8f0;
      border-radius: 10px;
      padding: 12px 16px;
      font-size: 0.88rem;
      font-weight: 500;
      color: #1e293b;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      cursor: pointer;
      transition: border-color .18s, box-shadow .18s;
      text-decoration: none;
    }

    .btn-oauth:hover[b-aozg2cowzo] {
      border-color: var(--blue-mid);
      box-shadow: 0 2px 8px rgba(30, 85, 168, .1);
      color: #1e293b;
    }

    /* Trust badges */
    .trust-row[b-aozg2cowzo] {
      display: flex;
      gap: 0;
      margin: 20px 0 24px;
    }

    .trust-item[b-aozg2cowzo] {
      flex: 1;
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .trust-icon[b-aozg2cowzo] {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      flex-shrink: 0;
    }

    .trust-icon.blue[b-aozg2cowzo] {
      background: #dbeafe;
      color: var(--blue-mid);
    }

    .trust-icon.gold[b-aozg2cowzo] {
      background: var(--gold-pale);
      color: var(--gold-dark);
    }

    .trust-icon.navy[b-aozg2cowzo] {
      background: #eff6ff;
      color: var(--blue-dark);
    }

    .trust-text strong[b-aozg2cowzo] {
      font-size: 0.82rem;
      font-weight: 700;
      color: #1e293b;
      display: block;
    }

    .trust-text span[b-aozg2cowzo] {
      font-size: 0.74rem;
      color: #64748b;
    }

    /* Sign in link */
    .signin-line[b-aozg2cowzo] {
      text-align: center;
      font-size: 0.82rem;
      color: #64748b;
    }

    .signin-line a[b-aozg2cowzo] {
      color: var(--blue-mid);
      font-weight: 600;
      text-decoration: none;
    }

    .signin-line a:hover[b-aozg2cowzo] {
      text-decoration: underline;
    }

    /* SVG icons */
    .google-icon[b-aozg2cowzo],
    .ms-icon[b-aozg2cowzo] {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }

    /* Step 2 */
    .step2-subtitle[b-aozg2cowzo] {
      font-size: 0.86rem;
      color: #64748b;
      margin-bottom: 24px;
    }

    .subdomain-wrapper[b-aozg2cowzo] {
      display: flex;
      align-items: center;
      border: 1.5px solid #e2e8f0;
      border-radius: 10px;
      overflow: hidden;
      background: #fff;
      transition: border-color .18s;
    }

    .subdomain-wrapper:focus-within[b-aozg2cowzo] {
      border-color: var(--blue-mid);
      box-shadow: 0 0 0 3px rgba(30, 85, 168, .10);
    }

    .subdomain-input[b-aozg2cowzo] {
      border: none !important;
      box-shadow: none !important;
      border-radius: 0 !important;
      flex: 1;
      padding-left: 16px !important;
    }

    .subdomain-input:focus[b-aozg2cowzo] {
      box-shadow: none !important;
    }

    .subdomain-suffix[b-aozg2cowzo] {
      background: linear-gradient(135deg, var(--blue-dark), var(--bg-left));
      color: white;
      font-size: 0.82rem;
      font-weight: 600;
      padding: 0 16px;
      height: 100%;
      display: flex;
      align-items: center;
      white-space: nowrap;
      min-height: 48px;
      letter-spacing: 0.01em;
    }

    .subdomain-hint[b-aozg2cowzo] {
      font-size: 0.75rem;
      color: #94a3b8;
      margin-top: 7px;
      margin-bottom: 0;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .btn-back[b-aozg2cowzo] {
      width: 100%;
      background: transparent;
      color: #64748b;
      border: 1.5px solid #e2e8f0;
      border-radius: 10px;
      padding: 12px;
      font-size: 0.88rem;
      font-weight: 500;
      cursor: pointer;
      margin-top: 10px;
      transition: border-color .18s, color .18s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .btn-back:hover[b-aozg2cowzo] {
      border-color: var(--blue-mid);
      color: var(--blue-mid);
    }

    /* ── Email OTP step ── */
    .otp-inputs[b-aozg2cowzo] {
      display: flex;
      gap: 10px;
      margin: 4px 0 16px;
    }

    .otp-box[b-aozg2cowzo] {
      flex: 1;
      min-width: 0;
      height: 54px;
      text-align: center;
      font-size: 1.25rem;
      font-weight: 700;
      color: #1e293b;
      border: 1.5px solid #e2e8f0;
      border-radius: 10px;
      background: #fff;
      outline: none;
      transition: border-color .18s, box-shadow .18s;
    }

    .otp-box:focus[b-aozg2cowzo] {
      border-color: var(--blue-mid);
      box-shadow: 0 0 0 3px rgba(30, 85, 168, .10);
    }

    .otp-error[b-aozg2cowzo] {
      color: #dc2626;
      font-size: 0.8rem;
      font-weight: 500;
      margin: 0 0 12px;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .otp-resend[b-aozg2cowzo] {
      font-size: 0.82rem;
      color: #64748b;
      margin: 0 0 14px;
    }

    .otp-resend a[b-aozg2cowzo] {
      color: var(--blue-mid);
      font-weight: 600;
      text-decoration: none;
    }

    .otp-resend a:hover[b-aozg2cowzo] {
      text-decoration: underline;
    }

    .otp-resent[b-aozg2cowzo] {
      color: var(--teal-600, #0f6e56);
      font-weight: 600;
      margin-left: 6px;
    }

    .otp-demo[b-aozg2cowzo] {
      font-size: 0.78rem;
      color: #94a3b8;
      background: #f8fafc;
      border: 1px dashed #e2e8f0;
      border-radius: 8px;
      padding: 8px 12px;
      margin: 0 0 16px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .otp-demo strong[b-aozg2cowzo] {
      color: var(--blue-mid);
      letter-spacing: 0.12em;
    }

    /* ── Responsive ── */
    @media (max-width: 768px) {
      .left-panel[b-aozg2cowzo] {
        display: none;
      }

      .top-nav[b-aozg2cowzo] {
        padding: 16px 20px;
      }

      .form-area[b-aozg2cowzo] {
        padding: 24px 20px;
      }

      .form-container h1[b-aozg2cowzo] {
        font-size: 1.5rem;
      }

      .promo-line[b-aozg2cowzo] {
        font-size: 0.75rem;
        flex-wrap: wrap;
      }

      .trust-row[b-aozg2cowzo] {
        flex-direction: column;
        gap: 16px;
      }

      .step-indicator[b-aozg2cowzo] {
        margin-bottom: 20px;
      }

      .step[b-aozg2cowzo] {
        font-size: 0.75rem;
      }

      .step-line[b-aozg2cowzo] {
        width: 30px;
        margin: 0 10px;
      }

      .subdomain-suffix[b-aozg2cowzo] {
        font-size: 0.7rem;
        padding: 0 12px;
      }
    }

    @media (max-width: 480px) {
      .form-container[b-aozg2cowzo] {
        max-width: 100%;
      }

      .top-nav[b-aozg2cowzo] {
        gap: 16px;
      }

      .step span[b-aozg2cowzo] {
        display: none;
      }

      .step.active span[b-aozg2cowzo] {
        display: inline;
      }
      
      .step-line[b-aozg2cowzo] {
        width: 20px;
      }
    }
  
