/* ============================================================
   AWQATY Onboarding Styles
   Ported from AWQATY Onboarding.html design file
   ============================================================ */

:root {
  --blue: #0069FF;
  --blue-dark: #0050CC;
  --blue-light: #EEF4FF;
  --blue-mid: #4D9BFF;
  --text: #1A1A2E;
  --muted: #6B7280;
  --muted-light: #9CA3AF;
  --border: #E5E7EB;
  --border-light: #F1F3F5;
  --bg: #F8F9FB;
  --card: #FFFFFF;
  --green: #12B76A;
  --green-light: #DCFCE7;
  --amber: #F59E0B;
  --amber-light: #FEF3C7;
  --red: #EF4444;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body[dir="rtl"] { font-family: 'IBM Plex Sans Arabic', 'DM Sans', sans-serif; }
.latin { font-family: 'DM Sans', sans-serif; direction: ltr; unicode-bidi: isolate; display: inline-block; }
button, input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }

/* ── SHELL ── */
.shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 80px;
}
.split-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  align-items: stretch;
  padding: 0;
}
body[dir="rtl"] .split-shell .split-left { order: 2; }
body[dir="rtl"] .split-shell .split-right { order: 1; }

/* ── SPLIT BRAND PANEL ── */
.split-left {
  display: flex; align-items: center; justify-content: center;
  padding: 48px 32px;
  background: var(--bg);
}
.split-right {
  background: linear-gradient(135deg, var(--blue) 0%, #1F46C7 100%);
  color: white;
  padding: 56px 40px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.split-right::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.split-right-content { position: relative; max-width: 440px; margin: 0 auto; }
.split-logo { margin-bottom: 36px; display: flex; align-items: center; gap: 12px; }
.split-logo-mark {
  width: 44px; height: 44px; border-radius: 11px;
  background: white; display: flex; align-items: center; justify-content: center; padding: 8px;
}
.split-logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.split-logo-name { font-size: 22px; font-weight: 700; letter-spacing: -0.4px; }
.split-right h2 { font-size: 36px; font-weight: 700; letter-spacing: -1.2px; line-height: 1.15; margin-bottom: 16px; }
.split-right p { font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.6; max-width: 380px; }
.split-checklist { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.split-check { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.split-check-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── CARD ── */
.card {
  width: 100%; max-width: 460px;
  margin: 0 auto;
  background: white;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  border: 1px solid var(--border-light);
}
.card-logo {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--blue-light);
  padding: 12px;
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 28px;
  margin: 0 auto 24px;
}
.card-logo img { width: 32px; height: 32px; object-fit: contain; }
.card h1 {
  font-size: 26px; font-weight: 700;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
  text-align: center;
}
.card-sub {
  font-size: 14.5px; color: var(--muted);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ── FORMS ── */
.field { margin-bottom: 16px; }
.field-label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.field-label .req { color: var(--red); margin-left: 2px; }
body[dir="rtl"] .field-label .req { margin-left: 0; margin-right: 2px; }
.field-help { font-size: 11.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

.input {
  width: 100%;
  background: white;
  border: 1.5px solid var(--border);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  transition: all 0.15s;
  font-family: inherit;
  direction: inherit;
  text-align: start;
}
.input::placeholder { color: var(--muted-light); }
body[dir="rtl"] .input::placeholder { text-align: right; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,105,255,0.1); }
.input.error { border-color: var(--red) !important; background: #FEF2F2; animation: shake 0.4s; }

.field-error-msg {
  color: var(--red); font-size: 11.5px; margin-top: 4px; font-weight: 500;
  display: none;
}
.field-error-msg.show { display: block; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.input-icon-wrap { position: relative; }
.input-icon-wrap .input { padding-left: 40px; }
body[dir="rtl"] .input-icon-wrap .input { padding-left: 14px; padding-right: 40px; }
.input-icon-wrap .icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}
body[dir="rtl"] .input-icon-wrap .icon { left: auto; right: 12px; }

/* password toggle btn */
.pwd-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--muted); padding: 4px;
  display: flex; align-items: center;
}
body[dir="rtl"] .pwd-toggle { right: auto; left: 12px; }
.input-icon-wrap .input.has-toggle { padding-right: 40px; }
body[dir="rtl"] .input-icon-wrap .input.has-toggle { padding-right: 40px; padding-left: 40px; }

/* phone row */
.phone-row { display: flex; gap: 8px; }
.phone-country {
  display: inline-flex; align-items: center; gap: 6px;
  background: white;
  border: 1.5px solid var(--border);
  padding: 0 12px;
  border-radius: 10px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s;
}
.phone-country:hover { border-color: var(--blue); }
.phone-flag {
  width: 22px; height: 16px; border-radius: 2px;
  overflow: hidden; flex-shrink: 0;
}
.phone-flag img { width: 100%; height: 100%; object-fit: cover; }

/* country dropdown */
.country-dropdown {
  position: absolute; top: calc(100% + 4px); left: 0;
  background: white; border: 1.5px solid var(--border);
  border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 100; width: 260px; max-height: 280px; overflow-y: auto;
  display: none;
}
.country-dropdown.open { display: block; }
.country-search {
  padding: 10px 12px; border-bottom: 1px solid var(--border-light);
  position: sticky; top: 0; background: white;
}
.country-search input {
  width: 100%; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 8px 10px; font-size: 13px; outline: none;
  font-family: inherit;
}
.country-search input:focus { border-color: var(--blue); }
.country-option {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; cursor: pointer; font-size: 13.5px;
  transition: background 0.1s;
}
.country-option:hover { background: var(--bg); }
.country-option .cflag { width: 22px; height: 16px; border-radius: 2px; overflow: hidden; flex-shrink: 0; }
.country-option .cflag img { width: 100%; height: 100%; object-fit: cover; }

/* terms */
.terms-row {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 14px 0 20px;
  font-size: 13px; color: var(--text);
  line-height: 1.5;
}
.checkbox {
  width: 18px; height: 18px;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  background: white;
  margin-top: 2px;
  transition: all 0.15s;
}
.checkbox:checked { background: var(--blue); border-color: var(--blue); }
.checkbox:checked::after {
  content: '✓';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: white; font-size: 12px; font-weight: 700;
}
.checkbox.error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
.terms-row a { color: var(--blue); font-weight: 600; }
.terms-row a:hover { text-decoration: underline; }

/* ── BUTTONS ── */
.btn-primary {
  width: 100%;
  background: var(--blue); color: white;
  padding: 14px;
  border: none;
  border-radius: 11px;
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-primary:hover:not(:disabled) { background: var(--blue-dark); transform: translateY(-1px); }
.btn-primary:disabled,
.btn-primary.loading { opacity: 0.7; cursor: not-allowed; transform: none; }

.btn-secondary {
  width: 100%;
  background: white; color: var(--text);
  padding: 13px;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.15s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

.btn-spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: white;
  border-radius: 50%;
  display: none;
  animation: spin 0.6s linear infinite;
}
.btn-primary.loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── CARD FOOTER ── */
.card-footer {
  text-align: center; margin-top: 20px;
  font-size: 13px; color: var(--muted);
}
.card-footer a { color: var(--blue); font-weight: 600; }
.card-footer a:hover { text-decoration: underline; }

/* ── OTP ── */
.otp-icon {
  width: 72px; height: 72px;
  background: var(--blue-light);
  border-radius: 50%;
  margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.otp-email-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 100px;
  font-size: 13px; font-weight: 600; color: var(--text);
  margin: 0 auto 24px;
  width: fit-content;
}
.otp-grid {
  display: flex; gap: 10px;
  justify-content: center;
  margin-bottom: 22px;
}
.otp-cell {
  width: 56px; height: 64px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  text-align: center;
  font-size: 24px; font-weight: 700;
  color: var(--text);
  background: white;
  transition: all 0.15s;
  caret-color: var(--blue);
}
.otp-cell:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,105,255,0.1); }
.otp-cell.filled { border-color: var(--blue); }
.otp-cell.error { border-color: var(--red); background: #FEF2F2; animation: shake 0.4s; }
.otp-error-msg {
  color: var(--red); font-size: 12.5px; text-align: center; margin-bottom: 12px; font-weight: 500;
  display: none;
}
.otp-error-msg.show { display: block; }
.resend-row {
  text-align: center; font-size: 13px; color: var(--muted);
  margin-top: 16px;
}
.resend-row a { color: var(--blue); font-weight: 600; cursor: pointer; }
.resend-row a.disabled { color: var(--muted-light); cursor: not-allowed; pointer-events: none; }

/* ── SUCCESS / WELCOME ── */
.success-icon {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--green-light);
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.success-icon::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--green-light); opacity: 0.5;
  animation: ripple 2s ease-out infinite;
}
@keyframes popIn { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes ripple { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.5); opacity: 0; } }
.success-icon svg { width: 44px; height: 44px; color: var(--green); position: relative; z-index: 1; }

