/* ============================================================
   AMMN Wizard — Scoped Stylesheet
   Extracted from design app.css, scoped under .ammn-wizard
   to prevent class conflicts with MudBlazor/landing styles.
   ============================================================ */

/* ERROR RECOVERY (AppErrorBoundary) lives in service.css — one copy, loaded on every page. */

/* ----------------------------------------------------------
   1. DESIGN TOKENS — now in app.css (single source of truth)
   ---------------------------------------------------------- */

/* ----------------------------------------------------------
   2. BACKGROUND PATTERN
   ---------------------------------------------------------- */
.ammn-wizard .bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.ammn-wizard .bg-pattern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------------------------
   3. HEADER — Fixed top bar
   ---------------------------------------------------------- */
.ammn-wizard .header {
  position: relative;
  width: 100%;
  z-index: 100;
  overflow-x: hidden;
}

/* --- Nav Bar --- */
.ammn-wizard .nav-bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 80px;
  background: color-mix(in srgb, var(--n0) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--n30);
  box-shadow: var(--shadow-md);
  overflow: clip;
}

.ammn-wizard .nav-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--brand-green) 20%, var(--brand-green-light) 50%, var(--brand-green) 80%, transparent);
  opacity: 0.6;
  pointer-events: none;
}

.ammn-wizard .nav-left,
.ammn-wizard .nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ammn-wizard .logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.ammn-wizard .logo-icon {
  width: 30px;
  height: 28px;
  flex-shrink: 0;
}

.ammn-wizard .logo-text {
  display: flex;
  flex-direction: column;
}

.ammn-wizard .logo-name {
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.21em;
  color: var(--n900);
}

.ammn-wizard .logo-stroke {
  width: 47px;
  height: 16px;
  margin-top: -1px;
}

.ammn-wizard .nav-divider {
  width: 2px;
  height: 22px;
  background: var(--n40);
  flex-shrink: 0;
}

.ammn-wizard .nav-title {
  font-weight: 500;
  font-size: 24px;
  color: var(--n800);
  white-space: nowrap;
}

.ammn-wizard .notif-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--n200);
  background: var(--n0);
  color: var(--n500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.ammn-wizard .notif-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: color-mix(in srgb, var(--brand-primary-bg) 6%, transparent);
}

.ammn-wizard .notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--error);
  color: var(--n0);
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0 4px;
  border: 1.5px solid var(--n0);
}

.ammn-wizard .dark-mode-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--n200);
  background: var(--n0);
  color: var(--n500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.ammn-wizard .dark-mode-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: color-mix(in srgb, var(--brand-primary-bg) 6%, transparent);
}

/* Language toggle pill */
.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  direction: ltr;
  /* always LTR so pill positions match button order */
  width: 120px;
  height: 34px;
  background: var(--n100, var(--n60));
  border: 1px solid var(--n200, var(--n70));
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.lang-toggle:hover {
  border-color: var(--brand-primary, var(--brand-primary));
}

.lang-toggle__pill {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(33.333% - 2px);
  height: calc(100% - 4px);
  background: var(--brand-primary-bg, var(--brand-primary));
  border-radius: 999px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.lang-toggle--ur .lang-toggle__pill {
  transform: translateX(100%);
}

.lang-toggle--en .lang-toggle__pill {
  transform: translateX(200%);
}

.lang-toggle__option {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--n500, var(--text-muted));
  transition: color 0.3s ease;
  user-select: none;
  line-height: 34px;
}

.lang-toggle__option--active {
  color: var(--n900);
}

/* --- Steps Bar --- */
.ammn-wizard .steps-bar {
  position: relative;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -44px -80px 0;
  padding: 24px 24px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--n30);
}

.ammn-wizard .steps-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 480px;
}

.ammn-wizard .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
  z-index: 1;
}

.ammn-wizard .step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--n0);
  border: 2.5px solid var(--n200);
  transition: all 0.3s ease;
  position: relative;
}

.ammn-wizard .step-num {
  font-weight: 700;
  font-size: 16px;
  color: var(--n300);
  transition: all 0.3s ease;
}

.ammn-wizard .step-check {
  display: none;
  width: 14px;
  height: 14px;
}

.ammn-wizard .step-label {
  font-weight: 500;
  font-size: 13px;
  color: var(--n400);
  white-space: nowrap;
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
}

/* --- Step Connector Line --- */
.ammn-wizard .step-connector {
  flex: 1;
  height: 3px;
  background: var(--n200);
  margin: 0 -4px;
  margin-bottom: 20px;
  position: relative;
  min-width: 40px;
  z-index: 0;
}

.ammn-wizard .step-connector-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--success);
  transition: width 0.5s ease;
}

.ammn-wizard .step-connector.half .step-connector-fill {
  width: 50%;
}

.ammn-wizard .step-connector.full .step-connector-fill {
  width: 100%;
}

/* --- Substep Dot --- */
.ammn-wizard .substep-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--n0);
  border: 2.5px solid var(--n200);
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ammn-wizard .substep-dot .substep-check {
  display: none;
  width: 12px;
  height: 12px;
}

.ammn-wizard .substep-dot.completed {
  background: var(--success);
  border-color: var(--success);
}

.ammn-wizard .substep-dot.completed .substep-check {
  display: block;
}

.ammn-wizard .substep-dot.active {
  background: var(--success);
  border-color: var(--success);
  box-shadow: var(--shadow-sm);
}

.ammn-wizard .substep-dot.active .substep-check {
  display: block;
}

/* --- Step Colors: Green --- */
.ammn-wizard .step-green.active .step-circle {
  background: var(--success);
  border-color: var(--success);
  box-shadow: var(--shadow-sm);
  animation: pulseRing 2s ease-out infinite;
}

.ammn-wizard .step-green.completed .step-circle {
  background: var(--success);
  border-color: var(--success);
}

.ammn-wizard .step-green.active .step-label,
.ammn-wizard .step-green.completed .step-label {
  color: var(--success);
  font-weight: 600;
}

.ammn-wizard .step-green:hover .step-circle {
  border-color: var(--success);
  transform: scale(1.08);
}

/* --- Step Colors: Amber --- */
.ammn-wizard .step-amber.active .step-circle {
  background: var(--warning);
  border-color: var(--warning);
  box-shadow: var(--shadow-sm);
  animation: pulseRing 2s ease-out infinite;
}

.ammn-wizard .step-amber.completed .step-circle {
  background: var(--warning);
  border-color: var(--warning);
}

.ammn-wizard .step-amber.active .step-label,
.ammn-wizard .step-amber.completed .step-label {
  color: var(--warning);
  font-weight: 600;
}

.ammn-wizard .step-amber:hover .step-circle {
  border-color: var(--warning);
  transform: scale(1.08);
}

/* --- Active / Completed common --- */
.ammn-wizard .step.active .step-num {
  color: var(--n0);
  font-weight: 700;
}

.ammn-wizard .step.active .step-label {
  font-weight: 600;
}

.ammn-wizard .step.completed .step-num {
  display: none;
}

.ammn-wizard .step.completed .step-check {
  display: block;
}

.ammn-wizard .step:hover .step-label {
  color: var(--n700);
}

/* ----------------------------------------------------------
   4. MAIN CONTENT AREA
   ---------------------------------------------------------- */
.ammn-wizard .main {
  padding: 44px 80px 140px;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--n10);
}

.ammn-wizard .container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ----------------------------------------------------------
   NOTIFICATION DRAWER
   ---------------------------------------------------------- */
.ammn-wizard .notif-drawer {
  width: 420px;
}

.ammn-wizard .notif-drawer__header {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.ammn-wizard .notif-drawer__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}

.ammn-wizard .notif-drawer__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 17px;
  color: var(--n800);
  margin: 0;
}

.ammn-wizard .notif-drawer__title svg {
  color: var(--brand-primary);
  flex-shrink: 0;
}

.ammn-wizard .notif-drawer__count {
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-primary);
  background: color-mix(in srgb, var(--brand-primary-bg) 10%, transparent);
  border-radius: 99px;
  padding: 2px 10px;
}

.ammn-wizard .notif-drawer__mark-all {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ammn-wizard .notif-drawer__mark-all:hover {
  background: color-mix(in srgb, var(--brand-primary-bg) 8%, transparent);
}

.ammn-wizard .notif-drawer__mark-all:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ammn-wizard .notif-drawer__list {
  padding: 0;
  gap: 0;
}

.ammn-wizard .notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--n30);
  cursor: pointer;
  transition: background 0.15s ease;
}

.ammn-wizard .notif-item:hover {
  background: var(--n10);
}

.ammn-wizard .notif-item--unread {
  background: color-mix(in srgb, var(--brand-primary-bg) 4%, transparent);
  border-inline-start: 3px solid var(--brand-primary-border);
  padding-inline-start: 21px;
}

.ammn-wizard .notif-item--unread:hover {
  background: color-mix(in srgb, var(--brand-primary-bg) 8%, transparent);
}

.ammn-wizard .notif-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary-bg);
  flex-shrink: 0;
  margin-top: 6px;
}

.ammn-wizard .notif-item__content {
  flex: 1;
  min-width: 0;
}

.ammn-wizard .notif-item__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--n800);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.ammn-wizard .notif-item--unread .notif-item__title {
  font-weight: 600;
}

.ammn-wizard .notif-item__body {
  font-size: 13px;
  color: var(--n500);
  margin: 0 0 6px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ammn-wizard .notif-item__time {
  font-size: 12px;
  color: var(--n300);
}

/* Empty state */
.ammn-wizard .notif-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  gap: 16px;
}

.ammn-wizard .notif-drawer__empty-icon {
  color: var(--n200);
}

.ammn-wizard .notif-drawer__empty-text {
  font-size: 15px;
  color: var(--n300);
  margin: 0;
}

/* Load more */
.ammn-wizard .notif-drawer__load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ammn-wizard .notif-drawer__load-more:hover {
  background: color-mix(in srgb, var(--brand-primary-bg) 6%, transparent);
}

.ammn-wizard .notif-drawer__load-more:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Skeleton loading */
.ammn-wizard .notif-item--skeleton {
  cursor: default;
  padding: 16px 24px;
}

.ammn-wizard .notif-item--skeleton:hover {
  background: transparent;
}

.ammn-wizard .notif-item__skeleton-title {
  height: 14px;
  width: 60%;
  background: var(--n50);
  border-radius: 6px;
  margin-bottom: 8px;
  animation: shimmer 1.5s infinite;
}

.ammn-wizard .notif-item__skeleton-body {
  height: 12px;
  width: 90%;
  background: var(--n50);
  border-radius: 6px;
  margin-bottom: 6px;
  animation: shimmer 1.5s infinite 0.1s;
}

.ammn-wizard .notif-item__skeleton-time {
  height: 10px;
  width: 30%;
  background: var(--n50);
  border-radius: 6px;
  animation: shimmer 1.5s infinite 0.2s;
}

/* Spinner */
.ammn-wizard .notif-drawer__spinner {
  width: 14px;
  height: 14px;
  border: 2px solid color-mix(in srgb, var(--brand-primary-border) 20%, transparent);
  border-top-color: var(--brand-primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.ammn-wizard .page {
  display: none;
}

/* Opacity only, deliberately. fadeInUp ends on `transform: translateY(0)`, and with
   `forwards` that identity transform stays applied for the life of the page — which makes
   .page.active the containing block for every position:fixed descendant. The branded
   full-screen loading cover lives inside this element on Offers and Checkout, and measured on
   the real markup it resolved to 1366x80 at top 4846 instead of filling a 1366x900 viewport.
   An identity transform is invisible but not free.

   Nothing is lost visually: the slide-up still happens, one level down, where
   `.ammn-wizard .stagger>*` gives each child its own staggered fadeInUp. */
@keyframes ammnPageFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.ammn-wizard .page.active {
  display: block;
  animation: ammnPageFade 0.5s ease forwards;
}

/* ----------------------------------------------------------
   5. (removed — section header CSS moved to ibs-style.css)
   ---------------------------------------------------------- */

/* ----------------------------------------------------------
   6. CARDS
   ---------------------------------------------------------- */
.ammn-wizard .card {
  background: var(--n0);
  border: 1px solid var(--n30);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 27px 24px;
  max-width: 100%;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.ammn-wizard .card-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ----------------------------------------------------------
   8. INPUT BOXES
   ---------------------------------------------------------- */

.ammn-wizard input,
.ammn-wizard select,
.ammn-wizard textarea {
  outline: none;
  border: none;
}

.ammn-wizard .manual-vehicle-card {
  border-left: 4px solid var(--brand-blue, #1860ff);
}

[dir="rtl"] .ammn-wizard .manual-vehicle-card {
  border-left: none;
  border-right: 4px solid var(--brand-blue, #1860ff);
}

.ammn-wizard .manual-vehicle-hint {
  margin: 8px 0 16px;
  color: var(--text-muted, #555);
  font-size: 13px;
  line-height: 20px;
}

.ammn-wizard .ibs-consent-notice,
.ibs-consent-notice {
  margin: 12px 0 16px;
  padding: 12px 16px;
  background: var(--n10, rgba(24, 96, 255, 0.06));
  border-left: 3px solid var(--brand-blue, #1860ff);
  border-radius: 8px;
  color: var(--text-muted, #555);
  font-size: 13px;
  line-height: 20px;
  text-align: start;
}

[dir="rtl"] .ammn-wizard .ibs-consent-notice,
[dir="rtl"] .ibs-consent-notice {
  border-left: none;
  border-right: 3px solid var(--brand-blue, #1860ff);
}

/* ----------------------------------------------------------
   9. CHECKBOX ROWS
   ---------------------------------------------------------- */

/* ----------------------------------------------------------
   10. (removed — collapse section CSS moved to ibs-style.css)
   ---------------------------------------------------------- */

/* ----------------------------------------------------------
   11. TWO-COLUMN PANEL
   ---------------------------------------------------------- */
.ammn-wizard .two-col-panel {
  display: flex;
  flex-direction: row;
}

.ammn-wizard .panel-left {
  flex: 1;
  border: 1px solid var(--n40);
  border-radius: 16px 0 0 16px;
  padding: 27px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: var(--n0);
}

.ammn-wizard .panel-right {
  flex: 1;
  border: 1px solid var(--n40);
  border-left: none;
  border-radius: 0 16px 16px 0;
  padding: 27px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: var(--n0);
}

.ammn-wizard .row-2 {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.ammn-wizard .row-2>* {
  flex: 1;
}

.ammn-wizard .row-bottom {
  align-items: flex-end;
  margin-bottom: 10px;
}

.ammn-wizard .row-3 {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
}

.ammn-wizard .row-8-4 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: flex-start;
}

.ammn-wizard .row-3>* {
  flex: 1;
}

.ammn-wizard .row-3 .ibs-btn-collections .ibs-tabs {
  min-height: 56px;
  align-items: center;
}

.ammn-wizard .delegation-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--error);
  border-radius: 12px;
  color: var(--error);
  font-size: 14px;
  line-height: 1.6;
}

.ammn-wizard .delegation-alert svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.ammn-wizard .delegation-alert a {
  color: var(--brand-blue, var(--brand-primary));
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ammn-wizard .delegation-alert a:hover {
  color: var(--page-accent-dark, var(--brand-primary-hover));
}

.ammn-wizard .btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Policy Type Buttons */

/* Green — New Insurance */

/* Blue — Update Active Policy */

/* Selected Policy Info Bar */

/* Policy List Popup */

/* Policy List */

/* Policy Row Card */
.ammn-wizard .policy-row {
  position: relative;
  padding: 16px 20px;
  border: 2px solid var(--n100, var(--n70));
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--n0, var(--bg));
}

.ammn-wizard .policy-row:hover {
  border-color: var(--n300, var(--footer-muted));
}

.ammn-wizard .policy-row__badge {
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ammn-wizard .policy-row__badge--active {
  background: color-mix(in srgb, var(--brand-primary) 10%, transparent);
  color: var(--brand-primary);
}

/* ----------------------------------------------------------
   12. FORM FIELDS
   ---------------------------------------------------------- */

.ammn-wizard .form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.ammn-wizard .form-field label {
  font-weight: 400;
  font-size: 16px;
  color: var(--n800);
}

/* Standard form input */
.ammn-wizard .form-input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1.5px solid var(--n200, var(--n70));
  border-radius: 10px;
  background: var(--bg);
  color: var(--n800, var(--n800));
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}

.ammn-wizard .form-input:focus {
  border-color: var(--brand-blue-border, var(--brand-blue));
  box-shadow: var(--shadow-lg);
}

.ammn-wizard select.form-input {
  appearance: auto;
  cursor: pointer;
}

/* ── Company Header Inline Edit ── */
.ammn-wizard .company-edit-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

.ammn-wizard .company-edit-form .form-field {
  gap: 6px;
}

.ammn-wizard .company-edit-form .form-field.full-width {
  grid-column: 1 / -1;
}

.ammn-wizard .company-edit-form .form-input {
  height: 40px;
  font-size: 13px;
}

.ammn-wizard .company-edit-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  grid-column: 1 / -1;
  justify-content: flex-end;
}

.ammn-wizard .company-edit-actions .btn-save {
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  background: var(--brand-blue-bg, var(--brand-blue));
  color: var(--n0);
  cursor: pointer;
  transition: background .2s;
}

.ammn-wizard .company-edit-actions .btn-save:hover {
  background: var(--brand-blue-hover, var(--surface));
}

.ammn-wizard .company-edit-actions .btn-cancel {
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--n200, var(--n70));
  border-radius: 8px;
  background: transparent;
  color: var(--n600, var(--n600));
  cursor: pointer;
  transition: border-color .2s;
}

.ammn-wizard .company-edit-actions .btn-cancel:hover {
  border-color: var(--n400);
}

/* ----------------------------------------------------------
   14. (removed — dropdown CSS moved to ibs-style.css)
   ---------------------------------------------------------- */

/* ----------------------------------------------------------
   15. SAFETY GRID
   ---------------------------------------------------------- */
.ammn-wizard .safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ammn-wizard .safety-grid .ibs-bool-field {
  margin-top: 0;
}

/* ----------------------------------------------------------
   16. BUTTONS
   ---------------------------------------------------------- */
.ammn-wizard .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 20px 24px;
    width: 143px;
    height: 42.4px !important;
    background: var(--brand-green-gradient) !important;
    border-radius: 99px;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--brand-green) 24%, transparent);
    color: var(--n0) !important;
    font-weight: 500;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ammn-wizard .btn-primary img {
  filter: brightness(10);
}

.ammn-wizard .btn-primary:hover {
  background: var(--brand-green-gradient-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--brand-green) 32%, transparent);
}

.ammn-wizard .btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.ammn-wizard .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.ammn-wizard .btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 20px 24px;
  width: 143px;
  height: 52px;
  background: transparent;
  border-radius: 99px;
  border: 1px solid var(--n30);
  color: var(--n800);
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ammn-wizard .btn-secondary:hover {
  background: var(--n10);
  border-color: var(--n80);
}

.ammn-wizard .btn-sm {
  padding: 12px 20px;
  width: auto;
  height: auto;
}

.ammn-wizard .btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue-border);
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ammn-wizard .btn-outline:hover {
  background: color-mix(in srgb, var(--brand-green) 6%, transparent);
}

/* ----------------------------------------------------------
   18. DRAWER
   ---------------------------------------------------------- */
.ammn-wizard .drawer-backdrop,
.ammn-wizard .drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: color-mix(in srgb, black 30%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 499;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ammn-wizard .drawer-backdrop.open,
.ammn-wizard .drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Lock body scroll when any drawer is open */
body:has(.drawer-backdrop.open),
body:has(.drawer-overlay.active) {
  overflow: hidden;
}

.ammn-wizard .drawer {
  position: fixed;
  right: 0;
  top: 0;
  width: 489px;
  height: 100vh;
  background: var(--n0);
  z-index: 500;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-sm);
  border-radius: 16px 0 0 16px;
  display: flex;
  flex-direction: column;
}

.ammn-wizard .drawer.open {
  transform: translateX(0);
}

.ammn-wizard .drawer-header {
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--n0) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 20px 24px;
  border-bottom: 1px solid var(--n30);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  flex-shrink: 0;
  justify-content: space-between;
}

