/* Static merged css: feature-mysite-Register-css-d2f8ccfaef. Source order is preserved. */
/* source: cssjs/Login/css/login.css; sha256: 8f4367511eb7856bad11f8ed504645ba6951ae780ae14e8218624a74fe2657b2 */
:root {
  --auth-primary: #2563eb;
  --auth-primary-deep: #173e96;
  --auth-primary-soft: #edf4ff;
  --auth-navy: #0b1f44;
  --auth-ink: #10213d;
  --auth-muted: #63738d;
  --auth-line: #d6e2f1;
  --auth-surface: #ffffff;
  --auth-page: #eef4fa;
  --auth-success: #087f6b;
  --auth-success-soft: #e9f8f4;
  --auth-danger: #c2412d;
  --auth-danger-soft: #fff1ee;
  --auth-shadow: 0 3px 12px rgba(15, 23, 42, .08);
  --auth-radius-xl: 28px;
  --auth-radius-lg: 18px;
  --auth-radius-md: 13px;
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  color: var(--auth-ink);
  background: var(--auth-page);
  color-scheme: light;
}

html[data-my-theme="green"] {
  --auth-primary: #0f8f78;
  --auth-primary-deep: #086b5b;
  --auth-primary-soft: #e8f8f4;
}

html[data-my-theme="purple"] {
  --auth-primary: #7c3aed;
  --auth-primary-deep: #5b21b6;
  --auth-primary-soft: #f3edff;
}

html[data-my-theme="orange"] {
  --auth-primary: #d97706;
  --auth-primary-deep: #9a4d04;
  --auth-primary-soft: #fff4e5;
}

html[data-my-theme="dark"] {
  --auth-primary: #60a5fa;
  --auth-primary-deep: #bfdbfe;
  --auth-primary-soft: #172a46;
  --auth-navy: #f5f8ff;
  --auth-ink: #e5edf9;
  --auth-muted: #9cafc9;
  --auth-line: #334967;
  --auth-surface: #101d31;
  --auth-page: #0a1424;
  --auth-success-soft: #12372f;
  --auth-danger-soft: #3c211d;
  --auth-shadow: 0 3px 12px rgba(15, 23, 42, .08);
  color-scheme: dark;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html,
body { margin: 0; min-width: 320px; min-height: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--auth-page);
  color: var(--auth-ink);
  scrollbar-gutter: stable;
}

button,
input,
select { font: inherit; }

button { color: inherit; }

.auth-svg-sprite { position: fixed; width: 0; height: 0; overflow: hidden; }

.auth-svg-sprite symbol,
.auth-shell svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-shell {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(390px, 46%) minmax(520px, 54%);
  grid-template-areas: "brand form";
  min-height: 100vh;
  min-height: 100dvh;
  isolation: isolate;
}

.auth-brand-panel {
  grid-area: brand;
  direction: rtl;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100dvh;
  padding: clamp(30px, 4vw, 64px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(146deg, #071831 0%, #0b2550 52%, #113a72 100%);
}

.auth-brand-panel::before,
.auth-brand-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
}

.auth-brand-panel::before { width: 420px; height: 420px; inset: -200px auto auto -170px; }
.auth-brand-panel::after { width: 520px; height: 520px; inset: auto -270px -310px auto; }

.auth-brand-top,
.auth-mobile-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #3b82f6, #2563eb);
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}

.auth-brand-mark svg { width: 24px; height: 24px; }
.auth-brand-mark img { display: block; width: 34px; height: 34px; object-fit: contain; }
.auth-brand-logo { padding: 5px; }

.auth-brand-top strong,
.auth-mobile-brand b { display: block; font-size: 18px; line-height: 1.15; letter-spacing: -.01em; }
.auth-brand-top span,
.auth-mobile-brand small { display: block; margin-top: 3px; color: #a9c5f3; font-size: 11px; font-weight: 700; }

.auth-brand-copy {
  position: relative;
  z-index: 1;
  width: min(590px, 100%);
  margin-block: 38px;
}

.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid rgba(147, 197, 253, .22);
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(37, 99, 235, .12);
  font-size: 11px;
  font-weight: 800;
}

.auth-brand-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.25;
  letter-spacing: -.045em;
}

.auth-brand-copy h1 em { color: #7dd3fc; font-style: normal; }

.auth-brand-copy > p {
  max-width: 560px;
  margin: 0;
  color: #c9d8ef;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.9;
}

.auth-proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }

.auth-proof-grid article {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 68px;
  padding: 12px;
  border: 1px solid rgba(191, 219, 254, .13);
  border-radius: 15px;
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(10px);
}

.auth-proof-grid article > svg { flex: 0 0 auto; width: 35px; height: 35px; padding: 8px; border-radius: 10px; color: #7dd3fc; background: rgba(37, 99, 235, .18); }
.auth-proof-grid b { display: block; margin-bottom: 3px; font-size: 11px; line-height: 1.35; }
.auth-proof-grid small { display: block; overflow: hidden; color: #a9bddb; font-size: 9px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }

.auth-brand-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #9fb5d5;
  font-size: 11px;
}

.auth-brand-footer span { display: flex; align-items: center; gap: 7px; color: #b7e7da; font-weight: 700; }
.auth-brand-footer i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .12); }

html[dir="ltr"] .auth-brand-panel,
html[dir="ltr"] .auth-form-panel,
html[dir="ltr"] .auth-mobile-brand { direction: ltr; }
html[dir="ltr"] .auth-advanced-toggle { text-align: center; }
html[dir="ltr"] .auth-primary-button > svg { transform: none; }

.auth-form-panel {
  grid-area: form;
  direction: rtl;
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 100dvh;
  padding: clamp(24px, 4vw, 58px);
  overflow: auto;
  scrollbar-gutter: stable;
  background:
    linear-gradient(rgba(238, 244, 250, .92), rgba(238, 244, 250, .92));
}

.auth-form-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(#b8c9df 1px, transparent 1px), linear-gradient(90deg, #b8c9df 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 68%);
}

.auth-mobile-brand { display: none; }

.auth-login-stage {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 6px;
  width: min(520px, 100%);
}

.auth-stage-contact {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 100%;
  padding-top: 4px;
}
.auth-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  block-size: 40px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--auth-primary) 28%, var(--auth-line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--auth-primary) 7%, var(--auth-surface));
  color: var(--auth-primary-deep);
  box-shadow: 0 2px 6px rgba(15, 23, 42, .06);
  font: 800 12px/1.4 Tahoma, "Segoe UI", Arial, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
.auth-contact-button-icon { display: grid; place-items: center; }
.auth-contact-button-icon > svg { width: 19px; height: 19px; }
.auth-contact-button-chevron { width: 13px; height: 13px; stroke-width: 2; }
.auth-contact-button:is(:hover, [aria-expanded="true"]) { border-color: var(--auth-primary); background: color-mix(in srgb, var(--auth-primary) 13%, var(--auth-surface)); }
.auth-contact-button:focus-visible { outline: 2px solid var(--auth-primary); outline-offset: 2px; }
.auth-stage-contact > small { color: var(--auth-muted); font-size: 9px; }
.auth-form-panel .alfares-support-menu {
  --my-shell-primary: var(--auth-primary-deep);
  --my-shell-line: var(--auth-line);
  --my-shell-surface: var(--auth-surface);
  --my-shell-ink: var(--auth-ink);
  --my-shell-muted: var(--auth-muted);
}

