
@keyframes flipX {
  0% { transform: rotateY(0deg); }
  50% { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}

.response_loading_img {
  animation: flipX 1.5s infinite linear;
}


.register_popup {
    position: fixed;
    top: 50%;
    width: min(560px, calc(100% - 28px));
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 0;
    box-shadow: none;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    text-align: center;
    color: black;
    animation: xcpopIn 180ms ease-out;
    overflow: hidden;
}

@keyframes xcpopIn {
  from { opacity: 0; transform: translate(-50%, -46%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.register_popup_close {
  all: unset;
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.10) !important;
  background: rgba(0, 0, 0, 0.04) !important;
  color: rgba(0, 0, 0, 0.75) !important;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease, transform 90ms ease;
}

.register_popup_close:hover {
  background: rgba(0, 0, 0, 0.08);
}

.register_popup_close:active {
  transform: translateY(1px);
}
.fas.fa-exclamation-triangle {
    color: red;
    font-size: 50px;
    margin: 10px;
}
.response-message_loading {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    gap: 10px;
    min-height: 140px;
}
.response_loading_img {
    width: 60px;
    height: 60px;
}

.response_loading_text {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.78);
}

.response_loading_sub {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
}

/* New popup UI */
.xc-popup_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.xc-popup_brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: right;
}

.xc-popup_logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #16a34a;
  box-shadow: none;
}

.xc-popup_title {
  font-size: 14px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.82);
  line-height: 1.2;
}

.xc-popup_subtitle {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
}

.xc-popup_body {
  padding: 16px 18px 18px 18px;
}

.xc-popup_loader {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 10px 0 2px;
}

.xc-spinner {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 4px solid rgba(0, 0, 0, 0.08);
  border-top-color: rgba(22, 163, 74, 0.85);
  animation: xcspin 850ms linear infinite;
}

@keyframes xcspin {
  to { transform: rotate(360deg); }
}

.xc-loader_text {
  font-size: 15px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.82);
}

.xc-loader_sub {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
}

.xc-progress {
  width: min(360px, 100%);
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.xc-progress_bar {
  height: 100%;
  width: 10%;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.85);
  transition: width 420ms ease;
}

.xcart_refonly_toggle {
  padding: 12px 14px;
  border: 1px solid var(--xc-border, rgba(16, 185, 129, 0.18));
  border-radius: 14px;
  background: var(--xc-surface-2, rgba(16, 185, 129, 0.06));
  display: grid;
  gap: 8px;
  align-items: start;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.xcart_refonly_toggle:focus-within {
  border-color: rgba(22, 163, 74, 0.6);
  box-shadow: 0 0 0 2px var(--xc-ring, rgba(22, 163, 74, 0.22));
}

.xcart_refonly_label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--xc-text, #111827);
  cursor: pointer;
  line-height: 1.4;
  position: relative;
      font-size: 14px;
}

.xcart_refonly_label input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.xcart_refonly_switch {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.22);
  border: 1px solid var(--xc-border, rgba(148, 163, 184, 0.22));
  position: relative;
  flex-shrink: 0;
  transition: background 160ms ease, border-color 160ms ease;
}

.xcart_refonly_switch::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  top: 50%;
  right: 3px;
  transform: translateY(-50%);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.35);
  transition: transform 160ms ease, background 160ms ease;
}

.xcart_refonly_label input:checked + .xcart_refonly_switch {
  background: rgba(22, 163, 74, 0.45);
  border-color: rgba(22, 163, 74, 0.7);
}

.xcart_refonly_label input:checked + .xcart_refonly_switch::after {
  transform: translate(-16px, -50%);
  background: #ffffff;
}

.xcart_refonly_label input:focus-visible + .xcart_refonly_switch {
  box-shadow: 0 0 0 2px var(--xc-ring, rgba(22, 163, 74, 0.22));
}

.xcart_refonly_text {
  flex: 1;
}

.xcart_refonly_hint {
  margin: 0;
  font-size: 12px;
  color: var(--xc-muted, rgba(17, 24, 39, 0.65));
  line-height: 1.6;
  padding-inline-start: 54px;
}

.xcart_register_form_inner.is-readonly input {
  background: rgba(15, 23, 42, 0.04);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .xc-spinner { animation: none; }
  .xc-progress_bar { transition: none; }
  .register_popup { animation: none; }
  .xc-register-showcase__card { animation: none; }
  .xc-register-showcase__card::after { transition: none; }
  .xc-register-ref-list__dot { animation: none; }
  .xc-register-price-table tbody tr { transition: none; }
  .xc-register-ref-list li { transition: none; }
}
.response_download_img {
	    width: 140px;
	    margin-bottom: 20px;
	    margin-top: 10px;
}
.xcart_download_notif_body {
	    display: grid;
	    align-items: center;
	    justify-content: center;
	    justify-items: center;
}

.register_popup .xcart_download_notif_body {
	  gap: 0px;
	  text-align: center;
	}

/* Result cards (popup content) */
.xc-result {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: 4px 0;
}

.xc-result__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.03);
}

.xc-result--success .xc-result__icon {
  border-color: rgba(22, 163, 74, 0.22);
  background: rgba(22, 163, 74, 0.10);
}

.xc-result--info .xc-result__icon {
  border-color: rgba(14, 165, 233, 0.20);
  background: rgba(14, 165, 233, 0.08);
}

.xc-result--error .xc-result__icon {
  border-color: rgba(239, 68, 68, 0.18);
  background: rgba(239, 68, 68, 0.08);
}

.xc-result__icon i {
  font-size: 26px;
  line-height: 1;
}

.xc-result__title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.85);
  line-height: 1.4;
}

.xc-result__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.95;
  color: rgba(0, 0, 0, 0.65);
}

.xc-result__meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.85;
  color: rgba(0, 0, 0, 0.55);
}

.xc-result__actions {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.xc-btn {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 170px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  font-family: inherit;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none !important;
  transition: transform 90ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.xc-btn:focus {
  outline: none;
}

.xc-btn:active {
  transform: translateY(1px);
}

.xc-btn--primary {
  background: #13916b;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(19, 145, 107, 0.22);
}

.xc-btn--primary:hover {
  background: #0f7e5e;
}

.xc-btn--secondary {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: rgba(15, 23, 42, 0.78) !important;
  box-shadow: none;
}

.xc-btn--secondary:hover {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.18);
}

.xc-btn--compact {
  min-width: auto;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 900;
}

.xc-btn--ghost {
  min-width: auto;
    height: auto;
    padding: 0 !important;
    border-radius: 10px !important;
    background: transparent;
    border: none !important;
    color: rgba(19, 145, 107, 0.95) !important;
    font-size: 12px ! IMPORTANT;
    font-weight: 900 !important;
}

.xc-btn--ghost:hover {
  text-decoration: underline !important;
}

.xc-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.xc-result__countdown-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.xc-result__countdown {
  margin-top: 0;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.55);
}
.xcart_download_button_a {
	    border-radius: 12px;
	    background: #13916b;
	    color: #ffffff !important;
	    padding: 12px 16px;
	    margin-top: 14px;
	    display: inline-flex;
	    width: auto;
	    min-width: 220px;
	    justify-content: center;
	    align-items: center;
	    gap: 8px;
	    text-align: center;
	    text-decoration: none !important;
	    box-shadow: 0 10px 22px rgba(19, 145, 107, 0.22);
	    transition: transform 90ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.xcart_download_button_section {
    display: flex
;
    gap: 40px;
        align-items: center;
}
.register_popup .xcart_download_button_a {
	  width: auto;
	  min-width: 220px;
	  margin-top: 12px;
	  border-radius: 12px;
	  padding: 12px 16px;
	  box-shadow: 0 10px 22px rgba(19, 145, 107, 0.22);
	  transition: transform 90ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
	  height: auto;
	  display: inline-flex;
	  align-items: center;
	  justify-content: center;
}

.register_popup .xcart_download_button_a:hover {
  box-shadow: none;
}

.register_popup .xcart_download_button_a:active {
  transform: none;
}

.register_popup .xcart_download_notif_body_close {
  cursor: pointer;
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 12px;
}
.xcart_download_button_a:hover {
    color: white;
    box-shadow: none;
}
.xcart_download_button_a:focus {
color: white;
}
.dark_shadow {
	    width: 100%;
	    height: 100%;
	    background: #00000094;
	    display: block;
	    position: fixed;
	    top: 0px;
	    left: 0px;
	    right: 0px;
	    backdrop-filter: blur(7px);
        z-index: 999;
}

.xc-register-flow-shadow {
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(9px);
}

.xc-register-flow-host {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: grid;
  place-items: center;
  padding: 24px;
  direction: rtl;
  pointer-events: none;
}

.xc-register-flow {
  display: grid;
  justify-items: center;
  gap: 18px;
  color: #ffffff;
  text-align: center;
  pointer-events: auto;
}

.xc-register-flow__mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: #ffffff;
  animation: xcRegisterFlowSpin 850ms linear infinite;
}