.ammn-wizard .drawer-close {
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.ammn-wizard .drawer-close:hover {
  background: var(--n20);
}

.ammn-wizard .drawer-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  flex: 1;
  overflow-y: auto;
}

.ammn-wizard .drawer-footer {
  position: sticky;
  bottom: 0;
  background: color-mix(in srgb, var(--n0) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 20px 24px;
  border-top: 1px solid var(--n30);
  flex-shrink: 0;
  display: flex;
  gap: 12px;
}

.ammn-wizard .drawer-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--n30);
}

.ammn-wizard .drawer-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ammn-wizard .dep-separator {
  border: none;
  border-top: 1px solid var(--n30);
  margin: 8px 0;
}

.ammn-wizard .confirm-banner {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--amber) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--amber) 30%, transparent);
}

.ammn-wizard .confirm-banner__icon {
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 1px;
}

.ammn-wizard .confirm-banner__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ammn-wizard .confirm-banner__text {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--n800);
}

.ammn-wizard .confirm-banner__hint {
  margin: 0;
  font-size: 13px;
  color: var(--n500);
  line-height: 1.5;
}

.ammn-wizard .confirm-banner__actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

/* Terms & Conditions popup */
.ammn-wizard .tc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.ammn-wizard .tc-overlay.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.ammn-wizard .tc-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  background: var(--n0);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  z-index: 1101;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  text-align: start;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.ammn-wizard .tc-popup.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

[dir="rtl"] .ammn-wizard .tc-popup {
  direction: rtl;
  text-align: right;
}

.ammn-wizard .tc-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--n30);
}

.ammn-wizard .tc-popup__header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--n800);
  text-align: start;
}

.ammn-wizard .tc-popup__body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  text-align: start;
  color: var(--n600);
}

.ammn-wizard .tc-popup__body p {
  margin: 0 0 12px;
}

.ammn-wizard .tc-popup__body ol {
  margin: 0;
  padding-inline-start: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ammn-wizard .tc-popup__body li {
  padding-inline-start: 4px;
}

.ammn-wizard .tc-popup__footer {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--n30);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: start;
}

.ammn-wizard .tc-popup__actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.ammn-wizard .drawer-body::-webkit-scrollbar {
  width: 5px;
}

.ammn-wizard .drawer-body::-webkit-scrollbar-track {
  background: transparent;
}

.ammn-wizard .drawer-body::-webkit-scrollbar-thumb {
  background: var(--n200);
  border-radius: 10px;
}

.ammn-wizard .drawer-body::-webkit-scrollbar-thumb:hover {
  background: var(--n300);
}

/* ----------------------------------------------------------
   19. OFFERS GRID
   ---------------------------------------------------------- */
.ammn-wizard .offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
}

.ammn-wizard .offer-card {
  background: var(--n0);
  border: 0.5px solid var(--n30);
  border-radius: 16px;
  box-shadow: 0 12px 16px rgba(0, 0, 0, 0.04);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, border-top-color 0.3s ease;
  overflow: hidden;
  position: relative;
  border-top: 3px solid transparent;
  min-height: 380px;
}

.ammn-wizard .offer-card:hover:not(.expanded) {
  transform: translateY(-4px);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.08);
}

/* Visual chevron at the bottom of the card — whole card is the click target. */
.ammn-wizard .offer-expand-indicator {
  position: absolute;
  bottom: 10px;
  inset-inline-end: 14px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--n400);
  pointer-events: none;
  transition: transform 0.3s ease, color 0.3s ease;
  opacity: 0.65;
}

.ammn-wizard .offer-card:hover .offer-expand-indicator {
  color: var(--page-accent);
  opacity: 1;
}

.ammn-wizard .offer-card.expanded .offer-expand-indicator {
  transform: rotate(180deg);
  color: var(--page-accent);
  opacity: 1;
}

.ammn-wizard .offer-card:hover {
  border-top-color: var(--page-accent);
}

.ammn-wizard .offer-company {
  font-weight: 500;
  font-size: 16px;
  color: var(--n800);
}

.ammn-wizard .offer-type {
  font-weight: 400;
  font-size: 14px;
  color: var(--n400);
}

.ammn-wizard .offer-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.ammn-wizard .price-amount {
  font-weight: 700;
  font-size: 24px;
  color: var(--n900);
}

.ammn-wizard .price-period {
  font-weight: 400;
  font-size: 14px;
  color: var(--n400);
}

.ammn-wizard .offer-logo-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.ammn-wizard .offer-company-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--n600);
  text-align: center;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ammn-wizard .offer-logo {
    width: 160px;
    height: 80px;
    border-radius: 10px;
    object-fit: contain;
    border:none !important;
    /*border: 1px solid var(--n100);*/
    padding: 3px;
    background: var(--n0);
}

.ammn-wizard .offer-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ammn-wizard .offer-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
}

.ammn-wizard .star {
  font-size: 14px;
  color: var(--n30);
}

.ammn-wizard .star.filled {
  color: var(--warning);
}

.ammn-wizard .rating-count {
  font-weight: 400;
  font-size: 12px;
  color: var(--n400);
  margin-left: 4px;
}

.ammn-wizard .offer-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  position: relative;
  overflow: hidden;
  flex: 1;
}

.ammn-wizard .offer-card.expanded .offer-features {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  max-height: none;
}

.ammn-wizard .feature-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 400;
  font-size: 13px;
  color: var(--n700);
  white-space: nowrap;
  flex-shrink: 0;
}

.ammn-wizard .btn-full {
  width: 100%;
}

.ammn-wizard .offer-type-label {
  font-weight: 400;
  font-size: 13px;
  color: var(--n300);
}

.ammn-wizard .offer-recommended {
  border-color: color-mix(in srgb, var(--page-accent) 30%, transparent);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--page-accent) 8%, transparent);
}

.ammn-wizard .offer-ribbon {
  position: absolute;
  top: 16px;
  right: 0;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-lighter));
  color: var(--n0);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 14px 4px 12px;
  border-radius: 6px 0 0 6px;
  z-index: 1;
}

.ammn-wizard .offer-ribbon::after {
  display: none;
}

/* Skeleton Loading Cards */

/* Loading quotes state (before any offers arrive) */
.ammn-wizard .offers-loading-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 64px 24px;
  text-align: center;
}

.ammn-wizard .offers-loading-title {
  margin: 8px 0 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--n800);
}

.ammn-wizard .offers-loading-subtitle {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--n500);
}

[data-theme="dark"] .ammn-wizard .offers-loading-title {
  color: var(--n200);
}

[data-theme="dark"] .ammn-wizard .offers-loading-subtitle {
  color: var(--n400);
}

/* ── Countdown Ring (loading state) ── */
.ammn-wizard .offers-countdown {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 8px;
}

.ammn-wizard .offers-countdown__svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ammn-wizard .offers-countdown__track {
  fill: none;
  stroke: var(--n100, #e5e7eb);
  stroke-width: 6;
}

.ammn-wizard .offers-countdown__ring {
  fill: none;
  stroke: var(--brand-primary, #0d9488);
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear, stroke 0.4s ease;
}

.ammn-wizard .offers-countdown--warning .offers-countdown__ring {
  stroke: var(--warning, #f59e0b);
}

.ammn-wizard .offers-countdown--danger .offers-countdown__ring {
  stroke: var(--error, #ef4444);
}

.ammn-wizard .offers-countdown__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.ammn-wizard .offers-countdown__time {
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--n800, #1f2937);
  line-height: 1;
}

.ammn-wizard .offers-countdown--warning .offers-countdown__time {
  color: var(--warning, #f59e0b);
}

.ammn-wizard .offers-countdown--danger .offers-countdown__time {
  color: var(--error, #ef4444);
}

.ammn-wizard .offers-countdown__label-ar {
  font-size: 11px;
  font-weight: 600;
  color: var(--n500, #6b7280);
}

.ammn-wizard .offers-countdown__label-en {
  font-size: 9px;
  color: var(--n400, #9ca3af);
}

/* Dark mode */
[data-theme="dark"] .ammn-wizard .offers-countdown__track {
  stroke: var(--n200, #333);
}

[data-theme="dark"] .ammn-wizard .offers-countdown__time {
  color: var(--n100, #e5e7eb);
}

[data-theme="dark"] .ammn-wizard .offers-countdown--warning .offers-countdown__time {
  color: var(--warning);
}

[data-theme="dark"] .ammn-wizard .offers-countdown--danger .offers-countdown__time {
  color: var(--error);
}

/* ── Stream Timer Bar (inline, while offers visible) ── */
.ammn-wizard .offers-stream-timer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ammn-wizard .offers-stream-timer__bar {
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: var(--n100, #e5e7eb);
  overflow: hidden;
}

.ammn-wizard .offers-stream-timer__fill {
  height: 100%;
  width: var(--fill-pct, 100%);
  border-radius: 2px;
  background: var(--brand-primary, #0d9488);
  transition: width 1s linear, background-color 0.4s ease;
}

.ammn-wizard .offers-stream-timer__fill--warning {
  background: var(--warning, #f59e0b);
}

.ammn-wizard .offers-stream-timer__fill--danger {
  background: var(--error, #ef4444);
}

.ammn-wizard .offers-stream-timer__text {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--n600, #4b5563);
  min-width: 32px;
}

[data-theme="dark"] .ammn-wizard .offers-stream-timer__bar {
  background: var(--n200, #333);
}

[data-theme="dark"] .ammn-wizard .offers-stream-timer__text {
  color: var(--n300, #aaa);
}

/* ── Mini Timer (sticky top-end pill while offers visible + streaming) ── */
.ammn-wizard .offers-mini-timer {
  position: sticky;
  top: 12px;
  z-index: 10;
  grid-column: 1 / -1;
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  background: color-mix(in srgb, var(--n0, #fff) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--n100, #e5e7eb);
  border-radius: var(--radius-full, 9999px);
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.08));
}

/* Pulsing live dot */
.ammn-wizard .offers-mini-timer__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full, 9999px);
  background: var(--brand-primary, #0d9488);
  flex-shrink: 0;
  animation: mini-timer-pulse 1.5s ease-in-out infinite;
}

@keyframes mini-timer-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.ammn-wizard .offers-mini-timer--warning .offers-mini-timer__dot {
  background: var(--warning, #f59e0b);
}

.ammn-wizard .offers-mini-timer--danger .offers-mini-timer__dot {
  background: var(--error, #ef4444);
  animation-duration: 0.8s;
}

/* Countdown text */
.ammn-wizard .offers-mini-timer__time {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--n800, #1f2937);
  line-height: 1;
  letter-spacing: 0.02em;
}

.ammn-wizard .offers-mini-timer--warning .offers-mini-timer__time {
  color: var(--warning, #f59e0b);
}

.ammn-wizard .offers-mini-timer--danger .offers-mini-timer__time {
  color: var(--error, #ef4444);
}

/* Thin progress bar */
.ammn-wizard .offers-mini-timer__bar {
  width: 48px;
  height: 3px;
  border-radius: var(--radius-full, 9999px);
  background: var(--n100, #e5e7eb);
  overflow: hidden;
}

.ammn-wizard .offers-mini-timer__fill {
  height: 100%;
  width: var(--fill-pct, 100%);
  border-radius: var(--radius-full, 9999px);
  background: var(--brand-primary, #0d9488);
  transition: width 1s linear, background-color 0.4s ease;
}

.ammn-wizard .offers-mini-timer--warning .offers-mini-timer__fill {
  background: var(--warning, #f59e0b);
}

.ammn-wizard .offers-mini-timer--danger .offers-mini-timer__fill {
  background: var(--error, #ef4444);
}

/* Dark mode */
[data-theme="dark"] .ammn-wizard .offers-mini-timer {
  background: color-mix(in srgb, var(--n50, #1a1a2e) 85%, transparent);
  border-color: var(--n200, #333);
}

[data-theme="dark"] .ammn-wizard .offers-mini-timer__time {
  color: var(--n100, #e5e7eb);
}

[data-theme="dark"] .ammn-wizard .offers-mini-timer__bar {
  background: var(--n300, #444);
}

/* Streaming indicator */
.ammn-wizard .offers-streaming-indicator {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 0;
  color: var(--n500);
  font-size: 14px;
  font-weight: 500;
}

/* Offer card expand */
.ammn-wizard .offer-card-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  width: 100%;
  flex: 1;
}

.ammn-wizard .offer-card-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 0 100%;
  min-width: 0;
  transition: flex 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ammn-wizard .offer-card-main>.btn-full {
  margin-top: auto;
}

.ammn-wizard .offer-card-details {
  display: none;
  align-items: stretch;
  gap: 24px;
  overflow: hidden;
  opacity: 0;
  min-width: 0;
}

.ammn-wizard .details-start {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 4px 0;
}

.ammn-wizard .details-coverage-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--n900);
}

.ammn-wizard .details-coverage-badge svg {
  flex-shrink: 0;
}

.ammn-wizard .details-description {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: var(--n400);
  margin: 0;
  white-space: normal;
}

.ammn-wizard .details-addons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.ammn-wizard .details-addons-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  color: var(--n800);
}

.ammn-wizard .addon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.ammn-wizard .addon-check {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--success);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  background: var(--n0);
}

.ammn-wizard .addon-check:checked {
  background: var(--page-accent);
  border-color: var(--page-accent);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-4.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.ammn-wizard .addon-item--free { cursor: default; opacity: 0.85; }
.ammn-wizard .addon-item--free .addon-check { cursor: not-allowed; }

.ammn-wizard .addon-name {
  font-weight: 400;
  font-size: 13px;
  color: var(--n700);
}

.ammn-wizard .addon-price {
  background: var(--page-accent);
  color: var(--n0);
  font-weight: 600;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 99px;
  white-space: nowrap;
  margin-inline-start: 4px;
}

.ammn-wizard .details-end {
  flex: 0 0 260px;
  display: flex;
  align-items: flex-start;
}

.ammn-wizard .details-pricing-card {
  background: var(--n10);
  border: 1px solid var(--n30);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.ammn-wizard .pricing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ammn-wizard .pricing-label {
  font-weight: 400;
  font-size: 13px;
  color: var(--n400);
}

.ammn-wizard .pricing-info-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 12px;
  color: var(--page-accent);
  cursor: pointer;
}

.ammn-wizard .pricing-amount {
  font-weight: 700;
  font-size: 28px;
  color: var(--n900);
  letter-spacing: -0.5px;
}

.ammn-wizard .pricing-endurance {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ammn-wizard .pricing-endurance-label {
  font-weight: 400;
  font-size: 13px;
  color: var(--n400);
}

.ammn-wizard .pricing-select-wrap {
  position: relative;
}

.ammn-wizard .pricing-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--n30);
  border-radius: 10px;
  background: var(--n0);
  font-size: 13px;
  font-weight: 400;
  color: var(--n700);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23505F79' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-inline-end: 32px;
}

.ammn-wizard .btn-buy-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-lighter));
  color: var(--n0);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  margin-top: 4px;
}

.ammn-wizard .btn-buy-now:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.ammn-wizard .offer-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--error);
}

.ammn-wizard .offer-timer svg {
  flex-shrink: 0;
}

.ammn-wizard .timer-text {
  font-variant-numeric: tabular-nums;
}

.ammn-wizard .offer-tandc-btn {
  background: none;
  border: none;
  color: var(--n400);
  font-size: 12px;
  font-weight: 400;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin-top: 4px;
  text-align: center;
  transition: color 0.2s ease;
}

.ammn-wizard .offer-tandc-btn:hover {
  color: var(--brand-blue);
}

/* T&C Modal */

/* Expanded state */
.ammn-wizard .offers-grid.has-expanded {
  align-items: start;
}

.ammn-wizard .offer-card.expanded {
  grid-column: 1 / -1;
  transform: none;
  border-top-color: var(--page-accent);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.08);
  animation: expandGlow 0.5s ease;
}

.ammn-wizard .offer-card.expanded .offer-card-main {
  flex: 0 0 280px;
}

.ammn-wizard .offer-card.expanded .offer-card-details {
  display: flex;
  flex: 1 1 auto;
  opacity: 1;
  padding-inline-start: 24px;
  border-inline-start: 1px solid var(--n30);
  margin-inline-start: 24px;
}

.ammn-wizard .offer-card.expanded:hover {
  transform: none;
}

.ammn-wizard .offer-card.expanded .offer-card-main .btn-full {
  display: none;
}

/* Compare mode */
.ammn-wizard .offer-card .compare-check {
  display: none;
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--n200);
  background: var(--n0);
  z-index: 5;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.ammn-wizard .offers-grid.compare-mode .offer-card {
  position: relative;
}

.ammn-wizard .offers-grid.compare-mode .compare-check {
  display: flex;
}

.ammn-wizard .offer-card.compare-selected .compare-check {
  background: var(--brand-blue-bg);
  border-color: var(--brand-blue-border);
}

.ammn-wizard .offer-card.compare-selected .compare-check::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--n0);
  border-bottom: 2px solid var(--n0);
  transform: rotate(-45deg) translateY(-1px);
}

.ammn-wizard .offer-card.compare-selected {
  border-color: var(--brand-blue-border);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-green) 12%, transparent), 0 12px 16px var(--shadow-md);
}

/* Compare floating bar */
/* Compare bar — anchored to the LEFT edge as a vertical side popup (count +
   "Compare now" + cancel stacked), not the old bottom-centre pill. */
.ammn-wizard .compare-bar {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateX(-130%) translateY(-50%);
  background: var(--n900);
  color: var(--n0);
  padding: 18px 18px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  gap: 12px;
  width: 190px;
  box-shadow: var(--shadow-md);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

.ammn-wizard .compare-bar.visible {
  transform: translateX(0) translateY(-50%);
  opacity: 1;
  pointer-events: auto;
}

.ammn-wizard .compare-bar-count {
  align-self: center;
  background: var(--brand-blue-bg);
  padding: 4px 12px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 13px;
}

.ammn-wizard .compare-bar-btn {
  background: var(--brand-blue);
  border: none;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ammn-wizard .compare-bar-btn:hover:not(:disabled) {
  background: var(--brand-blue-hover, var(--brand-blue));
  transform: translateY(-1px);
}

.ammn-wizard .compare-bar-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ammn-wizard .compare-bar-cancel {
  background: none;
  border: none;
  color: color-mix(in srgb, var(--n0) 60%, transparent);
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s ease;
}

.ammn-wizard .compare-bar-cancel:hover {
  color: var(--n0);
}

/* Comprehensive nudge — one-time side-popup ad (Motor offers step). Anchored to
   the LEFT edge, in the upper zone so it never overlaps the centred compare bar.
   Colours use theme tokens (mirrors the compare bar's existing token usage). */
.ammn-wizard .offers-nudge {
  position: fixed;
  left: 24px;
  top: 96px;
  width: 240px;
  background: var(--n0);
  border: 1px solid var(--brand-blue-bg, var(--n100));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 18px 18px 16px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  animation: offers-nudge-in 0.35s ease both;
}

@keyframes offers-nudge-in {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}

.ammn-wizard .offers-nudge-close {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  width: 26px;
  height: 26px;
  border: none;
  background: var(--n50);
  border-radius: 8px;
  color: var(--n600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.ammn-wizard .offers-nudge-close:hover {
  background: var(--n100);
}

.ammn-wizard .offers-nudge-icon {
  color: var(--brand-blue);
  display: flex;
}

.ammn-wizard .offers-nudge-text {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--n900);
}

.ammn-wizard .offers-nudge-cta {
  align-self: stretch;
  background: var(--brand-blue);
  color: var(--n0);
  border: none;
  border-radius: 99px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ammn-wizard .offers-nudge-cta:hover {
  background: var(--brand-blue-hover, var(--brand-blue));
  transform: translateY(-1px);
}

/* On small screens both side popups drop to the bottom and span the width so
   they don't cover the offers list. */
@media (max-width: 768px) {
  .ammn-wizard .offers-nudge {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 96px;
    width: auto;
  }

  .ammn-wizard .compare-bar {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 16px;
    width: auto;
    transform: translateY(140%);
  }

  .ammn-wizard .compare-bar.visible {
    transform: translateY(0);
  }
}

/* Offers feedback survey — exit-intent panel (offers step). Anchored bottom-left,
   clear of the nudge (top-left) and compare bar (center-left) zones. Physical
   `left:` like the other side popups (kept on the left even in RTL); internals
   use logical properties so they mirror. Tokens only — no hardcoded colours. */
.ammn-wizard .offers-survey-pill {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-blue);
  color: var(--n0);
  border: none;
  border-radius: var(--radius-full);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  animation: offers-survey-in 0.35s ease both;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ammn-wizard .offers-survey-pill:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-2px);
}

@keyframes offers-survey-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ammn-wizard .offers-survey {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 340px;
  max-width: calc(100vw - 48px);
  box-sizing: border-box;
  background: var(--n0);
  border: 1px solid var(--n70);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px 20px 18px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: offers-survey-in 0.3s ease both;
}

.ammn-wizard .offers-survey-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 28px;
  height: 28px;
  border: none;
  background: var(--n60);
  border-radius: var(--radius-sm);
  color: var(--n400);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.ammn-wizard .offers-survey-close:hover {
  background: var(--n70);
  color: var(--n600);
}

.ammn-wizard .offers-survey-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-inline-end: 28px;
}

.ammn-wizard .offers-survey-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--brand-blue-bg);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ammn-wizard .offers-survey-headings {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ammn-wizard .offers-survey-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--n900);
}

.ammn-wizard .offers-survey-q {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--n300);
}

.ammn-wizard .offers-survey-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ammn-wizard .offers-survey-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--n50);
  border: 1px solid var(--n70);
  border-radius: var(--radius-full);
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--n700);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ammn-wizard .offers-survey-chip:hover {
  border-color: var(--brand-blue-border);
}

.ammn-wizard .offers-survey-chip.selected {
  background: var(--brand-blue-bg);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.ammn-wizard .offers-survey-chip-emoji {
  font-size: 14px;
  line-height: 1;
}

.ammn-wizard .offers-survey-comment-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--n400);
  margin-bottom: -6px;
}

.ammn-wizard .offers-survey-comment {
  width: 100%;
  box-sizing: border-box;
  resize: none;
  border: 1px solid var(--n70);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  color: var(--n900);
  background: var(--n0);
  transition: border-color 0.15s ease;
}

.ammn-wizard .offers-survey-comment:focus {
  outline: none;
  border-color: var(--brand-blue);
}

.ammn-wizard .offers-survey-comment::placeholder {
  color: var(--n100);
}

.ammn-wizard .offers-survey-csat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ammn-wizard .offers-survey-csat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--n400);
}

.ammn-wizard .offers-survey-stars {
  display: flex;
  gap: 4px;
}

.ammn-wizard .offers-survey-star {
  border: none;
  background: none;
  padding: 2px;
  cursor: pointer;
  color: var(--n100);
  transition: color 0.15s ease, transform 0.15s ease;
}

.ammn-wizard .offers-survey-star:hover {
  transform: scale(1.12);
}

.ammn-wizard .offers-survey-star.filled {
  color: var(--warning);
}

.ammn-wizard .offers-survey-help {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: var(--brand-blue-bg);
  border: 1px solid var(--brand-blue-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  transition: border-color 0.15s ease;
}

.ammn-wizard .offers-survey-help:hover {
  border-color: var(--brand-blue);
}

.ammn-wizard .offers-survey-help-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--n0);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ammn-wizard .offers-survey-help-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.ammn-wizard .offers-survey-help-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--n700);
}

.ammn-wizard .offers-survey-help-call {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-blue);
}

.ammn-wizard .offers-survey-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.ammn-wizard .offers-survey-skip {
  background: none;
  border: none;
  color: var(--n300);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 10px;
  transition: color 0.2s ease;
}

.ammn-wizard .offers-survey-skip:hover {
  color: var(--n600);
}

.ammn-wizard .offers-survey-submit {
  flex: 1;
  background: var(--brand-blue);
  color: var(--n0);
  border: none;
  border-radius: var(--radius-full);
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ammn-wizard .offers-survey-submit:hover:not(:disabled) {
  background: var(--brand-blue-hover);
  transform: translateY(-1px);
}

.ammn-wizard .offers-survey-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ammn-wizard .offers-survey-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 12px 4px 8px;
}

.ammn-wizard .offers-survey-thanks-icon {
  color: var(--success);
}

/* Mobile: full-width bottom sheet (the compare bar is suppressed while the
   survey shows, so they never share the bottom slot). */
@media (max-width: 768px) {
  .ammn-wizard .offers-survey-pill {
    left: 12px;
    bottom: 16px;
  }

  .ammn-wizard .offers-survey {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
  }
}

/* Compare drawer */
.ammn-wizard .compare-drawer-overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--n900) 40%, transparent);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ammn-wizard .compare-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.ammn-wizard .compare-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 900px;
  height: 100vh;
  background: var(--n0);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}

