/* ==========================================================================
   AUTH PAGES (login + register) — extracted from inline <style>
   ========================================================================== */


    :root {
      --primary: #9b1c1f;
      --primary-dark: #6c1417;
      --primary-light: #c22a2e;
      --ink: #0d0d0d;
      --paper: #f4f3ef;
      --paper-2: #ffffff;
      --steel: #5c5f64;
      --steel-light: #8b8e92;
      --line: #e3e0d8;
      --font-display: 'Big Shoulders Display', sans-serif;
      --font-body: 'Inter', sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
      --ease: cubic-bezier(.22, 1, .36, 1);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-body);
      background: var(--paper);
      color: var(--ink);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow-x: hidden;
    }

    /* Hide all header/footer/nav elements */
    .site-header,
    .subnav,
    .chainbar,
    .menu-fab,
    .offcanvas,
    .footer,
    .contact-action,
    .svc-breadcrumb {
      display: none !important;
    }

    /* Home Logo Button - Top Left */
    .home-logo-btn {
      position: fixed;
      top: 20px;
      left: 24px;
      z-index: 1000;
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--paper-2);
      border: 1.5px solid var(--line);
      border-radius: 999px;
      padding: 10px 18px;
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 16px;
      color: var(--ink);
      text-decoration: none;
      transition: all 0.3s var(--ease);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }

    .home-logo-btn:hover {
      border-color: var(--primary);
      color: var(--primary);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(155, 28, 31, 0.12);
    }

    .home-logo-btn i {
      font-size: 18px;
      color: var(--primary);
    }

    .brand__logo {
      height: 45px;
      width: auto;
    }

    .eyebrow-mono {
      font-family: var(--font-mono);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--primary);
    }

    /* ===== auth split screen ===== */
    .auth {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1.05fr 1fr;
      width: 100%;
      max-width: 1360px;
      margin: 0 auto;
      padding: 40px;
      gap: 40px;
      align-items: center;
    }

    .auth__art {
      position: relative;
      background: var(--ink);
      color: #fff;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 56px;
      border-radius: 24px;
      min-height: 500px;
    }

    .auth__art svg.route {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }

    .auth__art .route-line {
      fill: none;
      stroke: var(--primary);
      stroke-width: 2.4;
      stroke-linecap: round;
      stroke-dasharray: 1400;
      stroke-dashoffset: 1400;
      animation: drawroute 2.6s var(--ease) forwards .3s;
    }

    @keyframes drawroute {
      to {
        stroke-dashoffset: 0;
      }
    }

    .auth__marker {
      position: absolute;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 1px;
      color: #9c9a94;
    }

    .auth__badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-mono);
      font-size: 11px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--primary-light);
      margin-bottom: 22px;
      opacity: 0;
      animation: fadeup .7s var(--ease) forwards 1.4s;
    }

    .auth__title {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(2.4rem, 4vw, 3.6rem);
      line-height: .95;
      letter-spacing: -1px;
      margin-bottom: 16px;
      opacity: 0;
      animation: fadeup .7s var(--ease) forwards 1.55s;
    }

    .auth__title span {
      color: var(--primary-light);
    }

    .auth__copy {
      max-width: 380px;
      font-size: 14px;
      line-height: 1.7;
      color: #c9c7c1;
      margin-bottom: 34px;
      opacity: 0;
      animation: fadeup .7s var(--ease) forwards 1.7s;
    }

    .auth__stats {
      display: flex;
      gap: 34px;
      opacity: 0;
      animation: fadeup .7s var(--ease) forwards 1.85s;
    }

    .auth__stats div b {
      display: block;
      font-family: var(--font-display);
      font-size: 26px;
      font-weight: 800;
    }

    .auth__stats div span {
      font-size: 10px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: #8b8e92;
    }

    @keyframes fadeup {
      from {
        opacity: 0;
        transform: translateY(16px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .auth__form-wrap {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px 0;
    }

    .auth__form {
      width: 100%;
      max-width: 400px;
    }

    .auth__form .eyebrow-mono {
      margin-bottom: 10px;
      display: block;
    }

    .auth__form h2 {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(1.9rem, 3vw, 2.4rem);
      letter-spacing: -.5px;
      margin-bottom: 8px;
    }

    .auth__form>p {
      font-size: 13px;
      color: var(--steel);
      margin-bottom: 30px;
    }

    .field {
      position: relative;
      margin-bottom: 20px;
    }

    .field input,
    .field select {
      width: 100%;
      padding: 16px 16px 16px 44px;
      border: 1.5px solid var(--line);
      border-radius: 3px;
      background: var(--paper-2);
      font: inherit;
      font-size: 14px;
      color: var(--ink);
      transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
    }

    .field input:focus,
    .field select:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 4px rgba(155, 28, 31, .08);
    }

    .field i {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--steel-light);
      font-size: 14px;
    }

    .field label {
      position: absolute;
      left: 44px;
      top: 16px;
      font-size: 14px;
      color: var(--steel-light);
      pointer-events: none;
      transition: all .2s var(--ease);
      background: var(--paper-2);
      padding: 0 4px;
    }

    .field input:focus+label,
    .field input:not(:placeholder-shown)+label {
      top: -9px;
      left: 36px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .5px;
      text-transform: uppercase;
      color: var(--primary);
    }

    .field-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: -8px 0 22px;
      font-size: 12px;
    }

    .field-row a {
      color: var(--primary);
      font-weight: 600;
    }

    .chk {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--steel);
    }

    .chk input {
      width: 15px;
      height: 15px;
      accent-color: var(--primary);
    }

    .btn-solid {
      width: 100%;
      padding: 17px;
      background: var(--primary);
      color: #fff;
      font-weight: 700;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 2px;
      border-radius: 3px;
      box-shadow: 0 14px 28px rgba(155, 28, 31, .3);
      transition: all .3s var(--ease);
      border: none;
      cursor: pointer;
    }

    .btn-solid:hover {
      background: var(--primary-dark);
      transform: translateY(-3px);
      box-shadow: 0 18px 34px rgba(155, 28, 31, .4);
    }

    .auth__divider {
      display: flex;
      align-items: center;
      gap: 14px;
      margin: 26px 0;
      color: var(--steel-light);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .auth__divider::before,
    .auth__divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--line);
    }

    .auth__social {
      display: flex;
      gap: 12px;
    }

    .auth__social button {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 13px;
      border: 1.5px solid var(--line);
      border-radius: 3px;
      font-size: 13px;
      font-weight: 600;
      transition: .25s var(--ease);
      background: var(--paper-2);
      cursor: pointer;
    }

    .auth__social button:hover {
      border-color: var(--ink);
      background: var(--ink);
      color: #fff;
    }

    .auth__switch {
      margin-top: 26px;
      text-align: center;
      font-size: 13px;
      color: var(--steel);
    }

    .auth__switch a {
      color: var(--primary);
      font-weight: 700;
    }

    /* ===== toast ===== */
    .cm-toast {
      position: fixed;
      left: 50%;
      bottom: 26px;
      transform: translateX(-50%) translateY(20px);
      display: flex;
      gap: 12px;
      align-items: center;
      background: var(--ink);
      color: #fff;
      padding: 14px 20px;
      border-radius: 6px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
      opacity: 0;
      pointer-events: none;
      transition: all .4s var(--ease);
      z-index: 80;
      font-size: 13px;
    }

    .cm-toast.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

    .cm-toast i {
      color: #3ecf6c;
      font-size: 18px;
    }

    .cm-toast a {
      color: var(--primary-light);
      text-decoration: underline;
    }

    /* ===== confirmation overlay ===== */
    .confirmation-overlay {
      position: fixed;
      inset: 0;
      z-index: 2000;
      background: rgba(8, 8, 10, 0.8);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
    }

    .confirmation-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .confirmation-card {
      background: var(--paper-2);
      border-radius: 24px;
      max-width: 520px;
      width: 100%;
      padding: 48px 40px 40px;
      text-align: center;
      transform: scale(0.9) translateY(20px);
      transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
      opacity: 0;
      box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
      border: 1px solid var(--line);
    }

    .confirmation-overlay.active .confirmation-card {
      transform: scale(1) translateY(0);
      opacity: 1;
    }

    .confirmation-card .icon {
      font-size: 64px;
      color: #2f8f4e;
      margin-bottom: 16px;
    }

    .confirmation-card h2 {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 28px;
      margin-bottom: 8px;
    }

    .confirmation-card p {
      color: var(--steel);
      font-size: 15px;
      line-height: 1.6;
      margin-bottom: 8px;
    }

    .confirmation-card .booking-ref {
      background: var(--paper);
      padding: 12px;
      border-radius: 10px;
      font-family: var(--font-mono);
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 1px;
      color: var(--primary);
      margin: 16px 0 24px;
      border: 1px solid var(--line);
    }

    .confirmation-card .btn-home {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 40px;
      background: var(--primary);
      color: #fff;
      border: none;
      border-radius: 999px;
      font-weight: 700;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      cursor: pointer;
      transition: all 0.3s var(--ease);
      text-decoration: none;
    }

    .confirmation-card .btn-home:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(155, 28, 31, 0.3);
    }

    @media (max-width: 900px) {
      .auth {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 30px;
        padding-bottom: 60px !important;
      }

      .auth__art {
        padding: 40px 24px;
        min-height: 320px;
      }

      .auth__stats {
        gap: 24px;
      }

      .auth__form-wrap {
        padding: 0;
      }
      .home-logo-btn {
        top: auto;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        padding: 8px 14px;
        font-size: 13px;
        white-space: nowrap;
      }
    }

    @media (max-width: 480px) {
      .auth {
        padding: 12px;
      }

      .auth__art {
        padding: 24px 18px;
        min-height: 260px;
        border-radius: 16px;
      }

      .auth__title {
        font-size: 1.8rem;
      }

      .auth__stats div b {
        font-size: 20px;
      }

      .auth__form-wrap {
        padding: 0;
      }

      .auth__form {
        padding: 0 4px;
      }

      .auth__social {
        flex-direction: column;
      }
    }
    /* ============================================================
   PREMIUM SCROLLBAR DESIGN
   ============================================================ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
  border-left: 1px solid var(--line);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,
      var(--primary),
      var(--primary-dark));
  border-radius: 50px;
  border: 2px solid var(--paper);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg,
      var(--primary-light),
      var(--primary));
}

::-webkit-scrollbar-corner {
  background: var(--paper);
}

    /* Hide all header/footer/nav elements */
    .site-header,
    .subnav,
    .chainbar,
    .menu-fab,
    .offcanvas,
    .footer,
    .contact-action,
    .svc-breadcrumb {
      display: none !important;
    }

    /* Home Logo Button - Top Left */
    .home-logo-btn {
      position: fixed;
      top: 0px;
      left: 24px;
      z-index: 1000;
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--paper-2);
      border: 1.5px solid var(--line);
      border-radius: 999px;
      padding: 10px 18px;
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 16px;
      color: var(--ink);
      text-decoration: none;
      transition: all 0.3s var(--ease);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }

    /* ===== auth split screen ===== */
    .auth {
      min-height: 100vh;
      display: grid;
      grid-template-columns: 1fr 1.05fr;
      width: 100%;
      max-width: 1360px;
      margin: 0 auto;
      padding: 40px;
      gap: 40px;
      align-items: center;
      padding-top: 50px;
    }

    /* name row: first + last */
    .name-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-bottom: 0;
    }

    .name-row .field {
      margin-bottom: 10%;
    }
    .name-row .field input {
      padding: 16px 16px 16px 44px;
    }
    .name-row .field i {
      left: 16px;
    }
    .name-row .field label {
      left: 44px;
    }
    .name-row .field input:focus+label,
    .name-row .field input:not(:placeholder-shown)+label {
      left: 36px;
    }

    .chk {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--steel);
      font-size: 12px;
      margin-bottom: 22px;
    }

    .chk a {
      color: var(--primary);
      font-weight: 600;
    }

    .strength {
      height: 4px;
      border-radius: 2px;
      background: var(--line);
      margin: -10px 0 18px;
      overflow: hidden;
    }

    .strength i {
      display: block;
      height: 100%;
      width: 0%;
      background: var(--primary);
      transition: width .3s var(--ease), background .3s var(--ease);
    }

    .pass-match {
      font-size: 11px;
      margin-top: -12px;
      margin-bottom: 18px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .pass-match i {
      font-size: 13px;
    }
    .pass-match.match {
      color: #2fa860;
    }
    .pass-match.error {
      color: var(--primary);
    }

    /* B2B link */
    .b2b-link-wrap {
      text-align: center;
      margin: 16px 0 6px;
    }

    .b2b-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      font-weight: 600;
      color: var(--steel);
      padding: 10px 18px;
      border: 1.5px dashed var(--line);
      border-radius: 6px;
      transition: all .3s var(--ease);
      background: none;
      cursor: pointer;
      text-decoration: none;
    }

    .b2b-link:hover {
      border-color: var(--primary);
      color: var(--primary);
      background: rgba(155, 28, 31, .05);
    }

    .b2b-link i {
      color: var(--primary-light);
      font-size: 16px;
    }

    /* member card */
    .member-card {
      position: relative;
      width: 100%;
      max-width: 340px;
      aspect-ratio: 1.586;
      border-radius: 14px;
      background: linear-gradient(135deg, #1a1a1a, var(--ink) 60%, #2a0e0f);
      color: #fff;
      padding: 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
      overflow: hidden;
      margin-bottom: 30px;
    }

    .member-card::after {
      content: '';
      position: absolute;
      right: -40px;
      top: -40px;
      width: 160px;
      height: 160px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(155, 28, 31, .5), transparent 70%);
    }

    .member-card__top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      position: relative;
      z-index: 1;
    }

    .member-card__logo {
      font-family: var(--font-display);
      font-weight: 800;
      font-size: 16px;
    }

    .member-card__logo span {
      color: var(--primary-light);
    }

    .member-card__chip {
      width: 34px;
      height: 24px;
      border-radius: 5px;
      background: linear-gradient(135deg, #c9a24b, #8a6b23);
    }

    .member-card__num {
      font-family: var(--font-mono);
      font-size: 15px;
      letter-spacing: 3px;
      margin: 20px 0 6px;
      position: relative;
      z-index: 1;
    }

    .member-card__bottom {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      position: relative;
      z-index: 1;
    }

    .member-card__name {
      font-family: var(--font-mono);
      font-size: 12px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: #e7e5df;
    }

    .member-card__tier {
      font-size: 9px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--primary-light);
      font-weight: 700;
    }

    .perks {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-top: 10px;
    }

    .perk {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      font-size: 13px;
      color: #c9c7c1;
      opacity: 0;
      animation: fadeup .6s var(--ease) forwards;
    }

    .perk i {
      color: var(--primary-light);
      margin-top: 2px;
    }

    .perk:nth-child(1) {
      animation-delay: 1.9s;
    }
    .perk:nth-child(2) {
      animation-delay: 2.05s;
    }
    .perk:nth-child(3) {
      animation-delay: 2.2s;
    }

    /* ===== toast ===== */
    .cm-toast {
      position: fixed;
      left: 50%;
      bottom: 26px;
      transform: translateX(-50%) translateY(20px);
      display: flex;
      gap: 12px;
      align-items: center;
      background: var(--ink);
      color: #fff;
      padding: 14px 20px;
      border-radius: 6px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
      opacity: 0;
      pointer-events: none;
      transition: all .4s var(--ease);
      z-index: 80;
      font-size: 13px;
    }

    /* ===== confirmation overlay ===== */
    .confirmation-overlay {
      position: fixed;
      inset: 0;
      z-index: 2000;
      background: rgba(8, 8, 10, 0.8);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
    }

    @media (max-width: 900px) {
      .auth {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 30px;
        padding-bottom: 60px !important;
      }

      .auth__art {
        padding: 40px 24px;
        min-height: 320px;
        order: -1;
      }

      .auth__stats {
        gap: 24px;
      }

      .auth__form-wrap {
        padding: 0;
      }

      .name-row {
        grid-template-columns: 1fr;
        gap: 0;
      }

      .member-card {
        max-width: 100%;
      }
      .home-logo-btn {
        top: auto;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        padding: 8px 14px;
        font-size: 13px;
        white-space: nowrap;
      }
    }
    /* ============================================================
   PREMIUM SCROLLBAR DESIGN
   ============================================================ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* =====================================================================
   ARABIC (RTL) SUPPORT — Crank Masters auth pages
   كل الأنماط محصورة داخل html[dir="rtl"] حتى لا تؤثر على النسخة الإنجليزية.
   ===================================================================== */