.xc-register-flow.is-success .xc-register-flow__mark {
  border-color: rgba(16, 185, 129, 0.35);
  border-top-color: #10b981;
}

.xc-register-flow.is-error .xc-register-flow__mark {
  border-color: rgba(248, 113, 113, 0.35);
  border-top-color: #f87171;
}

.xc-register-flow__text {
  min-height: 42px;
  max-width: min(560px, calc(100vw - 48px));
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.65;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.xc-register-flow__text.is-fading {
  opacity: 0;
  transform: translateY(8px);
}

.xc-register-flow__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 178px;
  padding: 0 22px;
  border-radius: 14px;
  background: #13916b;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 14px 32px rgba(19, 145, 107, 0.28);
  transition: background-color 160ms ease, transform 120ms ease, box-shadow 160ms ease;
}

.xc-register-flow__button:hover {
  background: #0f7e5e;
  box-shadow: 0 10px 24px rgba(19, 145, 107, 0.24);
}

.xc-register-flow__button:active {
  transform: translateY(1px);
}

.xc-register-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(460px, calc(100vw - 32px));
  padding: 13px 14px;
  border-radius: 14px;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
  direction: rtl;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.xc-register-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.xc-register-toast a {
  flex-shrink: 0;
  color: #6ee7b7 !important;
  text-decoration: none !important;
  font-weight: 900;
}

@keyframes xcRegisterFlowSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .xc-register-flow__text {
    font-size: 22px;
  }

  .xc-register-toast {
    right: 16px;
    left: 16px;
    bottom: 16px;
    justify-content: space-between;
  }
}
button#xcart_download_notif_body_close {
    display: none;
}
button.xc-btn.xc-btn--secondary.xcart_credentials_download {
    display: none;
}
.xcart_download_notif_body_close {
	    background: rgba(15, 23, 42, 0.04);
	    border: 1px solid rgba(15, 23, 42, 0.12);
	    color: rgba(15, 23, 42, 0.78);
	    padding: 10px 14px;
	    border-radius: 12px;
	    box-shadow: none;
	    font-weight: 900;
	    font-size: 13px;
}

/* ===== Register form (scoped) ===== */
.xcart_register_form_section {
  --xc-bg: #0f172a;
  --xc-surface: #111827;
  --xc-surface-2: #0b1220;
  --xc-border: rgba(148, 163, 184, 0.22);
  --xc-text: rgba(255, 255, 255, 0.92);
  --xc-muted: rgba(255, 255, 255, 0.68);
  --xc-accent: #16a34a;
  --xc-ring: rgba(22, 163, 74, 0.22);
  direction: rtl;
}

.xcart_register_form_section,
.xcart_register_form_section * {
  box-sizing: border-box;
}

.xcart_register_form_section .xcart_register_form_right {
  border-radius: 20px;
  padding: 22px 18px;
  border: 1px solid var(--xc-border);
  background: var(--xc-bg);
  box-shadow: none;
}

.xcart_register_form_section .xcart_register_form_left {
    display: grid
;
    gap: 14px;
    width: 100%;
}

.xcart_register_form_section #ajax-form {
  max-width: 520px;
  margin: 0 auto;
}

.xcart_register_form_section .reigster_title {
  margin: 0 0 12px 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  color: var(--xc-text);
}

.xcart_register_form_section .xc-stepper {
  display: none;
}

.xcart_register_form_section .xc-stepper::before {
  content: none;
}

.xcart_register_form_section .xc-stepper-dot {
  display: none;
}

.xcart_register_form_section .xc-steps {
  /* border: 1px solid var(--xc-border); */
  /* border-radius: 16px; */
  padding: 18px;
  background: var(--xc-surface);
}

.xcart_register_form_section .xc-step-title {
  color: var(--xc-muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.xcart_register_form_section .xcart_register_form_inner {
  position: relative;
  margin-bottom: 14px;
  display: flex
;
    align-items: center;
}

.xcart_register_form_section .xcart_register_form_inner.xc-register_mode {
  display: block;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.xcart_register_form_section .xc-register_mode_tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid var(--xc-border);
  background: rgba(255, 255, 255, 0.04);
}

.xcart_register_form_section .xc-register_mode_tab {
  all: unset;
  flex: 1;
  cursor: pointer;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 10px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  color: var(--xc-muted);
  border: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.xcart_register_form_section .xc-register_mode_tab:hover {
  background: rgba(255, 255, 255, 0.06);
}

.xcart_register_form_section .xc-register_mode_tab.is-active {
  background: rgba(22, 163, 74, 0.14);
  border-color: rgba(22, 163, 74, 0.55);
  color: var(--xc-text);
}

.xcart_register_form_section .xc-register_mode_help {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(22, 163, 74, 0.35);
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.14), rgba(22, 163, 74, 0.06));
  position: relative;
  padding-right: 34px;
}

.xcart_register_form_section.is-ref-only .xcart_register_form_inner.xc-register_mode {
  margin-bottom: 22px;
}

.xcart_register_form_section.is-ref-only .xcart_register_form_inner.xc-register_mode + .xcart_register_form_inner {
  margin-top: 12px;
}

.xcart_register_form_section .xc-register_mode_help::before {
  content: "i";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(22, 163, 74, 0.35);
  border: 1px solid rgba(22, 163, 74, 0.55);
}

.xcart_register_form_section .xcart_register_form_inner.is-readonly {
  opacity: 0.98;
}

.xcart_register_form_section .xcart_register_form_inner.is-readonly .ajax-form-field {
  border-color: rgba(22, 163, 74, 0.55) !important;
  border-style: dashed !important;
  background: rgba(22, 163, 74, 0.06) !important;
}

.xcart_register_form_section .xcart_register_form_inner.is-readonly .form_label {
  color: rgba(255, 255, 255, 0.80);
}

.xcart_register_form_section .xcart_register_form_inner.is-readonly::after {
  content: "خودکار";
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.88);
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.16);
  border: 1px solid rgba(22, 163, 74, 0.55);
  pointer-events: none;
  z-index: 2;
}

.xcart_register_form_section .xcart_register_form_inner.is-readonly input {
  pointer-events: none;
}

.xcart_register_form_section .ajax-form-field:disabled {
  opacity: 0.9;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(255, 255, 255, 0.80) !important;
}

.xcart_register_form_section .xcart_register_form_inner.xcart_refonly_toggle {
      display: flex
;
    align-items: center;
    justify-content: flex-start;
    margin-top: 30px;
    padding: 0px 10px;
}

.xcart_register_form_section .ajax-form-field {
  width: 100% !important;
  height: 54px;
  border-radius: 12px !important;
  border: 1px solid var(--xc-border) !important;
  background: var(--xc-surface-2) !important;
  color: var(--xc-text) !important;
  padding: 18px 14px 10px 14px !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 160ms ease, background 160ms ease;
  margin: 0 !important;
  position: relative;
  z-index: 0;
}

.xcart_register_form_section #site,
.xcart_register_form_section #Mobile,
.xcart_register_form_section #email {
  direction: ltr;
  text-align: left;
}

.xcart_register_form_section .ajax-form-field::placeholder {
  color: transparent;
}

.xcart_register_form_section .ajax-form-field:focus {
  border-color: rgba(22, 163, 74, 0.8) !important;
  box-shadow: none !important;
  background: var(--xc-surface-2) !important;
}

.xcart_register_form_section .ajax-form-field.is-invalid {
  border-color: rgba(251, 113, 133, 0.85) !important;
  box-shadow: none !important;
}

.xcart_register_form_section .xc-field-error {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(251, 113, 133, 0.92);
}

.xcart_register_form_section .form_label {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--xc-muted);
  font-size: 13px;
  line-height: 1;
  pointer-events: none;
  padding: 0 6px;
  background: transparent;
  transition: top 160ms ease, transform 160ms ease, font-size 160ms ease, color 160ms ease, opacity 160ms ease;
  opacity: 0.92;
  z-index: 1;
}