.ammn-wizard .compare-drawer.open {
  transform: translateX(0);
}

.ammn-wizard .compare-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--n100);
  flex-shrink: 0;
}

.ammn-wizard .compare-drawer-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--n900);
}

.ammn-wizard .compare-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: var(--n50);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--n600);
  transition: background 0.2s ease;
}

.ammn-wizard .compare-drawer-close:hover {
  background: var(--n100);
}

.ammn-wizard .compare-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}

/* AI recommendation appended at the end of the compare drawer (additive). */
.ammn-wizard .compare-ai-suggestion {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 25%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand-primary-bg) 8%, transparent);
}

.ammn-wizard .compare-ai-suggestion--loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-primary);
}

.ammn-wizard .compare-ai-suggestion__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--brand-primary);
}

.ammn-wizard .compare-ai-suggestion__text {
  margin: 0;
  line-height: 1.7;
  white-space: pre-line;
}

/* Card-based compare layout */
.ammn-wizard .compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.ammn-wizard .compare-card {
  background: var(--bg);
  border: 1.5px solid var(--n200, var(--n70));
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.ammn-wizard .compare-card:hover {
  border-color: var(--border);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--brand-green) 8%, transparent);
}

.ammn-wizard .compare-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: linear-gradient(135deg, var(--n50) 0%, var(--surface) 100%);
  border-bottom: 1.5px solid var(--n200);
}

.ammn-wizard .compare-card-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--bg);
  padding: 6px;
  border: 1px solid var(--n200);
}

.ammn-wizard .compare-card-title h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--n900);
}

.ammn-wizard .compare-card-label {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  background: color-mix(in srgb, var(--brand-green) 8%, transparent);
  color: var(--brand-blue);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.ammn-wizard .compare-card-price {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--n10);
}

.ammn-wizard .compare-price-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--n600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ammn-wizard .compare-price-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-blue);
}

.ammn-wizard .compare-card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--n700);
}

.ammn-wizard .compare-card-divider {
  height: 1px;
  background: var(--n200);
  margin: 0 20px;
}

.ammn-wizard .compare-card-features {
  padding: 20px;
}

.ammn-wizard .compare-feature-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--n600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.ammn-wizard .compare-feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--n100);
}

.ammn-wizard .compare-feature-row:last-child {
  border-bottom: none;
}

.ammn-wizard .compare-feature-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--n700);
}

.ammn-wizard .compare-icon-check,
.ammn-wizard .compare-icon-x {
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   20. QUOTES TABLE
   ---------------------------------------------------------- */

/* ----------------------------------------------------------
   21. QUOTE DETAILS
   ---------------------------------------------------------- */

/* ----------------------------------------------------------
   22. CHECKOUT
   ---------------------------------------------------------- */
.ammn-wizard .checkout-policy-card {
  margin-bottom: 20px;
}

.ammn-wizard .checkout-policy-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ammn-wizard .checkout-policy-company {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ammn-wizard .checkout-company-logo {
  width: 160px;
  height: 80px;
  border-radius: 12px;
  object-fit: contain;
  border: 1px solid var(--n100);
  padding: 4px;
  background: var(--n0);
}

.ammn-wizard .checkout-policy-company strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--n800);
}

.ammn-wizard .checkout-policy-type {
  font-size: 13px;
  color: var(--n500);
  margin-top: 2px;
  display: block;
}

.ammn-wizard .checkout-policy-details {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0;
  border: 1px solid var(--n100);
  border-radius: 12px;
  overflow: hidden;
}

.ammn-wizard .checkout-policy-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 16px;
  background: var(--n50);
}

.ammn-wizard .checkout-policy-item:not(:last-child) {
  border-right: 1px solid var(--n100);
}

.ammn-wizard .checkout-policy-item svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.ammn-wizard .checkout-policy-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ammn-wizard .checkout-policy-item span {
  font-size: 11px;
  color: var(--n500);
  line-height: 1;
}

.ammn-wizard .checkout-policy-item strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--n800);
}

/* Installment view */

/* SADAD view */

/* Promo */

.ammn-wizard .summary-rows {
  display: flex;
  flex-direction: column;
}

.ammn-wizard .sum-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-weight: 400;
  font-size: 14px;
  color: var(--n600);
}

.ammn-wizard .sum-row--subtotal {
  font-weight: 600;
  color: var(--n800);
}

.ammn-wizard .sum-row--discount {
  font-size: 13px;
}

.ammn-wizard .sum-row--total {
  font-weight: 700;
  font-size: 18px;
  color: var(--n900);
  padding: 6px 0 4px;
}

.ammn-wizard .sum-row--total span:last-child {
  color: var(--brand-primary);
}

.ammn-wizard .sum-row--installment {
  font-size: 13px;
  color: var(--n500);
  padding: 0;
}

/* Lock before a line the customer cannot change (Roadside Assistance) */
.ammn-wizard .sum-row__lock {
  vertical-align: -3px;
  margin-inline-end: 6px;
}

/* The package's own terms, opened in a new tab from the Roadside Assistance row */
.ammn-wizard .sum-row__terms-link {
  margin-inline-start: 6px;
  font-size: 12px;
  color: var(--brand-primary);
  text-decoration: underline;
  white-space: nowrap;
}

/* Groups — separated by a solid thin border */
.ammn-wizard .sum-group {
  padding: 6px 0;
  border-bottom: 1px solid var(--n50);
}

.ammn-wizard .sum-group:last-child {
  border-bottom: none;
}

.ammn-wizard .sum-group--total {
  border-bottom: none;
  margin-top: 4px;
  padding: 10px 0 0;
  border-top: 2px solid var(--n100);
}

/* Payment chips */

/* Upload section */

.ammn-wizard .link-blue {
  color: var(--brand-blue);
  text-decoration: underline;
}

/* Personal details card */

.ammn-wizard .personal-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.ammn-wizard .personal-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--n30);
  border-radius: 10px;
  background: var(--n0);
  overflow: hidden;
  transition: border-color 0.2s;
}

.ammn-wizard .personal-input-wrap:focus-within {
  border-color: var(--page-accent);
  box-shadow: var(--shadow-sm);
}

.ammn-wizard .personal-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1.5px solid var(--n30);
  border-radius: 10px;
  background: var(--n0);
  color: var(--n800);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.ammn-wizard .personal-input:focus {
  border-color: var(--page-accent);
  box-shadow: var(--shadow-sm);
}

.ammn-wizard .personal-input::placeholder {
  color: var(--n300);
}

.ammn-wizard .personal-input[readonly] {
  background: var(--n10);
  color: var(--n500);
  cursor: default;
}

.ammn-wizard .personal-input-wrap .personal-input {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.ammn-wizard .personal-input-wrap .personal-input:focus {
  box-shadow: none;
}

/* ── Active-policy decision modal ──────────────────────────────────── */
.ammn-wizard .apd-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
}

.ammn-wizard .apd-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}

.ammn-wizard .apd-modal__card {
  position: relative;
  pointer-events: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ammn-wizard .apd-modal__close {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  display: flex;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.ammn-wizard .apd-modal__close:hover {
  color: var(--text);
}

.ammn-wizard .apd-modal__title {
  margin: 0 0 16px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  padding-inline-end: 28px;
}

.ammn-wizard .apd-policy {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: var(--brand-primary-bg);
  margin-bottom: 18px;
}

.ammn-wizard .apd-policy__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.ammn-wizard .apd-policy__number {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.ammn-wizard .apd-policy__badge {
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: color-mix(in srgb, var(--brand-primary) 12%, transparent);
  color: var(--brand-primary);
}

.ammn-wizard .apd-policy__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.ammn-wizard .apd-policy__dates {
  font-size: 0.9rem;
  color: var(--text);
}

.ammn-wizard .apd-policy__expiry {
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--warning, var(--brand-primary));
}

.ammn-wizard .apd-modal__prompt {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ammn-wizard .apd-choices {
  display: flex;
  gap: 12px;
}

.ammn-wizard .apd-choice {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: start;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ammn-wizard .apd-choice:hover {
  border-color: var(--brand-primary);
  background: var(--brand-primary-bg);
}

.ammn-wizard .apd-choice--accent {
  border-color: color-mix(in srgb, var(--brand-primary) 35%, transparent);
}

.ammn-wizard .apd-choice__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.ammn-wizard .apd-choice__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.ammn-wizard .apd-modal__actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 560px) {
  .ammn-wizard .apd-choices {
    flex-direction: column;
  }
}

/* ── Endorsement members page ──────────────────────────────────────── */
.ammn-wizard .endo-page .container { max-width: 1000px; }

.ammn-wizard .endo-head { margin-bottom: 18px; }
.ammn-wizard .endo-head__title { font-size: 1.4rem; font-weight: 700; color: var(--text); margin: 0 0 4px; }
.ammn-wizard .endo-head__sub { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

.ammn-wizard .endo-policy {
  display: flex; align-items: center; gap: 18px;
  background: var(--n0); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px 20px; margin-bottom: 16px;
}
.ammn-wizard .endo-policy__shield {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--page-accent) 10%, var(--n0));
}
.ammn-wizard .endo-policy__shield svg { width: 23px; height: 23px; stroke: var(--page-accent); }
.ammn-wizard .endo-policy__main { flex: 1; }
.ammn-wizard .endo-policy__no { font-size: 1rem; font-weight: 700; color: var(--text); }
.ammn-wizard .endo-policy__meta { font-size: 0.85rem; color: var(--text-muted); margin-top: 2px; }
.ammn-wizard .endo-badge-active {
  font-size: 0.72rem; font-weight: 600; padding: 4px 11px; border-radius: 20px;
  background: color-mix(in srgb, var(--page-accent) 12%, var(--n0)); color: var(--page-accent-dark);
}
.ammn-wizard .endo-policy__term { text-align: end; }
.ammn-wizard .endo-policy__lbl { font-size: 0.65rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; color: var(--n80); }
.ammn-wizard .endo-policy__val { font-size: 0.83rem; font-weight: 600; color: var(--text); margin-top: 1px; }

.ammn-wizard .endo-section { margin-bottom: 18px; }
.ammn-wizard .endo-section__head { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; padding: 0 2px; }
.ammn-wizard .endo-section__title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text); }
.ammn-wizard .endo-pill { background: var(--n30); color: var(--text-muted); font-weight: 700; font-size: 0.7rem; padding: 2px 9px; border-radius: 20px; }
.ammn-wizard .endo-search { display: flex; align-items: center; gap: 7px; border: 1px solid var(--border); background: var(--n0); border-radius: var(--radius-sm); padding: 6px 11px; width: 240px; margin-inline-start: auto; }
.ammn-wizard .endo-search svg { width: 14px; height: 14px; stroke: var(--n80); }
.ammn-wizard .endo-search input { border: 0; outline: 0; font-size: 0.82rem; width: 100%; background: transparent; color: var(--text); }
.ammn-wizard .endo-lock { display: flex; align-items: center; gap: 5px; font-size: 0.73rem; font-weight: 600; color: var(--n80); }
.ammn-wizard .endo-lock svg { width: 13px; height: 13px; }

.ammn-wizard .endo-card { background: var(--n0); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.ammn-wizard .endo-card--locked { background: var(--n10); }
.ammn-wizard .endo-loading, .ammn-wizard .endo-empty { padding: 28px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }

.ammn-wizard .endo-row { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--border); }
.ammn-wizard .endo-row:last-child { border-bottom: 0; }
.ammn-wizard .endo-row--dep { padding-inline-start: 44px; }
.ammn-wizard .endo-row--depnew { padding-inline-start: 44px; background: color-mix(in srgb, var(--page-accent) 4%, var(--n0)); }
.ammn-wizard .endo-tree { width: 14px; height: 14px; stroke: var(--n80); flex-shrink: 0; }
.ammn-wizard .endo-star { width: 15px; height: 15px; fill: var(--page-accent); flex-shrink: 0; }
.ammn-wizard .endo-who { flex: 1; min-width: 0; }
.ammn-wizard .endo-nm { font-weight: 600; font-size: 0.88rem; color: var(--text); }
.ammn-wizard .endo-id { font-size: 0.73rem; color: var(--n80); }
.ammn-wizard .endo-under { font-size: 0.74rem; color: var(--text-muted); }
.ammn-wizard .endo-rel { width: 90px; font-size: 0.8rem; color: var(--text-muted); }
.ammn-wizard .endo-acts { display: flex; align-items: center; gap: 8px; }

.ammn-wizard .endo-tag-new {
  font-size: 0.58rem; font-weight: 800; letter-spacing: .04em; padding: 2px 6px; border-radius: 4px;
  background: color-mix(in srgb, var(--page-accent) 12%, var(--n0)); color: var(--page-accent-dark);
  margin-inline-start: 6px; vertical-align: middle;
}
.ammn-wizard .endo-declared { font-size: 0.68rem; font-weight: 600; color: var(--page-accent-dark); margin-inline-start: 6px; }
.ammn-wizard .endo-declared svg { width: 11px; height: 11px; stroke: var(--page-accent); vertical-align: -1px; }
.ammn-wizard .endo-verify { font-size: 0.72rem; }
.ammn-wizard .endo-verify--ok { color: var(--page-accent-dark); }
.ammn-wizard .endo-verify--load { color: var(--text-muted); }
.ammn-wizard .endo-verify--fail { color: var(--error); }

.ammn-wizard .endo-btn-ghost {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  border: 1px solid var(--border); background: var(--n0); color: var(--page-accent);
  font-weight: 600; font-size: 0.76rem; padding: 6px 12px; border-radius: var(--radius-sm); cursor: pointer;
}
.ammn-wizard .endo-btn-ghost svg { width: 13px; height: 13px; }
.ammn-wizard .endo-icon {
  width: 30px; height: 30px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; background: var(--n0); cursor: pointer;
}
.ammn-wizard .endo-icon svg { width: 14px; height: 14px; stroke: var(--text-muted); }
.ammn-wizard .endo-icon--declare svg { stroke: var(--page-accent); }
.ammn-wizard .endo-frozen {
  width: 30px; height: 30px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; background: var(--n10); cursor: not-allowed;
}
.ammn-wizard .endo-frozen svg { width: 14px; height: 14px; stroke: var(--n200); }

