/* LOTNEX 084B: Multi-Step Registration & Onboarding Wizard
   Brand Palette: Navy (#0F172A, #132F63) + Orange (#1D4ED8, #E06208) */

:root,
.lot4b-auth-onboarding-page,
dialog.lot4b-onboarding-modal,
.lot4b-wiz-card {
  --wiz-navy: #0F172A;
  --wiz-navy-mid: #143366;
  --wiz-navy-light: #eef4fb;
  --wiz-orange: #1D4ED8;
  --wiz-orange-dark: #1E40AF;
  --wiz-orange-soft: #EFF6FF;
  --wiz-orange-border: #93C5FD;
  --wiz-border: #dce4ef;
  --wiz-muted: #64748b;
  --wiz-success: #16a34a;
  background:
    radial-gradient(circle at 12% 10%, rgba(29, 78, 216, 0.10) 0%, transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(10, 31, 68, 0.08) 0%, transparent 46%),
    linear-gradient(180deg, #f4f7fb 0%, #edf2f9 100%);
  min-height: calc(100vh - 86px);
  padding: 36px 0 68px;
}

.lot4b-wiz-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 18px;
}

.lot4b-wiz-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--wiz-border);
  border-radius: 22px;
  box-shadow:
    0 20px 50px rgba(10, 31, 68, 0.10),
    0 4px 14px rgba(10, 31, 68, 0.04);
  overflow: hidden;
}

.lot4b-wiz-card::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--wiz-navy) 0%, var(--wiz-navy-mid) 45%, var(--wiz-orange) 100%);
}

.lot4b-wiz-body {
  padding: 28px 32px 32px;
}

/* Top Auth Mode Switcher (Sign in / Register) */
.lot4b-auth-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  background: #f1f5f9;
  border-radius: 14px;
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
}

.lot4b-auth-mode-tabs a {
  text-align: center;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
}

.lot4b-auth-mode-tabs a:hover {
  color: var(--wiz-navy);
}

.lot4b-auth-mode-tabs a.is-active {
  background: #0f172a !important;
  background-color: #0f172a !important;
  color: #ffffff !important;
}

/* Horizontal Stepper */
.lot4b-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  padding: 6px 0 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid #edf2f7;
  position: relative;
}

.lot4b-step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  z-index: 1;
}

.lot4b-step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px;
  inset-inline-start: calc(50% + 20px);
  width: calc(100% - 40px);
  height: 3px;
  background: #e2e8f0;
  border-radius: 99px;
  transition: background 0.25s ease;
}

.lot4b-step-item.is-done:not(:last-child)::after {
  background: #1d4ed8 !important;
  background-color: #1d4ed8 !important;
}

.lot4b-step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
  color: #475569 !important;
  border: 2px solid #cbd5e1 !important;
  transition: background-color 140ms ease-out, border-color 140ms ease-out, color 140ms ease-out;
}

.lot4b-step-circle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.6;
  fill: none;
}

.lot4b-step-item.is-active .lot4b-step-circle {
  background: #1d4ed8 !important;
  background-color: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.16) !important;
}

.lot4b-step-item.is-done .lot4b-step-circle {
  background: #0f172a !important;
  background-color: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
}
.lot4b-step-item.is-done .lot4b-step-circle svg,
.lot4b-step-item.is-active .lot4b-step-circle svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.lot4b-step-label {
  font-size: 12px;
  font-weight: 700;
  color: #475569 !important;
  line-height: 1.3;
}

.lot4b-step-item.is-active .lot4b-step-label {
  color: #1d4ed8 !important;
  font-weight: 800;
}

.lot4b-step-item.is-done .lot4b-step-label {
  color: #0f172a !important;
}

/* Header inside Step */
.lot4b-wiz-head {
  text-align: center;
  margin-bottom: 24px;
}

.lot4b-wiz-head h1,
.lot4b-wiz-head h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--wiz-navy);
  margin: 0 0 6px;
  line-height: 1.35;
}