.xcart_register_form_section .ajax-form-field:focus + .form_label,
.xcart_register_form_section .ajax-form-field:not(:placeholder-shown) + .form_label {
  top: 10px;
  transform: translateY(0);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0.95;
  background: rgba(15, 23, 42, 0.35);
  border-radius: 999px;
}

/* Fix Chrome/Safari autofill colors on dark inputs */
.xcart_register_form_section input:-webkit-autofill,
.xcart_register_form_section input:-webkit-autofill:hover,
.xcart_register_form_section input:-webkit-autofill:focus,
.xcart_register_form_section textarea:-webkit-autofill,
.xcart_register_form_section select:-webkit-autofill {
  -webkit-text-fill-color: var(--xc-text) !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.04) inset !important;
  transition: background-color 999999s ease-out 0s;
}

.xcart_register_form_section .xc-step-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.xcart_register_form_section .xc-ref-submit {
  display: none;
}

.xcart_register_form_section.is-ref-only .xc-step-btn.xc-step-next {
  display: none;
}

.xcart_register_form_section.is-ref-only .xc-ref-submit {
  display: inline-flex;
}

.xcart_register_form_section .xc-step-btn {
  all: unset;
  appearance: none;
  border: 1px solid var(--xc-border) !important;
  background: transparent !important;
  color: var(--xc-text) !important;
  border-radius: 10px !important;
  padding: 9px 12px !important;
  cursor: pointer;
  font-weight: 700;
  min-width: 112px;
  box-shadow: none;
  transition: background 160ms ease, border-color 160ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
      height: 30px;
    margin-top: 30px;

}

.xcart_register_form_section .xc-step-btn:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(148, 163, 184, 0.30) !important;
}

.xcart_register_form_section .xc-step-btn:active {
  transform: none;
}

.xcart_register_form_section .xc-step-btn.xc-step-next {
  border-color: rgba(22, 163, 74, 0.55) !important;
  background: rgba(22, 163, 74, 0.12) !important;
}

.xcart_register_form_section .ajax-form_submit_1 {
  appearance: none;
  border: 1px solid rgba(22, 163, 74, 0.55) !important;
  background: rgba(22, 163, 74, 0.14) !important;
  color: var(--xc-text) !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  font-weight: 500 !important;
  cursor: pointer;
  min-width: 180px;
  box-shadow: none;
  transition: background 160ms ease, border-color 160ms ease;
  text-align: center;
}

.xcart_register_form_section .ajax-form_submit_1:hover {
  background: rgba(22, 163, 74, 0.18) !important;
}

.xcart_register_form_section .ajax-form_submit_1:active {
  transform: none;
}

.xcart_register_form_section .xc-stepper {
  display: none;
}

.xcart_register_form_section .xc-stepper-dot {
  display: none;
}

.xcart_register_form_section .xc-stepper-dot.is-active {
  display: none;
}

.xcart_register_form_section .xc-step {
  display: none;
}

.xcart_register_form_section .xc-step.is-active {
  display: block;
  animation: xcStepInNext 260ms cubic-bezier(.2,.9,.2,1);
  will-change: transform, opacity;
}

/* Smooth step transitions (RTL-friendly) */
.xcart_register_form_section[data-xc-dir="prev"] .xc-step.is-active {
  animation-name: xcStepInPrev;
}

@keyframes xcStepInNext {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes xcStepInPrev {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}

.xcart_register_form_section .xc-plan-section {
  margin: 6px 0 18px 0;
  padding: 12px;
  border: 1px solid var(--xc-border);
  border-radius: 16px;
  background: transparent;
}

.xcart_register_form_section .xc-plan-section.is-invalid {
  border-color: rgba(251, 113, 133, 0.55);
  box-shadow: none;
}

.xcart_register_form_section .xc-plan-title {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--xc-text) !important;
}

.xcart_register_form_section .xc-plan-grid {
  display: flex
;
    grid-template-columns: 1fr;
    gap: 10px;
    flex-direction: column;
}

@media (min-width: 920px) {
  .xcart_register_form_section .xc-plan-grid {
    /* grid-template-columns: repeat(3, 1fr); */
  }
}

.xcart_register_form_section .xc-plan-card {
  display: block;
  position: relative;
  border: 1px solid var(--xc-border) !important;
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
  background: transparent !important;
  color: var(--xc-text) !important;
}

.xcart_register_form_section .xc-plan-card input[type="radio"] {
  display: none;
}

.xcart_register_form_section .xc-plan-card:hover {
  border-color: rgba(148, 163, 184, 0.32);
  box-shadow: none;
  background: rgba(255, 255, 255, 0.04) !important;
}

.xcart_register_form_section .xc-plan-card.is-selected {
  border-color: rgba(22, 163, 74, 0.9) !important;
  box-shadow: none !important;
  background: rgba(22, 163, 74, 0.08) !important;
}

.xcart_register_form_section .xc-plan-card.is-selected::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 163, 74, 0.16);
  border: 1px solid rgba(22, 163, 74, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  font-size: 14px;
}

.xcart_register_form_section .xc-plan-name {
  font-weight: 800;
  margin-bottom: 4px;
  font-size: 14px;
}

.xcart_register_form_section .xc-plan-meta {
  font-size: 14px;
  color: white !important;
  margin-top: 6px;
  line-height: 2;
  position: relative;
  padding-right: 14px;
}

.xcart_register_form_section .xc-plan-meta::before {
  content: "";
  position: absolute;
  right: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.55);
}

.xcart_register_form_section .xc-plan-notes {
  margin-top: 10px;
  font-size: 13px;
  color: var(--xc-muted) !important;
  line-height: 1.7;
}

.xc-register-showcase {
  direction: rtl;
  margin-top: 26px;
  position: relative;
}


.xc-register-showcase__inner {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
      align-items: center;
}

@media (max-width: 980px) {
  .xc-register-showcase__inner {
    grid-template-columns: 1fr;
  }
}

.xc-register-showcase__card {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 13, 24, 0.96));
  color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  animation: xcShowcaseRise 520ms cubic-bezier(.2, .9, .2, 1) both;
}

.xc-register-showcase__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0) 70%);
  transform: translateX(130%);
  transition: transform 680ms ease;
  pointer-events: none;
}

.xc-register-showcase__card:hover::after {
  transform: translateX(-130%);
}

.xc-register-showcase__card--plans {
  border-color: rgba(22, 163, 74, 0.35);
}

.xc-register-showcase__card--referral {
  animation-delay: 90ms;
  border-color: rgba(56, 189, 248, 0.28);
}

.xc-register-showcase__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.88);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.xc-register-showcase__title {
  margin: 10px 0 8px;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.96);
}

.xc-register-showcase__lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.72);
}

.xc-register-price-table-wrap {
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  overflow-x: auto;
  background: rgba(2, 6, 23, 0.65);
}

.xc-register-price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 430px;
}

.xc-register-price-table th,
.xc-register-price-table td {
  padding: 10px 9px;
  text-align: center;
  white-space: nowrap;
}

.xc-register-price-table thead th {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.xc-register-price-table tbody tr {
  transition: transform 180ms ease, background 180ms ease;
}

.xc-register-price-table tbody tr:nth-child(2n) {
  background: rgba(148, 163, 184, 0.06);
}

.xc-register-price-table tbody tr:hover {
  background: rgba(22, 163, 74, 0.13);
  transform: translateX(-2px);
}

.xc-register-price-table tbody td {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.xc-register-price-table tbody tr:last-child td {
  border-bottom: 0;
}

.xc-register-showcase__note {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid rgba(22, 163, 74, 0.34);
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.18), rgba(22, 163, 74, 0.06));
}

.xc-register-showcase__note--app {
  border-color: rgba(56, 189, 248, 0.34);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.16), rgba(56, 189, 248, 0.05));
}

.xc-register-ref-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.xc-register-ref-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.72);
  transition: border-color 180ms ease, transform 180ms ease;
}

.xc-register-ref-list li:hover {
  transform: translateX(-3px);
  border-color: rgba(56, 189, 248, 0.42);
}

.xc-register-ref-list__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 8px;
  background: radial-gradient(circle at 30% 30%, #7dd3fc, #0284c7);
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.45);
  animation: xcDotPulse 1.8s ease-out infinite;
}

.xc-register-ref-list strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.95);
}

.xc-register-ref-list p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.xc-register-ref-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}

@media (max-width: 520px) {
  .xc-register-ref-badges {
    grid-template-columns: 1fr;
  }
}