.ammn-wizard .endo-addform { background: color-mix(in srgb, var(--page-accent) 7%, var(--n0)); border-bottom: 1px solid var(--border); padding: 13px 18px 13px 44px; }
.ammn-wizard .endo-addform__title { font-size: 0.76rem; font-weight: 700; color: var(--page-accent-dark); margin-bottom: 9px; display: flex; align-items: center; gap: 6px; }
.ammn-wizard .endo-addform__title svg { width: 13px; height: 13px; }
.ammn-wizard .endo-addform__fields { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ammn-wizard .endo-addform__hint { font-size: 0.7rem; color: var(--page-accent-dark); opacity: .85; margin: 8px 0 0; }
.ammn-wizard .endo-addrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 13px 18px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--page-accent) 7%, var(--n0)); }
.ammn-wizard .endo-addrow__lead { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 0.76rem; color: var(--page-accent-dark); white-space: nowrap; }
.ammn-wizard .endo-addrow__lead svg { width: 13px; height: 13px; }

.ammn-wizard .endo-fld { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 11px; font-size: 0.82rem; background: var(--n0); color: var(--text); }
.ammn-wizard .endo-fld--id { width: 230px; }
.ammn-wizard .endo-fld--emp { flex: 1; min-width: 170px; max-width: 200px; }
.ammn-wizard .endo-fld--phone { width: 135px; }
.ammn-wizard .endo-fld--date { width: 150px; }
.ammn-wizard .endo-fld--reason { width: 180px; }

.ammn-wizard .endo-btn-primary { background: var(--page-accent); color: var(--n0); border: 0; font-weight: 600; font-size: 0.82rem; padding: 8px 16px; border-radius: var(--radius-sm); cursor: pointer; white-space: nowrap; }
.ammn-wizard .endo-btn-primary:hover { background: var(--page-accent-dark); }
.ammn-wizard .endo-btn-text { background: none; border: 0; color: var(--text-muted); font-weight: 600; font-size: 0.82rem; cursor: pointer; }

.ammn-wizard .endo-footrow { display: flex; gap: 10px; padding: 13px 18px; }
.ammn-wizard .endo-btn-add { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border); background: var(--n0); color: var(--text-muted); font-weight: 600; font-size: 0.8rem; padding: 8px 14px; border-radius: var(--radius-sm); cursor: pointer; }
.ammn-wizard .endo-btn-add svg { width: 14px; height: 14px; stroke: var(--text-muted); }

.ammn-wizard .endo-hint { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; color: var(--n80); margin: 8px 2px 0; }
.ammn-wizard .endo-hint svg { width: 12px; height: 12px; stroke: var(--n80); flex-shrink: 0; }
.ammn-wizard .endo-fielderr { color: var(--error); font-size: 0.78rem; margin: 4px 0; }
.ammn-wizard .endo-fielderr--row { padding: 10px 18px 0; }
.ammn-wizard .endo-fileinput { display: none; }
.ammn-wizard .endo-footrow__spacer { flex: 1; }
.ammn-wizard .endo-upload-result { padding: 0 18px 14px; }
.ammn-wizard .endo-upload-ok { font-size: 0.8rem; color: var(--page-accent-dark); margin: 4px 0; }
.ammn-wizard .endo-upload-rowerr { font-size: 0.75rem; color: var(--error); margin: 2px 0; }

/* Inline Saudi birth-year picker — sits on the same row, right after the id input */
.ammn-wizard .emp-add-idcell { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ammn-wizard .seamless-input--id { flex: 0 1 130px; min-width: 0; }

/* Compact year-only picker (IbsBirthYearMonth YearOnly + ibs-birth-ym--compact) */
.ammn-wizard .ibs-birth-ym--compact { flex: 0 0 150px; min-width: 0; gap: 0; }
.ammn-wizard .emp-add-idcell .ibs-birth-ym--compact { flex: 1 1 auto; }
.ammn-wizard .ibs-birth-ym--compact .ibs-ddl { margin-top: 0; }
.ammn-wizard .ibs-birth-ym--compact .ibs-ddl__label { display: none; }
.ammn-wizard .ibs-birth-ym--compact .ibs-ddl__trigger { height: 34px; padding: 4px 12px; }
.ammn-wizard .ibs-birth-ym--compact .ibs-ddl__value { font-size: 13px; }
.ammn-wizard .ibs-birth-ym--compact .ibs-ddl__menu { z-index: 700; }
.ammn-wizard .ibs-birth-ym--compact .ibs-ddl__overlay { z-index: 699; }
.ammn-wizard .ibs-birth-ym--compact .ibs-birth-ym__hint { display: none; }

.ammn-wizard .wizard-terms {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.ammn-wizard .wizard-terms__text {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

.ammn-wizard .wizard-terms__link {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-inline-start: 4px;
}

.ammn-wizard .wizard-terms__link:hover {
  color: var(--brand-primary-hover);
}

/* IbsCheckBox carries margin-top: 16px globally (it expects to sit under
   form inputs). Inside the T&C row it breaks vertical centering — reset. */
.ammn-wizard .wizard-terms .ibs-chk {
  margin-top: 0;
}

.ammn-wizard .field-error {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--error);
  background: color-mix(in srgb, var(--error) 8%, transparent);
  border-inline-start: 3px solid var(--error);
  border-radius: 4px;
  margin-top: 8px;
  padding: 8px 12px;
}

.ammn-wizard .field-error--dep {
  padding: 0 16px 8px 48px;
}

.ammn-wizard .field-error--row {
  padding: 0 16px 8px;
}

.ammn-wizard .field-error::before {
  content: "\26A0";
  font-size: 1rem;
  flex-shrink: 0;
}

/* Info button & popup */

/* Inline Check/Validation Button inside input */

/* --- Help Button (inline with input row) --- */

/* ----------------------------------------------------------
   25. ANIMATIONS
   ---------------------------------------------------------- */
@keyframes pulseRing {
  0% {
    transform: scale(0.85);
    opacity: 0.6;
  }

  50% {
    transform: scale(1);
    opacity: 0.3;
  }

  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

@keyframes expandGlow {
  0% {
    box-shadow: var(--shadow-sm);
  }

  50% {
    box-shadow: var(--shadow-md);
  }

  100% {
    box-shadow: var(--shadow-sm);
  }
}

.ammn-wizard .stagger>*:nth-child(1) {
  animation-delay: 0ms;
}

.ammn-wizard .stagger>*:nth-child(2) {
  animation-delay: 60ms;
}

.ammn-wizard .stagger>*:nth-child(3) {
  animation-delay: 120ms;
}

.ammn-wizard .stagger>*:nth-child(4) {
  animation-delay: 180ms;
}

.ammn-wizard .stagger>*:nth-child(5) {
  animation-delay: 240ms;
}

.ammn-wizard .stagger>*:nth-child(6) {
  animation-delay: 300ms;
}

.ammn-wizard .stagger>*:nth-child(7) {
  animation-delay: 360ms;
}

.ammn-wizard .stagger>*:nth-child(8) {
  animation-delay: 420ms;
}

.ammn-wizard .stagger>*:nth-child(9) {
  animation-delay: 480ms;
}

.ammn-wizard .stagger>*:nth-child(10) {
  animation-delay: 540ms;
}

.ammn-wizard .stagger>* {
  animation: fadeInUp 0.4s ease both;
}

/* ==========================================================
   27. PER-PAGE ACCENT THEMES
   ========================================================== */

.ammn-wizard .card-accent {
  border-top: 3px solid var(--page-accent);
  overflow: visible;
}

.ammn-wizard .page .btn-primary:not(.btn-green) {
    background: var(--brand-green-gradient) !important;
    box-shadow: var(--shadow-md);
    height: 42.4px !important;
}

.ammn-wizard .page .btn-primary:not(.btn-green):hover {
  filter: brightness(0.9);
  box-shadow: var(--shadow-lg);
}

.ammn-wizard .page .tab.active {
  color: var(--page-accent);
}

.ammn-wizard .page .btn-outline {
  color: var(--page-accent);
  border-color: var(--page-accent);
}

.ammn-wizard .page .btn-outline:hover {
  background: color-mix(in srgb, var(--surface) 6%, transparent);
}

/* ==========================================================
   28. PAGE BANNERS
   ========================================================== */
.ammn-wizard .page-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.ammn-wizard .page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.ammn-wizard .banner-blue {
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-green) 8%, transparent) 0%, color-mix(in srgb, var(--brand-green) 4%, transparent) 100%);
  border: 1px solid color-mix(in srgb, var(--brand-green) 12%, transparent);
}

.ammn-wizard .banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-lighter));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.ammn-wizard .banner-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(10);
}

.ammn-wizard .banner-text {
  flex: 1;
}

.ammn-wizard .banner-text h1 {
  font-weight: 600;
  font-size: 26px;
  color: var(--n900);
  line-height: 1.3;
}

.ammn-wizard .banner-text p {
  font-weight: 400;
  font-size: 14px;
  color: var(--n400);
  margin-top: 4px;
}

.ammn-wizard .banner-step {
  font-weight: 500;
  font-size: 13px;
  color: var(--page-accent);
  background: color-mix(in srgb, var(--surface) 8%, transparent);
  padding: 6px 14px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================
   29. INFO TIPS
   ========================================================== */

/* ==========================================================
   30. CARD TITLES
   ========================================================== */
.ammn-wizard .card-title {
  font-weight: 600;
  font-size: 18px;
  color: var(--n800);
}

/* ==========================================================
   31. SECTION HEADINGS
   ========================================================== */

/* 31a. Segmented bar */

/* 31b. Saudi driver license card */
.ammn-wizard .drivers-row {
  display: flex;
  gap: 22px;
}

.ammn-wizard .saudi-license {
  width: 350px;
  height: 129px;
  border-radius: 10px;
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--n0);
  border: 1px solid var(--n200);
  transition: all 0.25s ease;
  flex-shrink: 0;
  cursor: pointer;
}

.ammn-wizard .saudi-license.active-license {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-green) 10%, transparent);
}

.ammn-wizard .saudi-license:hover {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-green) 10%, transparent);
}

.ammn-wizard .license-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ammn-wizard .license-badge {
  font-weight: 500;
  font-size: 16px;
  color: var(--n600);
}

.ammn-wizard .license-id {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 13px;
  color: var(--n600);
  letter-spacing: -0.02em;
}

.ammn-wizard .license-kingdom {
  font-size: 10px;
  font-weight: 400;
  color: var(--n300);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.ammn-wizard .license-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.ammn-wizard .license-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ammn-wizard .license-lbl {
  font-weight: 400;
  font-size: 12px;
  color: var(--n600);
}

.ammn-wizard .license-val {
  font-weight: 500;
  font-size: 14px;
  color: var(--brand-blue);
}

.ammn-wizard .license-val strong {
  font-weight: 500;
  font-size: 16px;
  color: var(--n800);
}

.ammn-wizard .license-val small {
  font-weight: 400;
  font-size: 10px;
  color: var(--n300);
  letter-spacing: 0.5px;
}

.ammn-wizard .add-driver-card {
  width: 350px;
  height: 129px;
  border-radius: 10px;
  border: 1px dashed var(--brand-green);
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ammn-wizard .add-driver-card span {
  font-weight: 400;
  font-size: 14px;
  color: var(--n800);
}

.ammn-wizard .add-driver-card:hover {
  background: color-mix(in srgb, var(--brand-green) 4%, transparent);
  border-color: var(--brand-green);
}

/* 31b-2. My Vehicles tab */
.ammn-wizard .my-vehicles__hint {
  font-size: 14px;
  color: var(--n400);
  margin: 0 0 16px;
}

.ammn-wizard .my-vehicles__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ammn-wizard .vehicle-card {
  width: 320px;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--n0);
  border: 1.5px solid var(--n200);
  transition: all 0.25s ease;
  cursor: pointer;
}

.ammn-wizard .vehicle-card:hover {
  border-color: var(--brand-primary, var(--brand-primary));
  box-shadow: var(--shadow-lg);
}

.ammn-wizard .vehicle-card--selected {
  border-color: var(--brand-primary, var(--brand-primary));
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--surface) 0%, color-mix(in srgb, var(--brand-green-lighter) 4%, transparent) 100%);
}

.ammn-wizard .vehicle-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ammn-wizard .vehicle-card__badge {
  font-weight: 600;
  font-size: 15px;
  color: var(--n800);
}

.ammn-wizard .vehicle-card__year {
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-primary, var(--brand-primary));
  background: color-mix(in srgb, var(--brand-primary-bg, var(--brand-primary-lighter)) 8%, transparent);
  padding: 2px 10px;
  border-radius: 20px;
}

.ammn-wizard .vehicle-card__plate {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 18px;
  font-weight: 600;
  color: var(--n900);
  letter-spacing: 1px;
  padding: 6px 0;
  border-bottom: 1px solid var(--n100);
}

.ammn-wizard .vehicle-card__info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.ammn-wizard .vehicle-card__field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ammn-wizard .vehicle-card__lbl {
  font-size: 11px;
  font-weight: 400;
  color: var(--n400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ammn-wizard .vehicle-card__val {
  font-size: 13px;
  font-weight: 500;
  color: var(--n700);
}

.ammn-wizard .vehicle-card__val--mono {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 11px;
  letter-spacing: -0.02em;
}

.ammn-wizard .vehicle-card__check {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
}

/* Policy summary */
.ammn-wizard .policy-summary {
  background: var(--n0);
  border: 1px solid var(--n40);
  border-radius: 16px;
  padding: 24px;
}

.ammn-wizard .policy-summary-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--n900);
  margin-bottom: 18px;
}

.ammn-wizard .policy-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ammn-wizard .policy-summary-box {
  background: var(--n20);
  border: 1px solid var(--n40);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ammn-wizard .psb-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--n500);
}

.ammn-wizard .psb-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ammn-wizard .psb-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--n0);
  border: 1px solid var(--n100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ammn-wizard .psb-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ammn-wizard .psb-info strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--n900);
}

.ammn-wizard .psb-info span {
  font-size: 13px;
  color: var(--n500);
}

.ammn-wizard .psb-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--n600);
}

.ammn-wizard .psb-detail strong {
  color: var(--n800);
}

/* ==========================================================
   32. FILTER BAR
   ========================================================== */
.ammn-wizard .filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: var(--n0);
  border: 0.5px solid var(--n30);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}

.ammn-wizard .filter-tabs {
  display: flex;
  gap: 4px;
}

.ammn-wizard .filter-tab {
  padding: 8px 16px;
  font-weight: 400;
  font-size: 14px;
  color: var(--n400);
  border-radius: 8px;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all 0.2s ease;
}

.ammn-wizard .filter-tab:hover {
  color: var(--n700);
  background: var(--n10);
}

.ammn-wizard .filter-tab.active {
  font-weight: 500;
  color: var(--page-accent);
  background: color-mix(in srgb, var(--page-accent) 8%, transparent);
}

.ammn-wizard .filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ammn-wizard .filter-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ammn-wizard .sort-label {
  font-weight: 400;
  font-size: 13px;
  color: var(--n400);
}

.ammn-wizard .sort-dropdown {
  position: relative;
  z-index: 60;
}

.ammn-wizard .sort-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--n0);
  border: 1px solid var(--n40);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--n800);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ammn-wizard .sort-dropdown-btn:hover {
  border-color: var(--n80);
}

.ammn-wizard .sort-dropdown-btn .dd-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.ammn-wizard .sort-dropdown.open .sort-dropdown-btn {
  border-color: var(--brand-blue-border);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-green) 10%, transparent);
}

.ammn-wizard .sort-dropdown.open .dd-arrow {
  transform: rotate(180deg);
}

.ammn-wizard .sort-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  inset-inline-end: 0;
  min-width: 180px;
  background: var(--n0);
  border: 1px solid var(--n30);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  padding: 6px;
  overflow: hidden;
}

.ammn-wizard .sort-dropdown.open .sort-dropdown-menu {
  display: block;
}

.ammn-wizard .sort-option {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 400;
  color: var(--n700);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}

.ammn-wizard .sort-option:hover {
  background: var(--n20);
}

.ammn-wizard .sort-option.active {
  font-weight: 500;
  color: var(--brand-blue);
  background: color-mix(in srgb, var(--brand-green) 6%, transparent);
}

.ammn-wizard .btn-compare {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--n200);
  border-radius: 8px;
  background: var(--n0);
  color: var(--n700);
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ammn-wizard .btn-compare:hover {
  border-color: var(--brand-blue-border);
  color: var(--brand-blue);
  background: var(--surface);
}

.ammn-wizard .btn-compare.active {
  background: var(--brand-blue-bg);
  border-color: var(--brand-blue-border);
  color: var(--n0);
}

/* ==========================================================
   34. STATS ROW
   ========================================================== */

.ammn-wizard .stat-card {
  background: var(--n0);
  border: 0.5px solid var(--n30);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ammn-wizard .stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================
   35. ENHANCED QUOTES TABLE
   ========================================================== */

/* ==========================================================
   36. DETAIL LAYOUT
   ========================================================== */

.ammn-wizard .coverage-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ammn-wizard .coverage-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  background: var(--n10);
  transition: background 0.2s ease;
}

.ammn-wizard .coverage-item:hover {
  background: var(--n20);
}

.ammn-wizard .coverage-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ammn-wizard .coverage-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ammn-wizard .coverage-text strong {
  font-weight: 500;
  font-size: 15px;
  color: var(--n800);
}

.ammn-wizard .coverage-text span {
  font-weight: 400;
  font-size: 13px;
  color: var(--n400);
  line-height: 1.4;
}

.ammn-wizard .text-green {
  color: var(--brand-primary-light) !important;
}

/* ==========================================================
   37. SECURITY BADGE
   ========================================================== */
.ammn-wizard .security-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 400;
  font-size: 13px;
  color: var(--brand-primary-light);
}

.ammn-wizard .security-badge svg {
  flex-shrink: 0;
}

/* Error messages */

/* ==========================================================
   27. MEDICAL WIZARD — Employee Management
   ========================================================== */

/* Medical wizard pages */

/* Employee counter badge */
.ammn-wizard .emp-counter {
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  white-space: nowrap;
  background: var(--surface);
  color: var(--brand-primary-light);
  transition: background .2s, color .2s;
}

.ammn-wizard .emp-counter.incomplete {
  background: var(--surface);
  color: var(--amber);
}

/* Section title inside employee card */
.ammn-wizard .emp-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--n800, var(--n800));
  margin: 0 0 16px;
}

/* Header row: title + Add Employee button */
.ammn-wizard .emp-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ammn-wizard .emp-header-row .emp-section-title {
  margin: 0;
}

/* Employee table */
.ammn-wizard .emp-table {
  margin-top: 24px;
  border: 1px solid var(--n200, var(--n70));
  border-radius: 12px;
  /* visible (not hidden) so the inline year-picker dropdown can overflow the table */
  overflow: visible;
}

.ammn-wizard .emp-table-header {
  display: grid;
  grid-template-columns: 44px 2fr 1.4fr 240px 50px 90px 120px;
  gap: 8px;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--n400, var(--footer-muted));
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--n50, var(--n50));
  border-bottom: 1px solid var(--n200, var(--n70));
  border-radius: 12px 12px 0 0;
}

.ammn-wizard .emp-table-header>div {
  display: flex;
  align-items: center;
}

.ammn-wizard .emp-table-header>div:nth-child(4),
.ammn-wizard .emp-table-header>div:nth-child(5),
.ammn-wizard .emp-table-header>div:nth-child(6),
.ammn-wizard .emp-table-header>div:nth-child(7) {
  justify-content: center;
}

.ammn-wizard .emp-table-row {
  display: grid;
  grid-template-columns: 44px 2fr 1.4fr 240px 50px 90px 120px;
  gap: 8px;
  align-items: center;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--n700, var(--n700));
  border-bottom: 1px solid var(--n100, var(--n60));
  transition: background .15s;
}

.ammn-wizard .emp-table-row:last-child {
  border-bottom: none;
}

.ammn-wizard .emp-table-row:hover {
  background: color-mix(in srgb, var(--brand-blue) 2%, transparent);
}

.ammn-wizard .emp-row-check {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ammn-wizard .emp-row-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ammn-wizard .emp-row-name strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--n800, var(--n800));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ammn-wizard .emp-row-id {
  font-size: 12px;
  color: var(--n400, var(--footer-muted));
  margin-top: 2px;
}