.lot4b-wiz-head p {
  font-size: 14px;
  color: var(--wiz-muted);
  margin: 0;
  line-height: 1.7;
}

/* Google Social Block & Always-Visible Fallback Button */
.lot4b-google-box {
  background: linear-gradient(180deg, #f8fafd 0%, #ffffff 100%);
  border: 1px solid #dce5f2;
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 20px;
  text-align: center;
}

.lot4b-google-box .google-social-login {
  min-height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lot4b-google-fallback-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 340px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 11px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: var(--wiz-navy);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(10, 31, 68, 0.05);
  transition: all 0.18s ease;
}

.lot4b-google-fallback-btn:hover {
  border-color: var(--wiz-navy);
  background: #f8fafc;
  box-shadow: 0 4px 12px rgba(10, 31, 68, 0.09);
}

.lot4b-google-fallback-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.lot4b-google-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.lot4b-google-divider::before,
.lot4b-google-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.lot4b-google-verified-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #EFF6FF 0%, #F8FAFC 100%);
  border: 1.5px solid var(--wiz-orange-border);
  margin-bottom: 20px;
}

.lot4b-google-verified-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lot4b-google-verified-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #dce4ef;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(10, 31, 68, 0.08);
}

.lot4b-google-verified-badge svg {
  width: 20px;
  height: 20px;
}

.lot4b-google-verified-info strong {
  display: block;
  font-size: 14px;
  color: var(--wiz-navy);
}

.lot4b-google-verified-info span {
  display: block;
  font-size: 12px;
  color: #475569;
  direction: ltr;
  text-align: start;
}

/* Step 1 Form Controls */
.lot4b-wiz-form {
  display: grid;
  gap: 16px;
}

.lot4b-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lot4b-field-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--wiz-navy);
  display: flex;
  align-items: center;
  gap: 4px;
}

.lot4b-req {
  color: var(--wiz-orange);
  font-weight: 800;
}

.lot4b-field input,
.lot4b-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1.5px solid #d5dfec;
  border-radius: 11px;
  background: #f9fbfd;
  color: var(--wiz-navy);
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.lot4b-field input:focus,
.lot4b-field select:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--wiz-orange);
  box-shadow: 0 0 0 3.5px rgba(29, 78, 216, 0.16);
}

/* Compound Phone Row */
.lot4b-phone-row {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 10px;
  direction: ltr;
}

.lot4b-phone-row select {
  direction: ltr;
  font-weight: 700;
  text-align: center;
  padding-inline: 8px;
}

.lot4b-phone-row input {
  direction: ltr;
  text-align: left;
}

/* Password Row (Password + Confirm) */
.lot4b-password-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Account Role Selector Cards (Seller / Buyer / Both) */
.lot4b-role-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lot4b-role-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 12px;
  border: 1.5px solid #d5dfec;
  border-radius: 12px;
  background: #ffffff;
  color: var(--wiz-navy);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.lot4b-role-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lot4b-role-card svg {
  width: 20px;
  height: 20px;
  color: #64748b;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.lot4b-role-card:hover {
  border-color: var(--wiz-orange-border);
  background: #F0F9FF;
}

.lot4b-role-card.is-selected,
.lot4b-role-card:has(input:checked) {
  border-color: #1d4ed8 !important;
  background: #eff6ff !important;
  background-color: #eff6ff !important;
  color: #0f172a !important;
}

.lot4b-role-card.is-selected svg,
.lot4b-role-card:has(input:checked) svg {
  color: var(--wiz-orange);
}

/* Consent Checkbox */
.lot4b-consent-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  color: var(--wiz-navy);
  cursor: pointer;
}

.lot4b-consent-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--wiz-orange);
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
}

.lot4b-consent-row a {
  color: var(--wiz-orange-dark);
  font-weight: 700;
  text-decoration: underline;
}