.xc-register-ref-badge {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.14), rgba(56, 189, 248, 0.05));
}

.xc-register-ref-badge__value {
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.97);
}

.xc-register-ref-badge__label {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.xc-register-ref-disabled {
  margin: 0 0 12px;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.10);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  line-height: 1.9;
}

.xc-register-ref-cta {
      margin-top: 12px;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.85;
    color: white !important;
    border: 1px dashed rgba(56, 189, 248, 0.45);
    background: black;
    font-weight: bold;
}

.xc-register-ref-cta__link {
  color: rgba(125, 211, 252, 0.95);
  text-decoration: none;
  border-bottom: 1px dashed rgba(125, 211, 252, 0.55);
  padding-bottom: 1px;
}

.xc-register-ref-cta__link:hover {
  border-bottom-color: rgba(255, 255, 255, 0.65);
  color: rgba(255, 255, 255, 0.95);
}

.xc-register-ref-cta__hint {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
}

@keyframes xcShowcaseRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes xcDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(56, 189, 248, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
  }
}

@media only screen and (max-width: 600px) {
 .register_popup {
     width: calc(100% - 28px);
 }

 .xcart_register_form_section .reigster_title {
   font-size: 20px;
 }

 .xcart_register_form_section .xc-steps {
   padding: 14px;
 }

 .xcart_register_form_section .xc-step-btn,
 .xcart_register_form_section .ajax-form_submit_1 {
   width: 100%;
   min-width: 0;
 }

 .xc-register-showcase__inner {
   grid-template-columns: 1fr;
 }

 .xc-register-showcase__card {
   padding: 14px;
 }

 .xc-register-showcase__title {
   font-size: 18px;
 }
}

/* Light UI overrides */
.xcart_register_form_section {
  --xc-bg: #ffffff;
  --xc-surface: #ffffff;
  --xc-surface-2: #ffffff;
  --xc-border: #d9dee7;
  --xc-text: #172033;
  --xc-muted: #6b7280;
  --xc-accent: #0f766e;
  --xc-ring: rgba(15, 118, 110, 0.14);
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 22px;
  align-items: start;
  margin-top: 100px;
}

.xcart_register_form_section .xcart_register_form_right,
.xcart_register_form_section .xcart_register_form_left,
.xc-register-showcase__card,
.xc-register-price-table-wrap {
  box-shadow: none !important;
}

.xcart_register_form_section .xcart_register_form_right {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
      width: 100%;
}

.xcart_register_form_section .reigster_title {
  margin-bottom: 18px;
  color: #111827;
  font-size: 22px;
  font-weight: 900;
}

.xcart_register_form_section .xc-steps {
  padding: 0;
  background: transparent;
}

.xcart_register_form_section .xc-step {
  display: block;
}

.xcart_register_form_section .xc-step.is-active {
  animation: none;
}

.xcart_register_form_section .xcart_register_form_inner {
  margin-bottom: 12px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.xcart_register_form_section .xcart_register_form_inner:focus-within {
  transform: translateY(-1px);
}

.xcart_register_form_section .ajax-form-field {
  height: 56px;
  border-radius: 16px !important;
  border: 1px solid #d6dbe4 !important;
  background: #ffffff !important;
  color: #111827 !important;
  padding: 18px 16px 10px 16px !important;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease !important;
}

.xcart_register_form_section .ajax-form-field:focus {
  border-color: #0f766e !important;
  background: #ffffff !important;
  transform: translateY(-1px);
}

.xcart_register_form_section .ajax-form-field:disabled {
  background: #f8fafc !important;
  color: #94a3b8 !important;
  border-color: #e5e7eb !important;
}

.xcart_register_form_section .form_label {
  color: #7b8190;
}

.xcart_register_form_section .ajax-form-field:focus + .form_label,
.xcart_register_form_section .ajax-form-field:not(:placeholder-shown) + .form_label {
  top: 9px;
  color: #64748b;
  background: #ffffff;
}

.xcart_register_form_section input:-webkit-autofill,
.xcart_register_form_section input:-webkit-autofill:hover,
.xcart_register_form_section input:-webkit-autofill:focus,
.xcart_register_form_section textarea:-webkit-autofill,
.xcart_register_form_section select:-webkit-autofill {
  -webkit-text-fill-color: #111827 !important;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
}

.xcart_register_form_section .xc-plan-section {
  margin: 4px 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

.xcart_register_form_section .xc-plan-grid--inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  width: 100%;
}

.xcart_register_form_section .xc-plan-card--compact {
  border-radius: 9px;
  border: 1px solid #d6dbe4 !important;
  background: #ffffff !important;
  padding: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
      margin-top: 20px;
}

.xcart_register_form_section .xc-plan-card--compact .xc-plan-body {
  width: 100%;
  padding: 5px 12px;
  text-align: center;
}

.xcart_register_form_section .xc-plan-card--compact .xc-plan-name {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  transition: color 180ms ease;
}

.xcart_register_form_section .xc-plan-card--compact::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d6dbe4;
  transform: translateY(-50%);
  transition: background-color 180ms ease, transform 180ms ease;
}

.xcart_register_form_section .xc-plan-card--compact:hover {
  border-color: #bcc6d4 !important;
  background: #fbfcfd !important;
}

.xcart_register_form_section .xc-plan-card--compact.is-selected {
  border-color: #0f766e !important;
  background: #f0fdfa !important;
  transform: translateY(-1px);
}

.xcart_register_form_section .xc-plan-card--compact.is-selected::before {
  content: none;
}

.xcart_register_form_section .xc-plan-card--compact.is-selected::after {
  background: #0f766e;
  transform: translateY(-50%) scale(1.18);
}

.xcart_register_form_section .xc-plan-card--compact.is-selected .xc-plan-name {
  color: #0f766e;
}

.xc-inline-toggles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}

.xc-inline-toggle {
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 8px;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d6dbe4;
  border-radius: 16px;
  background: #ffffff;
  color: black;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.xc-inline-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.xc-inline-toggle span {
  position: relative;
  padding-right: 32px;
}

.xc-app-plan-field {
  margin: -2px 0 12px;
}

.xc-app-plan-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 8px;
}