/* Expandable row wrapper */
.ammn-wizard .emp-row-wrap {
  border-bottom: 1px solid var(--n100, var(--n60));
}

.ammn-wizard .emp-row-wrap:last-child {
  border-bottom: none;
}

.ammn-wizard .emp-row-wrap .emp-table-row {
  border-bottom: none;
}

/* Chevron expand/collapse button */
.ammn-wizard .emp-chevron {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--n400, var(--footer-muted));
  transition: transform .2s, color .15s, background .15s;
}

.ammn-wizard .emp-chevron:hover {
  background: var(--n100, var(--n60));
  color: var(--n600, var(--n600));
}

[dir="rtl"] .ammn-wizard .emp-chevron {
  transform: rotate(180deg);
}

.ammn-wizard .emp-chevron.open {
  transform: rotate(90deg);
  color: var(--brand-blue);
}

/* Dependent section container */
.ammn-wizard .emp-dep-section {
  background: var(--n50);
  border-top: 1px solid var(--n100, var(--n60));
  padding-inline-start: 24px;
  border-inline-start: 3px solid color-mix(in srgb, var(--brand-blue) 25%, transparent);
}

/* Dependent row */
.ammn-wizard .emp-dep-row {
  display: grid;
  grid-template-columns: 44px 2fr 1.4fr 240px 50px 90px 120px;
  gap: 8px;
  align-items: center;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--n600, var(--n600));
  border-bottom: 1px solid var(--n100, var(--n60));
}

.ammn-wizard .emp-dep-row:last-child {
  border-bottom: none;
}

/* Add-dependent form row */
.ammn-wizard .emp-dep-add-row {
  display: grid;
  grid-template-columns: 44px 2fr 1.4fr 240px 50px 90px 120px;
  gap: 8px;
  align-items: center;
  padding: 8px 16px 12px;
  font-size: 13px;
}

/* Inline add-employee row at bottom of table */
.ammn-wizard .emp-add-row {
  border-top: 2px dashed var(--n200, var(--n100));
  border-bottom: none;
  background: color-mix(in srgb, var(--brand-blue) 3%, transparent);
  border-radius: 0 0 12px 12px;
}

/* Tree connector icon cell */
.ammn-wizard .cell-tree {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 8px;
}

/* Seamless inline-edit input */
.ammn-wizard .seamless-input {
  width: 100%;
  padding: 6px 10px;
  border: 1.5px solid var(--brand-blue-border, var(--brand-blue));
  border-radius: 8px;
  font-size: 13px;
  text-align: start;
  color: var(--n800, var(--n800));
  background: var(--bg);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.ammn-wizard .seamless-input:focus {
  box-shadow: var(--shadow-md);
}

.ammn-wizard select.seamless-input {
  appearance: auto;
  cursor: pointer;
}

/* Action button (32x32 icon button) */
.ammn-wizard .emp-action-btn {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--n200, var(--n70));
  background: var(--bg);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--n500, var(--text-muted));
  transition: all .15s;
}

.ammn-wizard .emp-action-btn:hover {
  border-color: var(--n300, var(--n70));
  color: var(--n700, var(--n700));
  background: var(--n50, var(--n50));
}

.ammn-wizard .emp-action-btn.active {
  border-color: var(--brand-blue-border, var(--brand-blue));
  color: var(--brand-blue);
  background: color-mix(in srgb, var(--brand-blue-bg, var(--brand-blue)) 6%, transparent);
}

.ammn-wizard .emp-action-btn.active:hover {
  background: color-mix(in srgb, var(--brand-blue) 12%, transparent);
}

.ammn-wizard .emp-action-btn.success {
  width: auto;
  padding: 4px 10px;
  gap: 4px;
  border-color: var(--brand-primary-lighter);
  color: var(--brand-primary-light);
  background: var(--brand-primary-bg, var(--surface));
}

.ammn-wizard .emp-action-btn[disabled] {
  cursor: default;
  opacity: .6;
}

.ammn-wizard .emp-action-btn[disabled]:hover {
  border-color: var(--n200, var(--n70));
  color: var(--n500, var(--text-muted));
  background: var(--bg);
}

.ammn-wizard .emp-action-btn.success[disabled] {
  opacity: 1;
}

.ammn-wizard .emp-action-btn.success[disabled]:hover {
  border-color: var(--brand-primary-lighter);
  color: var(--brand-primary-light);
  background: var(--brand-primary-bg, var(--surface));
}

/* Birth month/year cell — hidden for now
.ammn-wizard .emp-birth-cell {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ammn-wizard .emp-birth-cell select { flex: 1; min-width: 0; }
.ammn-wizard .emp-birth-cell input[type="number"] { flex: 1; min-width: 0; }
*/

/* Actions cell layout */
.ammn-wizard .emp-actions-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Empty state */
.ammn-wizard .emp-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.ammn-wizard .emp-empty-state p {
  margin: 12px 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--n500, var(--text-muted));
}

.ammn-wizard .emp-empty-state span {
  font-size: 13px;
  color: var(--n400, var(--footer-muted));
}

/* Class badge */
.ammn-wizard .class-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  background: var(--n100, var(--n60));
  color: var(--n600, var(--n600));
  text-align: center;
  letter-spacing: .03em;
}

/* Per-class color token setters — shared by badge + button */
.ammn-wizard .class-btn--basic,
.ammn-wizard .class-badge--basic { --_cls: var(--class-basic); --_cls-bg: var(--class-basic-bg); }

.ammn-wizard .class-btn--c,
.ammn-wizard .class-badge--c     { --_cls: var(--class-c);     --_cls-bg: var(--class-c-bg); }

.ammn-wizard .class-btn--b,
.ammn-wizard .class-badge--b     { --_cls: var(--class-b);     --_cls-bg: var(--class-b-bg); }

.ammn-wizard .class-btn--a,
.ammn-wizard .class-badge--a     { --_cls: var(--class-a);     --_cls-bg: var(--class-a-bg); }

.ammn-wizard .class-btn--vib,
.ammn-wizard .class-badge--vib   { --_cls: var(--class-vib);   --_cls-bg: var(--class-vib-bg); }

/* Consumer: colored class badge */
.ammn-wizard .class-badge--basic,
.ammn-wizard .class-badge--c,
.ammn-wizard .class-badge--b,
.ammn-wizard .class-badge--a,
.ammn-wizard .class-badge--vib { background: var(--_cls-bg); color: var(--_cls); }

/* Class button group (selector) */
.ammn-wizard .class-btn-group {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.ammn-wizard .class-btn {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  border: 1.5px solid var(--n200, var(--n70));
  background: var(--bg);
  color: var(--n500, var(--text-muted));
  cursor: pointer;
  transition: all .15s;
  line-height: 1.2;
}

.ammn-wizard .class-btn:hover {
  border-color: var(--n300, var(--n100));
}

/* Consumer: active class button */
.ammn-wizard .class-btn.class-btn--active {
  background: var(--_cls-bg);
  color: var(--_cls);
  border-color: var(--_cls);
}

/* Declare action button — always shows text + icon */
.ammn-wizard .emp-action-btn--declare {
  width: auto;
  padding: 4px 10px;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
}

/* Header actions cluster — Download-All + Add Employee */
.ammn-wizard .emp-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Print declare per-row button */
.ammn-wizard .emp-action-btn--print {
  color: var(--blue);
}

.ammn-wizard .emp-action-btn--print:disabled {
  opacity: 0.55;
  cursor: default;
}

/* Field group wrapper for class buttons in drawer */
.ammn-wizard .field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ammn-wizard .field-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--n500, var(--text-muted));
}

/* Class summary badges (policy summary) */
.ammn-wizard .class-summary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

/* ==========================================================
   27b. MEDICAL WIZARD — CCHI Banner
   ========================================================== */
.ammn-wizard .cchi-banner {
  margin-bottom: 16px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--brand-blue, var(--brand-primary));
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.ammn-wizard .cchi-banner--loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--n500);
  font-size: 13px;
}

.ammn-wizard .cchi-banner--loading .spinner {
  animation: spin 1s linear infinite;
}

.ammn-wizard .cchi-banner__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
  color: var(--blue-600, var(--n700));
}

.ammn-wizard .cchi-banner__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ammn-wizard .cchi-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: var(--brand-primary-bg);
  border-radius: var(--radius-sm);
}

.ammn-wizard .cchi-stat__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ammn-wizard .cchi-stat strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1;
}

@media (max-width: 600px) {
  .ammn-wizard .cchi-banner__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================
   27c. MEDICAL WIZARD — Verification Badges
   ========================================================== */
.ammn-wizard .verify-badge {
  display: inline-flex;
  align-items: center;
  margin-inline-start: 6px;
  vertical-align: middle;
}

.ammn-wizard .verify-badge--success {
  color: var(--success);
}

.ammn-wizard .verify-badge--fail {
  color: var(--red-500, #ef4444);
}

.ammn-wizard .verify-badge--new {
  color: var(--n300, #d1d5db);
}

/* Per-row inline verifying spinner (replaces global overlay) */
.ammn-wizard .verify-badge--loading {
  color: var(--brand-blue);
}

.ammn-wizard .verify-badge--loading .spinner {
  animation: spin 1s linear infinite;
}

/* Verifying row tint — highlight only the row being verified */
.ammn-wizard .emp-row--verifying {
  background: color-mix(in srgb, var(--brand-blue) 4%, transparent);
  border-inline-start: 3px solid var(--brand-blue);
}

/* Error row tint (shared by employee + dependent rows) */
.ammn-wizard .emp-row--error {
  background: color-mix(in srgb, var(--red-500, #ef4444) 5%, transparent);
  border-inline-start: 3px solid var(--red-500, #ef4444);
}

/* Verified name (EN subtitle) */
.ammn-wizard .emp-row-name-en {
  font-size: 12px;
  color: var(--n500, var(--text-muted));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Age display in ID line */
.ammn-wizard .emp-row-age {
  color: var(--n400, var(--footer-muted));
  margin-inline-start: 2px;
}

/* Clickable error badge (button reset) */
.ammn-wizard button.verify-badge--fail {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Inline error detail strip shown below a row */
.ammn-wizard .member-error-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 8px 12px;
  background: color-mix(in srgb, var(--red-500, #ef4444) 8%, transparent);
  border-inline-start: 3px solid var(--red-500, #ef4444);
  border-radius: 0 6px 6px 0;
  font-size: 12px;
}

.ammn-wizard .member-error-detail__text {
  color: var(--red-700, #b91c1c);
}

/* ==========================================================
   28. MEDICAL WIZARD — Excel Upload
   ========================================================== */
.ammn-wizard .excel-section {
  margin-top: 24px;
  padding: 20px;
  border: 1.5px solid var(--n200, var(--n70));
  border-radius: 12px;
  background: var(--n50, var(--n50));
}

.ammn-wizard .excel-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--n800, var(--n800));
}

.ammn-wizard .excel-section-desc {
  font-size: 13px;
  color: var(--n500, var(--text-muted));
  margin: 6px 0 16px;
}

.ammn-wizard .excel-steps-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ammn-wizard .excel-step {
  flex: 1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ammn-wizard .excel-step-num {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--brand-blue-bg, var(--brand-primary));
  color: var(--n0);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.ammn-wizard .excel-step-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ammn-wizard .excel-step-body>span {
  font-size: 13px;
  font-weight: 600;
  color: var(--n700, var(--n700));
}

.ammn-wizard .excel-step-arrow {
  display: flex;
  align-items: center;
  padding-top: 4px;
  color: var(--n300, var(--n70));
}

.ammn-wizard .excel-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.ammn-wizard .excel-upload-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px dashed var(--n300, var(--n70));
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  font-size: 12px;
  color: var(--n500, var(--text-muted));
}

.ammn-wizard .excel-upload-area:hover {
  border-color: var(--brand-blue-border, var(--brand-primary));
  background: color-mix(in srgb, var(--brand-blue) 3%, transparent);
  color: var(--brand-blue, var(--brand-primary));
}

.ammn-wizard .excel-upload-area input[type="file"] {
  display: none;
}

.ammn-wizard .excel-success-msg {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-primary-light);
}

.ammn-wizard .excel-row-errors {
  margin: 8px 0 0;
  padding-inline-start: 20px;
  font-size: 12px;
  color: var(--danger, var(--red));
  list-style: disc;
  max-height: 200px;
  overflow-y: auto;
}

.ammn-wizard .excel-row-errors li {
  margin: 2px 0;
  line-height: 1.5;
}

/* ==========================================================
   29. MEDICAL WIZARD — Company Header Card
   ========================================================== */
.ammn-wizard .company-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ammn-wizard .company-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.ammn-wizard .company-icon-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ammn-wizard .company-header-info {
  min-width: 0;
}

.ammn-wizard .company-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ammn-wizard .company-name-row h3 {
  margin: 0;
  color: var(--brand-blue);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ammn-wizard .company-name-ar {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--n700, var(--n700));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ammn-wizard .company-vat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ammn-wizard .company-vat-badge--on {
  background: var(--brand-primary-bg);
  color: var(--brand-primary);
}

.ammn-wizard .company-vat-badge--off {
  background: color-mix(in srgb, var(--n400, var(--n70)) 12%, transparent);
  color: var(--n500, var(--n500));
}

.ammn-wizard .company-edit-btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border: 1.5px solid var(--n200, var(--n70));
  background: var(--bg);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--n400, var(--footer-muted));
  transition: all .15s;
}

.ammn-wizard .company-edit-btn:hover {
  border-color: var(--brand-blue-border, var(--brand-primary));
  color: var(--brand-blue, var(--brand-primary));
  background: color-mix(in srgb, var(--brand-blue) 4%, transparent);
}

.ammn-wizard .company-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--n400, var(--footer-muted));
  margin-top: 4px;
  flex-wrap: wrap;
}

.ammn-wizard .company-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--n300, var(--n70));
}

.ammn-wizard .company-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ammn-wizard .company-size-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* ==========================================================
   30. MEDICAL WIZARD — Medical Disclosure
   ========================================================== */

.ammn-wizard .disc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ammn-wizard .disc-card-info {
  flex: 1;
  min-width: 0;
}

.ammn-wizard .disc-card-info strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--n800, var(--n800));
}

.ammn-wizard .disc-card-meta {
  font-size: 13px;
  color: var(--n400, var(--footer-muted));
  margin-top: 2px;
}

/* ==========================================================
   31. MEDICAL WIZARD — Offer Card Expansion (Medical)
   ========================================================== */

/* Offer action buttons (download, T&C) */
.ammn-wizard .offer-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.ammn-wizard .offer-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--n30);
  border-radius: 10px;
  background: var(--n0);
  color: var(--n700);
  font-weight: 500;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ammn-wizard .offer-action-btn:hover {
  border-color: var(--page-accent);
  color: var(--page-accent);
  background: var(--surface);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.ammn-wizard .offer-action-btn svg {
  flex-shrink: 0;
}

.ammn-wizard .offer-action-btn-accent {
    /*  background: linear-gradient(135deg, var(--text-muted), var(--text-muted));*/
    border-color: var(--border);
    color: var(--page-accent);
    font-weight: 600;
}

    .ammn-wizard .offer-action-btn-accent:hover {
        /* background: linear-gradient(135deg, var(--text-muted), var(--text-muted));*/
        border-color: var(--page-accent);
        box-shadow: var(--shadow-md);
    }

/* Deductible selector */
.ammn-wizard .pricing-endurance {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ammn-wizard .pricing-endurance-label {
  font-weight: 400;
  font-size: 13px;
  color: var(--n400);
}

.ammn-wizard .pricing-select-wrap {
  position: relative;
}

.ammn-wizard .pricing-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--n30);
  border-radius: 10px;
  background: var(--n0);
  font-size: 13px;
  font-weight: 400;
  color: var(--n700);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23505F79' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-inline-end: 32px;
}

/* Details description */
.ammn-wizard .details-description {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: var(--n400);
  margin: 0;
  white-space: normal;
}

/* ==========================================================
   32. MEDICAL WIZARD — Utility Classes
   ========================================================== */

/* Gap wrapper for checkbox rows */

/* Additional data reveal section */

/* ==========================================================
   33. MEDICAL WIZARD — Class Summary Badges (Offer Card)
   ========================================================== */

.ammn-wizard .offer-card-main .class-summary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.ammn-wizard .class-badge-outline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border: 1.5px solid var(--_badge-color, var(--n300));
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--_badge-color, var(--n300));
  white-space: nowrap;
}

.ammn-wizard .class-badge-outline--vib  { --_badge-color: var(--class-vib); }
.ammn-wizard .class-badge-outline--a    { --_badge-color: var(--class-a); }
.ammn-wizard .class-badge-outline--b    { --_badge-color: var(--class-b); }
.ammn-wizard .class-badge-outline--c    { --_badge-color: var(--class-c); }
.ammn-wizard .class-badge-outline--basic { --_badge-color: var(--class-basic); }

.ammn-wizard .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--_badge-color, var(--n300));
  flex-shrink: 0;
}

/* ==========================================================
   34. MEDICAL WIZARD — Employee Pricing Drawer
   ========================================================== */

.ammn-wizard .emp-pricing-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Filter Bar */
.ammn-wizard .emp-pricing-filter-bar {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--n50);
  flex-shrink: 0;
  background: var(--n10);
}

.ammn-wizard .emp-pricing-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--n30);
  border-radius: 10px;
  padding: 0 12px;
  background: var(--n0);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ammn-wizard .emp-pricing-search:focus-within {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(var(--brand-blue-rgb, 40, 99, 228), 0.08);
}

.ammn-wizard .emp-pricing-search svg {
  flex-shrink: 0;
  color: var(--n400);
}

.ammn-wizard .emp-pricing-search-input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  padding: 10px 0;
  font-size: 13px;
  font-family: inherit;
  color: var(--n800);
}

.ammn-wizard .emp-pricing-search-input::placeholder {
  color: var(--n300);
}

.ammn-wizard .emp-pricing-filter-class {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ammn-wizard .emp-pricing-filter-class label {
  font-size: 13px;
  font-weight: 500;
  color: var(--n500);
  white-space: nowrap;
}

.ammn-wizard .emp-pricing-select {
  padding: 9px 32px 9px 12px;
  border: 1px solid var(--n30);
  border-radius: 10px;
  background: var(--n0);
  font-size: 13px;
  font-family: inherit;
  color: var(--n700);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23505F79' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-inline-end: 32px;
}

/* Drawer Body */
.ammn-wizard .emp-pricing-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

/* Employee Row */
.ammn-wizard .emp-pricing-row {
  border: 1px solid var(--n30);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.ammn-wizard .emp-pricing-row:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.ammn-wizard .emp-pricing-row-main {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  gap: 12px;
  transition: background 0.15s ease;
}

.ammn-wizard .emp-pricing-row-main:hover {
  background: var(--n10);
}

/* Avatar */
.ammn-wizard .emp-pricing-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-blue), var(--class-vib));
  color: var(--n0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}

/* Info */
.ammn-wizard .emp-pricing-info {
  flex: 1;
  min-width: 0;
}