/* Selectable Grid for Step 2 (Countries) & Step 3 (Sectors) */
.lot4b-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.lot4b-choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 118px;
  padding: 18px 12px 14px;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  text-align: center;
  cursor: pointer;
  transition: background-color 140ms ease-out, border-color 140ms ease-out;
  user-select: none;
}

.lot4b-choice-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lot4b-choice-card:hover {
  border-color: var(--wiz-orange-border);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 31, 68, 0.06);
}

.lot4b-choice-card.is-selected,
.lot4b-choice-card:has(input:checked),
.lot4b-choice-card.is-featured-raw.is-selected,
.lot4b-choice-card.is-featured-raw:has(input:checked) {
  border: 1.5px solid #1d4ed8 !important;
  background: #eff6ff !important;
  background-color: #eff6ff !important;
  color: #0f172a !important;
}

/* Subtle Featured First Sector Card (Raw Materials - normal grid cell size, soft highlight) */
.lot4b-choice-card.is-featured-raw {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}
.lot4b-choice-card.is-featured-raw .lot4b-raw-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  line-height: 1.4;
}

.lot4b-choice-check {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #1d4ed8 !important;
  background-color: #1d4ed8 !important;
  color: #ffffff !important;
  display: grid !important;
  place-items: center !important;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 140ms ease-out, transform 140ms ease-out;
}
.lot4b-choice-card.is-selected .lot4b-choice-check,
.lot4b-choice-card:has(input:checked) .lot4b-choice-check {
  opacity: 1 !important;
  transform: scale(1) !important;
  background: #1d4ed8 !important;
  background-color: #1d4ed8 !important;
  color: #ffffff !important;
}
.lot4b-choice-check svg {
  width: 13px !important;
  height: 13px !important;
  stroke: #ffffff !important;
  color: #ffffff !important;
  stroke-width: 3 !important;
  fill: none !important;
}

/* Country Flag Circle */
.lot4b-flag-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 10px rgba(10, 31, 68, 0.12);
  border: 2px solid #ffffff;
  background: #f1f5f9;
  flex-shrink: 0;
}

.lot4b-flag-circle svg,
.lot4b-flag-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sector Icon Box */
.lot4b-sector-icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 12px !important;
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  display: grid !important;
  place-items: center !important;
  flex-shrink: 0;
}
.lot4b-sector-icon .icon,
.lot4b-sector-icon svg {
  width: 24px !important;
  height: 24px !important;
  stroke: currentColor !important;
  color: inherit !important;
  fill: none !important;
  stroke-width: 1.8 !important;
}
.lot4b-choice-card.is-selected .lot4b-sector-icon,
.lot4b-choice-card:has(input:checked) .lot4b-sector-icon {
  background: #1d4ed8 !important;
  background-color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
}
.lot4b-choice-card.is-selected .lot4b-sector-icon svg,
.lot4b-choice-card:has(input:checked) .lot4b-sector-icon svg,
.lot4b-choice-card.is-selected .lot4b-sector-icon .icon,
.lot4b-choice-card:has(input:checked) .lot4b-sector-icon .icon {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.lot4b-choice-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--wiz-navy);
  line-height: 1.35;
}