.auth-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 644px;
  border: 1px solid rgba(198, 214, 234, .92);
  border-radius: var(--auth-radius-xl);
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--auth-shadow);
  overflow-x: visible;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.auth-attendance-menu-trigger {
  direction: rtl;
  position: fixed;
  z-index: 45;
  top: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  width: min(252px, calc(46vw - 48px));
  min-height: 60px;
  padding: 8px 11px;
  border: 1px solid rgba(191, 219, 254, .24);
  border-radius: 12px;
  color: #f7fbff;
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
  backdrop-filter: blur(12px);
  text-align: right;
  cursor: pointer;
}
.auth-attendance-menu-trigger:focus-visible { outline: 3px solid rgba(125, 211, 252, .46); outline-offset: 3px; }
.auth-attendance-trigger-icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; color: #dbeafe; background: rgba(37, 99, 235, .32); }
.auth-attendance-trigger-icon svg { width: 21px; height: 21px; }
.auth-attendance-trigger-icon i { position: absolute; inset: auto 2px 2px auto; width: 8px; height: 8px; border: 2px solid #13366a; border-radius: 50%; background: #f59e0b; }
.auth-attendance-menu-trigger[data-state="ready"] .auth-attendance-trigger-icon i { background: #34d399; }
.auth-attendance-trigger-copy { min-width: 0; }
.auth-attendance-trigger-copy strong,
.auth-attendance-trigger-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-attendance-trigger-copy strong { font-size: 12px; line-height: 1.45; }
.auth-attendance-trigger-copy small { margin-top: 2px; color: #b9ceea; font-size: 9.5px; font-weight: 700; }
.auth-attendance-trigger-arrow { width: 17px; height: 17px; transform: rotate(180deg); }
html[dir="ltr"] .auth-attendance-menu-trigger { direction: ltr; text-align: left; }
html[dir="ltr"] .auth-attendance-trigger-arrow { transform: none; }

.auth-hr-qr-backdrop {
  position: fixed;
  z-index: 80;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(6, 20, 42, .56);
  backdrop-filter: blur(3px);
  cursor: default;
}

.auth-hr-qr-card {
  direction: rtl;
  position: fixed;
  z-index: 90;
  inset: 0 auto 0 0;
  width: min(440px, 100vw);
  height: 100vh;
  height: 100dvh;
  padding: 26px 28px 22px;
  border: 0;
  border-right: 1px solid rgba(169, 196, 231, .94);
  border-radius: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--auth-ink);
  background: rgba(255, 255, 255, .99);
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}

.auth-hr-qr-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e9f3;
}
.auth-hr-qr-header > div { min-width: 0; }
.auth-hr-qr-header small { display: block; color: var(--auth-primary); font-size: 10px; font-weight: 850; }
.auth-hr-qr-header h2 { margin: 4px 0 0; color: var(--auth-navy); font-size: 18px; line-height: 1.35; }
.auth-hr-qr-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; color: var(--auth-primary); background: var(--auth-primary-soft); }
.auth-hr-qr-icon svg { width: 21px; height: 21px; }
.auth-hr-qr-close { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #d7e2ef; border-radius: 8px; color: #617691; background: #fff; cursor: pointer; }

.auth-hr-qr-close:focus-visible { border-color: var(--auth-primary); color: var(--auth-primary); background: var(--auth-primary-soft); outline: 0; }
.auth-hr-qr-close svg { width: 17px; height: 17px; }

.auth-hr-qr-modes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; margin: 0 0 22px; padding: 4px; border: 1px solid #dce6f1; border-radius: 9px; background: #edf3fa; }
.auth-hr-qr-modes button { min-height: 38px; padding: 7px 9px; border: 1px solid transparent; border-radius: 6px; color: #637894; background: transparent; font-family: inherit; font-size: 10px; font-weight: 850; cursor: pointer; }
.auth-hr-qr-modes button.is-active { border-color: #c6daf0; color: var(--auth-primary-deep); background: #fff; box-shadow: 0 3px 12px rgba(15, 23, 42, .08); }
.auth-hr-qr-modes button:focus-visible { outline: 2px solid var(--auth-primary); outline-offset: 1px; }

.auth-hr-qr-figure { display: grid; justify-items: center; gap: 14px; margin: 0; text-align: center; }
.auth-hr-qr-image-shell { display: grid; place-items: center; width: 220px; height: 220px; padding: 10px; border: 1px solid #d8e5f3; border-radius: 10px; background: #fff; transition: width .18s ease, height .18s ease; }
.auth-hr-qr-image-shell > * { grid-area: 1 / 1; }
.auth-hr-qr-image-shell img { display: block; width: 100%; height: 100%; object-fit: contain; }
.auth-hr-qr-placeholder { width: 48px; height: 48px; color: #8aa6c9; }
.auth-hr-qr-card[data-state="unavailable"] .auth-hr-qr-image-shell { width: 84px; height: 84px; background: #f3f7fc; }
.auth-hr-qr-card[data-state="unavailable"] .auth-hr-qr-placeholder { width: 32px; height: 32px; }
.auth-hr-qr-figure figcaption { min-width: 0; max-width: 330px; }
.auth-hr-qr-figure figcaption strong { display: block; margin-bottom: 6px; color: var(--auth-navy); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.auth-hr-qr-figure figcaption span { display: block; color: var(--auth-muted); font-size: 10px; line-height: 1.75; }

.auth-hr-qr-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 10px 11px; border-radius: 8px; color: #536b8d; background: #f3f7fc; font-size: 9.5px; font-weight: 750; }
.auth-hr-qr-meta time { direction: ltr; color: var(--auth-primary-deep); font-variant-numeric: tabular-nums; font-weight: 900; }
.auth-hr-qr-card[data-state="refreshing"] .auth-hr-qr-image-shell { opacity: .62; }

.auth-hr-qr-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
  border: 1px solid #cedced;
  border-radius: 8px;
  color: var(--auth-primary-deep);
  background: #fff;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.auth-hr-qr-refresh:focus-visible { border-color: var(--auth-primary); background: var(--auth-primary-soft); outline: 0; }
.auth-hr-qr-refresh:disabled { cursor: progress; opacity: .65; }
.auth-hr-qr-refresh svg { width: 15px; height: 15px; }
.auth-hr-qr-card[data-state="refreshing"] .auth-hr-qr-refresh svg { animation: auth-qr-spin .8s linear infinite; }

.auth-hr-qr-privacy { display: flex; align-items: flex-start; gap: 7px; margin: 12px 1px 0; color: var(--auth-muted); font-size: 8.5px; line-height: 1.6; }
.auth-hr-qr-privacy svg { flex: 0 0 auto; width: 13px; height: 13px; margin-top: 1px; color: var(--auth-success); }
html.auth-attendance-open body { overflow: hidden; }
@keyframes auth-qr-spin { to { transform: rotate(360deg); } }

.auth-card > section { flex: 1 1 auto; padding: 24px 30px 16px; }

.auth-mini-toolbar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin: 0 0 16px;
  padding: 3px 5px;
  border: 1px solid #dde7f2;
  border-radius: 12px;
  background: #f7faff;
}

.auth-toolbar-label,
.auth-control-cluster,
.auth-language-switcher { display: flex; align-items: center; }
.auth-toolbar-label { justify-self: start; gap: 5px; padding-inline: 7px; color: var(--auth-muted); font-size: 10.5px; font-weight: 800; }
.auth-toolbar-label svg { width: 13px; height: 13px; }
.auth-control-cluster,
.auth-language-switcher { gap: 4px; }
.auth-control-cluster { direction: ltr; }
.auth-language-switcher { direction: ltr; }
.auth-theme-picker { position: relative; }

.auth-theme-trigger,
.auth-language-switcher .lang-btn {
  display: grid;
  place-items: center;
  width: auto;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #d7e3f0;
  border-radius: 9px;
  color: #526c91;
  background: #fff;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.auth-theme-trigger { width: 32px; padding: 0; }
.auth-theme-trigger svg { width: 16px; height: 16px; }

.auth-theme-trigger[aria-expanded="true"] { color: var(--auth-primary-deep); background: var(--auth-primary-soft); }
.auth-language-switcher .lang-btn.is-active { border-color: var(--auth-primary); color: #fff; background: var(--auth-primary); }

.auth-theme-menu {
  position: absolute;
  z-index: 50;
  inset: calc(100% + 7px) auto auto 0;
  display: grid;
  grid-template-columns: repeat(5, 31px);
  gap: 5px;
  padding: 7px;
  border: 1px solid var(--auth-line);
  border-radius: 11px;
  background: var(--auth-surface);
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}

.auth-theme-menu button { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; border: 1px solid transparent; border-radius: 9px; background: transparent; cursor: pointer; }

.auth-theme-menu button.is-active { border-color: var(--auth-primary); background: var(--auth-primary-soft); }
.auth-theme-menu button i { width: 15px; height: 15px; border: 2px solid #fff; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px #b9c8da; }
.auth-theme-menu button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.auth-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.auth-card-header > div { min-width: 0; }
#login > .auth-card-header { flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
#login > .auth-card-header > div { width: 100%; }
#login > .auth-card-header h2 { margin-bottom: 0; }
.auth-card-header span:first-child { color: var(--auth-primary); font-size: 11px; font-weight: 800; }
.auth-card-header h2 { margin: 6px 0 5px; color: var(--auth-navy); font-size: 27px; line-height: 1.3; letter-spacing: -.025em; }
.auth-card-header p { margin: 0; color: var(--auth-muted); font-size: 12.5px; line-height: 1.6; }

#loginForm,
.auth-recovery-form { display: grid; gap: 13px; }

.auth-compat-tab { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.auth-advanced-shell {
  border: 0;
  background: transparent;
  overflow: visible;
}
.auth-advanced-shell.is-open { overflow: visible; }
#login > #loginForm + .auth-advanced-shell { margin-block-start: 12px; }

.auth-advanced-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15px auto 15px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  text-align: center;
  background: transparent;
  cursor: pointer;
}

.auth-advanced-toggle:focus-visible { outline: 2px solid var(--auth-primary); outline-offset: 2px; }
.auth-advanced-rule { height: 1px; background: var(--auth-line); }
.auth-advanced-label { display: block; overflow: hidden; color: var(--auth-ink); font-size: 12px; font-weight: 850; line-height: 1; text-overflow: ellipsis; white-space: nowrap; }
.auth-advanced-chevron { justify-self: center; width: 15px; height: 15px; color: var(--auth-primary); transform: rotate(90deg); }
.auth-advanced-shell.is-open .auth-advanced-chevron { transform: rotate(-90deg); }

.auth-advanced-panel { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 12px 12px; border-top: 1px solid #e7eef7; }
.auth-advanced-shell.is-open .auth-advanced-panel { display: grid; padding-top: 11px; }
.auth-database-hint { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; margin: 0; padding: 8px 10px; border: 1px solid #dfe9f5; border-radius: 10px; color: #526782; background: #f7fbff; font-size: 12px; }
.auth-database-hint svg { inline-size: 16px; block-size: 16px; color: #1769cf; }
.auth-database-hint b { color: #17365d; font-weight: 800; }
.auth-database-initialization { grid-column: 1 / -1; display: grid; gap: 4px; padding: 9px 10px; border: 1px solid var(--auth-line); border-radius: 10px; background: var(--auth-primary-soft); }
.auth-database-initialization .auth-check { justify-content: flex-start; }
.auth-database-initialization small { color: var(--auth-muted); font-size: 11px; line-height: 1.6; padding-inline-start: 30px; }

.auth-field { display: grid; gap: 6px; min-width: 0; color: var(--auth-ink); font-size: 11px; font-weight: 800; }
.auth-field > span:first-child,
.auth-field > label:first-child { padding-inline: 3px; }
.auth-field > small { color: var(--auth-muted); font-size: 10px; font-weight: 500; line-height: 1.5; }
#loginForm .auth-field > span:first-child,
#loginForm .auth-field > label:first-child,
#loginForm .auth-advanced-label { text-align: center; }

.auth-control {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #cbd9ea;
  border-radius: var(--auth-radius-md);
  background: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}

.auth-control:focus-within { border-color: #6ea1ff; box-shadow: 0 0 0 3px rgba(37, 99, 235, .11); }
.auth-control > svg { flex: 0 0 auto; width: 18px; height: 18px; margin-inline: 13px 2px; color: #6680a5; }
.auth-control input,
.auth-control select { width: 100%; min-width: 0; height: 46px; padding: 0 9px; border: 0; outline: 0; color: var(--auth-ink); background: transparent; font-size: 12.5px; font-weight: 700; }
.auth-control select { cursor: pointer; }
#loginForm .auth-control input,
#loginForm .auth-control select { text-align: center; }
#loginForm .auth-control select { text-align-last: center; }
.auth-control input::placeholder { color: #9aa9bc; font-weight: 500; }

.auth-searchable-select { isolation: isolate; }
.auth-searchable-select.is-open { z-index: 81; }
.auth-searchable-select.is-enhanced > select {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.auth-select-trigger {
  flex: 1 1 auto;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 46px;
  max-height: 46px;
  padding: 0 9px;
  overflow: hidden;
  border: 0;
  outline: 0;
  color: var(--auth-ink);
  background: transparent;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.auth-searchable-select.is-enhanced > .auth-select-trigger { display: flex; }
.auth-select-trigger > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-select-trigger > svg,
.auth-select-trigger-icon {
  flex: 0 0 14px;
  inline-size: 14px;
  block-size: 14px;
  min-inline-size: 14px;
  min-block-size: 14px;
  max-inline-size: 14px;
  max-block-size: 14px;
  margin: 0;
  padding: 0;
  color: #6680a5;
  transform: rotate(90deg);
}
.auth-searchable-select.is-open > .auth-select-trigger > .auth-select-trigger-icon { transform: rotate(-90deg); }
.auth-select-trigger:disabled { cursor: wait; opacity: .7; }
.auth-searchable-select > .auth-select-trigger {
  border-start-end-radius: calc(var(--auth-radius-md) - 1px);
  border-end-end-radius: calc(var(--auth-radius-md) - 1px);
}
.auth-select-panel {
  position: absolute;
  z-index: 80;
  inset: calc(100% + 7px) 0 auto;
  display: grid;
  gap: 7px;
  min-width: 100%;
  max-height: min(330px, 52vh);
  padding: 8px;
  border: 1px solid #bed0e5;
  border-radius: 13px;
  background: var(--auth-surface);
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}
.auth-select-search { display: flex; align-items: center; gap: 7px; min-height: 39px; padding: 0 9px; border: 1px solid #cbd9ea; border-radius: 9px; background: var(--auth-surface); }
.auth-select-panel.is-viewport-popup {
  position: fixed;
  z-index: 90;
  inset: auto;
  min-width: 0;
  overflow: hidden;
  grid-template-rows: auto minmax(0, 1fr);
}
.auth-select-panel.is-viewport-popup svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auth-select-panel.is-viewport-popup:has(> .auth-select-empty:not([hidden])) > .auth-select-options { display: none; }
.auth-select-search:focus-within { border-color: #6ea1ff; box-shadow: 0 0 0 3px rgba(37, 99, 235, .11); }
.auth-select-search svg { flex: 0 0 auto; width: 16px; height: 16px; color: #6680a5; }
.auth-select-search input { width: 100%; min-width: 0; height: 37px; padding: 0; border: 0; outline: 0; color: var(--auth-ink); background: transparent; font-size: 12px; font-weight: 650; text-align: start !important; }
.auth-select-options { display: grid; gap: 3px; min-height: 0; max-height: 230px; overflow: auto; overscroll-behavior: contain; }
.auth-select-option { width: 100%; min-height: 36px; padding: 7px 10px; border: 1px solid transparent; border-radius: 8px; color: var(--auth-ink); background: transparent; font-size: 12px; font-weight: 700; text-align: start; cursor: pointer; }

.auth-select-option.is-active { border-color: #b9d1f5; background: var(--auth-primary-soft); }
.auth-select-option[aria-selected="true"] { border-color: var(--auth-primary); color: #fff; background: var(--auth-primary); }
.auth-select-empty { padding: 9px; color: var(--auth-muted); font-size: 11px; text-align: center; }
.auth-card.is-search-menu-open { overflow: visible; }

.auth-password-field { padding-inline-end: 5px; }
.auth-password-field > input { padding-inline-end: 4px; }
/* Login keeps its password control neutral/blue even when the shared
 * aria-invalid style is active. Validation messages and semantics stay intact. */
#loginForm .auth-password-field:has(> #Password[aria-invalid="true"]) {
  border-color: #6ea1ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .11);
}
#loginForm .auth-password-field > #Password[aria-invalid="true"] {
  border-color: #6ea1ff !important;
  box-shadow: none !important;
}
.auth-control-button { display: grid; place-items: center; flex: 0 0 auto; width: 35px; height: 35px; padding: 0; border: 0; border-radius: 9px; color: #617897; background: transparent; cursor: pointer; }

.auth-control-button:focus-visible,

.auth-control-button.is-active { color: var(--auth-primary); background: var(--auth-primary-soft); outline: 0; }
.auth-control-button svg { width: 17px; height: 17px; }

.auth-keypad {
  position: absolute;
  z-index: 10;
  inset: calc(100% + 8px) 0 auto;
  display: none;
  padding: 10px;
  border: 1px solid var(--auth-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}

.auth-password-field.is-keypad-open .auth-keypad { display: block; }
.auth-keypad-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: #405777; font-size: 11px; }
.auth-keypad .auth-keypad-close { display: grid; place-items: center; width: 28px; min-height: 28px; padding: 0; border-color: #efd2cc; color: var(--auth-danger); background: var(--auth-danger-soft); }
.auth-keypad-close svg { width: 14px; height: 14px; }
.auth-keypad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.auth-keypad button { min-height: 35px; border: 1px solid #d7e3f0; border-radius: 9px; color: var(--auth-ink); background: #f8fbff; font-size: 12px; font-weight: 800; cursor: pointer; }
.auth-keypad button.is-muted { color: var(--auth-muted); font-size: 10px; }
.auth-keypad button.is-ok { border-color: #9fd4c8; color: var(--auth-success); background: var(--auth-success-soft); }
.auth-caps-lock { display: block; padding: 2px 4px 0; color: #a43a25; font-size: 10px; font-weight: 700; }

.auth-form-options { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; direction: rtl; }
.auth-form-options > * { flex: none; }
.auth-check { display: inline-flex; align-items: center; gap: 8px; color: #415472; font-size: 11px; font-weight: 700; cursor: pointer; }
.auth-check input { position: absolute; opacity: 0; pointer-events: none; }
.auth-check > span[aria-hidden] { display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid #b9cbe0; border-radius: 6px; color: transparent; background: #fff; }
.auth-check > span[aria-hidden] svg { width: 12px; height: 12px; stroke-width: 2.5; }
.auth-check input:checked + span[aria-hidden] { border-color: var(--auth-primary); color: #fff; background: var(--auth-primary); }
.auth-check input:focus-visible + span[aria-hidden] { outline: 3px solid rgba(37, 99, 235, .18); outline-offset: 2px; }

.auth-link-button { padding: 4px 0; border: 0; color: var(--auth-primary-deep); background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; }

.auth-primary-button,
.auth-secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 49px;
  padding: 10px 16px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.auth-primary-button { border: 1px solid #1d4ed8; color: #fff; background: linear-gradient(135deg, #2f75ed, #1d55c7); box-shadow: 0 3px 12px rgba(15, 23, 42, .08); }
.auth-primary-button:focus-visible { outline: 3px solid rgba(37, 99, 235, .24); outline-offset: 3px; }
.auth-primary-button > svg { width: 18px; height: 18px; transform: rotate(180deg); }
.auth-primary-button:disabled { cursor: wait; opacity: .74; }
.auth-button-loader { display: none; flex: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: auth-spin .7s linear infinite; }
.auth-button-busy-copy { display: none; }
#btnUserLogin[data-auth-loading="true"] { cursor: progress; opacity: 1; }
#btnUserLogin[data-auth-loading="true"] .auth-button-loader { display: inline-block; }
#btnUserLogin[data-auth-loading="true"] [data-auth-submit-label] { display: none; }
#btnUserLogin[data-auth-loading="true"] .auth-button-busy-copy { display: inline; }
#btnUserLogin[data-auth-loading="true"] > svg { display: none; }

.auth-secondary-button { border: 1px solid var(--auth-line); color: var(--auth-primary-deep); background: #f8fbff; box-shadow: none; }
.auth-secondary-button svg { width: 19px; height: 19px; }
.auth-action-row {
  display: flex;
  gap: 9px;
  min-height: 49px;
  direction: rtl;
}
.auth-action-row > * { direction: rtl; }
.auth-action-row > #btnUserLogin { flex: 1 1 0; min-width: 0; }
.auth-action-row > .auth-secondary-button { flex: 0 0 49px; width: 49px; padding: 0; }
.auth-action-row > .auth-secondary-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.auth-config-db-button { color: var(--auth-primary-deep); }

.auth-config-db-button:focus-visible { border-color: #94b9f7; color: var(--auth-primary); background: var(--auth-primary-soft); outline: 0; }

.auth-license-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  margin-top: 13px;
  padding: 8px 11px;
  border: 1px solid #bfe6dc;
  border-radius: 11px;
  color: var(--auth-success);
  background: var(--auth-success-soft);
  font-size: 10.5px;
  font-weight: 850;
  line-height: 1.55;
  text-align: center;
}
.auth-license-summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-inline-size: 0; }
.auth-license-status svg { flex: 0 0 auto; width: 17px; height: 17px; }
.auth-license-status[data-license-state="trial"] { border-color: #f0d39e; color: #9a5b05; background: #fff8e9; }
.auth-license-status[data-license-state="unlicensed"] { border-color: #efc2c7; color: #a72b3a; background: #fff1f3; }
.auth-license-status[data-license-state="unavailable"] { border-color: var(--auth-line); color: var(--auth-muted); background: var(--auth-surface); }
.auth-license-days { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; color: #245f9a; font-size: 11px; }
.auth-license-days[hidden] { display: none; }
.auth-license-days svg { inline-size: 16px; block-size: 16px; }
.auth-license-days b { font-variant-numeric: tabular-nums; font-weight: 900; }
html[data-my-theme="dark"] .auth-license-status[data-license-state="licensed"] .auth-license-days { color: #93c5fd; }

.auth-switch { margin: -2px 0 0; color: var(--auth-muted); text-align: center; font-size: 10.5px; }
.auth-advanced-shell + .auth-switch { margin-top: 12px; }
.auth-switch a { color: var(--auth-primary-deep); font-weight: 900; text-decoration: none; }
.auth-switch { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px; }
.auth-account-recovery-link { display: inline-grid; place-items: center; inline-size: 32px; block-size: 32px; border-radius: 9px; background: var(--auth-primary-soft); }
.auth-account-recovery-link svg { inline-size: 17px; block-size: 17px; }
.auth-account-recovery-link:focus-visible { outline: 2px solid var(--auth-primary); outline-offset: 2px; }
.auth-account-selection { grid-column: 1 / -1; display: grid; gap: 7px; min-inline-size: 0; }
.auth-account-selection-label { color: var(--auth-ink); font-size: 11px; font-weight: 800; }
.auth-account-list { display: grid; gap: 6px; max-block-size: 180px; overflow-y: auto; }
.auth-account-list[hidden] { display: none; }
.auth-account-choice { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-block-size: 40px; min-inline-size: 0; padding: 8px 11px; border: 1px solid var(--auth-line); border-radius: 9px; color: var(--auth-ink); background: var(--auth-surface, #fff); text-align: start; cursor: pointer; }
.auth-account-choice span { min-inline-size: 0; overflow-wrap: anywhere; }
.auth-account-choice svg { flex: 0 0 16px; inline-size: 16px; block-size: 16px; opacity: 0; color: var(--auth-primary); }
.auth-account-choice[aria-checked="true"] { border-color: var(--auth-primary); background: var(--auth-primary-soft); font-weight: 800; }
.auth-account-choice[aria-checked="true"] svg { opacity: 1; }
.auth-account-choice:focus-visible { outline: 2px solid var(--auth-primary); outline-offset: 1px; }
@media (max-width: 767px) { .auth-account-choice { min-block-size: 44px; } .auth-account-recovery-link { inline-size: 36px; block-size: 36px; } }

.auth-demo-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 35px;
  padding: 7px 10px;
  border: 1px dashed #c9d9ec;
  border-radius: 10px;
  color: var(--auth-muted);
  background: #f8fbfe;
  font-size: 9.5px;
}

.auth-demo-note b { color: #334968; font-size: 10px; }
.auth-biometric-status { padding: 8px; border-radius: 10px; color: var(--auth-muted); background: #f6f9fc; font-size: 10px; line-height: 1.5; }

.auth-remote-demo { display: grid; gap: 14px; text-align: center; }
.auth-remote-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 4px auto 0; border-radius: 18px; color: var(--auth-primary); background: var(--auth-primary-soft); }
.auth-remote-icon svg { width: 27px; height: 27px; }
.auth-remote-demo h3 { margin: 0; color: var(--auth-navy); font-size: 20px; }
.auth-remote-demo > p { margin: -7px auto 2px; max-width: 360px; color: var(--auth-muted); font-size: 12px; line-height: 1.7; }
.auth-demo-origin-link { justify-self: center; text-decoration: none; }

.auth-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 10px 32px;
  border-top: 1px solid #e6edf5;
  border-radius: 0 0 var(--auth-radius-xl) var(--auth-radius-xl);
  color: var(--auth-muted);
  background: #fbfdff;
  font-size: 10.5px;
}

.auth-card-footer b { color: #334d72; }
.auth-card-footer small { color: #73859e; font-size: 9.5px; font-weight: 700; }

html[data-my-theme="dark"] body,
html[data-my-theme="dark"] .auth-form-panel {
  background: #0a1424;
}

html[data-my-theme="dark"] .auth-form-panel::before { opacity: .1; }
html[data-my-theme="dark"] .auth-card,
html[data-my-theme="dark"] .auth-hr-qr-card,
html[data-my-theme="dark"] .auth-control,
html[data-my-theme="dark"] .auth-theme-menu { background: rgba(16, 29, 49, .98); }
html[data-my-theme="dark"] .auth-mini-toolbar,
html[data-my-theme="dark"] .auth-advanced-shell,
html[data-my-theme="dark"] .auth-advanced-panel,
html[data-my-theme="dark"] .auth-card-footer,
html[data-my-theme="dark"] .auth-secondary-button { background: #13233a; }
html[data-my-theme="dark"] .auth-theme-trigger,
html[data-my-theme="dark"] .auth-language-switcher .lang-btn { color: #b8c8dd; background: #101d31; }
html[data-my-theme="dark"] .auth-check > span[aria-hidden] { color: transparent; background: #101d31; }
html[data-my-theme="dark"] .auth-check input:checked + span[aria-hidden] { border-color: var(--auth-primary); color: #0f172a; background: var(--auth-primary); }
html[data-my-theme="dark"] .auth-form-options .auth-check { color: var(--auth-muted); }
html[data-my-theme="dark"] #Config_db.auth-config-db-button { color: #334155; }
html[data-my-theme="dark"] .auth-select-panel,
html[data-my-theme="dark"] .auth-select-search { border-color: #3a516f; background: #101d31; }
html[data-my-theme="dark"] .auth-card-footer,
html[data-my-theme="dark"] .auth-card-footer b { color: #e5edf9; }
html[data-my-theme="dark"] .auth-hr-qr-image-shell { border-color: #3a516f; background: #fff; }
html[data-my-theme="dark"] .auth-hr-qr-refresh,
html[data-my-theme="dark"] .auth-hr-qr-close { border-color: #3a516f; background: #13233a; }
html[data-my-theme="dark"] .auth-hr-qr-meta { color: #b6c8df; background: #172a46; }
html[data-my-theme="dark"] .auth-hr-qr-modes { background: #172a46; }
html[data-my-theme="dark"] .auth-hr-qr-modes button { color: #b6c8df; }
html[data-my-theme="dark"] .auth-hr-qr-modes button.is-active { border-color: #3a516f; color: #e6f0ff; background: #243b5c; }

.auth-alert-host { position: absolute; z-index: 30; inset: 12px 18px auto; pointer-events: none; }
.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #f0c2b8;
  border-radius: 12px;
  color: #8f2f20;
  background: rgba(255, 244, 241, .98);
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.55;
}

.auth-alert[data-type="success"] { border-color: #bfe6dc; color: #096c5c; background: rgba(239, 252, 248, .98); }
.auth-alert[data-type="info"] { border-color: #c6d9fa; color: #24539e; background: rgba(242, 247, 255, .98); }
.auth-alert--action { align-items: center; justify-content: space-between; pointer-events: auto; }
.auth-alert--action > span { flex: 1 1 auto; }
.auth-alert__action { flex: 0 0 auto; min-height: 34px; padding: 6px 12px; border: 1px solid currentColor; border-radius: 9px; color: inherit; background: #fff; font: inherit; cursor: pointer; }
.auth-alert__action:focus-visible { outline: 3px solid rgba(23, 105, 207, .24); outline-offset: 2px; }
.auth-alert__action:disabled { cursor: wait; opacity: .65; }

.auth-recovery { min-height: 535px; }
.auth-icon-close { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border: 1px solid #efc3ba; border-radius: 12px; color: var(--auth-danger); background: var(--auth-danger-soft); cursor: pointer; }
.auth-icon-close svg { width: 18px; height: 18px; }
.auth-recovery-passwords { display: grid; gap: 13px; }
.auth-back-button { justify-self: center; }

.auth-recovery-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: -5px 0 20px; }
.auth-recovery-steps span { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 6px; min-width: 0; min-height: 34px; padding: 5px 7px; border: 1px solid #dce6f1; border-radius: 10px; color: #7a8da7; background: #f8fafc; }
.auth-recovery-steps b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; color: #6c809c; background: #eaf0f7; font-size: 10px; }
.auth-recovery-steps small { overflow: hidden; font-size: 9px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.auth-recovery-steps span.is-active { border-color: #a8c6f7; color: var(--auth-primary-deep); background: #f1f6ff; }
.auth-recovery-steps span.is-active b { color: #fff; background: var(--auth-primary); }
.auth-recovery-steps span.is-complete { border-color: #bfe6dc; color: var(--auth-success); background: var(--auth-success-soft); }
.auth-recovery-steps span.is-complete b { color: #fff; background: var(--auth-success); }
.auth-recovery-stage { display: grid; gap: 14px; }
.auth-contact-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.auth-contact-methods legend { grid-column: 1 / -1; padding: 0 3px 2px; color: var(--auth-ink); font-size: 10.5px; font-weight: 850; }
.auth-contact-methods label { position: relative; cursor: pointer; }
.auth-contact-methods input { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.auth-contact-methods label > span { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; border: 1px solid #d5e1ee; border-radius: 12px; color: #5e718d; background: #fbfdff; font-size: 11px; font-weight: 800; }
.auth-contact-methods svg { width: 16px; height: 16px; }
.auth-contact-methods label.is-active > span { border-color: #8eb5f7; color: var(--auth-primary-deep); background: var(--auth-primary-soft); box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .08); }
.auth-contact-methods input:focus-visible + span { outline: 3px solid rgba(37, 99, 235, .18); outline-offset: 2px; }
.auth-recovery-hint { margin: 0; padding: 10px 12px; border: 1px solid #dbe6f2; border-radius: 11px; color: #506682; background: #f8fbfe; font-size: 11px; line-height: 1.6; }
.auth-otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
.auth-otp input { width: 100%; min-width: 0; height: 50px; border: 1px solid #c9d8e9; border-radius: 11px; outline: 0; color: var(--auth-navy); background: #fff; text-align: center; font-size: 18px; font-weight: 900; }
.auth-otp input:focus { border-color: #5b95f4; box-shadow: 0 0 0 3px rgba(37, 99, 235, .11); }
.auth-code-preview { min-height: 22px; color: var(--auth-success); text-align: center; font-size: 10.5px; font-weight: 800; }
.auth-recovery-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 13px; }
.auth-recovery-navigation { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--auth-line); color: var(--auth-muted); font-size: 10.5px; font-weight: 800; }
.auth-recovery-navigation a { color: var(--auth-primary-deep); font-weight: 900; text-decoration: none; }

.auth-recovery-navigation a:focus-visible { color: var(--auth-primary); text-decoration: underline; }
.auth-resend-button { white-space: nowrap; }
@media (min-width: 721px) {
  .auth-resend-button {
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid #c8d9ee;
    border-radius: 9px;
    color: var(--auth-primary-deep);
    background: #f7faff;
    font-size: 10px;
    line-height: 1;
    text-decoration: none;
  }
  
  .auth-resend-button:focus-visible {
    border-color: #91b6ef;
    color: var(--auth-primary);
    background: var(--auth-primary-soft);
    outline: 2px solid rgba(37, 99, 235, .12);
    outline-offset: 2px;
    text-decoration: none;
  }
}
.auth-recovery-password-control { padding-inline-end: 5px; }
.auth-recovery-password-control input { text-align: center; }

.auth-support-footer {
  direction: rtl;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 14px;
  width: 100%;
  padding: 9px 13px;
  border: 1px solid rgba(198, 214, 234, .92);
  border-radius: 15px;
  color: var(--auth-muted);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
  font-size: 9.5px;
}
.auth-support-heading { display: grid; gap: 2px; min-width: 0; }
.auth-support-heading strong { color: var(--auth-navy); font-size: 10.5px; }
.auth-support-heading span { color: var(--auth-primary-deep); font-weight: 850; }
.auth-support-contacts { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
.auth-support-contact { direction: ltr; display: inline-flex; align-items: center; gap: 4px; min-height: 30px; padding: 3px 5px 3px 9px; border: 1px solid #dce6f1; border-radius: 999px; background: #fbfdff; }
.auth-support-contact b { color: #334d72; font-size: 9.5px; font-variant-numeric: tabular-nums; }
.auth-support-contact a { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--auth-primary-deep); background: var(--auth-primary-soft); text-decoration: none; }
.auth-support-contact a:last-child { color: var(--auth-success); background: var(--auth-success-soft); }

.auth-support-contact a:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.auth-support-contact svg { width: 13px; height: 13px; }
.auth-support-footer > small { color: #73859e; font-size: 8.5px; font-weight: 700; white-space: nowrap; }
html[data-my-theme="dark"] .auth-support-footer { border-color: #334967; color: #b8c8dd; background: #13233a; }
html[data-my-theme="dark"] .auth-support-heading strong,
html[data-my-theme="dark"] .auth-support-contact b { color: #e5edf9; }
html[data-my-theme="dark"] .auth-support-contact { border-color: #3a516f; background: #101d31; }

.auth-dialog { width: min(500px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 22px; color: var(--auth-ink); background: transparent; box-shadow: 0 3px 12px rgba(15, 23, 42, .08); }
.auth-dialog::backdrop { background: rgba(7, 24, 49, .52); backdrop-filter: blur(4px); }
.auth-dialog-card { overflow: hidden; border: 1px solid #cad8e9; border-radius: 22px; background: #fff; }
.auth-dialog-card > header { display: grid; grid-template-columns: 42px minmax(0, 1fr) 38px; align-items: center; gap: 11px; padding: 18px 20px; border-bottom: 1px solid #e4ebf4; background: linear-gradient(180deg, #fbfdff, #f5f8fc); }
.auth-dialog-card > header h2 { margin: 2px 0 0; color: var(--auth-navy); font-size: 19px; }
.auth-dialog-card > header small { color: var(--auth-muted); font-size: 10px; font-weight: 800; }
.auth-dialog-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--auth-primary); background: var(--auth-primary-soft); }
.auth-dialog-icon svg { width: 20px; height: 20px; }
.auth-connection-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; padding: 20px 20px 10px; }
.auth-connection-summary > div { min-width: 0; padding: 11px; border: 1px solid #dce6f1; border-radius: 12px; background: #f8fbfe; }
.auth-connection-summary span, .auth-connection-summary b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-connection-summary span { margin-bottom: 5px; color: var(--auth-muted); font-size: 9.5px; }
.auth-connection-summary b { color: #284262; font-size: 11px; }
.auth-dialog-note { margin: 4px 20px 18px; color: #5f7189; font-size: 10.5px; line-height: 1.7; }
.auth-dialog-card > footer { display: flex; justify-content: flex-end; gap: 9px; padding: 13px 20px; border-top: 1px solid #e5edf5; background: #f9fbfd; }
.auth-dialog-card > footer .auth-primary-button,
.auth-dialog-card > footer .auth-secondary-button { width: auto; min-height: 42px; font-size: 11px; }

@keyframes auth-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Desktop: remove the duplicated identity and category badge while preserving
   the compact mobile identity used when the brand panel is hidden. */
@media (min-width: 981px) {
  .auth-shell {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .auth-brand-panel,
  .auth-form-panel {
    height: 100%;
    min-height: 0;
  }

  .auth-brand-top,
  .auth-eyebrow {
    display: none;
  }

  .auth-brand-copy {
    margin-block: auto;
  }

  .auth-brand-copy h1 {
    margin-top: 0;
  }

  /* The attendance trigger floats over the brand card: keep the headline below it. */
  .auth-shell:has(.auth-attendance-menu-trigger:not([hidden])) .auth-brand-panel { padding-top: 104px; }
}

/* Short desktop and iPad-landscape viewports: the brand card keeps everything in view. */
@media (min-width: 981px) and (max-height: 760px), (min-width: 981px) and (max-width: 1120px) {
  .auth-brand-copy h1 { margin-bottom: 10px; font-size: clamp(28px, 3vw, 40px); }
  .auth-brand-copy > p { line-height: 1.7; }
  .auth-proof-grid { margin-top: 16px; }
  .auth-proof-grid article { min-height: 56px; padding: 9px 10px; }
}

@media (max-width: 980px) {
  body { overflow: auto; }
  .auth-shell { display: block; min-height: 100dvh; }
  .auth-brand-panel { display: none; }
  .auth-form-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100dvh; padding: 28px 20px; }
  .auth-mobile-brand { display: flex; position: relative; z-index: 2; direction: rtl; width: min(520px, 100%); margin-bottom: 14px; color: var(--auth-navy); }
  .auth-mobile-brand .auth-brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .auth-mobile-brand b { font-size: 16px; }
  .auth-mobile-brand small { color: #7185a2; }
  .auth-card { margin-top: 0; }
  .auth-login-stage { width: min(520px, 100%); }
  .auth-attendance-menu-trigger {
    top: 18px;
    left: 18px;
    grid-template-columns: 1fr;
    width: 46px;
    min-height: 46px;
    padding: 0;
    border-color: #c9d9eb;
    color: var(--auth-primary);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
  }
  .auth-attendance-trigger-icon { width: 32px; height: 32px; margin: auto; color: var(--auth-primary); background: var(--auth-primary-soft); }
  .auth-attendance-trigger-icon svg { width: 18px; height: 18px; }
  .auth-attendance-trigger-icon i { inset: auto -1px -1px auto; border-color: #fff; }
  .auth-attendance-trigger-copy,
  .auth-attendance-trigger-arrow { display: none; }
  html[data-my-theme="dark"] .auth-attendance-menu-trigger { border-color: #3a516f; background: #13233a; }
}

@media (max-width: 560px) {
  .auth-form-panel { display: block; padding: 18px 12px 24px; }
  .auth-mobile-brand { position: relative; inset: auto; width: auto; margin: 0 6px 14px; }
  .auth-card { width: 100%; min-height: 0; margin: 0; border-radius: 22px; box-shadow: 0 3px 12px rgba(15, 23, 42, .08); }
  .auth-card > section { padding: 24px 20px 18px; }
  .auth-card-header { margin-bottom: 18px; }
  .auth-card-header h2 { font-size: 23px; }
  .auth-advanced-panel { grid-template-columns: 1fr; }
  .auth-card-footer { flex-wrap: wrap; padding-inline: 20px; border-radius: 0 0 22px 22px; }
  .auth-support-footer { grid-template-columns: 1fr; justify-items: center; margin-top: 12px; text-align: center; }
  .auth-support-contacts { flex-wrap: wrap; }
  .auth-recovery-steps small { display: none; }
  .auth-recovery-steps span { grid-template-columns: 1fr; place-items: center; }
  .auth-connection-summary { grid-template-columns: 1fr; }
  .auth-attendance-menu-trigger { top: 12px; left: 12px; }
  .auth-hr-qr-card { width: 100%; padding: 20px 18px; }
  .auth-hr-qr-header { grid-template-columns: 40px minmax(0, 1fr) 36px; gap: 9px; }
  .auth-hr-qr-header h2 { font-size: 16px; }
  .auth-hr-qr-image-shell { width: 194px; height: 194px; }
}

/* Single-column layout: touch-sized secondary controls and room for the install button. */
@media (max-width: 980px) {
  .auth-theme-trigger,
  .auth-language-switcher .lang-btn { min-width: 40px; height: 40px; }
  .auth-theme-trigger { width: 40px; }
  .auth-language-switcher .lang-btn { padding-inline: 12px; font-size: 11px; }
  .auth-control-button { width: 40px; height: 40px; }
  .auth-form-options { min-height: 40px; }
  .auth-link-button { height: 40px; padding-block: 0; }
  .auth-advanced-toggle { height: 44px; }
  .auth-check { min-height: 40px; }
  .auth-check > span[aria-hidden] { width: 22px; height: 22px; }
  .auth-switch a[data-auth-create-account] { display: inline-flex; align-items: center; min-height: 40px; }
  .auth-account-recovery-link { inline-size: 40px; block-size: 40px; }
  html:has(.alfares-pwa-install:not([hidden])) .auth-form-panel:not(.register-auth-panel) { padding-bottom: 84px; }
}

/* Phones: the login screen stays fixed to the viewport. The card is its only
   scroller and the contact button stays in view below it; the keyboard and the
   number pad take its row while they are open. */
@media (max-width: 560px) {
  html,
  body { overscroll-behavior: none; }
  .auth-shell { min-height: 0; }
  .auth-form-panel:not(.register-auth-panel),
  html:has(.alfares-pwa-install:not([hidden])) .auth-form-panel:not(.register-auth-panel) {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    min-height: 0;
    padding: 12px 12px max(10px, env(safe-area-inset-bottom));
    overflow: hidden;
  }
  .auth-mobile-brand { flex: none; margin-bottom: 10px; }
  .auth-login-stage {
    flex: 1 1 auto;
    min-height: 0;
    grid-template-rows: minmax(0, auto) auto;
    align-content: space-between;
  }
  .auth-card,
  .auth-card.is-search-menu-open {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .auth-card > section { padding: 16px 16px 14px; }
  .auth-mini-toolbar { margin-bottom: 10px; }
  .auth-card-header { margin-bottom: 12px; }
  #loginForm { gap: 10px; }
  #login > #loginForm + .auth-advanced-shell { margin-block-start: 6px; }
  .auth-advanced-shell + .auth-switch { margin-top: 6px; }
  .auth-license-status { margin-top: 10px; }
  .auth-stage-contact { gap: 2px; padding-top: 6px; }
  .auth-login-stage:has(.is-keypad-open) > .auth-stage-contact { display: none; }
  html:has(.alfares-pwa-install:not([hidden])) .auth-login-stage > .auth-stage-contact { padding-inline: 54px; }
  html.alfares-keyboard-open body[data-auth-screen="login"] .auth-form-panel {
    position: fixed;
    top: var(--alfares-visual-viewport-offset-top, 0px);
    left: var(--alfares-visual-viewport-offset-left, 0px);
    width: var(--alfares-visual-viewport-width, 100%);
    height: var(--alfares-visual-viewport-height, 100dvh);
  }
  html.alfares-keyboard-open body[data-auth-screen="login"] :is(.auth-mobile-brand, .auth-login-stage > .auth-stage-contact, .alfares-pwa-install) { display: none; }
}

@media (max-height: 760px) and (min-width: 981px) {
  .auth-form-panel { place-items: start center; padding-block: 20px; }
  .auth-card { min-height: 0; }
  .auth-card > section { padding-block: 23px 17px; }
  .auth-card-header { margin-bottom: 15px; }
  #loginForm { gap: 10px; }
  .auth-demo-note { display: none; }
}

/* MyAuth two-factor dialog */
.auth-two-factor-dialog .auth-dialog-card {
  width: min(92vw, 510px);
  border: 1px solid color-mix(in srgb, var(--auth-primary, #2463eb) 24%, transparent);
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}
.auth-two-factor-copy { margin: 0; color: var(--auth-muted, #64748b); line-height: 1.8; }
.auth-two-factor-targets {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--auth-primary, #2463eb) 8%, transparent);
  color: var(--auth-text, #172033);
  font-size: .88rem;
  text-align: center;
}
.auth-two-factor-otp { margin: 20px 0 12px; }
.auth-two-factor-meta { display: flex; justify-content: center; gap: 8px; color: var(--auth-muted, #64748b); }
.auth-two-factor-meta time { color: var(--auth-primary, #2463eb); font-weight: 800; font-variant-numeric: tabular-nums; }
.auth-two-factor-actions { display: grid !important; gap: 8px; margin-top: 18px; }
.auth-two-factor-actions .auth-primary-button { width: 100%; }
.auth-backup-link { font-size: .78rem; text-decoration: underline; text-underline-offset: 3px; }
.auth-two-factor-dialog[data-busy="true"] .auth-dialog-card { cursor: progress; }

/* Task132: explicit, non-destructive active-session replacement consent. */
.auth-session-replacement-dialog { width: min(560px, calc(100% - 28px)); }
.auth-session-replacement-dialog .auth-dialog-card {
  border-color: color-mix(in srgb, #d97706 36%, #cad8e9);
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}
.auth-session-replacement-icon {
  color: #b45309;
  background: #fff4d8;
}
.auth-session-replacement-body { padding: 20px; }
.auth-session-replacement-body > p {
  margin: 0 0 16px;
  color: #3d4d63;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.8;
}
.auth-session-replacement-body ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.auth-session-replacement-body li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
}
.auth-session-replacement-body li > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #b45309;
  background: #fff4d8;
}
.auth-session-replacement-body li svg { width: 19px; height: 19px; }
.auth-session-replacement-body li b,
.auth-session-replacement-body li small { display: block; }
.auth-session-replacement-body li b { margin: 1px 0 4px; color: var(--auth-navy); font-size: .84rem; }
.auth-session-replacement-body li small { color: var(--auth-muted); font-size: .76rem; line-height: 1.65; }
.auth-session-replacement-actions { align-items: center; }
.auth-session-replacement-actions .auth-secondary-button,
.auth-session-replacement-actions .auth-primary-button { min-height: 44px; }
html[data-my-theme="dark"] .auth-session-replacement-dialog .auth-dialog-card { border-color: #725121; background: #101d31; }
html[data-my-theme="dark"] .auth-session-replacement-dialog .auth-dialog-card > header,
html[data-my-theme="dark"] .auth-session-replacement-actions { border-color: #344862; background: #14243a; }
html[data-my-theme="dark"] .auth-session-replacement-body > p { color: #e5edf9; }
html[data-my-theme="dark"] .auth-session-replacement-body li { border-color: #344862; background: #14243a; }
html[data-my-theme="dark"] .auth-session-replacement-body li b { color: #f3f7fc; }

@media (max-width: 540px) {
  .auth-session-replacement-body { padding: 16px; }
  .auth-session-replacement-dialog .auth-dialog-card > header { padding: 15px 16px; }
  .auth-session-replacement-actions { display: grid !important; grid-template-columns: 1fr; padding: 12px 16px !important; }
  .auth-session-replacement-actions .auth-secondary-button,
  .auth-session-replacement-actions .auth-primary-button { width: 100% !important; }
}


/* source: cssjs/Account/Register/register.css; sha256: 9e24df8787dc755de126242da35172057d2faa5982ad9a1da288282aad4e8a56 */
:root {
  --register-primary: #2563eb;
  --register-primary-deep: #1746a2;
  --register-primary-soft: #edf4ff;
  --register-accent: #0c8b76;
  --register-accent-soft: #eaf9f5;
  --register-navy: #0c2348;
  --register-ink: #10213d;
  --register-muted: #536780;
  --register-line: #d6e3f1;
  --register-line-strong: #bcd1e9;
  --register-surface: #fff;
  --register-surface-soft: #f7faff;
  --register-page: #edf4fb;
  --register-danger: #c13b3b;
  --register-danger-soft: #fff2f2;
  --register-warning: #9a630e;
  --register-warning-soft: #fff8e8;
  --register-success: #08765d;
  --register-success-soft: #eaf9f4;
  --register-shadow: 0 3px 12px rgba(15, 23, 42, .08);
  --register-radius-xl: 22px;
  --register-radius-lg: 15px;
  --register-radius-md: 11px;
  color-scheme: light;
}

html[data-register-theme="green"] {
  --register-primary: #0f8f78;
  --register-primary-deep: #08705f;
  --register-primary-soft: #eaf9f5;
  --register-accent: #2563eb;
  --auth-primary: #0f8f78;
  --auth-primary-deep: #08705f;
  --auth-primary-soft: #eaf9f5;
}

html[data-register-theme="purple"] {
  --register-primary: #7c3aed;
  --register-primary-deep: #5b21b6;
  --register-primary-soft: #f4efff;
  --register-accent: #0c8b76;
  --auth-primary: #7c3aed;
  --auth-primary-deep: #5b21b6;
  --auth-primary-soft: #f4efff;
}

html[data-register-theme="dark"] {
  --register-primary: #60a5fa;
  --register-primary-deep: #93c5fd;
  --register-primary-soft: #172a46;
  --register-accent: #34d399;
  --register-accent-soft: #12372f;
  --register-navy: #f5f8ff;
  --register-ink: #e5edf9;
  --register-muted: #9fb0c8;
  --register-line: #334967;
  --register-line-strong: #49617f;
  --register-surface: #101d31;
  --register-surface-soft: #14233a;
  --register-page: #091424;
  --register-danger-soft: #3c211d;
  --register-warning-soft: #3b2d16;
  --register-success-soft: #12372f;
  --register-shadow: 0 3px 12px rgba(15, 23, 42, .08);
  --auth-primary: #60a5fa;
  --auth-primary-deep: #93c5fd;
  --auth-primary-soft: #172a46;
  --auth-navy: #f5f8ff;
  --auth-ink: #e5edf9;
  --auth-muted: #9fb0c8;
  --auth-line: #334967;
  --auth-surface: #101d31;
  --auth-page: #091424;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html,
body {
  width: 100%;
  height: 100%;
  min-width: 320px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  direction: rtl;
  background: var(--register-page);
  color: var(--register-ink);
}

body.mysite-register-body { scrollbar-gutter: auto; }

button,
input,
select { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

button { color: inherit; cursor: pointer; }

a { color: inherit; text-decoration: none; }

.register-svg-sprite {
  position: fixed;
  width: 0;
  height: 0;
  overflow: hidden;
}

.register-page svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.register-page {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 52px minmax(0, 1fr);
  align-content: stretch;
  gap: 6px;
  padding: 7px;
  overflow: visible;
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:
    var(--register-page);
}

/* The shared brand panel must remain visually identical to Login. */
.register-auth-shell > .auth-brand-panel {
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}

.register-auth-panel {
  display: block;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.register-auth-panel .register-page {
  position: relative;
  z-index: 1;
  min-height: 100%;
}

.register-auth-panel .register-workspace {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 56px minmax(0, 1fr);
}

.register-auth-panel .register-progress-card {
  min-height: 56px;
  display: block;
  padding: 6px 9px;
}

.register-auth-panel .register-stepper {
  width: min(520px, 100%);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.register-auth-panel .register-stepper button {
  min-height: 42px;
  grid-template-columns: 30px minmax(0, 1fr) 21px;
  gap: 8px;
  padding: 4px 8px;
}
.register-auth-panel .register-stepper button::after { display: none; }
.register-auth-panel .register-stepper button > b { width: 30px; height: 30px; border-radius: 9px; }
.register-auth-panel .register-stepper button > b svg { width: 17px; height: 17px; }
.register-auth-panel .register-stepper button > i { width: 21px; height: 21px; }
.register-auth-panel .register-stepper strong { font-size: 12px; font-weight: 800; }
.register-auth-panel .register-brand { display: none; }

@media (max-width: 980px) {
  .register-auth-panel .register-brand { display: flex; }
}

@media (max-width: 660px) {
  .register-auth-panel .register-stepper button { grid-template-columns: 25px minmax(0, 1fr) 17px; }
  .register-auth-panel .register-stepper button > b { width: 25px; height: 25px; }
}

.register-topbar,
.register-progress-card,
.register-form-card {
  border: 1px solid var(--register-line);
  background: color-mix(in srgb, var(--register-surface) 96%, transparent);
  box-shadow: var(--register-shadow);
}

.register-topbar {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 10px;
  border-radius: var(--register-radius-lg);
}

.register-brand,
.register-topbar-actions,
.register-login-link,
.register-demo-button {
  min-width: 0;
  display: flex;
  align-items: center;
}

.register-brand { gap: 9px; }

.register-brand > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--register-primary), var(--register-primary-deep));
  color: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}

.register-brand-mark { padding: 4px; }

.register-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.register-brand strong,
.register-brand small { display: block; }

.register-brand strong { font-size: 14px; line-height: 1.2; }
.register-brand small { margin-top: 2px; color: var(--register-muted); font-size: 9px; font-weight: 800; }

.register-topbar-actions { gap: 7px; }

.register-login-link,
.register-demo-button,
.register-icon-button {
  min-height: 38px;
  border: 1px solid var(--register-line-strong);
  border-radius: 10px;
  background: var(--register-surface-soft);
  color: var(--register-primary-deep);
  font-weight: 850;
}

.register-login-link,
.register-demo-button { gap: 7px; padding: 0 12px; }
.register-demo-button { color: var(--register-accent); }
.register-icon-button { width: 38px; display: grid; place-items: center; padding: 0; }


.register-login-link:focus-visible,

.register-demo-button:focus-visible,

.register-icon-button:focus-visible {
  outline: 0;
  border-color: var(--register-primary);
  background: var(--register-primary-soft);
}

.register-theme-picker { position: relative; }

.register-theme-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  left: 0;
  width: 150px;
  padding: 5px;
  border: 1px solid var(--register-line);
  border-radius: 11px;
  background: var(--register-surface);
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}

.register-theme-menu button {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}


.register-theme-menu button.is-active { background: var(--register-primary-soft); color: var(--register-primary-deep); }
.register-theme-menu i { width: 12px; height: 12px; border-radius: 50%; background: var(--theme-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-color) 16%, transparent); }

.register-workspace {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 8px;
  overflow: visible;
}

.register-progress-card,
.register-form-card {
  min-width: 0;
  min-height: 0;
  border-radius: var(--register-radius-xl);
  overflow: hidden;
}

.register-progress-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(155deg, #081a38 0%, #0c2c5f 56%, #124579 100%);
}

.register-progress-card::before,
.register-progress-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  pointer-events: none;
}

.register-progress-card::before { width: 250px; height: 250px; top: -160px; left: -120px; }
.register-progress-card::after { width: 320px; height: 320px; right: -220px; bottom: -210px; }

.register-progress-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.register-progress-heading > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 13px;
  color: #7dd3fc;
  background: rgba(37, 99, 235, .22);
}

.register-progress-heading small { display: block; color: #9fc6f3; font-size: 9px; font-weight: 800; }
.register-progress-heading h1 { margin: 3px 0 0; font-size: 18px; line-height: 1.25; }
.register-progress-card > p { position: relative; z-index: 1; margin: 14px 0 16px; color: #bfd1e9; font-size: 10.5px; line-height: 1.7; }

.register-stepper {
  position: relative;
  z-index: 1;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 6px;
}

.register-stepper button {
  position: relative;
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr) 23px;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #c3d5ed;
  text-align: right;
}

.register-stepper button::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 26px;
  width: 1px;
  height: 7px;
  background: rgba(191, 219, 254, .15);
}

.register-stepper button:last-child::after { display: none; }

.register-stepper button > b {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  color: #9eb9db;
}

.register-stepper button > span,
.register-stepper strong,
.register-stepper small { display: block; min-width: 0; }
.register-stepper strong { color: #eaf3ff; font-size: 11px; line-height: 1.35; }
.register-stepper small { margin-top: 3px; color: #8fa9ca; font-size: 8.5px; line-height: 1.35; }

.register-stepper button > i {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(191, 219, 254, .16);
  border-radius: 50%;
  color: #92acd0;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}


.register-stepper button:focus-visible { outline: 0; border-color: rgba(125, 211, 252, .35); background: rgba(37, 99, 235, .12); }
.register-stepper button.is-active { border-color: rgba(125, 211, 252, .58); background: linear-gradient(90deg, rgba(37, 99, 235, .3), rgba(14, 165, 233, .12)); box-shadow: inset -4px 0 0 #60a5fa, 0 3px 12px rgba(15, 23, 42, .08); }
.register-stepper button.is-active > b { background: #2563eb; color: #fff; }
.register-stepper button.is-active > i { border-color: #60a5fa; background: #60a5fa; color: #08234a; }
.register-stepper button.is-complete > b { background: rgba(16, 185, 129, .18); color: #6ee7b7; }
.register-stepper button.is-complete > i { border-color: #34d399; background: #34d399; color: #073d31; }
.register-stepper button:disabled { cursor: default; opacity: .62; }

.register-security-note {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  gap: 9px;
  padding: 11px;
  border: 1px solid rgba(110, 231, 183, .16);
  border-radius: 12px;
  background: rgba(5, 150, 105, .08);
}

.register-security-note > svg { flex: 0 0 auto; color: #6ee7b7; }
.register-security-note strong,
.register-security-note small { display: block; }
.register-security-note strong { margin-bottom: 3px; font-size: 9.5px; }
.register-security-note small { color: #a9bdd5; font-size: 8px; line-height: 1.55; }

.register-form-card {
  display: flex;
  flex-direction: column;
  background: var(--register-surface);
}

.register-form-heading {
  min-width: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--register-line);
  background: linear-gradient(180deg, var(--register-surface), var(--register-surface-soft));
}

.register-form-heading span { display: block; color: var(--register-primary); font-size: 11px; font-weight: 800; }

.register-selected-plan {
  position: relative;
  min-width: 285px;
  max-width: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border: 1px solid var(--register-line);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--register-primary-soft), var(--register-surface));
  text-align: right;
}

.register-page[data-active-step="1"] .register-form-heading,
.register-page[data-active-step="1"] .register-form-actions { display: none; }

.register-selected-plan-copy { min-width: 0; }
.register-selected-plan-copy small,
.register-selected-plan-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.register-selected-plan-copy small { color: var(--register-muted); font-size: 8px; }
.register-selected-plan-copy strong { margin-top: 2px; color: var(--register-primary-deep); font-size: 11px; }
.register-selected-plan-users {
  min-width: 94px;
  display: flex !important;
  align-items: center;
  gap: 7px;
  padding-inline-start: 10px;
  border-inline-start: 1px solid var(--register-line);
  color: var(--register-primary);
}
.register-selected-plan-users > svg { width: 17px; height: 17px; flex: 0 0 auto; }
.register-selected-plan-users > span { min-width: 0; display: block; }
.register-selected-plan-users small,
.register-selected-plan-users b { display: block; white-space: nowrap; }
.register-selected-plan-users small { color: var(--register-muted); font-size: 7.5px; }
.register-selected-plan-users b { margin-top: 2px; color: var(--register-primary-deep); font-size: 9px; }

.register-selected-plan button {
  position: static;
  min-width: 36px;
  height: 26px;
  padding: 0 7px;
  border: 1px solid var(--register-line-strong);
  border-radius: 8px;
  background: var(--register-surface);
  color: var(--register-primary-deep);
  font: inherit;
  font-size: 8px;
  font-weight: 900;
  cursor: pointer;
}


.register-selected-plan button:focus-visible {
  border-color: var(--register-primary);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--register-primary) 14%, transparent);
}

.register-alert {
  min-height: 39px;
  margin: 7px 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #ebb8b8;
  border-radius: 10px;
  background: var(--register-danger-soft);
  color: var(--register-danger);
  font-size: 10px;
  font-weight: 800;
}

.register-alert.is-warning { border-color: #ecd39e; background: var(--register-warning-soft); color: var(--register-warning); }
.register-alert.is-success { border-color: #a8dccb; background: var(--register-success-soft); color: var(--register-success); }
.register-alert > span { flex: 1 1 auto; }
.register-alert > button { width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: inherit; }
.register-alert > button svg { width: 14px; height: 14px; }

.register-existing-account-dialog {
  width: min(560px, calc(100vw - 28px));
  max-width: 560px;
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--register-ink);
  direction: rtl;
  text-align: right;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}

.register-existing-account-dialog::backdrop {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.register-existing-account-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--register-primary) 30%, var(--register-line));
  border-radius: 20px;
  background:
    var(--register-surface);
}

.register-existing-account-card::before {
  content: "";
  position: absolute;
  inset-block: 0 auto;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--register-primary), var(--register-accent));
}

.register-existing-account-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}

.register-existing-account-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--register-primary), var(--register-primary-deep));
  color: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}

.register-existing-account-icon svg { width: 23px; height: 23px; }
.register-existing-account-heading small { color: var(--register-primary); font-size: 9px; font-weight: 900; }
.register-existing-account-heading h3 { margin: 4px 0 0; font-size: 18px; }
.register-existing-account-card > p { margin: 17px 0; color: var(--register-muted); font-size: 10.5px; line-height: 1.8; }

.register-existing-account-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.register-existing-account-details > div {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--register-line);
  border-radius: 12px;
  background: var(--register-surface-soft);
}

.register-existing-account-details > .register-existing-account-plan {
  grid-column: 1 / -1;
  background: color-mix(in srgb, var(--register-primary) 7%, var(--register-surface-soft));
}

.register-existing-account-details dt { color: var(--register-muted); font-size: 8.5px; font-weight: 800; }
.register-existing-account-details dd { margin: 7px 0 0; overflow-wrap: anywhere; color: var(--register-primary-deep); font-size: 12px; font-weight: 900; }
.register-existing-account-details dd[dir="ltr"] { text-align: right; font-variant-numeric: tabular-nums; letter-spacing: .04em; }

.register-existing-account-status {
  min-height: 22px;
  display: block;
  margin-top: 12px;
  color: var(--register-warning);
  font-size: 9px;
  font-weight: 800;
  line-height: 1.6;
}

.register-existing-account-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
}

.register-existing-account-actions .register-primary-button,
.register-existing-account-actions .register-secondary-button {
  min-height: 44px;
  flex: 1 1 0;
}

.register-existing-account-actions .register-primary-button.is-loading i {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: register-spin .7s linear infinite;
}

.register-existing-account-actions .register-primary-button.is-loading > svg { display: none; }
.register-existing-account-actions button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--register-primary) 30%, transparent);
  outline-offset: 2px;
}
.register-load-alert-content { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.register-load-alert-content > span { flex: 1 1 auto; }
.register-retry-button { flex: 0 0 auto; min-height: 30px; padding: 5px 11px; border: 1px solid currentColor; border-radius: 8px; background: rgba(255,255,255,.56); color: inherit; font: inherit; font-weight: 800; cursor: pointer; }
.register-retry-button:disabled { cursor: wait; opacity: .62; }

.register-form {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}

.register-form-scroll {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.register-form-scroll.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  background: color-mix(in srgb, var(--register-surface) 76%, transparent);
  backdrop-filter: blur(2px);
  cursor: progress;
}

.register-panel {
  min-width: 0;
  min-height: 100%;
  padding: 14px;
  --my-shell-primary: var(--register-primary);
  --my-shell-ink: var(--register-ink);
  --my-shell-line: var(--register-line);
  --my-shell-surface-soft: var(--register-surface-soft);
}

.register-plan-toolbar {
  width: min(720px, 100%);
  margin: 0 auto 13px;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(176px, 190px);
  grid-template-areas: "plans billing";
  gap: 6px;
  justify-content: center;
  align-items: stretch;
  padding: 5px;
  border: 1px solid color-mix(in srgb, var(--register-primary) 16%, var(--register-line));
  border-radius: 16px;
  background: linear-gradient(145deg, var(--register-surface), var(--register-surface-soft));
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08), inset 0 1px 0 rgba(255, 255, 255, .68);
}

.register-plan-toolbar .alfares-plan-tabs {
  grid-area: plans;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  flex-wrap: nowrap;
  gap: 5px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
}

.register-plan-toolbar .alfares-plan-tabs [role="tab"] {
  min-width: 0;
  min-height: 42px;
  flex: 1 1 0;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: color-mix(in srgb, var(--register-surface) 72%, transparent);
  color: color-mix(in srgb, var(--register-ink) 84%, var(--register-muted));
  overflow: hidden;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.register-plan-toolbar .alfares-plan-tabs [role="tab"][aria-selected="true"] {
  border-color: var(--register-primary);
  background: linear-gradient(145deg, var(--register-primary), var(--register-primary-deep));
  color: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.register-billing-toggle {
  grid-area: billing;
  width: 100%;
  min-height: 52px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 0 4px 0 0;
  border: 0;
  border-inline-start: 1px solid var(--register-line);
  border-radius: 0;
  background: transparent;
}

.register-billing-toggle button {
  position: relative;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 11px;
  background: color-mix(in srgb, var(--register-surface) 62%, transparent);
  color: color-mix(in srgb, var(--register-ink) 72%, var(--register-muted));
  transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.register-billing-toggle button::after {
  content: "";
  position: absolute;
  inset: auto 34% 3px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: .25;
  transition: inset .16s ease, opacity .16s ease;
}

.register-billing-toggle b,
.register-billing-toggle small { display: block; }
.register-billing-toggle b { font-size: 13px; font-weight: 800; }
.register-billing-toggle small { margin-top: 1px; font-size: 8px; }
.register-billing-toggle button[data-value="yearly"] small { color: var(--register-accent); font-weight: 900; }
.register-billing-toggle button[data-value="yearly"]:not(.is-active) {
  border-color: color-mix(in srgb, var(--register-accent) 24%, var(--register-line));
  background: color-mix(in srgb, var(--register-accent-soft) 64%, var(--register-surface));
  color: var(--register-accent);
}
.register-billing-toggle button.is-active {
  border-color: var(--register-primary);
  background: linear-gradient(145deg, var(--register-primary), var(--register-primary-deep));
  color: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}
.register-billing-toggle button[data-value="yearly"].is-active {
  border-color: var(--register-accent);
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--register-accent) 78%, var(--register-navy)),
    color-mix(in srgb, var(--register-accent) 58%, var(--register-navy)));
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}
.register-billing-toggle button.is-active small { color: rgba(255, 255, 255, .86); }
.register-billing-toggle button.is-active::after { inset-inline: 18%; opacity: .9; }

.register-plan-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.register-plan-grid .plan-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  grid-template-areas:
    "heading price"
    "features price";
  gap: 14px 22px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--register-line);
  border-radius: 21px;
  background:
    linear-gradient(135deg, var(--register-surface), var(--register-surface-soft));
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08), inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.register-plan-grid .plan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, var(--register-primary), var(--register-accent), transparent);
  opacity: .72;
}
.register-plan-grid .plan-card.is-featured { border-color: color-mix(in srgb, var(--register-primary) 55%, var(--register-line)); background: linear-gradient(135deg, var(--register-primary-soft), var(--register-surface) 58%, var(--register-accent-soft)); }
.register-plan-grid .plan-card.is-selected { border-color: var(--register-primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--register-primary) 14%, transparent), 0 3px 12px rgba(15, 23, 42, .08); }

.register-plan-heading {
  grid-area: heading;
  min-width: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0;
}

.register-plan-heading-copy,
.register-plan-title-line { min-width: 0; }

.register-plan-title-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 7px;
}

.plan-tag {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--register-primary-soft);
  color: var(--register-primary-deep);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.register-plan-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--register-primary) 14%, var(--register-line));
  border-radius: 15px;
  background: linear-gradient(145deg, var(--register-surface), var(--register-primary-soft));
  color: var(--register-primary);
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}

.register-plan-icon svg { width: 25px; height: 25px; stroke-width: 2; }
.register-plan-grid h3 { margin: 0; color: var(--register-navy); font-size: 22px; font-weight: 800; line-height: 1.3; letter-spacing: -.025em; }
.register-plan-heading-copy p { margin: 3px 0 0; color: var(--register-muted); font-size: 10px; line-height: 1.45; }
.register-plan-price {
  grid-area: price;
  align-self: start;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  padding: 16px 12px;
  border: 1px solid color-mix(in srgb, var(--register-primary) 28%, var(--register-line));
  border-radius: 17px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--register-primary-soft) 84%, var(--register-surface)), var(--register-surface));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 3px 12px rgba(15, 23, 42, .08);
  text-align: center;
}
.register-plan-price strong { color: var(--register-primary-deep); font-size: 40px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.register-plan-price > span { color: var(--register-navy); font-size: 12px; font-weight: 800; }
.register-plan-price small { flex-basis: 100%; margin: 5px 0 0; color: var(--register-muted); font-size: 10.5px; font-weight: 650; }
.register-plan-grid ul {
  grid-area: features;
  margin: 0;
  padding: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 8px 16px;
  border-top: 1px solid var(--register-line);
  list-style: none;
  color: color-mix(in srgb, var(--register-ink) 78%, var(--register-muted));
  font-size: 12px;
  font-weight: 550;
  line-height: 1.65;
}
.register-plan-grid li { min-width: 0; display: flex; align-items: flex-start; gap: 7px; }
.register-plan-grid li::before {
  content: "✓";
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--register-success) 12%, transparent);
  color: var(--register-success);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.register-plan-features { align-content: start; }
.register-plan-grid .plan-card--trial {
  border-color: color-mix(in srgb, var(--register-success) 45%, var(--register-line));
  background: linear-gradient(135deg, var(--register-success-soft), var(--register-surface) 62%, var(--register-primary-soft));
}

.register-plan-grid .register-plan-select {
  flex-basis: 100%;
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 10px 0 0;
  border: 1px solid var(--register-primary);
  border-radius: 13px;
  background: linear-gradient(145deg, var(--register-primary), var(--register-primary-deep));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08), inset 0 1px 0 rgba(255, 255, 255, .2);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.register-plan-grid .register-plan-select svg { width: 18px; height: 18px; stroke-width: 2.1; }

.register-plan-grid .is-featured .register-plan-select,
.register-plan-grid .is-selected .register-plan-select { border-color: var(--register-primary); background: var(--register-primary); color: #fff; }

.register-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--register-line);
}

.register-section-heading > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--register-primary-soft);
  color: var(--register-primary);
}

.register-section-heading h3 { margin: 0; color: var(--register-navy); font-size: 18px; font-weight: 800; }
.register-section-heading p { margin: 4px 0 0; color: var(--register-muted); font-size: 9px; }

.register-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 12px;
}

.register-field { min-width: 0; display: grid; gap: 5px; }
.register-field > span:first-child,
.register-field > label:first-child { color: var(--register-ink); font-size: 11.5px; font-weight: 750; }
.register-field > span:first-child b { color: var(--register-danger); }
.register-field > span:first-child em { color: var(--register-muted); font-size: 8px; font-style: normal; font-weight: 700; }

.register-control {
  min-width: 0;
  min-height: 48px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid var(--register-line-strong);
  border-radius: 12px;
  background: var(--register-surface-soft);
  color: var(--register-muted);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.register-control:focus-within { border-color: var(--register-primary); background: var(--register-surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--register-primary) 12%, transparent); color: var(--register-primary); }
.register-control > svg { width: 16px; height: 16px; }
.register-control input,
.register-control select {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--register-ink);
  font-size: 13px;
  font-weight: 700;
}

.register-control select { cursor: pointer; }
.register-control input::placeholder { color: color-mix(in srgb, var(--register-muted) 68%, transparent); }
.register-control > button { width: 29px; height: 29px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--register-muted); }
.register-control > button svg { width: 15px; height: 15px; }
.register-field small[data-field-error-for] { min-height: 15px; color: var(--register-danger); font-size: 9.5px; font-weight: 700; }
.register-field.has-error .register-control { border-color: var(--register-danger); background: var(--register-danger-soft); }
.register-password-meter {
  width: min(410px, 100%);
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.register-password-meter > span { height: 5px; flex: 1 1 auto; overflow: hidden; border-radius: 999px; background: var(--register-line); }
.register-password-meter i { display: block; width: var(--meter-width, 0%); height: 100%; border-radius: inherit; background: var(--meter-color, var(--register-danger)); transition: width .18s ease, background .18s ease; }
.register-password-meter small { color: var(--register-muted); font-size: 8px; white-space: nowrap; }
.register-password-meter b { color: var(--meter-color, var(--register-muted)); }

.register-verification-dialog {
  width: min(390px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid color-mix(in srgb, var(--register-primary) 28%, var(--register-line));
  border-radius: 18px;
  background: var(--register-surface);
  color: var(--register-ink);
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}
.register-verification-dialog:not([open]) { display: none; }
.register-verification-dialog[open] { animation: register-verification-enter .18s ease-out both; }
.register-verification-dialog::backdrop {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.register-verification-card {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  border: 0;
  background: linear-gradient(145deg, var(--register-surface), color-mix(in srgb, var(--register-primary-soft) 45%, var(--register-surface)));
}
.register-verification-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.register-verification-header h3 { margin: 0; color: var(--register-ink); font-size: 17px; line-height: 1.3; }
.register-verification-intro { margin: 0; color: var(--register-muted); font-size: 12px; line-height: 1.7; }
.register-verification-close {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--register-line);
  border-radius: 11px;
  background: var(--register-surface);
  color: var(--register-muted);
  cursor: pointer;
}
.register-verification-close:focus-visible { outline: 3px solid color-mix(in srgb, var(--register-primary) 24%, transparent); outline-offset: 2px; }
.register-verification-close svg { width: 17px; height: 17px; }
.register-verification-code { width: 100%; margin: 0; }
.register-verification-code .register-control { grid-template-columns: minmax(0, 1fr); }
.register-verification-code input { width: 100%; min-width: 0; min-height: 56px; direction: ltr; text-align: center; letter-spacing: .42em; font-size: 19px; font-weight: 900; font-variant-numeric: tabular-nums; }
.register-verification-code small[data-field-error-for]:empty { display: none; }
.register-verification-dialog output { overflow-wrap: anywhere; }
.register-verification-actions { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; }
.register-verification-actions output { min-width: 0; color: var(--register-muted); font-size: 10.5px; font-weight: 750; line-height: 1.45; }
.register-verification-actions output:empty { display: none; }
.register-verification-actions output[data-tone="warning"] { color: var(--register-danger, #b42318); }
.register-verification-actions output[data-tone="success"] { color: var(--register-success); }
.register-primary-button.register-verification-confirm { width: 100%; min-height: 46px; }
.register-verification-card[data-verification-state="verified"] {
  background: color-mix(in srgb, var(--register-success-soft) 72%, var(--register-surface));
}
.register-verification-card[data-verification-state="verified"] output { color: var(--register-success); }
.register-text-button { appearance: none; flex: 0 0 auto; padding: 3px 0; border: 0; background: transparent; color: var(--register-primary); font: inherit; font-size: 10.5px; font-weight: 850; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.register-verification-actions .register-text-button { min-height: 36px; padding-inline: 4px; }
.register-text-button:disabled { opacity: .5; cursor: wait; }
@media (min-width: 721px) {
  .register-verification-actions .register-text-button {
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid color-mix(in srgb, var(--register-primary) 24%, #fff);
    border-radius: 9px;
    background: color-mix(in srgb, var(--register-primary) 5%, #fff);
    font-size: 10px;
    line-height: 1;
    text-decoration: none;
  }
  
  .register-verification-actions .register-text-button:focus-visible {
    border-color: color-mix(in srgb, var(--register-primary) 46%, #fff);
    background: color-mix(in srgb, var(--register-primary) 10%, #fff);
    outline: 2px solid color-mix(in srgb, var(--register-primary) 13%, transparent);
    outline-offset: 2px;
  }
}
.register-submit-note { display: flex; align-items: center; gap: 8px; margin: 13px 0 0; padding: 9px 10px; border: 1px solid #b8dfd4; border-radius: 10px; background: var(--register-success-soft); color: var(--register-success); font-size: 8.5px; line-height: 1.55; }
.register-submit-note svg { flex: 0 0 auto; }

.register-form-actions {
  position: sticky;
  bottom: 0;
  z-index: 6;
  min-width: 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 12px;
  border-top: 1px solid var(--register-line);
  background: var(--register-surface-soft);
}

.register-form-actions > span { flex: 1 1 auto; color: var(--register-muted); font-size: 8.5px; text-align: center; }
.register-primary-button,
.register-secondary-button {
  min-width: 125px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.register-primary-button { border: 1px solid var(--register-primary); background: linear-gradient(180deg, color-mix(in srgb, var(--register-primary) 88%, #fff), var(--register-primary)); color: #fff; box-shadow: 0 3px 12px rgba(15, 23, 42, .08); }
.register-secondary-button { border: 1px solid var(--register-line-strong); background: var(--register-surface); color: var(--register-muted); }
.register-primary-button:disabled { cursor: not-allowed; opacity: .55; box-shadow: none; }
.register-primary-button.is-submit { min-width: 190px; }
.register-primary-button.is-loading i { width: 15px; height: 15px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: register-spin .7s linear infinite; }
.register-primary-button.is-loading > svg { display: none; }

.register-page-footer {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-inline: 7px;
  color: var(--register-muted);
  font-size: 8px;
  font-weight: 750;
}

.register-page-footer b { color: var(--register-primary-deep); }

.register-account-completion-step {
  display: grid;
  align-content: start;
  gap: 14px;
}

.register-subsection { min-width: 0; }

.register-subscription-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.register-subscription-details > .register-subsection {
  padding: 13px 14px;
  border: 1px solid var(--register-line);
  border-radius: 14px;
  background: var(--register-surface-soft);
}

.register-subscription-details > .register-company-subsection {
  border-color: color-mix(in srgb, var(--register-primary) 28%, var(--register-line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--register-primary-soft) 66%, var(--register-surface)), var(--register-surface));
  box-shadow: inset 4px 0 0 color-mix(in srgb, var(--register-primary) 72%, transparent);
}

.register-account-details {
  width: min(680px, 100%);
  margin-inline: auto;
  gap: 0;
  padding: 14px;
  border: 1px solid var(--register-line);
  border-radius: 18px;
  background: var(--register-surface);
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}

.register-account-details > .register-subsection {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.register-account-details > .register-subsection + .register-subsection {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--register-line);
}

.register-subscription-details .register-section-heading {
  margin-bottom: 10px;
  padding-bottom: 8px;
}

.register-subscription-details .register-section-heading > span { width: 36px; height: 36px; border-radius: 10px; }
.register-subscription-details .register-field-grid { gap: 8px; }
.register-account-details .register-section-heading {
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 0;
  border-bottom: 0;
}
.register-account-details .register-section-heading > span { width: 30px; height: 30px; border-radius: 9px; }
.register-account-details .register-section-heading > span svg { width: 16px; height: 16px; }
.register-account-details .register-section-heading h3 { font-size: 13px; }
.register-company-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.register-company-name-field .register-control {
  min-height: 44px;
  border-color: color-mix(in srgb, var(--register-primary) 35%, var(--register-line-strong));
  background: var(--register-surface);
  box-shadow: none;
}
.register-company-name-field .register-control > svg { color: var(--register-primary); }
.register-company-name-field .register-control input { height: 40px; }
.register-company-address-field .register-control { background: var(--register-surface); }
.register-company-address-field .register-control > svg { color: var(--register-primary); }
.register-admin-fields { grid-template-columns: .9fr 1.08fr 1.22fr; }
.register-phone-control {
  grid-template-columns: 18px minmax(0, 1fr) 105px;
  gap: 6px;
  direction: rtl;
}
.register-phone-control > input {
  direction: ltr;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.register-phone-country-picker {
  position: relative;
  align-self: stretch;
  display: grid;
  grid-template-columns: 24px auto 32px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding-inline: 5px 2px;
  border-inline-start: 1px solid var(--register-line);
  direction: ltr;
}
.register-phone-country-picker::after {
  content: "";
  position: absolute;
  inset-inline-end: 14px;
  top: 50%;
  z-index: 0;
  width: 7px;
  height: 7px;
  border-inline-end: 2px solid var(--register-primary-deep);
  border-block-end: 2px solid var(--register-primary-deep);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.register-phone-country-flag {
  display: block;
  width: 24px;
  height: 18px;
  border: 1px solid color-mix(in srgb, var(--register-line) 80%, #94a3b8);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
  object-fit: cover;
}
.register-phone-dial-code {
  color: var(--register-primary-deep);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  font-weight: 850;
  direction: ltr;
  unicode-bidi: isolate;
}
/* The native country list is an invisible layer over the flag, code and arrow,
   so the shared field colours and the 16px touch font never show through it. */
.register-phone-country-picker > .register-phone-country {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  opacity: 0;
  appearance: none;
  -webkit-appearance: none;
  font-family: "Tajawal", "Segoe UI", sans-serif;
  direction: ltr;
  cursor: pointer;
}
.register-phone-country-picker > .register-phone-country:focus-visible { outline: 0; }
.register-phone-country-picker > .register-phone-country option,
.register-phone-country-picker > .register-phone-country optgroup {
  background: var(--register-surface);
  color: var(--register-ink);
  font-family: "Tajawal", "Segoe UI", sans-serif;
  font-size: 11px;
  direction: rtl;
}
.register-phone-control > .register-phone-country { min-width: 0; }

@keyframes register-spin { to { transform: rotate(360deg); } }
@keyframes register-verification-enter {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1280px) {
  .register-plan-grid { grid-template-columns: minmax(0, 1fr); }
  .register-plan-grid .plan-card { min-height: 0; grid-template-columns: minmax(0, 1fr) 168px; gap: 12px 16px; }
}

@media (min-width: 981px) and (max-width: 1240px) {
  .register-plan-toolbar {
    width: min(500px, 100%);
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "plans" "billing";
  }

  .register-billing-toggle {
    width: min(240px, 100%);
    justify-self: center;
    padding: 5px 0 0;
    border-inline-start: 0;
    border-top: 1px solid var(--register-line);
  }
}

@media (min-width: 921px) and (max-width: 1280px) {
  .register-admin-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .register-admin-fields .register-phone-field { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .register-page { grid-template-rows: 50px minmax(0, 1fr); gap: 5px; padding: 5px; }
  .register-auth-panel .register-workspace { grid-template-columns: minmax(0, 1fr); grid-template-rows: 56px minmax(0, 1fr); gap: 5px; }
  .register-progress-card { padding: 8px; border-radius: 15px; }
  .register-progress-heading { display: none; }
  .register-progress-card > p { display: none; }
  .register-auth-panel .register-stepper { display: grid; gap: 5px; overflow: hidden; }
  .register-auth-panel .register-stepper button { min-width: 0; grid-template-rows: auto; }
  .register-security-note { display: none; }
  .register-form-card { border-radius: 15px; }
  .register-subscription-details { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 660px) {
  .register-load-alert-content { align-items: stretch; flex-direction: column; }
  .register-retry-button { width: 100%; }
  .register-topbar { padding: 5px 7px; }
  .register-brand > div { display: none; }
  .register-demo-button span,
  .register-login-link span { display: none; }
  .register-demo-button,
  .register-login-link { width: 44px; padding: 0; justify-content: center; }
  .register-auth-panel .register-workspace { grid-template-rows: 56px minmax(0, 1fr); }
  .register-auth-panel .register-progress-card { padding-block: 5px; }
  .register-auth-panel .register-stepper { gap: 2px; overflow: hidden; }
  .register-auth-panel .register-stepper button {
    height: 44px;
    grid-template-columns: 27px minmax(0, 1fr) 19px;
    gap: 5px;
    padding: 4px 5px;
  }
  .register-auth-panel .register-stepper button > b { width: 27px; height: 27px; }
  .register-auth-panel .register-stepper button > i { width: 19px; height: 19px; }
  .register-auth-panel .register-stepper strong { font-size: 10.5px; }
  .register-stepper small { display: none; }
  .register-auth-panel .register-stepper strong { overflow: hidden; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
  .register-form-heading { min-height: 64px; justify-content: center; padding: 8px 10px; }
  .register-selected-plan { width: 100%; min-width: 0; max-width: none; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; padding: 6px 6px 6px 8px; }
  .register-selected-plan-copy small,
  .register-selected-plan-users small { display: none; }
  .register-selected-plan-users { min-width: 57px; gap: 4px; padding-inline-start: 6px; }
  .register-selected-plan-users > svg { width: 15px; height: 15px; }
  .register-selected-plan button { width: 64px; height: 40px; padding-inline: 8px; font-size: 11px; }
  .register-panel { padding: 8px; }
  .register-plan-toolbar { width: 100%; grid-template-columns: minmax(0, 1fr); grid-template-areas: "plans" "billing"; gap: 5px; }
  .register-plan-toolbar .alfares-plan-tabs { grid-area: plans; order: initial; }
  .register-plan-toolbar .alfares-plan-tabs [role="tab"] {
    padding-inline: 4px;
    font-size: 11px;
  }
  .register-plan-toolbar .alfares-plan-tabs [data-plan-tab="trial"] { flex-grow: 1.3; }
  .register-billing-toggle {
    grid-area: billing;
    order: initial;
    padding: 4px 0 0;
    border-inline-start: 0;
    border-top: 1px solid var(--register-line);
  }
  .register-plan-grid,
  .register-field-grid { grid-template-columns: minmax(0, 1fr); }
  .register-verification-dialog { width: min(360px, calc(100vw - 18px)); }
  .register-verification-card { gap: 10px; padding: 13px; }
  .register-plan-grid .plan-card {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "price" "features";
    gap: 9px;
    padding: 12px;
  }
  .register-plan-heading { grid-template-columns: 38px minmax(0, 1fr); gap: 8px; }
  .register-plan-icon { width: 38px; height: 38px; }
  .register-plan-grid h3 { font-size: 19px; }
  .plan-tag { font-size: 10px; }
  .register-plan-heading-copy p { font-size: 9.5px; }
  .register-plan-price { min-height: 60px; padding: 9px; }
  .register-plan-price strong { font-size: 34px; }
  .register-plan-grid ul { grid-template-columns: minmax(0, 1fr); font-size: 11.25px; }
  .register-plan-grid .register-plan-select { font-size: 12px; }
  .register-field > span:first-child,
  .register-field > label:first-child { font-size: 11.25px; }
  .register-control input,
  .register-control select { font-size: 12.5px; }
  .register-phone-control { grid-template-columns: 18px minmax(0, 1fr) 100px; }
  .register-phone-country-picker { grid-template-columns: 22px auto 32px; gap: 3px; padding-inline: 3px 1px; }
  .register-phone-country-flag { width: 22px; height: 17px; }
  .register-phone-dial-code { font-size: 10px; }
  .register-selected-plan-copy strong { font-size: 11.5px; }
  .register-selected-plan-users b { margin-top: 0; font-size: 10px; }
  .register-field-grid { gap: 7px; }
  .register-account-completion-step { align-content: start; gap: 10px; }
  .register-subscription-details > .register-subsection { padding: 9px; }
  .register-account-details { padding: 10px; border-radius: 14px; }
  .register-account-details > .register-subsection { padding: 0; }
  .register-account-details > .register-subsection + .register-subsection { padding-top: 10px; }
  .register-account-details .register-company-fields,
  .register-account-details .register-admin-fields { grid-template-columns: minmax(0, 1fr); }
  .register-section-heading { margin-bottom: 9px; padding-bottom: 8px; }
  .register-section-heading > span { width: 35px; height: 35px; }
  .register-section-heading h3 { font-size: 16px; }
  .register-form-actions { padding: 5px 7px; }
  .register-form-actions > span { display: none; }
  .register-primary-button,
  .register-secondary-button { min-width: 105px; }
  .register-primary-button.is-submit { width: 100%; min-width: 0; }
  .register-existing-account-card { padding: 19px 16px 16px; }
  .register-existing-account-details { grid-template-columns: minmax(0, 1fr); }
  .register-existing-account-actions { align-items: stretch; flex-direction: column; }
  .register-existing-account-actions .register-primary-button,
  .register-existing-account-actions .register-secondary-button { width: 100%; flex: 0 0 auto; }
  .register-page-footer span { display: none; }
}

@media (max-width: 360px) {
  .register-plan-toolbar .alfares-plan-tabs [role="tab"] {
    min-height: 46px;
    font-size: 10px;
    line-height: 1.45;
    white-space: normal;
  }

  .register-plan-toolbar .alfares-plan-tabs [data-plan-tab="trial"] { flex-grow: 1.5; }
}

/* Fit the form to the space above the mobile keyboard, including visual-only resize. */
@media (max-width: 1199px) {
  html.alfares-keyboard-open body.mysite-register-body .register-auth-shell {
    position: fixed;
    top: var(--alfares-visual-viewport-offset-top, 0px);
    left: var(--alfares-visual-viewport-offset-left, 0px);
    width: var(--alfares-visual-viewport-width, 100%);
    height: var(--alfares-visual-viewport-height, 100dvh);
    min-height: 0;
    display: block;
  }
  html.alfares-keyboard-open body.mysite-register-body .register-auth-panel,
  html.alfares-keyboard-open body.mysite-register-body .register-auth-panel .register-page {
    height: 100%;
    min-height: 0;
  }
  html.alfares-keyboard-open body.mysite-register-body .register-auth-panel .register-page,
  html.alfares-keyboard-open body.mysite-register-body .register-auth-panel .register-workspace {
    grid-template-rows: minmax(0, 1fr);
  }
  html.alfares-keyboard-open body.mysite-register-body .register-auth-shell .auth-brand-panel,
  html.alfares-keyboard-open body.mysite-register-body .register-topbar,
  html.alfares-keyboard-open body.mysite-register-body .register-progress-card,
  html.alfares-keyboard-open body.mysite-register-body .register-form-heading,
  html.alfares-keyboard-open body.mysite-register-body .alfares-support-register-footer,
  html.alfares-keyboard-open body.mysite-register-body .alfares-pwa-install {
    display: none;
  }
  html.alfares-keyboard-open body.mysite-register-body .register-form-scroll {
    scroll-padding-block: 12px;
  }
}

@media (max-width: 980px) and (max-height: 520px) {
  .register-page { grid-template-rows: 48px minmax(0, 1fr); }
  .register-auth-panel .register-progress-card { display: none; }
  .register-auth-panel .register-workspace { grid-template-rows: minmax(0, 1fr); }
  .register-form-heading { min-height: 52px; padding-block: 6px; }
  .register-selected-plan { padding-block: 4px; }
  .register-selected-plan button { width: 56px; height: 40px; font-size: 10px; }
  .register-form-actions { min-height: 48px; }
  .register-form { grid-template-rows: minmax(0, 1fr) auto; }
}

/* Phones and short landscape screens: the page stays fixed to the viewport, the
   form card is its only scroller and the support numbers stay in view below it. */
@media (max-width: 660px), (max-width: 980px) and (max-height: 520px) {
  html,
  body { overscroll-behavior: none; }
  body.mysite-register-body .register-auth-panel .register-page,
  body.mysite-register-body .register-auth-panel .register-page:has(.alfares-support-register-footer) {
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 5px;
    padding: 5px 5px max(5px, env(safe-area-inset-bottom));
  }
  .register-topbar { padding-block: 4px; }
  .register-brand,
  .register-login-link,
  .register-demo-button { min-height: 44px; }
  .register-icon-button { width: 44px; height: 44px; }
}

/* Single-column sign-up: the install button is a compact icon in the footer's
   corner, beside the support numbers instead of over them. */
@media (max-width: 980px) {
  body.mysite-register-body .alfares-pwa-install { min-width: 44px; padding-inline: 11px; }
  body.mysite-register-body .alfares-pwa-install span { display: none; }
  html:has(.alfares-pwa-install:not([hidden])) .alfares-support-register-footer { padding-inline-start: 60px; }
}

/* The shared coarse-pointer floor sets !important minimum sizes, so these
   single-line buttons keep their intended touch heights explicitly. */
@media (pointer: coarse) {
  .register-primary-button,
  .register-secondary-button { height: 44px; }
  .register-plan-grid .register-plan-select { height: 48px; }
}

@media (max-height: 720px) and (min-width: 921px) {
  .register-progress-card { padding: 13px; }
  .register-progress-card > p { margin: 9px 0; }
  .register-stepper { gap: 4px; }
  .register-stepper button { min-height: 53px; }
  .register-security-note { padding: 8px; }
  .register-plan-grid .plan-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
/* Both wizard steps remain mounted so changing a step preserves its draft and country options. */
.register-form-scroll > [data-register-step-container][hidden] { display: none; }


/* source: cssjs/Shared/support/support-contacts.css; sha256: 3dcd7d6397f96bb26f90bc711a9b5b1fe111eca983238a38e983701e375d8b09 */
/* Shared support contacts: explicit HTML, flat theme surfaces and independent icons. */
.alfares-support-contacts {
  --support-ink: var(--my-shell-ink, var(--auth-ink, #143f61));
  --support-muted: var(--my-shell-muted, var(--auth-muted, #65758b));
  --support-line: var(--my-shell-line, var(--auth-line, #d6e2f1));
  --support-surface: var(--my-shell-surface, var(--auth-surface, #fff));
  --support-accent: var(--my-shell-primary, var(--auth-primary, #143f61));
  box-sizing: border-box; width: 100%; min-width: 0; color: var(--support-ink);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif; text-align: start;
}
.alfares-support-contacts *, .alfares-support-contacts *::before, .alfares-support-contacts *::after { box-sizing: border-box; }
.alfares-support-heading { margin: 0 0 7px; padding: 0; font-size: 12px; line-height: 1.5; color: var(--support-accent); }
.alfares-support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 7px; min-width: 0; }
.alfares-support-contact { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; padding: 4px 7px; border: 1px solid var(--support-line); border-radius: 11px; background: var(--support-surface); }
.alfares-support-copy { display: grid; gap: 2px; min-width: 0; }
.alfares-support-city { color: var(--support-muted); font-size: 10px; font-weight: 700; line-height: 1.4; }
.alfares-support-phone { display: inline-flex; align-items: center; min-height: 24px; color: var(--support-ink); text-decoration: none; font-size: 12px; line-height: 1.4; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.alfares-support-whatsapp { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid #c3e9d6; border-radius: 10px; background: #eaf8f0; color: #087849; text-decoration: none; }
.alfares-support-whatsapp svg { display: block; width: 20px; height: 20px; fill: currentColor; stroke: none; }
.alfares-support-whatsapp svg path { fill: currentColor; stroke: none; }
.alfares-support-phone:hover { text-decoration: underline; }
.alfares-support-whatsapp:hover { background: #dbf1e5; color: #075d39; }
.alfares-support-contacts a:focus-visible { outline: 2px solid var(--support-accent); outline-offset: 3px; }
html[data-my-theme="dark"] .alfares-support-contacts { --support-ink: #e8eef7; --support-muted: #bdcada; --support-line: #3b516d; --support-surface: #14233a; --support-accent: #c4d6ed; }
html[data-my-theme="dark"] .alfares-support-whatsapp { border-color: #275645; background: #153c2d; color: #87e8b2; }
html[data-my-theme="dark"] .alfares-support-whatsapp:hover { background: #1a4c39; }
.alfares-support-footer { position: relative; z-index: 1; width: 100%; min-width: 0; margin-top: 12px; padding: 10px; border: 1px solid var(--auth-line, #d6e2f1); border-radius: 15px; background: var(--auth-surface, #fff); box-shadow: 0 3px 12px #0f172a14; }
.alfares-support-footer .alfares-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.alfares-support-footer > small { display: block; margin-top: 7px; color: var(--auth-muted, #65758b); font-size: 9px; text-align: center; }
.alfares-support-auth-stack { position: relative; z-index: 1; width: min(560px, 100%); min-width: 0; }
.alfares-support-auth-stack .auth-access-card { width: 100%; }
.alfares-support-error { padding: 14px 20px; border-top: 1px solid #d6e2f1; }
.register-auth-panel .register-page:has(.alfares-support-register-footer) { grid-template-rows: 52px minmax(0, 1fr) auto; }
.alfares-support-register-footer { position: relative; z-index: 1; min-width: 0; padding: 7px 9px; border: 1px solid var(--register-line, #d6e2f1); border-radius: 12px; background: var(--register-surface, #fff); }
.alfares-support-register-footer .alfares-support-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.alfares-support-register-footer .alfares-support-heading { margin-bottom: 4px; }
.alfares-support-site-footer { padding-block: 16px; }
.alfares-support-branch-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; min-height: 44px; padding: 6px 10px; border: 1px solid #c3e9d6; border-radius: 10px; background: #eaf8f0; color: #087849; text-decoration: none; }
.alfares-support-branch-whatsapp svg { width: 18px; height: 18px; }
.alfares-support-branch-whatsapp:focus-visible { outline: 2px solid #087849; outline-offset: 3px; }
.site-footer .alfares-support-contacts { --support-ink: #f3f7fc; --support-muted: #c3d2e2; --support-line: #45647e; --support-surface: #143f61; --support-accent: #f3f7fc; }
.site-footer .alfares-support-whatsapp { border-color: #c3e9d6; background: #eaf8f0; color: #087849; }
.site-footer .alfares-support-whatsapp:hover { background: #dbf1e5; color: #075d39; }
.site-footer .alfares-support-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
/* قائمة تواصل واحدة للفوتر والمساعدة، مع الحفاظ على بطاقات الفروع المشتركة. */
.my-slider-shell:has(.my-footer) .my-slider-workspace { grid-template-rows: var(--my-shell-topbar-h) minmax(0, 1fr) auto; }
.alfares-support-menu {
  box-sizing: border-box; width: min(570px, calc(100vw - 24px));
  max-height: calc(var(--alfares-visual-viewport-height, 100dvh) - 24px);
  margin: auto; padding: 0; overflow: hidden;
  border: 1px solid var(--my-shell-line, #d6e2f1); border-radius: 20px;
  color: var(--my-shell-ink, #143f61); background: var(--my-shell-surface, #fff);
  box-shadow: 0 18px 60px #102c4b38; font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}
.alfares-support-menu[open] { display: flex; flex-direction: column; }
.alfares-support-menu:not([open]), .alfares-support-menu [hidden] { display: none !important; }
.alfares-support-menu::backdrop { background: #0d233b66; }
.alfares-support-menu-head { display: grid; grid-template-columns: 44px minmax(0, 1fr) 36px; flex: 0 0 auto; align-items: center; gap: 11px; padding: 15px 17px; border-bottom: 1px solid var(--my-shell-line, #d6e2f1); background: color-mix(in srgb, var(--my-shell-primary, #143f61) 4%, var(--my-shell-surface, #fff)); }
.alfares-support-menu-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #fff; background: var(--my-shell-primary, #143f61); box-shadow: 0 3px 9px #143f611c; }
.alfares-support-menu-mark > svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.alfares-support-menu-head h2 { margin: 0; color: inherit; font-size: 17px; line-height: 1.5; font-weight: 800; }
.alfares-support-menu-head > div > span { display: block; color: var(--my-shell-muted, #65758b); font-size: 10px; margin-top: 2px; }
.alfares-support-menu-close { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--my-shell-line, #d6e2f1); border-radius: 10px; color: inherit; background: var(--my-shell-surface, #fff); cursor: pointer; }
.alfares-support-menu-close > svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.alfares-support-menu-body { display: grid; gap: 12px; min-height: 0; padding: 15px 17px 17px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; }
.alfares-support-menu-chat { display: grid; grid-template-columns: 25px minmax(0, 1fr) 15px; align-items: center; gap: 9px; width: 100%; min-height: 46px; padding: 9px 13px; border: 1px solid transparent; border-radius: 11px; background: var(--my-shell-primary, #143f61); color: #fff; font: 800 13px/1.5 Tahoma, "Segoe UI", Arial, sans-serif; text-align: start; cursor: pointer; }
.alfares-support-menu-chat > svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.alfares-support-menu-chat > .alfares-support-menu-chat-arrow { width: 15px; height: 15px; }
[dir="ltr"] .alfares-support-menu-chat-arrow { transform: rotate(180deg); }
.alfares-support-menu-chat[aria-busy="true"] { opacity: .72; cursor: progress; }
.alfares-support-menu .alfares-support-heading { display: none; }
.alfares-support-menu .alfares-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.alfares-support-menu .alfares-support-contact { min-height: 54px; padding: 5px 8px; border-radius: 11px; background: color-mix(in srgb, var(--my-shell-primary, #143f61) 2%, var(--support-surface)); }
.alfares-support-menu .alfares-support-contact:last-child:nth-child(odd) { grid-column: 1 / -1; }
.alfares-support-menu .alfares-support-phone { font-size: 12.5px; }
.alfares-support-menu .alfares-support-city { font-size: 10.5px; }
.alfares-support-menu-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.alfares-support-menu-link { display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 57px; padding: 8px 10px; border: 1px solid var(--my-shell-line, #d6e2f1); border-radius: 11px; background: var(--my-shell-surface, #fff); color: inherit; text-decoration: none; }
.alfares-support-menu-link > svg { flex: 0 0 23px; width: 23px; height: 23px; fill: none; stroke: var(--my-shell-primary, #143f61); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.alfares-support-menu-link > span { display: grid; min-width: 0; gap: 2px; }
.alfares-support-menu-link small { color: var(--my-shell-muted, #65758b); font-size: 9px; line-height: 1.4; }
.alfares-support-menu-link :is(strong, bdi) { font-size: 10.5px; line-height: 1.55; font-weight: 800; overflow-wrap: anywhere; }
.alfares-support-menu-link bdi { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
.alfares-support-menu-link:hover { border-color: var(--my-shell-primary, #143f61); background: color-mix(in srgb, var(--my-shell-primary, #143f61) 4%, var(--my-shell-surface, #fff)); }
.alfares-support-menu :is(button, a):focus-visible { outline: 2px solid var(--my-shell-primary, #143f61); outline-offset: 2px; }
.alfares-support-chat-launch-status { margin: 0; padding: 8px 10px; border: 1px solid #ecc9cf; border-radius: 8px; color: #a13447; background: #fff4f6; font-size: 11px; line-height: 1.7; text-align: start; }
html[data-my-theme="dark"] .alfares-support-menu { color: #e8eef7; background: #14233a; border-color: #3b516d; }
html[data-my-theme="dark"] .alfares-support-menu-head { background: #182d47; border-color: #3b516d; }
html[data-my-theme="dark"] .alfares-support-menu-head > div > span, html[data-my-theme="dark"] .alfares-support-menu-link small { color: #bdcada; }
html[data-my-theme="dark"] .alfares-support-menu-link, html[data-my-theme="dark"] .alfares-support-menu-close { color: #e8eef7; background: #14233a; border-color: #3b516d; }
html[data-my-theme="dark"] .alfares-support-menu-link > svg { stroke: #c4d6ed; }
/* محادثة الموقع نفسها داخل غلاف ERP، دون زر عائم إضافي. */
.support-chat.alfares-support-chat-host { --support-blue: var(--my-shell-primary, #1769c2); --support-blue-dark: var(--my-shell-primary-strong, #0f4f8c); --font-ar: Tahoma, "Segoe UI", Arial, sans-serif; --shadow-sm: 0 12px 40px #0f172a30; z-index: 1400; direction: inherit; left: max(12px, env(safe-area-inset-left)); right: auto; bottom: max(12px, env(safe-area-inset-bottom)); }
.support-chat.alfares-support-chat-host > .support-chat__trigger { display: none !important; }
.support-chat.alfares-support-chat-host .icon { display: inline-block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.support-chat.alfares-support-chat-host .support-chat__drawer { left: 0; right: auto; bottom: 0; width: min(400px, calc(100vw - 24px)); height: min(650px, calc(var(--alfares-visual-viewport-height, 100dvh) - 24px)); min-height: 0; max-height: calc(var(--alfares-visual-viewport-height, 100dvh) - 24px); }
@media (max-width: 420px) {
  .alfares-support-menu-head { padding: 12px; gap: 9px; }
  .alfares-support-menu-head h2 { font-size: 15px; }
  .alfares-support-menu-body { padding: 12px; gap: 10px; }
  .alfares-support-menu .alfares-support-grid, .alfares-support-menu-links { grid-template-columns: minmax(0, 1fr); }
  .alfares-support-menu-link { min-height: 50px; }
}
@media (max-width: 760px) {
  .alfares-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alfares-support-contact { padding-inline: 5px; gap: 4px; }
  .alfares-support-phone { font-size: 11px; }
  .alfares-support-error { padding-inline: 12px; }
  .register-auth-panel .register-page:has(.alfares-support-register-footer) { grid-template-rows: 48px minmax(0, 1fr) auto; }
  .alfares-support-register-footer .alfares-support-grid, .site-footer .alfares-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px), (pointer: coarse) {
  :is(.alfares-support-auth-stack, .alfares-support-register-footer, .alfares-support-footer, .alfares-support-menu) .alfares-support-phone { min-height: 40px; }
}
@media (max-width: 340px) {
  .alfares-support-contacts { font-size: 11px; }
  .alfares-support-phone { font-size: 10.5px; }
}

/* Phones: sign-up keeps the numbers fixed below its form as compact rows. The
   whole row calls the number; the green button opens WhatsApp. */
@media (max-width: 660px), (max-width: 980px) and (max-height: 520px) {
  .alfares-support-register-footer { padding: 5px; border-radius: 12px; }
  .alfares-support-register-footer .alfares-support-heading { display: none; }
  .alfares-support-register-footer .alfares-support-grid { gap: 5px; }
  .alfares-support-register-footer .alfares-support-phone { font-size: 12.5px; }
  .alfares-support-register-footer .alfares-support-contact { position: relative; min-height: 46px; padding-block: 2px; padding-inline: 8px 2px; border-radius: 10px; }
  .alfares-support-register-footer .alfares-support-copy { gap: 0; }
  .alfares-support-register-footer .alfares-support-city { line-height: 1.25; }
  .alfares-support-register-footer .alfares-support-phone { min-height: 0; line-height: 1.4; }
  .alfares-support-register-footer .alfares-support-phone::after { content: ""; position: absolute; inset: 0; }
  .alfares-support-register-footer .alfares-support-whatsapp { position: relative; z-index: 1; flex-basis: 40px; width: 40px; height: 40px; min-height: 40px; }
}
/* شاشات أفقية قصيرة: الفروع موزعة دون تزاحم الأرقام. */
@media (max-width: 980px) and (max-height: 520px) {
  .alfares-support-register-footer .alfares-support-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