.ammn-wizard .emp-pricing-name {
  font-weight: 500;
  font-size: 14px;
  color: var(--n800);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ammn-wizard .emp-pricing-id {
  font-size: 12px;
  color: var(--n400);
}

/* Class Badge */
.ammn-wizard .emp-pricing-class-badge {
  padding: 3px 10px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.ammn-wizard .emp-pricing-class-badge.class-a {
  background: var(--class-a-bg);
  color: var(--class-a);
}

.ammn-wizard .emp-pricing-class-badge.class-b {
  background: var(--class-b-bg);
  color: var(--class-b);
}

.ammn-wizard .emp-pricing-class-badge.class-c {
  background: var(--class-c-bg);
  color: var(--class-c);
}

.ammn-wizard .emp-pricing-class-badge.class-vib {
  background: var(--class-vib-bg);
  color: var(--class-vib);
}

.ammn-wizard .emp-pricing-class-badge.class-basic {
  background: var(--class-basic-bg);
  color: var(--class-basic);
}

/* Price */
.ammn-wizard .emp-pricing-price {
  font-weight: 600;
  font-size: 14px;
  color: var(--n900);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Drawer Footer */
.ammn-wizard .emp-pricing-drawer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid var(--n50);
  flex-shrink: 0;
  background: var(--n0);
}

.ammn-wizard .emp-pricing-footer-count {
  font-size: 13px;
  color: var(--n500);
}

.ammn-wizard .emp-pricing-footer-count strong {
  color: var(--n800);
}

.ammn-wizard .emp-pricing-footer-total {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ammn-wizard .emp-pricing-footer-total-label {
  font-size: 13px;
  color: var(--n400);
}

.ammn-wizard .emp-pricing-footer-total-amount {
  font-weight: 700;
  font-size: 18px;
  color: var(--brand-blue);
}

/* ==========================================================
   38. UPLOAD CAR IMAGES PAGE
   ========================================================== */

.upload-page {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 14px 120px;
}

.upload-page__card {
  background: var(--n0);
  border-radius: 16px;
  border: 1.5px solid var(--brand-primary-border, var(--brand-green-border));
  box-shadow: 0 2px 16px rgba(var(--success-rgb), 0.06), 0 1px 4px rgba(0, 0, 0, 0.03);
  padding: 28px 20px 32px;
  animation: uploadCardIn 0.5s ease both;
}

@keyframes uploadCardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Title */
.upload-page__title-ar {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  color: var(--n900);
  margin-bottom: 6px;
  line-height: 1.4;
}

.upload-page__title-en {
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  color: var(--n900);
  margin-bottom: 32px;
  line-height: 1.5;
}

/* Upload Section */
.upload-page__section {
  margin-bottom: 28px;
  animation: uploadSectionIn 0.45s ease both;
}

.upload-page__section:nth-child(3) {
  animation-delay: 0.06s;
}

.upload-page__section:nth-child(5) {
  animation-delay: 0.12s;
}

.upload-page__section:nth-child(7) {
  animation-delay: 0.18s;
}

.upload-page__section:nth-child(9) {
  animation-delay: 0.24s;
}

.upload-page__section:nth-child(11) {
  animation-delay: 0.30s;
}

@keyframes uploadSectionIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.upload-page__label-ar {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  color: var(--n900);
  margin-bottom: 4px;
}

.upload-page__label-en {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: var(--n400);
  margin-bottom: 14px;
}

/* Upload Box */
.upload-page__box {
  position: relative;
  width: 220px;
  height: 148px;
  margin: 0 auto;
  background: var(--brand-green-bg, #f7fef9);
  border: 1.8px solid var(--brand-primary-border, var(--brand-green-border));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  overflow: hidden;
}

.upload-page__box:hover {
  border-color: var(--success);
  box-shadow: 0 4px 18px rgba(var(--success-rgb), 0.10);
  transform: scale(1.015);
}

.upload-page__box:active {
  transform: scale(0.98);
}

.upload-page__box--has-image {
  border-color: var(--success);
  background: var(--brand-green-bg);
}

/* Box inner (wraps plus + icon) */
.upload-page__box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* MudFileUpload reset */
.upload-page__file-input {
  width: 100%;
  height: 100%;
}

.upload-page__file-input .mud-file-upload {
  width: 100%;
  height: 100%;
}

/* Plus button */
.upload-page__plus {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  background: var(--n0);
  border: 1.8px solid var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
  transition: background 0.2s, transform 0.2s;
}

[dir="ltr"] .upload-page__plus {
  left: auto;
  right: 10px;
}

.upload-page__box:hover .upload-page__plus {
  background: var(--brand-green-bg);
  transform: scale(1.1);
}

.upload-page__plus svg {
  width: 16px;
  height: 16px;
}

/* Placeholder icon */
.upload-page__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--n400);
}

.upload-page__icon svg {
  width: 120px;
  height: 80px;
  opacity: 0.7;
}

.upload-page__icon-mirrored {
  transform: scaleX(-1);
}

/* Image preview */
.upload-page__preview {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.upload-page__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

/* Checkmark overlay */
.upload-page__check {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: 0 2px 8px rgba(var(--success-rgb), 0.3);
  animation: uploadCheckPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

[dir="ltr"] .upload-page__check {
  left: auto;
  right: 10px;
}

@keyframes uploadCheckPop {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

/* Remove button */
.upload-page__remove {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: var(--n0);
  border: none;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}

.upload-page__remove:hover {
  background: rgba(0, 0, 0, 0.72);
}

/* Divider */
.upload-page__divider {
  width: 60px;
  height: 2px;
  background: var(--brand-primary-border, var(--brand-green-border));
  margin: 0 auto 28px;
  border-radius: 2px;
}

/* Progress indicator */
.upload-page__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 8px;
}

.upload-page__progress-count {
  font-size: 12px;
  color: var(--n400);
  font-weight: 600;
  margin-inline-end: 8px;
}

.upload-page__progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-primary-border, var(--brand-green-border));
  transition: background 0.3s, transform 0.3s;
}

.upload-page__progress-dot--filled {
  background: var(--success);
  transform: scale(1.15);
}

/* Certification */
.upload-page__cert {
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1.5px solid var(--brand-green-bg);
}

.upload-page__cert-text-ar {
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: var(--n900);
  line-height: 1.85;
  margin-bottom: 20px;
}

.upload-page__cert-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  direction: ltr;
  text-align: left;
}

.upload-page__cert-text-en {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--n700);
  line-height: 1.7;
  cursor: pointer;
}