.xc-app-plan-option {
  appearance: none;
  border: 1px solid #d6dbe4;
  border-radius: 12px;
  background: #fff;
  min-height: 74px;
  padding: 10px 12px;
  text-align: right;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.xc-app-plan-option:hover {
  border-color: rgba(15, 141, 114, 0.28);
  background: #fbfffd;
}

.xc-app-plan-option.is-selected {
  border-color: #0f766e;
  background: #f0fdfa;
  transform: translateY(-1px);
}

.xc-app-plan-option__title {
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.xc-app-plan-option__price {
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.xc-app-plan-option small {
  color: #64737c;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.xc-inline-toggle span::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid #d6dbe4;
  background: #f8fafc;
  transform: translateY(-50%);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.xc-inline-toggle span::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  font-size: 15px;
  font-weight: 800;
  color: #94a3b8;
  transform: translateY(-50%);
  transition: color 180ms ease, transform 180ms ease;
}

.xc-inline-toggle:hover {
  border-color: #bcc6d4;
  background: #fbfcfd;
}

.xc-inline-toggle.is-active {
  border-color: #0f766e;
  background: #f0fdfa;
  color: #0f766e;
  transform: translateY(-1px);
}

.xc-inline-toggle.is-active span::before {
  border-color: #0f766e;
  background: #0f766e;
}

.xc-inline-toggle.is-active span::after {
  content: "✓";
  color: #ffffff;
}

.xc-optional-field[hidden] {
  display: none !important;
}

.xc-optional-field.is-visible {
  animation: xcFieldReveal 180ms ease;
}

.xc-policy-check {
    display: flex
;
    grid-template-columns: minmax(0, 1fr) 18px;
    align-items: center;
    column-gap: 12px;
    margin-top: 6px;
    padding: 14px 16px;
    border: 1px solid #d6dbe4;
    border-radius: 16px;
    background: #ffffff;
    color: #374151;
    font-size: 14px;
    line-height: 2;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
    justify-content: flex-start;
}

.xc-policy-check span {
  grid-column: 1;
  display: block;
  min-width: 0;
}

.xc-policy-check input {
  grid-column: 2;
  width: 16px;
  height: 16px;
  margin-top: 0px !important;
  accent-color: #0f766e;
  justify-self: center;
  width: auto !important;
}

.xc-policy-check a {
  color: #0f766e;
  text-decoration: none;
  font-weight: 800;
}

.xc-policy-check a:hover {
  text-decoration: underline;
}

.xc-policy-check.is-invalid {
  border-color: rgba(251, 113, 133, 0.85);
}

.xc-policy-check:hover {
  border-color: #bcc6d4;
  background: #fbfcfd;
}

.xc-policy-check.is-checked {
  border-color: #b7e4de;
  background: #fcfffe;
}

.xcart_register_form_section .ajax-form_submit_1 {
  width: 100%;
  min-width: 0;
  min-height: 56px;
  border-radius: 16px !important;
  border: 1px solid #0f766e !important;
  background: #0f766e !important;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800 !important;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, opacity 180ms ease !important;
}

.xcart_register_form_section .xc-step-actions {
  margin-top: 16px;
}

.xcart_register_form_section .xc-step-actions--single {
  justify-content: stretch;
}

.xcart_register_form_section .ajax-form_submit_1:hover {
  background: #0b5f59 !important;
  transform: translateY(-1px);
}

.xcart_register_form_section .ajax-form_submit_1.is-disabled,
.xcart_register_form_section .ajax-form_submit_1:disabled {
  opacity: 0.65;
  cursor: wait;
}

.xc-register-showcase {
  margin-top: 28px;
}

.xc-register-showcase__inner {
  gap: 18px;
}

.xc-register-showcase__card {
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 20px;
  background: #ffffff;
  color: #111827;
  animation: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.xc-register-showcase__card::after {
  content: none;
}

.xc-register-showcase__card--plans,
.xc-register-showcase__card--referral {
  border-color: #e5e7eb;
}

.xc-register-showcase__title {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.5;
  color: #111827;
}

.xc-register-showcase__lead {
  margin: 0 0 14px;
  color: #6b7280;
}

.xc-register-showcase__card:hover {
  border-color: #d4dbe5;
  transform: translateY(-2px);
}

.xc-register-price-table-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
}

.xc-register-price-table thead th {
  background: #f8fafc;
  color: #111827;
  border-bottom-color: #e5e7eb;
}

.xc-register-price-table tbody tr:nth-child(2n) {
  background: #fbfcfd;
}

.xc-register-price-table tbody tr:hover {
  background: #f0fdfa;
  transform: none;
}

.xc-register-price-table tbody td {
  color: #374151;
  border-bottom-color: #edf1f5;
}

.xc-register-showcase__note,
.xc-register-showcase__note--app {
  color: #475569;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.xc-register-ref-list li {
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.xc-register-ref-list li:hover {
  transform: none;
  border-color: #d6dbe4;
}

.xc-register-ref-list strong {
  color: #111827;
}

.xc-register-ref-list p {
  color: #6b7280;
}

.xc-register-ref-badge {
  border: 1px solid #dbe4ea;
  background: #f8fafc;
}

.xc-register-ref-badge__label {
  color: #64748b;
}

.xc-register-ref-disabled {
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #64748b;
  border-radius: 16px;
  padding: 12px 14px;
}

@keyframes xcFieldReveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .xcart_register_form_section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .xcart_register_form_section {
    gap: 16px;
  }

  .xcart_register_form_section .xcart_register_form_right {
    padding: 16px;
    border-radius: 20px;
  }

  .xcart_register_form_section .xc-plan-grid--inline,
  .xc-inline-toggles {
    grid-template-columns: 1fr;
  }

  .xc-register-showcase__title {
    font-size: 22px;
  }
}

/* Register page v2 */
.xc-register-v2 {
  --xcv2-accent: #0f8d72;
  --xcv2-accent-deep: #0b6b57;
  --xcv2-border: rgba(15, 141, 114, 0.16);
  --xcv2-text: #14323b;
  --xcv2-muted: #6a7b82;
  --xcv2-surface: #ffffff;
  --xcv2-surface-soft: linear-gradient(180deg, rgba(247, 255, 252, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
  --xcv2-radius-section: 28px;
  --xcv2-radius-card: 18px;
  --xcv2-radius-control: 14px;
  --xcv2-shadow: 0 22px 56px rgba(15, 65, 55, 0.08);
  --xcv2-shadow-card: 0 10px 24px rgba(15, 59, 50, 0.06);
  --xcv2-shadow-card-hover: 0 16px 32px rgba(15, 59, 50, 0.08);
  color: var(--xcv2-text);
  margin: 36px auto 72px;
}

.xc-register-v2__hero-card,
.xc-register-v2__pricing,
.xc-register-v2__testimonials,
.xc-register-v2__benefits,
.xc-register-v2__referral {
  background: var(--xcv2-surface-soft);
  border: 1px solid var(--xcv2-border);
  border-radius: var(--xcv2-radius-section);
  box-shadow: var(--xcv2-shadow);
}
label.xc-policy-check.is-checked {
    background: unset;
    border: unset;
    padding: 0px;
    padding-top: 20px;
}
section.xc-register-v2__hero {
    display: flex;
    justify-content: center;
    margin-top: 110px;
}
.xc-register-v2__hero-card {
  display: flex;
    gap: 18px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    justify-content: center;
        width: 50%;
    border-radius: 15px;
        background: white;
}

.xc-register-v2__visual {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  opacity: 0.8;
}

.xc-register-v2__orb {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 141, 114, 0.18), rgba(15, 141, 114, 0));
}

.xc-register-v2__orb--top {
  width: 160px;
  height: 160px;
  top: 10px;
  left: 18px;
}

.xc-register-v2__orb--bottom {
  width: 190px;
  height: 190px;
  bottom: -18px;
  right: -36px;
}

.xc-register-v2__device {
  width: 214px;
  min-height: 274px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(228, 249, 243, 0.98) 100%);
  border: 1px solid rgba(15, 141, 114, 0.18);
  box-shadow: 0 14px 34px rgba(15, 141, 114, 0.11);
  position: relative;
  transform: rotate(-5deg);
  padding: 20px 18px;
}

.xc-register-v2__device::before,
.xc-register-v2__device::after {
  content: "";
  position: absolute;
  border-radius: 22px;
  background: rgba(15, 141, 114, 0.12);
}

.xc-register-v2__device::before {
  width: 48px;
  height: 48px;
  top: 18px;
  right: 18px;
}

.xc-register-v2__device::after {
  width: 58px;
  height: 58px;
  left: -16px;
  bottom: 16px;
}

.xc-register-v2__device-head,
.xc-register-v2__device-line {
  border-radius: 999px;
  background: rgba(15, 141, 114, 0.16);
}

.xc-register-v2__device-head {
  width: 92px;
  height: 12px;
  margin-top: 60px;
}

.xc-register-v2__device-line {
  width: 100%;
  height: 12px;
  margin-top: 12px;
}

.xc-register-v2__device-line.short {
  width: 72%;
}

.xc-register-v2__device-check {
  position: absolute;
  width: 66px;
  height: 66px;
  border-radius: 999px;
  left: -12px;
  bottom: -12px;
  background: radial-gradient(circle at 30% 30%, #28c49a, var(--xcv2-accent-deep));
  box-shadow: 0 10px 22px rgba(15, 141, 114, 0.18);
}

.xc-register-v2__device-check::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 12px;
  border-right: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(45deg);
  left: 20px;
  top: 21px;
}

.xc-register-v2__form-shell {
  display: grid;
  gap: 10px;
      width: 90%;
}

.xc-register-v2__intro {
  text-align: center;
}

.xc-register-v2__title {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 22px);
  line-height: 1.35;
  color: var(--xcv2-accent);
  font-weight: 900;
      margin-bottom: 20px;
}

.xc-register-v2__lead {
  margin: 6px auto 0;
  max-width: 520px;
  color: var(--xcv2-muted);
  font-size: 14px;
  line-height: 1.75;
}

.xcart_register_form_section--v2 {
  margin-top: 0;
  display: block;
}

.xcart_register_form_section--v2 .xcart_register_form_right {
  padding: 0;
  border: 0;
  background: transparent;
}

.xc-register-v2__plan-head {
  margin: 6px 0 2px;
}

.xc-register-v2__plan-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--xcv2-text);
}