/* Step 4: Communication Channel Cards */
.lot4b-comm-stack {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.lot4b-comm-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border: 1.5px solid #dce4ef;
  border-radius: 16px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lot4b-comm-card:hover {
  border-color: var(--wiz-orange-border);
}

.lot4b-comm-card.is-selected,
.lot4b-comm-card:has(input[data-comm-opt]:checked) {
  border: 1.5px solid #1d4ed8 !important;
  background: #eff6ff !important;
  background-color: #eff6ff !important;
}

.lot4b-comm-card-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lot4b-comm-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.lot4b-comm-icon svg {
  width: 24px;
  height: 24px;
}

.lot4b-comm-icon.is-email {
  background: #eff6ff;
  color: #2563eb;
}

.lot4b-comm-icon.is-whatsapp {
  background: #f0fdf4;
  color: #16a34a;
}

.lot4b-comm-icon.is-telegram {
  background: #f0f9ff;
  color: #0284c7;
}

.lot4b-comm-copy {
  flex: 1;
  min-width: 0;
}

.lot4b-comm-copy strong {
  display: block;
  font-size: 15px;
  color: var(--wiz-navy);
  margin-bottom: 2px;
}

.lot4b-comm-copy span {
  display: block;
  font-size: 12.5px;
  color: var(--wiz-muted);
}

.lot4b-comm-check {
  width: 22px;
  height: 22px;
  accent-color: var(--wiz-orange);
  cursor: pointer;
  flex-shrink: 0;
}

.lot4b-comm-detail {
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: #475569;
}

.lot4b-comm-detail bdi {
  font-weight: 700;
  color: var(--wiz-navy);
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 8px;
  direction: ltr;
}

/* Sending Language Box */
.lot4b-lang-box {
  background: #f8fafd;
  border: 1px solid #dce5f2;
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.lot4b-lang-box-head {
  margin-bottom: 12px;
}

.lot4b-lang-box-head strong {
  display: block;
  font-size: 14px;
  color: var(--wiz-navy);
}

.lot4b-lang-box-head span {
  font-size: 12px;
  color: var(--wiz-muted);
}

.lot4b-lang-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lot4b-lang-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border: 1.5px solid #d5dfec;
  border-radius: 12px;
  background: #ffffff;
  color: var(--wiz-navy);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lot4b-lang-card input[type="radio"] {
  accent-color: var(--wiz-orange);
  width: 18px;
  height: 18px;
  margin: 0;
}

.lot4b-lang-card.is-selected,
.lot4b-lang-card:has(input:checked) {
  border-color: #1d4ed8 !important;
  background: #eff6ff !important;
  background-color: #eff6ff !important;
}

/* Info Notice Bar */
.lot4b-info-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #eef5ff;
  border: 1px solid #cfe0f8;
  color: #1e3a8a;
  font-size: 12.5px;
  margin-bottom: 20px;
}

.lot4b-info-bar svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #2563eb;
}

/* Step 5: Review & Confirm Sections */
.lot4b-review-stack {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.lot4b-review-card {
  border: 1px solid #dce4ef;
  border-radius: 16px;
  padding: 16px 18px;
  background: #fbfdff;
}

.lot4b-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2f7;
}

.lot4b-review-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  color: var(--wiz-navy);
}

.lot4b-review-title svg {
  width: 20px;
  height: 20px;
  color: var(--wiz-orange);
}

.lot4b-review-edit {
  border: 0;
  background: #eef4fb;
  color: #1d4ed8;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.lot4b-review-edit:hover {
  background: #dbeafe;
}

.lot4b-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lot4b-review-item span {
  display: block;
  font-size: 11.5px;
  color: var(--wiz-muted);
}

.lot4b-review-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--wiz-navy);
  overflow-wrap: anywhere;
}

.lot4b-review-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lot4b-review-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d5dfec;
  color: var(--wiz-navy);
  font-size: 12.5px;
  font-weight: 700;
}

.lot4b-review-pill.is-accent {
  background: #E0F2FE;
  border-color: var(--wiz-orange-border);
  color: var(--wiz-orange-dark);
}

.lot4b-review-pill .lot4b-mini-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
}

/* Step 6: Success View */
.lot4b-success-view {
  text-align: center;
  padding: 12px 6px 6px;
}

.lot4b-success-badge-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
}

.lot4b-success-badge {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #15803d;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(22, 163, 74, 0.20);
}

.lot4b-success-badge svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}

.lot4b-success-summary {
  text-align: start;
  border: 1px solid #dce4ef;
  border-radius: 16px;
  padding: 18px;
  background: #f8fafd;
  margin: 22px 0;
  display: grid;
  gap: 12px;
}