/* Buttons */
.upload-page__buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding: 0 14px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.upload-page__btn-prev {
  flex: 1;
  height: 52px;
  border: 1.8px solid var(--n200);
  background: var(--n0);
  color: var(--n700);
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.upload-page__btn-prev:hover {
  border-color: var(--n400);
  background: var(--n50, #f8f9fa);
}

.upload-page__btn-next {
  flex: 1;
  height: 52px;
  border: none;
  background: var(--success);
  color: var(--n0);
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(var(--success-rgb), 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-page__btn-next:hover:not(:disabled) {
  filter: brightness(0.92);
  box-shadow: 0 6px 20px rgba(var(--success-rgb), 0.32);
  transform: translateY(-1px);
}

.upload-page__btn-next:disabled {
  background: var(--n200);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Error / Success states */
.upload-page__error,
.upload-page__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 20px;
  text-align: center;
}

.upload-page__error-text-ar,
.upload-page__success-text-ar {
  font-size: 20px;
  font-weight: 700;
  color: var(--n900);
}

.upload-page__error-text-en,
.upload-page__success-text-en {
  font-size: 14px;
  font-weight: 500;
  color: var(--n400);
}

/* ── Upload Page — Dark Mode ── */
[data-theme="dark"] .upload-page__card {
  background: var(--n20, #1a1d23);
  border-color: var(--n30);
}

[data-theme="dark"] .upload-page__title-ar,
[data-theme="dark"] .upload-page__label-ar,
[data-theme="dark"] .upload-page__cert-text-ar,
[data-theme="dark"] .upload-page__error-text-ar,
[data-theme="dark"] .upload-page__success-text-ar {
  color: var(--n900);
}

[data-theme="dark"] .upload-page__box {
  background: var(--n20, #1a1d23);
  border-color: var(--n30);
}

[data-theme="dark"] .upload-page__box--has-image {
  border-color: var(--success);
}

[data-theme="dark"] .upload-page__plus {
  background: var(--n20, #1a1d23);
}

[data-theme="dark"] .upload-page__btn-prev {
  background: var(--n20, #1a1d23);
  border-color: var(--n30);
  color: var(--n200);
}

[data-theme="dark"] .upload-page__cert {
  border-top-color: var(--n30);
}

[data-theme="dark"] .upload-page__divider {
  background: var(--n30);
}

[data-theme="dark"] .upload-page__progress-dot {
  background: var(--n30);
}

/* ── Upload Page — Responsive ── */
@media (max-width: 380px) {
  .upload-page {
    padding: 12px 10px 120px;
  }

  .upload-page__card {
    padding: 22px 14px 26px;
  }

  .upload-page__title-ar {
    font-size: 19px;
  }

  .upload-page__box {
    width: 190px;
    height: 130px;
  }

  .upload-page__icon svg {
    width: 100px;
    height: 68px;
  }
}

@media (min-width: 500px) {
  .upload-page__box {
    width: 250px;
    height: 165px;
  }
}

/* ==========================================================
   32b. INLINE CAR IMAGE UPLOAD CARD (Motor Comprehensive)
   ========================================================== */
.img-upload-card {
  background: var(--n0, #fff);
  border: 1.5px solid var(--n40, #e5e7eb);
  border-radius: 16px;
  padding: 24px;
  margin-top: 16px;
}

.img-upload-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--brand-primary, #328eb2);
}

.img-upload-card__title-ar {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--n900, #212121);
}

.img-upload-card__title-en {
  font-size: 13px;
  font-weight: 500;
  color: var(--n400, #9ca3af);
  margin: 2px 0 0 0;
}

/* ── Camera Grid ── */
.img-upload-card__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.img-upload-card__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.img-upload-card__capture-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  width: 100%;
}

.img-upload-card__capture-inner {
  width: 100%;
  aspect-ratio: 1;
  border: 2px dashed var(--n200, #d1d5db);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--n400, #9ca3af);
  transition: border-color 0.2s, background 0.2s;
}

.img-upload-card__capture-label:hover .img-upload-card__capture-inner,
.img-upload-card__capture-label:active .img-upload-card__capture-inner {
  border-color: var(--brand-primary, #328eb2);
  background: var(--brand-primary-bg, #f0f9ff);
}

.img-upload-card__cell-label-ar {
  font-size: 12px;
  font-weight: 600;
  color: var(--n700, #374151);
}

.img-upload-card__cell-label-en {
  font-size: 10px;
  color: var(--n400, #9ca3af);
}

/* ── Preview ── */
.img-upload-card__preview-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 2px solid var(--success, #22c55e);
}

.img-upload-card__preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-upload-card__remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  /* Raw rgba: semi-transparent overlay on variable image backgrounds */
  background: rgba(0, 0, 0, 0.55);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

[dir="ltr"] .img-upload-card__remove-btn {
  right: auto;
  left: 4px;
}

.img-upload-card__check-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
}

[dir="ltr"] .img-upload-card__check-badge {
  left: auto;
  right: 4px;
}

/* ── Progress ── */
.img-upload-card__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}

.img-upload-card__progress-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-primary, #328eb2);
  margin-inline-end: 4px;
}

.img-upload-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--n100, #e5e7eb);
  transition: background 0.25s;
}

.img-upload-card__dot--filled {
  background: var(--success, #22c55e);
}

/* ── Certification ── */
.img-upload-card__cert {
  background: var(--n20, #f9fafb);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.img-upload-card__cert-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.img-upload-card__cert-checkbox {
  margin-top: 3px;
  accent-color: var(--success, #22c55e);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.img-upload-card__cert-text-ar {
  font-size: 11px;
  line-height: 1.6;
  color: var(--n700, #374151);
}

.img-upload-card__cert-text-en {
  display: block;
  font-size: 10px;
  line-height: 1.5;
  color: var(--n400, #9ca3af);
  margin-top: 4px;
}

/* ── Submit Button ── */
.img-upload-card__submit {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: var(--success, #22c55e);
  color: var(--n0, #fff);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s;
}

.img-upload-card__submit:hover:not(:disabled) {
  opacity: 0.9;
}

.img-upload-card__submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.img-upload-card__submit-ar { font-size: 15px; }
.img-upload-card__submit-en { font-size: 12px; opacity: 0.8; }

.img-upload-card__error {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--error-bg, #fef2f2);
  color: var(--error, #ef4444);
  font-size: 13px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.img-upload-card__error-ar { font-weight: 600; }
.img-upload-card__error-en { font-size: 12px; opacity: 0.85; }

/* ── QR Toggle ── */
.img-upload-card__qr-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  padding: 8px 0;
}

.img-upload-card__qr-toggle-ar {
  font-size: 13px;
  color: var(--brand-primary, #328eb2);
  text-decoration: underline;
}

.img-upload-card__qr-toggle-en {
  font-size: 11px;
  color: var(--n400, #9ca3af);
}

/* ── QR Code Section ── */
.img-upload-card__qr-section {
  text-align: center;
}

.img-upload-card__qr-section .img-upload-card__header {
  justify-content: center;
}

.img-upload-card__hint-ar {
  font-size: 14px;
  color: var(--n700, #374151);
  margin: 0 0 4px;
}

.img-upload-card__hint-en {
  font-size: 12px;
  color: var(--n400, #9ca3af);
  margin: 0 0 20px;
}

.img-upload-card__qr-box {
  display: inline-flex;
  padding: 12px;
  /* Forced white: QR scanners require absolute black-on-white contrast */
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid var(--n100, #e5e7eb);
  margin-bottom: 20px;
}

.img-upload-card__sms-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--success-bg, #f0fdf4);
  border-radius: 20px;
  color: var(--success, #22c55e);
  font-size: 12px;
}

.img-upload-card__sms-ar { font-weight: 600; }
.img-upload-card__sms-en { color: var(--n500, #6b7280); }

/* ── Success State ── */
.img-upload-card__result {
  text-align: center;
  padding: 24px 16px;
}

.img-upload-card__result--ok svg {
  margin-bottom: 12px;
}

.img-upload-card__msg-ar {
  font-size: 16px;
  font-weight: 700;
  color: var(--success, #22c55e);
  margin: 0 0 4px;
}

.img-upload-card__msg-en {
  font-size: 13px;
  color: var(--n400, #9ca3af);
  margin: 0;
}

/* ── Dark theme ── */
[data-theme="dark"] .img-upload-card {
  background: var(--n50, #1a1a2e);
  border-color: var(--n200, #333);
}

[data-theme="dark"] .img-upload-card__capture-inner {
  border-color: var(--n300, #444);
}

[data-theme="dark"] .img-upload-card__cert {
  background: var(--n100, #222);
}

[data-theme="dark"] .img-upload-card__qr-box {
  background: #fff;
}

/* ── Responsive: 2 cols on small screens ── */
@media (max-width: 480px) {
  .img-upload-card__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .img-upload-card {
    padding: 16px;
  }
}

/* ==========================================================
   33. RESPONSIVE BREAKPOINTS
   ========================================================== */
@media (max-width: 1200px) {
  .ammn-wizard .two-col-panel {
    flex-direction: column;
  }

  .ammn-wizard .panel-left {
    border-radius: 16px 16px 0 0;
    border: 1px solid var(--n40);
  }

  .ammn-wizard .panel-right {
    border-radius: 0 0 16px 16px;
    border: 1px solid var(--n40);
    border-top: none;
  }

  .ammn-wizard .row-2 {
    flex-direction: column;
    gap: 16px;
  }

  .ammn-wizard .row-3 {
    flex-direction: column;
    gap: 16px;
  }

  .ammn-wizard .offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ammn-wizard .offer-card.expanded .offer-card-main {
    flex: 0 0 240px;
  }

  .ammn-wizard .details-end {
    flex: 0 0 220px;
  }

  .ammn-wizard .safety-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .ammn-wizard .nav-bar {
    padding: 13px 40px;
  }

  .ammn-wizard .steps-bar {
    padding: 14px 40px 16px;
  }

  .ammn-wizard .main {
    padding: 44px 40px 140px;
  }

  .ammn-wizard .page-banner {
    flex-wrap: wrap;
  }

  .ammn-wizard .banner-step {
    order: -1;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .ammn-wizard .nav-bar::after {
    height: 1.5px;
    opacity: 0.45;
  }

  .ammn-wizard .nav-bar {
    padding: 13px 16px;
    gap: 10px;
  }

  .ammn-wizard .nav-left {
    gap: 8px;
    min-width: 0;
  }

  .ammn-wizard .nav-logo img {
    height: 32px;
  }

  .ammn-wizard .nav-title {
    font-size: 15px;
    white-space: nowrap;
  }

  .ammn-wizard .steps-bar {
    padding: 10px 16px 12px;
    overflow-x: auto;
  }

  .ammn-wizard .steps-wrap {
    min-width: auto;
    max-width: 100%;
  }

  .ammn-wizard .step-circle {
    width: 34px;
    height: 34px;
  }

  .ammn-wizard .step-num {
    font-size: 14px;
  }

  .ammn-wizard .substep-dot {
    width: 18px;
    height: 18px;
    border-width: 2px;
  }

  .ammn-wizard .step-label {
    font-size: 9px;
  }

  .ammn-wizard .step-connector {
    margin-bottom: 16px;
    min-width: 10px;
  }

  .ammn-wizard .main {
    padding: 16px 14px 120px;
  }

  .ammn-wizard .container {
    gap: 16px;
  }

  .ammn-wizard .card {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .ammn-wizard .card-body {
    gap: 16px;
  }

  .ammn-wizard .two-col-panel {
    flex-direction: column;
  }

  .ammn-wizard .panel-left {
    border-radius: 14px 14px 0 0;
    border: 1px solid var(--n40);
    padding: 18px 16px;
  }

  .ammn-wizard .panel-right {
    border-radius: 0 0 14px 14px;
    border: 1px solid var(--n40);
    border-top: none;
    padding: 18px 16px;
  }

  .ammn-wizard .row-2 {
    flex-direction: column;
    gap: 16px;
  }

  .ammn-wizard .row-3 {
    flex-direction: column;
    gap: 16px;
  }

  .ammn-wizard .page-banner {
    padding: 18px 16px;
    border-radius: 14px;
    gap: 14px;
  }

  .ammn-wizard .banner-icon img,
  .ammn-wizard .banner-icon svg {
    width: 44px;
    height: 44px;
  }

  .ammn-wizard .banner-text h1 {
    font-size: 20px;
  }

  .ammn-wizard .banner-text p {
    font-size: 13px;
  }

  .ammn-wizard .banner-step {
    font-size: 12px;
  }

  .ammn-wizard .btn-full {
    font-size: 15px;
    padding: 14px;
  }

  .ammn-wizard .nav-right {
    gap: 8px;
    flex-shrink: 0;
  }

  .ammn-wizard .user-name {
    display: none;
  }

  .ammn-wizard .user-avatar {
    width: 32px;
    height: 32px;
  }

  .ammn-wizard .nav-divider {
    display: none;
  }

  .ammn-wizard .logo-icon {
    width: 24px;
    height: 22px;
  }

  .ammn-wizard .logo-name {
    font-size: 12px;
  }

  .ammn-wizard .logo-stroke {
    width: 38px;
    height: 13px;
  }

  .ammn-wizard .seg.w234 {
    width: 100%;
  }

  .ammn-wizard .offers-grid,
  .ammn-wizard .offers-grid.has-expanded {
    grid-template-columns: 1fr;
  }

  .ammn-wizard .offer-card.expanded .offer-card-inner {
    flex-direction: column;
  }

  .ammn-wizard .offer-card.expanded .offer-card-main {
    flex: 0 0 auto;
  }

  .ammn-wizard .offer-card.expanded .offer-card-details {
    flex: 0 0 auto;
    flex-direction: column;
    border-inline-start: none;
    margin-inline-start: 0;
    padding-inline-start: 0;
    border-top: 1px solid var(--n30);
    padding-top: 16px;
    margin-top: 16px;
    gap: 16px;
  }

  .ammn-wizard .details-start,
  .ammn-wizard .details-end {
    flex: 0 0 auto;
    width: 100%;
  }

  .ammn-wizard .details-pricing-card {
    border: none;
    background: var(--n10);
    border-radius: 12px;
  }

  .ammn-wizard .safety-grid {
    grid-template-columns: 1fr;
  }

  .ammn-wizard .checkout-policy-details {
    grid-template-columns: 1fr 1fr;
  }

  .ammn-wizard .checkout-policy-item:nth-child(2) {
    border-right: none;
  }

  .ammn-wizard .checkout-policy-item:nth-child(3),
  .ammn-wizard .checkout-policy-item:nth-child(4) {
    border-top: 1px solid var(--n100);
  }

  .ammn-wizard .drivers-row {
    flex-direction: column;
  }

  .ammn-wizard .saudi-license,
  .ammn-wizard .add-driver-card,
  .ammn-wizard .vehicle-card {
    width: 100%;
    flex-shrink: 1;
  }

  .ammn-wizard .drawer {
    width: 100%;
    border-radius: 0;
  }

  .ammn-wizard .drawer-header {
    padding: 16px;
  }

  .ammn-wizard .drawer-body {
    padding: 16px;
    gap: 20px;
  }

  .ammn-wizard .drawer-footer {
    padding: 16px;
  }

  .ammn-wizard .btn-primary,
  .ammn-wizard .btn-secondary {
    width: 100%;
  }

  .ammn-wizard .page-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ammn-wizard .banner-step {
    order: 0;
    width: auto;
  }

  .ammn-wizard .policy-summary-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ammn-wizard .policy-summary {
    padding: 14px;
  }

  .ammn-wizard .policy-summary-box {
    padding: 14px;
  }

  .ammn-wizard .filter-bar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .ammn-wizard .coverage-item {
    flex-direction: column;
  }

  .ammn-wizard .personal-details-grid {
    grid-template-columns: 1fr;
  }

  .ammn-wizard .compare-drawer {
    width: 100%;
  }

  .ammn-wizard .compare-drawer-body {
    padding: 16px;
  }

  .ammn-wizard .compare-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Medical: employee table + company header responsive */
  .ammn-wizard .emp-table-header,
  .ammn-wizard .emp-table-row {
    grid-template-columns: 32px 1.2fr 1fr 140px 40px 70px 100px;
    font-size: 12px;
    padding: 10px 12px;
    gap: 6px;
  }

  .ammn-wizard .emp-dep-row,
  .ammn-wizard .emp-dep-add-row {
    grid-template-columns: 32px 1.2fr 1fr 140px 40px 70px 100px;
    font-size: 11px;
    padding: 8px 12px;
    gap: 6px;
  }

  .ammn-wizard .company-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ammn-wizard .company-header-right {
    align-self: flex-end;
  }

  .ammn-wizard .excel-steps-row {
    flex-direction: column;
    gap: 16px;
  }

  .ammn-wizard .excel-step-arrow {
    display: none;
  }

  .ammn-wizard .offer-action-buttons {
    gap: 6px;
  }

  .ammn-wizard .offer-action-btn {
    padding: 8px 12px;
    font-size: 12px;
  }
}

@media (min-width: 769px) {
  .ammn-wizard .offers-grid.has-expanded {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {

  .ammn-wizard .header,
  .ammn-wizard .main,
  .ammn-wizard .nav-bar,
  .ammn-wizard .steps-bar {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .ammn-wizard .nav-bar {
    padding: 10px 12px;
    gap: 8px;
  }

  .ammn-wizard .nav-title {
    font-size: 13px;
  }

  .ammn-wizard .main {
    padding: 16px 12px 100px;
  }

  .ammn-wizard .page-banner {
    padding: 14px 12px;
  }

  .ammn-wizard .banner-text h1 {
    font-size: 16px;
    line-height: 22px;
  }

  .ammn-wizard .banner-text p {
    font-size: 12px;
    line-height: 18px;
  }

}

/* ============================================================
   RTL (Arabic) SUPPORT
   Scoped: [dir="rtl"] .ammn-wizard
   Base rules use logical properties (inset-inline-*, border-inline-*,
   padding-inline-*, text-align: start/end). Native RTL flex handles
   row direction. Only overrides that cannot use logical props remain.
   ============================================================ */

/* Step connector — mirror arrow direction */
[dir="rtl"] .ammn-wizard .step-connector {
  transform: scaleX(-1);
}

/* Keep numeric/phone/email/date inputs LTR.
   Exclude the shared auth OTP card (.auth-otp-single) — it owns its own
   centered + LTR styling in auth.css; this generic numeric rule would otherwise
   left-align the checkout OTP digits in RTL. */
[dir="rtl"] .ammn-wizard input[type="number"],
[dir="rtl"] .ammn-wizard input[type="tel"],
[dir="rtl"] .ammn-wizard input[type="email"],
[dir="rtl"] .ammn-wizard input[inputmode="numeric"]:not(.auth-otp-single),
[dir="rtl"] .ammn-wizard .cc-input,
[dir="rtl"] .ammn-wizard .personal-input[dir="ltr"],
[dir="rtl"] .ammn-wizard .otp-input,
[dir="rtl"] .ammn-wizard input[type="date"] {
  direction: ltr;
  text-align: left;
}

/* Button arrow icons — mirror for RTL */
[dir="rtl"] .ammn-wizard .btn-primary img {
  transform: scaleX(-1);
}

[dir="rtl"] .ammn-wizard .btn-buy-now svg {
  transform: scaleX(-1);
}

/* Offer ribbon — absolute positioned, physical placement */
[dir="rtl"] .ammn-wizard .offer-ribbon {
  right: auto;
  left: -8px;
  border-radius: 0 6px 6px 0;
}

/* Drawer — off-screen positioning */
[dir="rtl"] .ammn-wizard .drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  border-radius: 0 16px 16px 0;
}

[dir="rtl"] .ammn-wizard .drawer.open {
  transform: translateX(0) !important;
}

/* Compare drawer — off-screen positioning */
[dir="rtl"] .ammn-wizard .compare-drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

[dir="rtl"] .ammn-wizard .compare-drawer.open {
  transform: translateX(0);
}

/* Offer card — RTL layout fixes */
[dir="rtl"] .ammn-wizard .pricing-select {
  background-position: left 12px center;
}

/* Checkout — RTL text alignment */
[dir="rtl"] .ammn-wizard .checkout-policy-item {
  text-align: start;
}

/* pm-tile uses text-align: center — no RTL override needed */

/* Browse store button arrow — RTL */
[dir="rtl"] .ammn-wizard .btn-store-browse .arrow-icon {
  transform: scaleX(-1);
}

/* ----------------------------------------------------------
   DARK MODE
   Triggered by [data-theme="dark"] .ammn-wizard class on root element
   ---------------------------------------------------------- */
[data-theme="dark"] .ammn-wizard {
  --n0: #1a1a2e;
  --n10: #1e1e34;
  --n20: #22223a;
  --n30: #2a2a42;
  --n40: #33334d;
  --n50: #1e1e34;
  --n60: #252540;
  --n70: #2e2e4a;
  --n80: #7a7a9e;
  --n90: #6e6e92;
  --n100: #4a4a6a;
  --n200: #3d3d5c;
  --n300: #a0a0be;
  --n400: #b0b0cc;
  --n500: #c0c0d8;
  --n600: #d0d0e2;
  --n700: #e0e0ee;
  --n800: #ececf4;
  --n900: #f5f5fa;
  /* ── System accent colors ── */
  --sys-color-one: var(--brand-blue-light, var(--brand-blue-light));
  /* Blue — landing/primary */
  --sys-color-two: var(--brand-primary-lighter);
  /* Teal — wizard/page accent */

  /* Derived aliases */
  --blue: var(--sys-color-one);
  --primary: var(--sys-color-one);
  --teal: var(--sys-color-two);
  --teal-light: color-mix(in srgb, var(--sys-color-two), var(--n0) 30%);
  --teal-lighter: color-mix(in srgb, var(--sys-color-two), var(--n0) 55%);
  --teal-lightest: color-mix(in srgb, var(--sys-color-two), var(--n0) 75%);
  --page-accent-light: var(--brand-primary-lighter);
  --page-accent-dark: color-mix(in srgb, var(--sys-color-two), var(--text) 40%);

  --green: var(--text-muted);
  --success: var(--text-muted);
  --success-rgb: 52, 208, 88;
  --warning: var(--warning);
  --warning-rgb: 251, 191, 36;
  --error: var(--text-muted);
  --error-rgb: 248, 113, 113;
  --amber: var(--warning);
  --amber-rgb: 251, 191, 36;
  --footer-muted: var(--text-muted);
  color: var(--n800);
}

[data-theme="dark"] .ammn-wizard .header {
  background: var(--dark-bg);
}

[data-theme="dark"] .ammn-wizard .logo-stroke {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .ammn-wizard .nav-bar {
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--n30);
}

[data-theme="dark"] .ammn-wizard .nav-bar::after {
  opacity: 0.35;
}

[data-theme="dark"] .ammn-wizard .steps-bar {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--n30);
}

[data-theme="dark"] .ammn-wizard .main {
  background: var(--dark-surface);
}

[data-theme="dark"] .ammn-wizard .card,
[data-theme="dark"] .ammn-wizard .card-accent {
  background: var(--n10);
  border-color: var(--n30);
}

[data-theme="dark"] .ammn-wizard .card-accent {
  border-color: var(--border);
}

[data-theme="dark"] .ammn-wizard .page-banner {
  background: var(--surface);
  border-color: var(--border);
}

[data-theme="dark"] .ammn-wizard .page-banner h1 {
  color: var(--n800);
}

[data-theme="dark"] .ammn-wizard .page-banner p {
  color: var(--n400);
}

[data-theme="dark"] .ammn-wizard .btn-primary {
  background: var(--brand-blue-bg);
}

[data-theme="dark"] .ammn-wizard .btn-secondary,
[data-theme="dark"] .ammn-wizard .btn-outline {
  background: var(--n20);
  border-color: var(--n40);
  color: var(--n700);
}

[data-theme="dark"] .ammn-wizard .notif-btn {
  border-color: var(--n40);
  color: var(--n500);
  background: var(--n20);
}

[data-theme="dark"] .ammn-wizard .notif-badge {
  border-color: var(--n20);
}

[data-theme="dark"] .ammn-wizard .dark-mode-btn {
  border-color: var(--n40);
  color: var(--warning);
  background: var(--n20);
}

[data-theme="dark"] .ammn-wizard .dark-mode-btn:hover {
  background: var(--surface);
  border-color: var(--warning);
}

[data-theme="dark"] .lang-toggle {
  background: var(--n20, var(--surface));
  border-color: var(--n40, var(--n700));
}

[data-theme="dark"] .lang-toggle__option {
  color: var(--n400, var(--footer-muted));
}

[data-theme="dark"] .lang-toggle__option--active {
  color: var(--n900);
}

[data-theme="dark"] .ammn-wizard .drawer {
  background: var(--n10);
}

[data-theme="dark"] .ammn-wizard .drawer-header {
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  border-bottom-color: var(--n30);
}

[data-theme="dark"] .ammn-wizard .drawer-footer {
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  border-top-color: var(--n30);
}

[data-theme="dark"] .ammn-wizard label {
  color: var(--n600);
}

[data-theme="dark"] .ammn-wizard .step-circle {
  background: var(--n20);
  border-color: var(--n40);
}

[data-theme="dark"] .ammn-wizard .step-num {
  color: var(--n400);
}

[data-theme="dark"] .ammn-wizard .step-label {
  color: var(--n400);
}

[data-theme="dark"] .ammn-wizard .step-connector {
  background: var(--n40);
}

[data-theme="dark"] .ammn-wizard .substep-dot {
  background: var(--n20);
  border-color: var(--n40);
}

[data-theme="dark"] .ammn-wizard .saudi-license {
  background: var(--n20);
  border-color: var(--n40);
}

[data-theme="dark"] .ammn-wizard .add-driver-card {
  background: var(--n20);
  border-color: var(--n40);
  color: var(--brand-blue);
}

[data-theme="dark"] .ammn-wizard .vehicle-card {
  background: var(--n20);
  border-color: var(--n40);
}

[data-theme="dark"] .ammn-wizard .vehicle-card--selected {
  border-color: var(--brand-primary, var(--border));
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-green-lighter) 8%, transparent) 0%, color-mix(in srgb, var(--brand-green-lighter) 2%, transparent) 100%);
}

[data-theme="dark"] .ammn-wizard .vehicle-card__plate {
  border-bottom-color: var(--n40);
}

/* --- Dark mode: background pattern --- */
[data-theme="dark"] .ammn-wizard .bg-pattern {
  opacity: 0.04;
}

[data-theme="dark"] .ammn-wizard .bg-pattern img {
  filter: brightness(2);
}

/* --- Dark mode: card shadows --- */
[data-theme="dark"] .ammn-wizard .card {
  box-shadow: var(--shadow-md);
}

/* --- Loading overlay --- */
.ammn-wizard .loading-overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, black 30%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

[data-theme="dark"] .ammn-wizard .loading-overlay {
  background: color-mix(in srgb, var(--n900) 35%, transparent);
}

/* --- Dark mode: notification drawer --- */
[data-theme="dark"] .ammn-wizard .notif-drawer__header {
  background: var(--n10);
}

[data-theme="dark"] .ammn-wizard .notif-drawer__title {
  color: var(--n800);
}

[data-theme="dark"] .ammn-wizard .notif-item {
  border-bottom-color: var(--n40);
}

[data-theme="dark"] .ammn-wizard .notif-item:hover {
  background: var(--n20);
}

[data-theme="dark"] .ammn-wizard .notif-item--unread {
  background: color-mix(in srgb, var(--brand-primary-bg) 6%, transparent);
}

[data-theme="dark"] .ammn-wizard .notif-item--unread:hover {
  background: color-mix(in srgb, var(--brand-primary-bg) 10%, transparent);
}

[data-theme="dark"] .ammn-wizard .notif-item__title {
  color: var(--n800);
}

[data-theme="dark"] .ammn-wizard .notif-item__body {
  color: var(--n500);
}

[data-theme="dark"] .ammn-wizard .notif-item__time {
  color: var(--n400);
}

[data-theme="dark"] .ammn-wizard .notif-drawer__empty-icon {
  color: var(--n300);
}

[data-theme="dark"] .ammn-wizard .notif-drawer__empty-text {
  color: var(--n400);
}

[data-theme="dark"] .ammn-wizard .notif-item__skeleton-title,
[data-theme="dark"] .ammn-wizard .notif-item__skeleton-body,
[data-theme="dark"] .ammn-wizard .notif-item__skeleton-time {
  background: var(--n30);
}

/* ----------------------------------------------------------
   PRODUCT OFFER CARDS — Shared + Per-Product Styles
   Pets / Travel / House / Medical Malpractice
   ---------------------------------------------------------- */

/* --- Shared: Terms & Conditions note --- */
.ammn-wizard .details-terms-note {
  font-size: 12px;
  color: var(--n400);
  margin: 0;
}

.ammn-wizard .details-terms-link {
  color: var(--page-accent);
  text-decoration: underline;
  font-weight: 500;
  cursor: pointer;
}

.ammn-wizard .details-terms-link:hover {
  opacity: 0.8;
}

/* --- Shared: Coverage Included Panel (Travel / House) --- */
.ammn-wizard .coverage-included-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--n10);
  border: 1px solid var(--n30);
  border-radius: 14px;
  padding: 20px;
}

.ammn-wizard .coverage-included-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: var(--n900);
}

.ammn-wizard .coverage-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.ammn-wizard .coverage-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--n700);
}

.ammn-wizard .coverage-check-item svg {
  flex-shrink: 0;
}

/* --- Shared: Policy Duration badge (House header) --- */
.ammn-wizard .policy-duration {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--n400);
}

.ammn-wizard .policy-duration strong {
  color: var(--n700);
}

/* ----------------------------------------------------------
   PETS — Coverage Table
   ---------------------------------------------------------- */
.ammn-wizard .coverage-table-panel {
  background: var(--n10);
  border: 1px solid var(--n30);
  border-radius: 14px;
  overflow: hidden;
}

.ammn-wizard .coverage-table-header {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--n20);
  border-bottom: 1px solid var(--n30);
}

.ammn-wizard .coverage-table-col-label {
  font-weight: 600;
  font-size: 12px;
  color: var(--n500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ammn-wizard .coverage-table-body {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.ammn-wizard .coverage-table-group-title {
  font-size: 12px;
  font-weight: 400;
  color: var(--n400);
  line-height: 1.5;
  padding: 8px 20px;
}

.ammn-wizard .coverage-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid var(--n20);
}

.ammn-wizard .coverage-table-row:last-child {
  border-bottom: none;
}

.ammn-wizard .coverage-table-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--n800);
}

.ammn-wizard .coverage-table-name svg {
  flex-shrink: 0;
}

.ammn-wizard .coverage-table-limit {
  font-size: 13px;
  font-weight: 600;
  color: var(--n700);
  white-space: nowrap;
}

.ammn-wizard .coverage-table-limit.included {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
}

/* ----------------------------------------------------------
   HOUSE — Sum Insured Banner
   ---------------------------------------------------------- */
.ammn-wizard .sum-insured-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--n10);
  border: 1px solid var(--n30);
  border-radius: 14px;
  padding: 16px 20px;
}

.ammn-wizard .sum-insured-banner strong {
  font-size: 14px;
  color: var(--n700);
}

.ammn-wizard .sum-insured-amount {
  font-weight: 700;
  font-size: 20px;
  color: var(--page-accent);
}

.ammn-wizard .sum-insured-note {
  font-size: 12px;
  color: var(--n400);
  line-height: 1.5;
  margin: 0;
}

/* ----------------------------------------------------------
   MEDICAL MALPRACTICE — Config Sections
   ---------------------------------------------------------- */

/* --- Policy Limit Cards --- */

/* --- Policy Duration Buttons --- */

/* --- Coverage Detail Features --- */
.ammn-wizard .detail-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ammn-wizard .feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.ammn-wizard .feature-item svg {
  flex-shrink: 0;
}

.ammn-wizard .feature-positive {
  color: var(--n700);
}

/* ----------------------------------------------------------
   PRODUCT OFFER CARDS — Responsive
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  .ammn-wizard .coverage-items-grid {
    grid-template-columns: 1fr;
  }

  .ammn-wizard .coverage-table-row {
    padding: 8px 14px;
  }

  .ammn-wizard .coverage-table-header {
    padding: 12px 14px;
  }

  .ammn-wizard .coverage-table-group-title {
    padding: 6px 14px;
  }

  }

/* ----------------------------------------------------------
   PRODUCT OFFER CARDS — Dark Mode
   ---------------------------------------------------------- */
[data-theme="dark"] .ammn-wizard .coverage-included-panel {
  background: var(--n20);
  border-color: var(--n30);
}

[data-theme="dark"] .ammn-wizard .coverage-included-header {
  color: var(--n0);
}

[data-theme="dark"] .ammn-wizard .coverage-check-item {
  color: var(--n200);
}

[data-theme="dark"] .ammn-wizard .coverage-table-panel {
  background: var(--n20);
  border-color: var(--n30);
}

[data-theme="dark"] .ammn-wizard .coverage-table-header {
  background: var(--n30);
  border-color: var(--n40);
}

[data-theme="dark"] .ammn-wizard .coverage-table-col-label {
  color: var(--n300);
}

[data-theme="dark"] .ammn-wizard .coverage-table-name {
  color: var(--n100);
}

[data-theme="dark"] .ammn-wizard .coverage-table-limit {
  color: var(--n200);
}

[data-theme="dark"] .ammn-wizard .coverage-table-row {
  border-color: var(--n30);
}

[data-theme="dark"] .ammn-wizard .coverage-table-group-title {
  color: var(--n300);
}

[data-theme="dark"] .ammn-wizard .sum-insured-banner {
  background: var(--n20);
  border-color: var(--n30);
}

[data-theme="dark"] .ammn-wizard .sum-insured-banner strong {
  color: var(--n200);
}

[data-theme="dark"] .ammn-wizard .feature-positive {
  color: var(--n200);
}

/* ----------------------------------------------------------
   STORE PRODUCTS (checkout inline section)
   ---------------------------------------------------------- */

/* RTL: flex-direction: row auto-reverses in RTL — no overrides needed */

/* Dark mode */

/* Inline remove button for store products in checkout main view */
.ammn-wizard .checkout-store-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--n400);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.ammn-wizard .checkout-store-remove:hover {
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  color: var(--danger);
}

[data-theme="dark"] .ammn-wizard .checkout-store-remove:hover {
  background: color-mix(in srgb, var(--danger) 20%, transparent);
}

/* ----------------------------------------------------------
   STORE BROWSE BUTTON (Quote Detail page)
   ---------------------------------------------------------- */
.ammn-wizard .btn-store-browse {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 18px 20px;
  border: 1.5px dashed var(--n200);
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand-green) 4%, var(--n0));
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-green);
}

.ammn-wizard .btn-store-browse:hover {
  border-color: var(--brand-green);
  background: color-mix(in srgb, var(--brand-green) 8%, var(--n0));
}

.ammn-wizard .btn-store-browse .arrow-icon {
  margin-inline-start: auto;
  opacity: 0.5;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ammn-wizard .btn-store-browse:hover .arrow-icon {
  opacity: 1;
  transform: translateX(3px);
}

[dir="rtl"] .ammn-wizard .btn-store-browse:hover .arrow-icon {
  transform: translateX(-3px) scaleX(-1);
}

[dir="rtl"] .ammn-wizard .btn-store-browse .arrow-icon {
  transform: scaleX(-1);
}

[data-theme="dark"] .ammn-wizard .btn-store-browse {
  background: color-mix(in srgb, var(--brand-green) 8%, var(--n10));
  border-color: var(--n40);
}

[data-theme="dark"] .ammn-wizard .btn-store-browse:hover {
  background: color-mix(in srgb, var(--brand-green) 14%, var(--n10));
  border-color: var(--brand-green);
}

/* ----------------------------------------------------------
   STORE DRAWER (Quote Detail page)
   ---------------------------------------------------------- */

.ammn-wizard .store-drawer__subtitle {
  font-size: 14px;
  color: var(--n400);
  margin: 0 0 16px;
}

.ammn-wizard .store-drawer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px 24px;
}

.ammn-wizard .store-drawer__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--n100);
  border-radius: 14px;
  background: var(--n0);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ammn-wizard .store-drawer__card:hover {
  border-color: var(--n200);
  box-shadow: var(--shadow-xs);
}

.ammn-wizard .store-drawer__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--n50);
  padding: 6px;
}

.ammn-wizard .store-drawer__icon-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--brand-green) 8%, var(--n50));
  color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ammn-wizard .store-drawer__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ammn-wizard .store-drawer__info strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--n800);
}

.ammn-wizard .store-drawer__desc {
  font-size: 13px;
  color: var(--n400);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  /* Standard property for compatibility */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ammn-wizard .store-drawer__price {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-green);
}

.ammn-wizard .store-drawer__card--selected {
  border-color: var(--page-accent);
  background: color-mix(in srgb, var(--page-accent) 4%, var(--n0));
}

.ammn-wizard .store-drawer__toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1.5px solid var(--n200);
  border-radius: 8px;
  background: var(--n0);
  font-size: 13px;
  font-weight: 600;
  color: var(--n600);
  cursor: pointer;
  transition: all 0.15s ease;
}

.ammn-wizard .store-drawer__toggle:hover {
  border-color: var(--page-accent);
  color: var(--page-accent);
}

.ammn-wizard .store-drawer__toggle--active {
  border-color: var(--page-accent);
  background: color-mix(in srgb, var(--page-accent) 8%, var(--n0));
  color: var(--page-accent);
}

/* RTL: flex-direction: row auto-reverses in RTL — no overrides needed */

/* Dark mode */
[data-theme="dark"] .ammn-wizard .store-drawer__card--selected {
  background: color-mix(in srgb, var(--page-accent) 6%, var(--n10));
}

[data-theme="dark"] .ammn-wizard .store-drawer__toggle {
  background: var(--n10);
  border-color: var(--n50);
  color: var(--n400);
}

[data-theme="dark"] .ammn-wizard .store-drawer__toggle--active {
  background: color-mix(in srgb, var(--page-accent) 12%, var(--n10));
}

[data-theme="dark"] .ammn-wizard .store-drawer__card {
  background: var(--n10);
  border-color: var(--n30);
}

[data-theme="dark"] .ammn-wizard .store-drawer__card:hover {
  border-color: var(--n50);
}

[data-theme="dark"] .ammn-wizard .store-drawer__icon {
  background: var(--n20);
}

[data-theme="dark"] .ammn-wizard .store-drawer__icon-placeholder {
  background: color-mix(in srgb, var(--brand-green) 12%, var(--n20));
}

/* ----------------------------------------------------------
   CHECKOUT LAYOUT (two-column: main + sidebar)
   ---------------------------------------------------------- */
.ammn-wizard .checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

.ammn-wizard .checkout-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.ammn-wizard .checkout-sidebar {
  position: sticky;
  top: 24px;
}

.ammn-wizard .checkout-summary-card {
  border: 1.5px solid var(--n100);
}

@media (max-width: 900px) {
  .ammn-wizard .checkout-layout {
    grid-template-columns: 1fr;
  }

  .ammn-wizard .checkout-sidebar {
    position: static;
  }
}

/* ----------------------------------------------------------
   CHECKOUT PAYMENT METHODS — Grid tiles
   ---------------------------------------------------------- */
.ammn-wizard .pm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.ammn-wizard .pm-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px 12px;
  border: 1.5px solid var(--n100);
  border-radius: 12px;
  background: var(--n0);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}

.ammn-wizard .pm-tile:hover {
  border-color: var(--n200);
  background: var(--n50);
}

.ammn-wizard .pm-tile--selected {
  border-color: var(--success);
  background: color-mix(in srgb, var(--success) 5%, var(--n0));
  box-shadow: 0 0 0 1px var(--success);
}

.ammn-wizard .pm-tile__logo {
  width: 64px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  padding: 2px;
  background: var(--n0);
}

.ammn-wizard .pm-tile__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--n700);
  line-height: 1.3;
}

.ammn-wizard .pm-tile__check {
  position: absolute;
  top: 6px;
  inset-inline-end: 6px;
}

@media (max-width: 400px) {
  .ammn-wizard .pm-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Phase 5: cross-device "pay on your phone" (Apple Pay QR) */
.ammn-wizard .pm-phone {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ammn-wizard .pm-phone__divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--n400);
  font-size: 12px;
}

.ammn-wizard .pm-phone__divider::before,
.ammn-wizard .pm-phone__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--n100);
}

.ammn-wizard .pm-phone__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--n200);
  border-radius: 10px;
  background: var(--n0);
  color: var(--n800);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ammn-wizard .pm-phone__btn:hover:not(:disabled) {
  border-color: var(--n400);
  background: var(--n50);
}

.ammn-wizard .pm-phone__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ammn-wizard .pm-phone__logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.ammn-wizard .pm-phone__hint {
  font-size: 12px;
  color: var(--n400);
  text-align: center;
}

/* QR overlay */
.ammn-wizard .pay-phone-overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, black 45%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 16px;
}

.ammn-wizard .pay-phone-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: var(--n0);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.ammn-wizard .pay-phone-card__close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: var(--n50);
  color: var(--n700);
  cursor: pointer;
}

.ammn-wizard .pay-phone-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--n900);
  margin: 0;
}