.xcart_register_form_section--v2 .xc-plan-grid--inline {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.xcart_register_form_section--v2 .xc-plan-card--compact {
  min-height: 42px;
  border-radius: var(--xcv2-radius-control);
  margin-top: 0;
}

.xcart_register_form_section--v2 .xc-inline-toggle,
.xcart_register_form_section--v2 .xc-policy-check,
.xcart_register_form_section--v2 .ajax-form-field {
  border-radius: var(--xcv2-radius-control) !important;
}

.xcart_register_form_section--v2 .ajax-form-field {
  height: 44px;
  padding: 13px 14px 6px 14px !important;
  font-size: 14px;
}

.xcart_register_form_section--v2 .form_label {
      font-size: 14px;
    font-weight: 400;
}

.xcart_register_form_section--v2 .ajax-form-field:focus + .form_label,
.xcart_register_form_section--v2 .ajax-form-field:not(:placeholder-shown) + .form_label {
  top: 6px;
}

.xcart_register_form_section--v2 .xcart_register_form_inner {
  margin-bottom: 8px;
}

.xcart_register_form_section--v2 .xc-inline-toggle {
  min-height: 40px;
  padding: 9px 12px;
  font-size: 13px;
}

.xcart_register_form_section--v2 .xc-inline-toggle span {
  padding-right: 28px;
}

.xcart_register_form_section--v2 .xc-inline-toggle span::before {
  width: 18px;
  height: 18px;
}

.xcart_register_form_section--v2 .xc-inline-toggle span::after {
  right: 5px;
  font-size: 13px;
}

.xcart_register_form_section--v2 .xc-policy-check {
  margin-top: 2px;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.7;
}

.xcart_register_form_section--v2 .xc-policy-check span {
  font-size: 13px;
}

.xcart_register_form_section--v2 .xc-step-actions {
  margin-top: 8px;
}

.xcart_register_form_section--v2 .ajax-form_submit_1 {
  min-height: 42px;
  font-size: 18px;
  border-radius: var(--xcv2-radius-control) !important;
}

.xc-register-v2__security-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px auto 0;
  color: var(--xcv2-muted);
  font-size: 13px;
}

.xc-register-v2__security-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid var(--xcv2-accent);
  position: relative;
}

.xc-register-v2__security-icon::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 8px;
  border-right: 2px solid var(--xcv2-accent);
  border-bottom: 2px solid var(--xcv2-accent);
  transform: rotate(45deg);
  left: 5px;
  top: 1px;
}

.xc-register-v2__pricing {
  margin-top: 20px;
  padding: 18px;
}

.xc-register-v2__section-head {
  text-align: center;
  margin-bottom: 12px;
}

.xc-register-v2__section-head h3 {
  margin: 6px 0 0;
  font-size: 18px;
  line-height: 1.4;
  color: #10242b;
}

.xc-register-v2__section-head p {
  margin: 6px auto 0;
  max-width: 590px;
  color: var(--xcv2-muted);
  line-height: 1.75;
  font-size: 13px;
}

.xc-register-v2__section-head--compact h3 {
  font-size: 18px;
}

.xc-register-v2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--xcv2-accent);
  font-weight: 800;
}

.xc-register-v2__eyebrow::before {
  content: "";
  width: 16px;
  height: 3px;
  border-radius: 999px;
  background: var(--xcv2-accent);
}

.xc-register-v2__switches {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.xc-register-v2__switch {
  appearance: none;
  border: 1px solid rgba(15, 141, 114, 0.16);
  background: #fff;
  color: var(--xcv2-muted);
  border-radius: 999px;
  min-height: 38px;
  padding: 0 15px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.xc-register-v2__switch:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 141, 114, 0.24);
}

.xc-register-v2__switch.is-active {
  background: var(--xcv2-accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(15, 141, 114, 0.16);
}

.xc-register-v2__panel {
  display: none;
}

.xc-register-v2__panel.is-active {
  display: block;
}

.xc-register-v2__plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.xc-register-v2__plan-cards--app {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.xc-register-v2__plan-card {
  background: #fff;
  border: 1px solid rgba(15, 141, 114, 0.12);
  border-radius: var(--xcv2-radius-card);
  box-shadow: var(--xcv2-shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.xc-register-v2__plan-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--xcv2-shadow-card-hover);
}

.xc-register-v2__plan-card.is-featured,
.xc-register-v2__plan-card.is-featured-active {
  border-color: rgba(15, 141, 114, 0.34);
  box-shadow: 0 16px 32px rgba(15, 141, 114, 0.11);
}

.xc-register-v2__plan-card-inner {
  padding: 14px 14px 12px;
  text-align: center;
}

.xc-register-v2__plan-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--xcv2-accent);
}

.xc-register-v2__plan-subtitle {
  margin-top: 5px;
  min-height: 30px;
  color: var(--xcv2-muted);
  line-height: 1.6;
  font-size: 13px;
}

.xc-register-v2__plan-price {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 900;
  color: #132c34;
}

.xc-register-v2__plan-price span {
  font-size: 13px;
  color: var(--xcv2-muted);
}

.xc-register-v2__plan-caption,
.xc-register-v2__plan-meta {
  margin-top: 4px;
  color: var(--xcv2-muted);
  font-size: 13px;
}

.xc-register-v2__plan-button {
  width: 100%;
  min-height: 38px;
  margin-top: 10px;
  border-radius: var(--xcv2-radius-control);
  border: 1px solid var(--xcv2-accent);
  background: linear-gradient(135deg, var(--xcv2-accent) 0%, var(--xcv2-accent-deep) 100%);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.xc-register-v2__plan-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 141, 114, 0.18);
}

.xc-register-v2__compare-wrap {
  overflow-x: auto;
  border: 1px solid rgba(15, 141, 114, 0.12);
  border-radius: var(--xcv2-radius-card);
  background: rgba(255, 255, 255, 0.9);
}

.xc-register-v2__compare-table {
  width: 100%;
  min-width: 660px;
  border-collapse: separate;
  border-spacing: 0;
}

.xc-register-v2__compare-table th,
.xc-register-v2__compare-table td {
  padding: 8px 11px;
  border-bottom: 1px solid rgba(15, 141, 114, 0.08);
  text-align: center;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.4;
}

.xc-register-v2__compare-table thead th {
  font-size: 13px;
  font-weight: 800;
  color: #12323b;
  background: rgba(241, 252, 248, 0.98);
}

.xc-register-v2__compare-table .feature-col {
  text-align: right;
  min-width: 188px;
  font-weight: 800;
  color: #12323b;
}

.xc-register-v2__compare-table tbody tr:nth-child(2n) td {
  background: rgba(247, 255, 252, 0.92);
}

.xc-register-v2__cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
}

.xc-register-v2__cell--check {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(15, 141, 114, 0.12);
  color: var(--xcv2-accent-deep);
  font-weight: 900;
  font-size: 12px;
}

.xc-register-v2__cell--empty {
  color: #8aa0a6;
}

.xc-register-v2__cell--text {
  color: #26414a;
  font-weight: 700;
  font-size: 13px;
}

.xc-register-v2__testimonials {
  margin-top: 20px;
  padding: 18px;
}

.xc-register-v2__testimonial-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 10px;
}

.xc-register-v2__testimonial-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(15, 141, 114, 0.14);
  background: #fff;
  color: var(--xcv2-accent);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.xc-register-v2__testimonial-btn:hover {
  background: rgba(15, 141, 114, 0.08);
  border-color: rgba(15, 141, 114, 0.24);
  box-shadow: 0 8px 18px rgba(15, 59, 50, 0.07);
  transform: translateY(-1px);
}

.xc-register-v2__testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 300px);
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 141, 114, 0.18) transparent;
}

.xc-register-v2__testimonial-track::-webkit-scrollbar {
  height: 8px;
}

.xc-register-v2__testimonial-track::-webkit-scrollbar-thumb {
  background: rgba(15, 141, 114, 0.18);
  border-radius: 999px;
}

.xc-register-v2__testimonial-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(15, 141, 114, 0.10);
  border-radius: var(--xcv2-radius-card);
  padding: 13px;
  box-shadow: var(--xcv2-shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.xc-register-v2__testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--xcv2-shadow-card-hover);
}

.xc-register-v2__testimonial-head {
  display: grid;
  grid-template-columns: 40px 1fr 36px;
  align-items: center;
  gap: 9px;
}

.xc-register-v2__testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
}

.xc-register-v2__testimonial-name {
  font-size: 14px;
  font-weight: 800;
  color: #10242b;
}

.xc-register-v2__testimonial-company {
  margin-top: 2px;
  font-size: 12px;
  color: var(--xcv2-muted);
}