.lot4b-success-summary h3 {
  font-size: 14px;
  color: var(--wiz-navy);
  margin: 0 0 4px;
}

.lot4b-success-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
  font-size: 13px;
}

.lot4b-success-row > span {
  color: var(--wiz-muted);
  font-weight: 700;
}

.lot4b-success-actions {
  display: grid;
  gap: 12px;
}

/* Wizard Footer Buttons */
.lot4b-wiz-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #edf2f7;
}

.lot4b-btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 44px !important;
  padding: 10px 26px !important;
  border-radius: 10px !important;
  border: 1px solid #1d4ed8 !important;
  background: #1d4ed8 !important;
  background-color: #1d4ed8 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.lot4b-btn-primary:hover {
  background: #1e40af !important;
  background-color: #1e40af !important;
  border-color: #1e40af !important;
  color: #ffffff !important;
}

.lot4b-btn-primary.is-full {
  width: 100%;
}

.lot4b-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: var(--wiz-navy);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.lot4b-btn-secondary:hover {
  border-color: var(--wiz-navy);
  background: #f8fafc;
}

.lot4b-btn-skip {
  border: 0;
  background: transparent;
  color: var(--wiz-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: underline;
}

.lot4b-btn-skip:hover {
  color: var(--wiz-navy);
  background: #f1f5f9;
}

.lot4b-wiz-footer-link {
  text-align: center;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--wiz-muted);
}

.lot4b-wiz-footer-link a {
  color: var(--wiz-navy);
  font-weight: 800;
  border-bottom: 2px solid var(--wiz-orange);
  padding-bottom: 1px;
  margin-inline-start: 4px;
}

/* Modal variant for returning users with pending onboarding */
dialog.lot4b-onboarding-modal {
  width: min(680px, calc(100vw - 24px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  overflow: auto;
  box-shadow: 0 25px 70px rgba(10, 31, 68, 0.35);
}

dialog.lot4b-onboarding-modal::backdrop {
  background: rgba(10, 31, 68, 0.62);
  backdrop-filter: blur(2px);
}

@media (max-width: 640px) {
  .lot4b-wiz-body {
    padding: 20px 16px 24px;
  }
  .lot4b-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .lot4b-role-cards,
  .lot4b-password-grid,
  .lot4b-lang-choices,
  .lot4b-review-grid {
    grid-template-columns: 1fr;
  }
  .lot4b-phone-row {
    grid-template-columns: 118px minmax(0, 1fr);
  }
  .lot4b-step-label {
    font-size: 10.5px;
  }
  .lot4b-step-circle {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .lot4b-step-item:not(:last-child)::after {
    top: 14px;
    inset-inline-start: calc(50% + 16px);
    width: calc(100% - 32px);
  }
  .lot4b-wiz-actions {
    flex-wrap: wrap;
  }
  .lot4b-wiz-actions .lot4b-btn-primary {
    flex: 1 1 100%;
    order: -1;
  }
}

/* 096A: UAE Flag & Calm Onboarding Refinements */
.lot4b-flag-circle img[src*="ae.webp"],
.lot4b-mini-flag img[src*="ae.webp"] {
  object-position: left center !important;
}


/* === LOTNEX Patch 115: Bell Dropdown Fix, Borderless Globe Icon for OTHER & Hide Category Column in Buying Needs Table === */

/* 1. Header Notification Bell Dropdown (#notification-bell .bell-menu) — Single Scrollbar & Full Text Wrapping (image_1586e6.png) */





/* 2. Borderless Globe Icon for OTHER in Registration & Interests (image_15879c.png) */


/* 3. Remove Category (الصنف) Column from Customer Buying Needs Table (image_158b01.png) */


/* === LOTNEX Patch 116: Fix Header Bell Dropdown Item Squishing & Show Full Text + Timestamp (image_16198a.png) === */