.ammn-wizard .pay-phone-card__qr {
  width: 220px;
  height: 220px;
  padding: 10px;
  background: var(--n0);
  border: 1px solid var(--n100);
  border-radius: 12px;
}

.ammn-wizard .pay-phone-card__qr svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ammn-wizard .pay-phone-card__text {
  font-size: 13px;
  color: var(--n700);
  line-height: 1.5;
  margin: 0;
}

.ammn-wizard .pay-phone-card__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--n800);
}

.ammn-wizard .pay-phone-card__error {
  font-size: 13px;
  color: var(--error);
  margin: 0;
}

/* ----------------------------------------------------------
   CHECKOUT PROMO
   ---------------------------------------------------------- */
.ammn-wizard .checkout-promo-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ammn-wizard .checkout-promo-input {
  flex: 1;
}

.ammn-wizard .checkout-promo-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
}

.ammn-wizard .checkout-promo-badge.text-green {
  background: color-mix(in srgb, var(--success) 8%, transparent);
}

.ammn-wizard .checkout-promo-badge.text-red {
  background: color-mix(in srgb, var(--error) 8%, transparent);
}

/* ----------------------------------------------------------
   CHECKOUT DARK MODE
   ---------------------------------------------------------- */
[data-theme="dark"] .ammn-wizard .pm-tile {
  background: var(--n10);
  border-color: var(--n30);
}

[data-theme="dark"] .ammn-wizard .pm-tile:hover {
  background: var(--n20);
  border-color: var(--n40);
}

[data-theme="dark"] .ammn-wizard .pm-tile--selected {
  background: color-mix(in srgb, var(--success) 8%, var(--n10));
}

[data-theme="dark"] .ammn-wizard .pm-tile__logo {
  background: var(--n20);
}

[data-theme="dark"] .ammn-wizard .pm-tile__name {
  color: var(--n200);
}

[data-theme="dark"] .ammn-wizard .sum-group {
  border-bottom-color: var(--n30);
}

[data-theme="dark"] .ammn-wizard .sum-group--total {
  border-top-color: var(--n40);
}

[data-theme="dark"] .ammn-wizard .checkout-summary-card {
  border-color: var(--n30);
}

/* RTL: flex-direction: row auto-reverses in RTL — no overrides needed */

/* ----------------------------------------------------------
   CHECKOUT TERMS & VALIDATION HINTS
   ---------------------------------------------------------- */
.ammn-wizard .checkout-terms {
  margin-top: 8px;
}

.ammn-wizard .checkout-hints {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--error) 8%, var(--n0));
  border: 1px solid color-mix(in srgb, var(--error) 35%, transparent);
  border-radius: 10px;
}

.ammn-wizard .checkout-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--error);
  font-weight: 500;
}

.ammn-wizard .checkout-submit-error {
  margin-top: 10px;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--error) 10%, var(--n0));
  border: 1px solid color-mix(in srgb, var(--error) 35%, transparent);
  border-radius: 10px;
  color: var(--error);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.ammn-wizard .checkout-hint::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--error);
  flex-shrink: 0;
}

[data-theme="dark"] .ammn-wizard .checkout-hints {
  background: color-mix(in srgb, var(--error) 10%, var(--n10));
  border-color: color-mix(in srgb, var(--error) 40%, transparent);
}

/* ==========================================================
   PAYMENT PAGES
   ========================================================== */

/* Payment pages — use root --page-accent */

/* Status card — centered feedback (success / error / loading) */
.ammn-wizard .payment-status-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 520px;
  margin: 60px auto;
  padding: 48px 32px;
  background: var(--n0);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.ammn-wizard .payment-status-icon {
  margin-bottom: 20px;
}

.ammn-wizard .payment-status-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--n900);
  margin: 0 0 8px;
}

.ammn-wizard .payment-status-text {
  font-size: 0.95rem;
  color: var(--n500);
  margin: 0 0 4px;
}

.ammn-wizard .payment-status-ref {
  font-size: 0.85rem;
  color: var(--n400);
  margin: 0 0 4px;
}

.ammn-wizard .payment-status-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.ammn-wizard .payment-status-policy,
.ammn-wizard .payment-status-generating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px dashed var(--n200);
}

.ammn-wizard .payment-status-policy-no {
  font-size: 0.95rem;
  color: var(--n700);
  margin: 0;
}

.ammn-wizard .payment-status-hint {
  font-size: 0.85rem;
  color: var(--n400);
  margin: 0;
  max-width: 360px;
}

/* Invoice card — SADAD / External payment info */
.ammn-wizard .payment-invoice-card {
  max-width: 640px;
  margin: 40px auto;
}

.ammn-wizard .payment-invoice-header {
  text-align: center;
  margin-bottom: 24px;
}

.ammn-wizard .payment-invoice-logo {
  height: 48px;
  margin-bottom: 12px;
}

.ammn-wizard .payment-invoice-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--n900);
  margin: 0;
}

.ammn-wizard .payment-invoice-subtitle {
  font-size: 0.9rem;
  color: var(--n500);
  margin: 8px 0 0;
}

.ammn-wizard .payment-invoice-number {
  text-align: center;
  margin: 24px 0;
  padding: 16px;
  background: var(--n50);
  border-radius: 12px;
}

.ammn-wizard .payment-invoice-number span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--warning);
  letter-spacing: 2px;
}

.ammn-wizard .payment-invoice-details {
  margin-bottom: 16px;
}

.ammn-wizard .payment-invoice-details p {
  margin: 4px 0;
  color: var(--n700);
}

.ammn-wizard .payment-invoice-steps {
  margin: 24px 0;
  padding: 16px;
  background: var(--n50);
  border-radius: 12px;
}

.ammn-wizard .payment-invoice-steps-title {
  color: var(--warning);
  margin: 0 0 12px;
  font-size: 1rem;
}

.ammn-wizard .payment-invoice-steps ol {
  padding-inline-start: 20px;
  line-height: 1.8;
  margin: 0;
}

.ammn-wizard .payment-open-link {
  display: inline-block;
  margin-top: 12px;
  text-decoration: none;
  text-align: center;
}

/* Payment summary top card */
.ammn-wizard .payment-summary-topcard {
  max-width: 640px;
  margin: 24px auto 0;
  padding: 20px 24px;
}

.ammn-wizard .payment-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.ammn-wizard .payment-summary-label {
  font-size: 14px;
  color: var(--n500);
}

.ammn-wizard .payment-summary-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--n900);
}

.ammn-wizard .payment-summary-row--total {
  border-top: 1px solid var(--n100);
  margin-top: 4px;
  padding-top: 10px;
}

.ammn-wizard .payment-summary-row--total .payment-summary-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--success);
}

/* Payment summary header — logos + method name */
.ammn-wizard .payment-summary-topcard__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
}

.ammn-wizard .payment-summary-topcard__logos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ammn-wizard .payment-summary-topcard__company-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--n50);
  padding: 4px;
}

.ammn-wizard .payment-summary-topcard__payment-logo {
  width: 40px;
  height: 28px;
  object-fit: contain;
}

.ammn-wizard .payment-summary-topcard__method {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ammn-wizard .payment-summary-topcard__method .payment-summary-value {
  font-size: 15px;
}

[data-theme="dark"] .ammn-wizard .payment-summary-topcard__company-logo {
  background: var(--n20);
}

/* HyperPay widget card */
.ammn-wizard .payment-widget-card {
  max-width: 640px;
  margin: 40px auto;
}

.ammn-wizard .payment-widget-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--n900);
  margin: 0 0 16px;
}

/* Dark theme overrides */
[data-theme="dark"] .ammn-wizard .payment-summary-topcard {
  background: var(--n10);
}

[data-theme="dark"] .ammn-wizard .payment-summary-value {
  color: var(--n200);
}

[data-theme="dark"] .ammn-wizard .payment-summary-row--total {
  border-color: var(--n40);
}

[data-theme="dark"] .ammn-wizard .payment-status-card {
  background: var(--n10);
}

[data-theme="dark"] .ammn-wizard .payment-invoice-number,
[data-theme="dark"] .ammn-wizard .payment-invoice-steps {
  background: var(--n20);
}

/* ----------------------------------------------------------
   RIYAL AMOUNT — Saudi Riyal SVG icon + amount
   ---------------------------------------------------------- */
.ammn-wizard .riyal-amount,
.riyal-amount {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  direction: ltr;
  /* amounts always LTR regardless of page direction */
  white-space: nowrap;
}

.riyal-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  vertical-align: middle;
}

.riyal-value {
  font-variant-numeric: tabular-nums;
}

/* Wizard request reference bar — visible on all steps */
.wizard-request-ref {
  text-align: center;
  padding: var(--spacing-xs, 4px) 0;
  font-size: var(--font-size-sm, 0.8125rem);
  color: var(--n500, #6b7280);
  opacity: 0.7;
  letter-spacing: 0.02em;
}

/* ============================================================
   Live camera capture (CameraCapture.razor) — camera-only viewfinder.
   The viewfinder chrome is intentionally black (camera-UI convention,
   theme-independent), so it uses literal black rather than a brand token.
   ============================================================ */
.camera-capture-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  padding: 12px;
}

.camera-capture {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  max-height: 100%;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}

.camera-capture__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: #fff;
}

.camera-capture__titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.camera-capture__title-ar {
  font-weight: 600;
  font-size: 0.95rem;
}

.camera-capture__title-en {
  font-size: 0.78rem;
  opacity: 0.75;
}

.camera-capture__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.camera-capture__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.camera-capture__stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  background: #000;
}

.camera-capture__video,
.camera-capture__preview {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  background: #000;
}

.camera-capture__video.is-hidden {
  display: none;
}

.camera-capture__loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-capture__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px;
}

.camera-capture__shutter {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid #fff;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.camera-capture__shutter:disabled {
  opacity: 0.4;
  cursor: default;
}

.camera-capture__shutter-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
}

.camera-capture__btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 120px;
  padding: 10px 18px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.camera-capture__btn--secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.camera-capture__btn--primary {
  background: var(--success, #22c55e);
  color: #fff;
}

.camera-capture__btn-en {
  font-size: 0.72rem;
  opacity: 0.8;
}

.camera-capture__unsupported {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 24px;
  color: #fff;
  text-align: center;
}

.camera-capture__unsupported-en {
  font-size: 0.8rem;
  opacity: 0.75;
}

/* The per-slot capture triggers are now <button>s (were <label>/<MudFileUpload>).
   Strip native button chrome so they keep the original boxed look. */
.img-upload-card__capture-label,
.upload-page__file-input {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
}
/* ── Offers: what the price is based on, and the way to change it ──────────
   Motor only. Its customer reaches the offers screen WITHOUT filling the details
   step — the quote is priced on defaults — so the screen has to say what those
   were. Sits directly under the policy summary, above the filter bar. */
.offers-rated-on {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -4px 0 16px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--n200, #e3e6ef);
  background: var(--n50, #f7f8fb);
}

.offers-rated-on__text {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--n700, #4a5468);
}

.offers-rated-on__edit {
  flex: none;
  min-block-size: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--brand-primary, #0a3a9f);
  background: transparent;
  color: var(--brand-primary, #0a3a9f);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, opacity .18s ease;
}

.offers-rated-on__edit:hover:not(:disabled) {
  background: color-mix(in srgb, var(--brand-primary, #0a3a9f) 8%, transparent);
}

.offers-rated-on__edit:focus-visible {
  outline: 3px solid var(--brand-primary, #0a3a9f);
  outline-offset: 2px;
}

/* Disabled while the batch is still streaming — re-rating mid-batch cancels
   quotes the customer can already see. */
.offers-rated-on__edit:disabled {
  opacity: .5;
  cursor: not-allowed;
}

@media (max-width: 560px) {
  .offers-rated-on {
    flex-direction: column;
    align-items: stretch;
  }

  .offers-rated-on__edit {
    inline-size: 100%;
  }
}

/* The only action on the zero-offers screen — styled like the rated-on header's edit control so
   the two read as the same affordance. */
.offers-empty__edit {
    margin-top: 18px;
    padding: 12px 28px;
    border: 1px solid var(--brand-primary, #18c92f);
    border-radius: 12px;
    background: transparent;
    color: var(--brand-primary, #18c92f);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.offers-empty__edit:hover:not(:disabled) {
    background: var(--brand-primary-bg, rgba(24, 201, 47, 0.1));
}

.offers-empty__edit:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.offers-empty__edit:focus-visible {
    outline: 2px solid var(--brand-primary, #18c92f);
    outline-offset: 2px;
}