/* ── PROGRESS BAR ── */
.progress-bar {
  position: sticky; top: 0; z-index: 50;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 16px;
}
.progress-bar-inner { max-width: 600px; margin: 0 auto; }
.progress-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
  font-size: 12px; font-weight: 700;
  color: var(--muted); letter-spacing: 0.5px;
  text-transform: uppercase;
}
.progress-track {
  height: 5px;
  background: var(--bg);
  border-radius: 100px;
  overflow: hidden;
}
.progress-fill {
  height: 100%; background: var(--blue);
  border-radius: 100px;
  transition: width 0.4s ease;
}

/* ── WIZARD SHELL ── */
.wizard-shell {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 20px 80px;
  width: 100%;
}
.wizard-card {
  background: white; border-radius: 18px; padding: 36px 32px;
  border: 1px solid var(--border-light); box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.wizard-head { text-align: center; margin-bottom: 28px; }
.wizard-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--blue-light); color: var(--blue);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.wizard-card h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 6px; }
.wizard-card .sub { font-size: 14px; color: var(--muted); line-height: 1.6; }
.wizard-actions {
  display: flex; gap: 12px; margin-top: 28px;
}
.wizard-actions .btn-secondary { flex: 0 0 auto; width: auto; padding: 13px 20px; }
.wizard-actions .btn-primary { flex: 1; }