.xc-register-v2__testimonial-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(15, 141, 114, 0.08);
  color: var(--xcv2-accent);
  font-size: 12px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.xc-register-v2__testimonial-rating {
  margin-top: 8px;
  color: #f59e0b;
  letter-spacing: 1.5px;
  font-size: 13px;
}

.xc-register-v2__testimonial-text {
  margin: 7px 0 0;
  color: #30444b;
  line-height: 1.75;
  font-size: 13px;
}

.xc-register-v2__benefits {
  margin-top: 20px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.xc-register-v2__benefit {
  padding: 8px 10px;
  border-left: 1px solid rgba(15, 141, 114, 0.12);
  text-align: center;
}

.xc-register-v2__benefit:last-child {
  border-left: 0;
}

.xc-register-v2__benefit strong {
  display: block;
  font-size: 14px;
  color: var(--xcv2-accent);
}

.xc-register-v2__benefit span {
  display: block;
  margin-top: 4px;
  color: var(--xcv2-muted);
  line-height: 1.65;
  font-size: 13px;
}

.xc-register-v2__referral {
  margin-top: 20px;
  padding: 18px;
}

.xc-register-v2__ref-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.xc-register-v2__ref-badge {
  border: 1px solid rgba(15, 141, 114, 0.12);
  border-radius: var(--xcv2-radius-card);
  padding: 13px;
  background: #fff;
  text-align: center;
  box-shadow: var(--xcv2-shadow-card);
}

.xc-register-v2__ref-badge strong {
  display: block;
  font-size: 18px;
  color: var(--xcv2-accent);
}

.xc-register-v2__ref-badge span,
.xc-register-v2__ref-disabled {
  color: var(--xcv2-muted);
  line-height: 1.8;
  font-size: 13px;
}

.xc-register-v2__ref-disabled {
  text-align: center;
}

@media (max-width: 1080px) {
  .xc-register-v2__hero-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .xc-register-v2__visual {
    min-height: 200px;
    order: 2;
  }

  .xc-register-v2__form-shell {
    order: 1;
  }

  .xc-register-v2__plan-cards,
  .xc-register-v2__benefits {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .xc-register-v2 {
    margin-top: 24px;
    margin-bottom: 40px;
  }

.xc-register-v2__hero-card {
    width: 100%;
}
  .xc-register-v2__hero-card,
  .xc-register-v2__pricing,
  .xc-register-v2__testimonials,
  .xc-register-v2__benefits,
  .xc-register-v2__referral {
    border-radius: 22px;
  }

  .xc-register-v2__visual {
    min-height: 160px;
  }

  .xc-register-v2__device {
    width: 164px;
    min-height: 208px;
  }

  .xc-register-v2__title {
    font-size: 22px;
  }

  .xc-register-v2__lead {
    font-size: 14px;
  }

  .xcart_register_form_section--v2 .xc-plan-grid--inline,
  .xc-register-v2__plan-cards,
  .xc-register-v2__benefits,
  .xc-register-v2__ref-badges {
    grid-template-columns: 1fr;
  }

  .xc-register-v2__benefit {
    border-left: 0;
    border-bottom: 1px solid rgba(15, 141, 114, 0.12);
  }

  .xc-register-v2__benefit:last-child {
    border-bottom: 0;
  }
}

/* Registration-only sizing: include gutters in widths instead of expanding
   the layout viewport. Keep browser pinch zoom available. */
body.xcart-register-page .site-main,
body.xcart-register-page .xcart_mobile_menu,
body.xcart-register-page .xcart_mobile_menu *,
body.xcart-register-page .xc-register-v2,
body.xcart-register-page .xc-register-v2 *,
body.xcart-register-page .xc-register-v2 *::before,
body.xcart-register-page .xc-register-v2 *::after {
  box-sizing: border-box;
}

/* Clear field feedback and the welcome credit, scoped to the public form. */
body.xcart-register-page .xcart_register_form_section--v2 .xcart_register_form_inner {
  display: block;
  height: auto;
  min-height: 44px;
}

body.xcart-register-page .xcart_register_form_section--v2 .form_label {
  top: 22px;
}

body.xcart-register-page .xcart_register_form_section--v2 .ajax-form-field:focus + .form_label,
body.xcart-register-page .xcart_register_form_section--v2 .ajax-form-field:not(:placeholder-shown) + .form_label {
  top: 6px;
}

body.xcart-register-page .xcart_register_form_section--v2 .xc-field-error {
  display: block;
  width: 100%;
  margin: 6px 0 0;
  color: #b42318;
  font-size: 12px;
  line-height: 1.8;
  text-align: right;
  overflow-wrap: anywhere;
}

body.xcart-register-page .xcart_register_form_section--v2 .xcart_register_form_inner.has-field-error {
  height: auto;
}

.xc-signup-gift {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 12px;
  padding: 12px;
  border: 1px solid #dceee6;
  border-radius: 14px;
  background: #f2faf6;
  color: #426259;
}

.xc-signup-gift__icon {
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #0d8069;
  background: #e1f3e9;
}

.xc-signup-gift svg { width: 21px; height: 21px; }
.xc-signup-gift p { margin: 0; font-size: 13px; line-height: 1.9; }
.xc-signup-gift strong { color: #086951; font-weight: 800; }

/* Native modal: browser focus containment and an inert page while it is open. */
dialog.xc-signup-dialog {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: 440px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 1px solid #e0ebe6;
  border-radius: 26px;
  background: #fff;
  color: #172e29;
  box-shadow: 0 32px 100px #0d302d38, 0 3px 16px #0d302d0f;
  font: inherit;
  direction: rtl;
  overflow: auto;
  outline: none;
  animation: xcSignupEnter 220ms ease-out;
}

dialog.xc-signup-dialog:not([open]) { display: none; }
html:has(dialog.xc-signup-dialog[open]) { overflow: hidden; }
dialog.xc-signup-dialog *, dialog.xc-signup-dialog *::before, dialog.xc-signup-dialog *::after { box-sizing: border-box; }
dialog.xc-signup-dialog::backdrop { background: #18302b55; backdrop-filter: blur(5px); }
.xc-signup-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 0; }
.xc-signup-brand { display: inline-flex; align-items: center; gap: 8px; color: #356056; font-size: 13px; font-weight: 800; }
.xc-signup-brand > i { width: 8px; height: 8px; border-radius: 3px; background: #0c9272; box-shadow: 0 0 0 4px #e8f6ef; transform: rotate(-12deg); }
dialog.xc-signup-dialog .xc-signup-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 10px; border: 0; border-radius: 12px; background: #f4f7f5; color: #64766e; cursor: pointer; }
.xc-signup-close svg { width: 18px; height: 18px; }
dialog.xc-signup-dialog .xc-signup-close:hover { background: #eaf2ed; color: #214b40; }
.xc-signup-content { padding: 8px 32px 28px; text-align: center; }
.xc-signup-art { position: relative; display: grid; place-items: center; height: 165px; margin-bottom: 14px; }
.xc-signup-art::before { content: ''; position: absolute; width: 220px; height: 160px; border-radius: 50%; background: radial-gradient(ellipse, #e3f5eb 0, #f1faf5 50%, #fff0 72%); }
.xc-signup-window { position: relative; width: 172px; padding: 12px; border: 1px solid #e0ebe6; border-radius: 16px; background: #ffffffed; box-shadow: 0 14px 30px #275b4412; transform: rotate(-5deg); }
.xc-signup-window__bar { display: flex; gap: 4px; padding-bottom: 12px; }
.xc-signup-window__bar i { width: 4px; height: 4px; border-radius: 50%; background: #d7e7df; }
.xc-signup-window__body { display: flex; align-items: center; gap: 10px; }
.xc-signup-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #eaf7ef; color: #43997b; }
.xc-signup-avatar svg { width: 22px; height: 22px; }
.xc-signup-lines { flex: 1; display: grid; gap: 7px; }
.xc-signup-lines i { display: block; height: 6px; border-radius: 4px; background: #e1ede7; }
.xc-signup-lines i:last-child { width: 65%; background: #eef4f0; }
.xc-signup-window__tiles { display: flex; gap: 7px; margin-top: 12px; }
.xc-signup-window__tiles i { flex: 1; height: 23px; border: 1px solid #e7f0eb; border-radius: 6px; background: #f4faf6; }
.xc-signup-seal { position: absolute; right: calc(50% - 110px); bottom: 11px; display: grid; place-items: center; width: 48px; height: 48px; border: 5px solid #fff; border-radius: 16px; background: #0c8b6a; color: #fff; box-shadow: 0 7px 18px #0c8b6a21; }
.xc-signup-seal svg { width: 23px; height: 23px; }
.xc-signup-status { display: inline-block; margin: 0 0 12px; padding: 5px 12px; border-radius: 20px; color: #167355; background: #edf8f1; font-size: 12px; font-weight: 700; line-height: 1.6; }
dialog.xc-signup-dialog #xc-signup-title { margin: 0; color: #193c31; font-size: 23px; font-weight: 900; line-height: 1.65; }
dialog.xc-signup-dialog #xc-signup-description { max-width: 340px; margin: 10px auto 0; color: #63736c; font-size: 14px; line-height: 1.95; overflow-wrap: anywhere; }
.xc-signup-meter { display: flex; gap: 5px; width: 120px; margin: 22px auto 4px; }
.xc-signup-meter[hidden] { display: none; }
.xc-signup-meter i { flex: 1; height: 4px; border-radius: 4px; background: #d8eee2; animation: xcSignupPulse 1.5s ease-in-out infinite; }
.xc-signup-meter i:nth-child(2) { animation-delay: 180ms; }
.xc-signup-meter i:nth-child(3) { animation-delay: 360ms; }
.xc-signup-actions { display: grid; gap: 8px; margin-top: 24px; }
.xc-signup-actions:empty { display: none; }
dialog.xc-signup-dialog .xc-signup-primary, dialog.xc-signup-dialog .xc-signup-secondary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 10px 16px; border: 1px solid transparent; border-radius: 13px; font: inherit; font-size: 15px; font-weight: 800; line-height: 1.5; text-decoration: none; cursor: pointer; }
dialog.xc-signup-dialog .xc-signup-primary { background: #0e8068; color: #fff; box-shadow: 0 5px 14px #0e80681a; }
dialog.xc-signup-dialog .xc-signup-primary:hover { background: #096750; color: #fff; }
dialog.xc-signup-dialog .xc-signup-secondary { color: #466157; background: #f3f7f4; }
dialog.xc-signup-dialog .xc-signup-secondary:hover { background: #e9f2ec; color: #234a3b; }
dialog.xc-signup-dialog button:focus-visible, dialog.xc-signup-dialog a:focus-visible { outline: 3px solid #43b592; outline-offset: 3px; }
.xc-signup-foot { padding: 14px 20px; border-top: 1px solid #edf2ef; background: #fafcfb; color: #64766c; font-size: 12px; text-align: center; }
.xc-signup-dialog.is-pending .xc-signup-window { animation: xcSignupFloat 3s ease-in-out infinite; }
.xc-signup-dialog.is-error .xc-signup-seal { background: #c34439; box-shadow: 0 7px 18px #c344391a; }
.xc-signup-dialog.is-error .xc-signup-status { color: #a33429; background: #fff0ed; }
.xc-signup-dialog.is-duplicate .xc-signup-status { color: #895a16; background: #fff5e3; }
.xc-signup-dialog.is-duplicate .xc-signup-seal { background: #bd8b34; box-shadow: 0 7px 18px #bd8b341a; }
.xc-signup-dialog.is-queued .xc-signup-status { color: #516876; background: #edf4f8; }
.xc-signup-dialog.is-queued .xc-signup-seal { background: #66899a; box-shadow: none; }
@keyframes xcSignupPulse { 0%, 80%, 100% { background: #d8eee2; } 40% { background: #279e78; } }
@keyframes xcSignupFloat { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-5px) rotate(-3deg); } }
@keyframes xcSignupEnter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  body.xcart-register-page .xcart_register_form_section--v2 .xcart_register_form_inner { height: auto; min-height: 52px; }
  body.xcart-register-page .xcart_register_form_section--v2 .form_label { top: 26px; }
  body.xcart-register-page .xcart_register_form_section--v2 .ajax-form-field:focus + .form_label,
  body.xcart-register-page .xcart_register_form_section--v2 .ajax-form-field:not(:placeholder-shown) + .form_label { top: 6px; }
}
@media (max-width: 480px) {
  .xc-signup-content { padding: 4px 22px 24px; }
  .xc-signup-art { height: 145px; margin-bottom: 10px; }
  dialog.xc-signup-dialog #xc-signup-title { font-size: 21px; }
  .xc-signup-gift { align-items: flex-start; padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  dialog.xc-signup-dialog, .xc-signup-dialog.is-pending .xc-signup-window, .xc-signup-meter i { animation: none; }
}

body.xcart-register-page .site-main {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

body.xcart-register-page .xc-register-v2__hero-card {
  width: 100%;
  max-width: 612px;
}

body.xcart-register-page .xc-register-v2__form-shell {
  width: 100%;
  min-width: 0;
  padding: 0;
}

@media (max-width: 900px) {
  body.xcart-register-page .xcart_mobile_menu {
    width: 100%;
    max-width: 100%;
    inset-inline: 0;
  }

  body.xcart-register-page .xcart_mobile_menu .xcart_menu_body {
    width: min(520px, calc(100% - 24px));
  }

  body.xcart-register-page .site-main {
    padding-inline: 16px;
  }

  body.xcart-register-page .xc-register-v2__hero {
    margin-top: 88px;
  }

  body.xcart-register-page .xc-register-v2__hero-card {
    padding: 24px 20px;
  }

  body.xcart-register-page .xcart_register_form_section--v2 .xcart_register_form_right {
    padding: 0;
  }

  /* 16px inputs prevent focus-triggered zoom on iOS. */
  body.xcart-register-page .xcart_register_form_section--v2 .ajax-form-field {
    font-size: 16px;
    height: 52px;
    padding: 18px 14px 5px !important;
  }

  body.xcart-register-page .xcart_register_form_section--v2 .xcart_register_form_inner {
    height: 52px;
    margin-bottom: 12px;
  }

  body.xcart-register-page .xcart_register_form_section--v2 .ajax-form_submit_1 {
    min-height: 48px;
  }
}

/* Website-first signup: a clear primary route and a quiet mobile-only option. */
.xc-signup-trust { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0 0 10px; color: #60766a; font-size: 13px; font-weight: 500; }
.xc-signup-trust::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #249571; box-shadow: 0 0 0 3px #e9f6ed; }
body.xcart-register-page .xc-register-v2__title { margin-bottom: 18px; font-size: clamp(22px, 2.2vw, 26px); line-height: 1.55; }
body.xcart-register-page .xc-signup-form .ajax-form-field { height: 52px; font-size: 16px; padding: 18px 14px 5px !important; }
body.xcart-register-page .xc-signup-form .xcart_register_form_inner { height: auto; min-height: 52px; margin-bottom: 12px; }
body.xcart-register-page .xc-signup-form .form_label { top: 26px; }
body.xcart-register-page .xc-signup-form .ajax-form-field:focus + .form_label,
body.xcart-register-page .xc-signup-form .ajax-form-field:not(:placeholder-shown) + .form_label { top: 6px; }
.xc-signup-site { margin-bottom: 12px; }
body.xcart-register-page .xc-signup-form .xc-signup-site .xcart_register_form_inner { margin-bottom: 0; }
.xc-signup-site [hidden] { display: none !important; }
.xc-signup-site-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; column-gap: 12px; min-height: 36px; padding-inline: 3px; }
.xc-signup-site-meta > span { color: #63796b; font-size: 12px; line-height: 1.6; }
body.xcart-register-page #xc-site-toggle { margin: 0; padding: 7px 0; min-height: 44px; border: 0; border-radius: 4px; background: transparent; box-shadow: none; color: #337561; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: #b1cfc0; text-underline-offset: 4px; }
body.xcart-register-page #xc-site-toggle:hover { color: #0c644c; text-decoration-color: currentColor; background: transparent; }
body.xcart-register-page #xc-site-toggle:focus-visible { outline: 3px solid #77baa3; outline-offset: 3px; }
.xc-signup-without-site { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid #dfe9e3; border-radius: 14px; background: #f8fbf9; text-align: right; }
.xc-signup-without-site__icon { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 36px; color: #4b7c66; }
.xc-signup-without-site svg { width: 23px; height: 23px; }
.xc-signup-without-site strong { color: #345a47; font-size: 14px; font-weight: 700; }
.xc-signup-without-site p { margin: 3px 0 0; color: #667b6f; font-size: 12px; line-height: 1.85; }
.xc-signup-mobile-id { display: block; margin-top: 6px; color: #285a40; font-size: 14px; direction: ltr; text-align: right; }