html[dir="rtl"] {
  --font-display: "El Messiri", "Big Shoulders Display", sans-serif;
  --font-body: "Tajawal", "Inter", sans-serif;
  --font-mono: "Tajawal", "JetBrains Mono", monospace;
}

html[dir="rtl"] body {
  line-height: 1.7;
}

/* إزالة letter-spacing السالب من العناوين (لا يصلح للعربية) */
html[dir="rtl"] .auth__title,
html[dir="rtl"] .auth__form h2,
html[dir="rtl"] .confirmation-card h2 {
  letter-spacing: 0;
}

/* زر الشعار — ينتقل إلى أعلى اليمين */
html[dir="rtl"] .home-logo-btn {
  left: auto;
  right: 24px;
}

@media (max-width: 900px) {
  html[dir="rtl"] .home-logo-btn {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

/* حقول الإدخال — الأيقونة على اليمين والنص يتدفق من اليمين */
html[dir="rtl"] .field input,
html[dir="rtl"] .field select {
  padding: 16px 44px 16px 16px;
  text-align: right;
}

html[dir="rtl"] .field i {
  left: auto;
  right: 16px;
}

html[dir="rtl"] .field label {
  left: auto;
  right: 44px;
}

html[dir="rtl"] .field input:focus + label,
html[dir="rtl"] .field input:not(:placeholder-shown) + label {
  left: auto;
  right: 36px;
}

/* صف "تذكرني / نسيت كلمة المرور" */
html[dir="rtl"] .field-row {
  direction: rtl;
}

/* زر تسجيل الدخول */
html[dir="rtl"] .btn-solid {
  letter-spacing: 0.5px;
}

/* الـ divider */
html[dir="rtl"] .auth__divider {
  letter-spacing: 0;
}

/* أزرار التواصل الاجتماعي */
html[dir="rtl"] .auth__social {
  direction: rtl;
}

/* الـ confirmation card */
html[dir="rtl"] .confirmation-card {
  direction: rtl;
}

html[dir="rtl"] .confirmation-card .booking-ref {
  letter-spacing: 0;
}

html[dir="rtl"] .confirmation-card .btn-home {
  letter-spacing: 0;
}

/* الـ toast */
html[dir="rtl"] .cm-toast {
  direction: rtl;
}

/* شريط التمرير — ينتقل إلى يسار الصفحة في RTL */
html[dir="rtl"] ::-webkit-scrollbar-track {
  border-left: none;
  border-right: 1px solid var(--line);
}

/* اسم المستخدم في الكارت (register) */
html[dir="rtl"] .member-card__name {
  letter-spacing: 0;
}

html[dir="rtl"] .member-card__num {
  letter-spacing: 1px;
}

/* =====================================================================
   ARABIC (RTL) SUPPORT — Crank Masters auth pages
   كل الأنماط محصورة داخل html[dir="rtl"] حتى لا تؤثر على النسخة الإنجليزية.
   ===================================================================== */
html[dir="rtl"] {
  --font-display: "El Messiri", "Big Shoulders Display", sans-serif;
  --font-body: "Tajawal", "Inter", sans-serif;
  --font-mono: "Tajawal", "JetBrains Mono", monospace;
}

html[dir="rtl"] body {
  line-height: 1.7;
}

html[dir="rtl"] .auth__title,
html[dir="rtl"] .auth__form h2,
html[dir="rtl"] .confirmation-card h2 {
  letter-spacing: 0;
}

/* زر الشعار */
html[dir="rtl"] .home-logo-btn {
  left: auto;
  right: 24px;
}

@media (max-width: 900px) {
  html[dir="rtl"] .home-logo-btn {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

/* حقول الإدخال */
html[dir="rtl"] .field input,
html[dir="rtl"] .field select {
  padding: 16px 44px 16px 16px;
  text-align: right;
}

html[dir="rtl"] .field i {
  left: auto;
  right: 16px;
}

html[dir="rtl"] .field label {
  left: auto;
  right: 44px;
}

html[dir="rtl"] .field input:focus + label,
html[dir="rtl"] .field input:not(:placeholder-shown) + label {
  left: auto;
  right: 36px;
}

html[dir="rtl"] .field-row {
  direction: rtl;
}

html[dir="rtl"] .btn-solid {
  letter-spacing: 0.5px;
}

html[dir="rtl"] .auth__divider {
  letter-spacing: 0;
}

html[dir="rtl"] .auth__social {
  direction: rtl;
}

html[dir="rtl"] .confirmation-card {
  direction: rtl;
}

html[dir="rtl"] .confirmation-card .booking-ref,
html[dir="rtl"] .confirmation-card .btn-home {
  letter-spacing: 0;
}

html[dir="rtl"] .cm-toast {
  direction: rtl;
}

html[dir="rtl"] ::-webkit-scrollbar-track {
  border-left: none;
  border-right: 1px solid var(--line);
}

/* ===== REGISTER PAGE — RTL ===== */

/* صف الاسم (first + last) */
html[dir="rtl"] .name-row {
  direction: rtl;
}

/* كارت العضو */
html[dir="rtl"] .member-card {
  direction: rtl;
}

html[dir="rtl"] .member-card__name {
  letter-spacing: 0;
}

html[dir="rtl"] .member-card__num {
  letter-spacing: 1px;
}

/* قائمة المزايا */
html[dir="rtl"] .perks {
  direction: rtl;
}

html[dir="rtl"] .perk {
  text-align: right;
}

/* رابط B2B — السهم يقلب */
html[dir="rtl"] .b2b-link {
  direction: rtl;
}

html[dir="rtl"] .b2b-link .fa-arrow-right {
  transform: scaleX(-1);
}

/* مربع الموافقة على الشروط */
html[dir="rtl"] .chk {
  direction: rtl;
}

/* الـ strength bar و pass-match */
html[dir="rtl"] .strength {
  direction: rtl;
}

html[dir="rtl"] .pass-match {
  direction: rtl;
}

/* في الموبايل — name-row يصبح عمود واحد */
@media (max-width: 900px) {
  html[dir="rtl"] .auth {
    padding-bottom: 60px !important;
  }
}