/* ── AVATAR UPLOAD ── */
.avatar-upload {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px dashed var(--border);
  margin: 0 auto 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.15s;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.avatar-upload:hover { border-color: var(--blue); color: var(--blue); }
.avatar-upload svg { margin-bottom: 4px; }
.avatar-upload-label { font-size: 10px; font-weight: 600; line-height: 1.3; }
.avatar-helper { text-align: center; font-size: 11.5px; color: var(--muted); margin-bottom: 22px; }

/* ── BOOKING LINK ── */
.link-input-row {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: white;
  direction: ltr;
}
.link-input-row:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,105,255,0.1); }
.link-input-row.error { border-color: var(--red) !important; background: #FEF2F2; }
.link-prefix {
  background: var(--bg);
  padding: 12px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  white-space: nowrap;
}
.link-input {
  flex: 1; border: none; padding: 12px 14px;
  font-size: 14px; outline: none; font-family: inherit;
  color: var(--text);
  direction: ltr;
  background: transparent;
}

/* ── WORKING HOURS ── */
.hours-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.hour-row {
  display: grid;
  grid-template-columns: 44px 100px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: 10px;
  transition: all 0.15s;
}
.hour-row.off { opacity: 0.55; }
.hour-row.off .hour-times { color: var(--muted-light); }
.toggle {
  width: 36px; height: 22px;
  background: var(--border);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
  border: none;
  outline: none;
}
.toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px; right: auto;
  width: 18px; height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform 0.18s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle.on { background: var(--blue); }
.toggle.on::after { transform: translateX(14px); }
body[dir="rtl"] .toggle::after { left: auto; right: 2px; }
body[dir="rtl"] .toggle.on::after { transform: translateX(-14px); }
.hour-day { font-size: 14px; font-weight: 600; color: var(--text); }
.hour-times {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--text); font-weight: 500;
  justify-self: end;
}
.hour-times .sep { color: var(--muted-light); }
.hour-time-pill {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 13px; font-weight: 600;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s;
}
.hour-time-pill:focus { outline: none; border-color: var(--blue); }
.quick-presets {
  display: flex; gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.quick-preset {
  background: white;
  border: 1.5px solid var(--border);
  padding: 7px 13px;
  border-radius: 100px;
  font-size: 12px; font-weight: 600;
  color: var(--muted); cursor: pointer;
  transition: all 0.15s;
}
.quick-preset:hover,
.quick-preset.active { background: var(--blue-light); border-color: var(--blue); color: var(--blue); }

/* ── SERVICE FORM ── */
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-suffix-wrap { position: relative; }
.input-suffix-wrap .input { padding-right: 56px; }
body[dir="rtl"] .input-suffix-wrap .input { padding-right: 14px; padding-left: 56px; }
.input-suffix {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 13px; color: var(--muted); font-weight: 600;
  pointer-events: none;
}
body[dir="rtl"] .input-suffix { right: auto; left: 14px; }

/* ── COMPLETE / LIVE ── */
.success-final { text-align: center; }
.success-link {
  display: flex; align-items: center;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 12px; overflow: hidden;
  margin: 20px 0 24px;
}
.success-link-url {
  flex: 1;
  padding: 13px 16px;
  font-size: 13.5px; font-weight: 600; color: var(--text);
  text-align: left;
  direction: ltr;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.success-link-copy {
  background: var(--blue); color: white;
  padding: 13px 16px; border: none; cursor: pointer;
  font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
  flex-shrink: 0;
  transition: background 0.15s;
}
.success-link-copy:hover { background: var(--blue-dark); }
.next-steps { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border-light); }
.next-steps-label {
  font-size: 11px; font-weight: 700; color: var(--muted);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px;
  text-align: left;
}
body[dir="rtl"] .next-steps-label { text-align: right; }
.next-step-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg);
  border-radius: 11px;
  padding: 12px 14px;
  cursor: pointer;
  border: 1px solid var(--border-light);
  text-align: left;
  transition: all 0.15s;
  text-decoration: none;
}
body[dir="rtl"] .next-step-row { text-align: right; }
.next-step-row:hover { border-color: var(--blue); background: var(--blue-light); }
.next-step-icon {
  width: 36px; height: 36px;
  background: white;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.next-step-text { flex: 1; min-width: 0; }
.next-step-title { font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 1px; }
.next-step-sub { font-size: 11.5px; color: var(--muted); }
.next-step-arrow { color: var(--muted-light); flex-shrink: 0; }
body[dir="rtl"] .next-step-arrow { transform: scaleX(-1); }
.plan-pill {
  display: inline-flex; align-items: center;
  background: var(--blue-light); color: var(--blue);
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.5px;
  padding: 2px 6px; border-radius: 100px;
  margin-left: 6px; vertical-align: 1px;
}
body[dir="rtl"] .plan-pill { margin-left: 0; margin-right: 6px; }
.plan-pill.pro { background: linear-gradient(135deg, #1A1A2E, #2D2D4A); color: white; }

.skip-link {
  display: block; text-align: center;
  margin-top: 18px;
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
}
.skip-link:hover { color: var(--blue); }

/* ── CUSTOM MODAL ── */
.onb-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.onb-overlay.open { opacity: 1; pointer-events: all; }
.onb-modal {
  background: white;
  border-radius: 18px;
  padding: 32px;
  max-width: 520px; width: 100%;
  max-height: 82vh; overflow-y: auto;
  position: relative;
  transform: translateY(12px);
  transition: transform 0.2s;
}
.onb-overlay.open .onb-modal { transform: translateY(0); }
.onb-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--bg); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: background 0.15s;
}
body[dir="rtl"] .onb-modal-close { right: auto; left: 16px; }
.onb-modal-close:hover { background: var(--border); }
.onb-modal-title { font-size: 20px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.3px; }
.onb-modal-body { font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.onb-modal-body h5 { font-size: 14px; font-weight: 700; color: var(--text); margin: 16px 0 6px; }
.onb-modal-body ul { padding-left: 18px; margin-bottom: 8px; }
body[dir="rtl"] .onb-modal-body ul { padding-left: 0; padding-right: 18px; }
.onb-modal-body li { margin-bottom: 4px; }
.onb-modal-footer { margin-top: 24px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .split-shell { grid-template-columns: 1fr; min-height: auto; }
  .split-right { display: none; }
  .split-left { padding: 24px 16px 48px; }
}
@media (max-width: 520px) {
  .card { padding: 28px 22px; border-radius: 16px; }
  .card h1 { font-size: 22px; }
  .card-sub { font-size: 13.5px; }
  .otp-cell { width: 48px; height: 56px; font-size: 22px; }
  .wizard-shell { padding: 20px 14px 64px; }
  .wizard-card { padding: 24px 20px; }
  .wizard-card h2 { font-size: 20px; }
  .progress-bar { padding: 14px 16px 12px; }
  .hour-row { grid-template-columns: 36px 80px 1fr; gap: 10px; padding: 10px 12px; }
  .hour-day { font-size: 13px; }
  .hour-time-pill { padding: 4px 8px; font-size: 12px; }
  .price-row { grid-template-columns: 1fr; }
  .otp-grid { gap: 8px; }
  .otp-cell { width: 44px; height: 52px; font-size: 20px; }
  .next-step-row { padding: 11px 12px; }
  .next-step-title { font-size: 13px; }
  .next-step-sub { font-size: 11px; }
  .success-link-url { font-size: 12.5px; padding: 11px 14px; }
  .success-link-copy { padding: 11px 14px; font-size: 12px; }
  .hour-row { grid-template-columns: 32px 1fr; gap: 8px; padding: 10px; }
  .hour-times { grid-column: 1 / -1; justify-self: stretch; justify-content: flex-end; }
  body[dir="rtl"] .hour-times { justify-content: flex-start; }
  .wizard-actions { flex-direction: column; }
  .wizard-actions .btn-secondary { width: 100%; }
}

/* Arrow flip for RTL buttons */
body[dir="rtl"] .arrow-rtl { transform: scaleX(-1); }

/* ── WELCOME PAGE ── */
.card--welcome { max-width: 500px; text-align: center; }
.welcome-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0 28px;
}
.welcome-feature-item {
  background: var(--bg);
  border-radius: 11px;
  padding: 14px 8px;
}
.welcome-feature-icon { font-size: 22px; margin-bottom: 4px; }
.welcome-feature-label { font-size: 11.5px; font-weight: 600; color: var(--text); }

/* ── BUSINESS PAGE ── */
.avatar-file-input { display: none; }
.avatar-preview-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.field--last { margin-bottom: 28px; }
.avatar-remove-btn {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #e53e3e;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.18s;
  padding: 0;
}
.avatar-upload:hover .avatar-remove-btn { opacity: 1; }
.form-error-general { color: var(--red); font-size: 13px; margin-bottom: 16px; }
