/* ============================================================
   Gov.il — מרכז לגביית קנסות / המרכז לגביית קנסות אגרות והוצאות
   PHP port stylesheet (mirrors the Vite/React build look)
   ============================================================ */

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Assistant", "Noto Sans Hebrew", "Tajawal", "Arial", sans-serif;
  background: #f4f4f4;
  color: #111;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

/* ---------- header ---------- */
.gov-header {
  width: 100%;
  height: 70px;
  background: linear-gradient(90deg, #075ED1 0%, #0E366A 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: relative;
  z-index: 30;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  user-select: none;
}
.gov-header__inner {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gov-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gov-header__menu-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.1s;
}
.gov-header__menu-btn:hover { background: rgba(255,255,255,0.10); }
.gov-header__menu-btn:active { transform: scale(0.95); }
.gov-header__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.gov-header__brand:hover { opacity: 0.95; }
.gov-header__emblem { height: 44px; width: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.12)); }
.gov-header__logo { height: 46px; width: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.12)); }
.gov-header__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 400;
  user-select: none;
}
.gov-header__lang-btn {
  background: transparent;
  border: none;
  color: #fff;
  font: inherit;
  padding: 0;
  transition: opacity 0.15s, text-decoration-color 0.15s;
}
.gov-header__lang-btn:hover { opacity: 1; text-decoration: underline; }
.gov-header__lang-btn--active { font-weight: 600; }
.gov-header__lang-sep { color: rgba(255,255,255,0.6); }

/* ---------- sub bar ---------- */
.gov-sub-bar {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e2e6eb;
  padding: 8px 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.gov-sub-bar__inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gov-sub-bar__spacer { flex: 1; }
.gov-sub-bar__cart {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #222;
  font-size: 15px;
  cursor: pointer;
  transition: color 0.15s;
  user-select: none;
}
.gov-sub-bar__cart:hover { color: #0466F0; }
.gov-sub-bar__cart-count { font-weight: 400; font-size: 15px; }

/* ---------- layout ---------- */
main {
  flex: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 16px 24px 16px;
}
.page-wrap { padding: 0; }

/* ---------- step indicator ---------- */
.steps-indicator {
  position: relative;
  margin-bottom: 24px;
  padding-top: 8px;
  user-select: none;
}
.steps-indicator__line {
  position: absolute;
  top: 28px;
  left: 35px;
  right: 35px;
  height: 1.5px;
  background: #cbd5e1;
  z-index: 0;
}
.steps-indicator__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.steps-indicator__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 76px;
}
.steps-indicator__item--clickable { cursor: pointer; }
.steps-indicator__circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid #cbd5e1;
  background: #fff;
  color: #64748b;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.steps-indicator__circle--active,
.steps-indicator__circle--done {
  background: #0466F0;
  border-color: #0466F0;
  color: #fff;
}
.steps-indicator__label {
  margin-top: 8px;
  font-size: 12px;
  text-align: center;
  transition: color 0.2s, font-weight 0.2s;
  color: #64748b;
  font-weight: 400;
}
.steps-indicator__label--active {
  color: #103565;
  font-weight: 700;
}
.steps-indicator__label--done {
  color: #0466F0;
  font-weight: 500;
}

/* ---------- step 1 ---------- */
.step1__org {
  text-align: right;
  color: #103565;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 1px;
}
.step1__title {
  text-align: right;
  color: #103565;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px 0;
  direction: rtl;
}
.step1__notice-label {
  font-weight: 700;
  color: #103565;
  font-size: 17px;
  margin-bottom: 8px;
  text-align: right;
}
.step1__notice {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.step1__notice-p {
  font-size: 13.5px;
  color: #333a42;
  line-height: 1.65;
  margin: 0 0 10px 0;
  text-align: right;
  direction: rtl;
}
.step1__notice-p:last-child { margin-bottom: 0; }
.step1__notice-warn { color: #d32f2f; font-weight: 700; }

.step1__select-wrap { margin-bottom: 20px; position: relative; }
.step1__label {
  display: block;
  font-size: 14px;
  color: #103565;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: right;
  direction: rtl;
}
.step1__required { color: #d32f2f; margin-left: 4px; }
.step1__select-btn {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.15s;
  text-align: right;
  direction: rtl;
}
.step1__select-btn:hover { border-color: #0466F0; }
.step1__select-text { font-size: 14.5px; }
.step1__select-text--set { color: #103565; font-weight: 500; }
.step1__select-text--placeholder { color: #94a3b8; }
.step1__select-arrow {
  flex-shrink: 0;
  transition: transform 0.2s;
}
.step1__select-arrow--open { transform: rotate(180deg); }
.step1__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  max-height: 300px;
  overflow-y: auto;
  text-align: right;
  direction: rtl;
  z-index: 50;
}
.step1__dropdown-item {
  padding: 10px 14px;
  font-size: 13.5px;
  color: #333a42;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.12s, color 0.12s;
}
.step1__dropdown-item:last-child { border-bottom: none; }
.step1__dropdown-item:hover { background: #f2f6fd; color: #0466F0; }
.step1__dropdown-item--selected {
  background: #f2f6fd;
  color: #0466F0;
  font-weight: 600;
}

.step1__heading {
  font-size: 17px;
  font-weight: 700;
  color: #103565;
  margin: 0 0 4px 0;
  text-align: right;
  direction: rtl;
}
.step1__hint {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 16px 0;
  text-align: right;
  direction: rtl;
}
.step1__error {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 13px;
  border-radius: 8px;
  text-align: right;
  direction: rtl;
}
.step1__input {
  width: 100%;
  height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  text-align: right;
  direction: rtl;
  font-size: 15px;
  color: #111;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.step1__input:focus {
  border-color: #0466F0;
  box-shadow: 0 0 0 1px #0466F0;
}
.step1__submit-wrap { padding-top: 8px; margin-top: 4px; }
.step1__btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: #d7dbe0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.1s;
}
.step1__btn--ok {
  background: #0466F0;
  color: #fff;
  cursor: pointer;
}
.step1__btn--ok:hover { background: #0353c4; }
.step1__btn--ok:active { transform: scale(0.99); }

/* ---------- steps connector (steps 2+ rows) ---------- */
.steps {
  position: relative;
  margin-bottom: 24px;
  padding-top: 4px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.steps-connector {
  position: absolute;
  top: 15px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: #cbd5e1;
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  text-align: center;
  min-width: 0;
}
.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  background: #fff;
  border: 2px solid #cbd5e1;
  color: #64748b;
  margin-bottom: 6px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.step.active .step-circle {
  background: #0466F0;
  border-color: #0466F0;
  color: #fff;
}
.step.done .step-circle {
  background: #0466F0;
  border-color: #0466F0;
  color: #fff;
}
.step_clickable { cursor: pointer; }
.step-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 400;
}
.step.active .step-label { color: #103565; font-weight: 600; }

.breadcrumb {
  color: #14335e;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 4px 0;
}
.page-title {
  font-size: 22px;
  font-weight: 800;
  color: #103565;
  margin: 0 0 20px 0;
  direction: rtl;
  text-align: right;
}

.notice-heading {
  font-size: 17px;
  font-weight: 700;
  color: #103565;
  margin: 0 0 4px 0;
  direction: rtl;
  text-align: right;
}
.required-note {
  font-size: 13px;
  color: #475569;
  margin: 0 0 16px 0;
  direction: rtl;
  text-align: right;
}

/* ---------- case card ---------- */
.card {
  background: #fff;
  border: 1px solid #e2e6eb;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.case-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.case-info { flex: 1; direction: rtl; text-align: right; }
.case-number {
  font-weight: 700;
  color: #103565;
  font-size: 15px;
  margin-bottom: 4px;
  direction: rtl;
}
.case-source {
  font-size: 13px;
  color: #475569;
  margin-bottom: 2px;
  direction: rtl;
}
.case-trip {
  font-size: 13px;
  color: #475569;
  margin-bottom: 2px;
  direction: rtl;
}
.status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #ef4444;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 6px;
}
.case-amount {
  font-size: 22px;
  font-weight: 800;
  color: #0466F0;
  white-space: nowrap;
}

.section-title {
  font-size: 17px;
  font-weight: 700;
  color: #103565;
  margin: 0 0 4px 0;
  direction: rtl;
  text-align: right;
}

.field-block { margin-bottom: 16px; }
.input-label {
  font-size: 14px;
  font-weight: 700;
  color: #103565;
  margin-bottom: 6px;
  direction: rtl;
  text-align: right;
}
.required-star { color: #d32f2f; margin-left: 2px; }
.input-box { position: relative; }
.input-text-right {
  width: 100%;
  height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  text-align: right;
  direction: rtl;
  font-size: 15px;
  color: #111;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input-text-right:focus {
  border-color: #0466F0;
  box-shadow: 0 0 0 1px #0466F0;
}

.submit-btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 8px;
  background: #0466F0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, opacity 0.15s;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.submit-btn:hover { background: #0353c4; }
.submit-btn:active { transform: scale(0.99); }
.submit-btn:disabled {
  background: #a0aec0;
  cursor: not-allowed;
  transform: none;
}

/* ---------- step 3 ---------- */
.summary-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 16px;
  direction: rtl;
}
.summary-mini .label {
  font-size: 14px;
  color: #103565;
  font-weight: 600;
}
.summary-mini .value {
  font-size: 18px;
  font-weight: 800;
  color: #0466F0;
}

.otp-label {
  font-size: 17px;
  font-weight: 700;
  color: #103565;
  margin-bottom: 8px;
  direction: rtl;
  text-align: right;
}
.otp-input {
  width: 100%;
  height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 8px;
  color: #14335e;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  padding: 0 8px;
  direction: ltr;
}
.otp-input:focus {
  border-color: #0466F0;
  box-shadow: 0 0 0 1px #0466F0;
}
.otp-error {
  color: #d32f2f;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 14px;
}

.countdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  direction: rtl;
}
#countdownText {
  font-size: 13px;
  color: #475569;
}
.resend-link {
  font-size: 13px;
  color: #475569;
  cursor: default;
  transition: color 0.15s;
}
.resend-link--active {
  color: #0466F0;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
}

/* ---------- step 4 ---------- */
.step4__badge {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.step4__badge-icon {
  width: 56px;
  height: 56px;
  background: #059669;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.step4__badge-title {
  font-size: 20px;
  font-weight: 800;
  color: #065f46;
  margin: 0 0 4px 0;
}
.step4__badge-sub {
  font-size: 12px;
  color: #047857;
  margin: 0;
}
.step4__badge-email { font-weight: 600; }

.step4__receipt {
  background: #fff;
  border: 1px solid #e2e6eb;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.step4__receipt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.step4__receipt-label {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}
.step4__receipt-code {
  font-size: 12px;
  font-weight: 700;
  color: #0466F0;
}
.step4__receipt-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.step4__receipt-row {
  display: flex;
  justify-content: space-between;
  direction: rtl;
  font-size: 13px;
}
.step4__receipt-row > span:first-child { color: #9ca3af; }
.step4__receipt-row > span:last-child { color: #1f2937; font-weight: 600; direction: rtl; text-align: right; }
.step4__receipt-foot {
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.step4__receipt-total-label {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}
.step4__receipt-total-val {
  font-size: 22px;
  font-weight: 800;
  color: #0466F0;
}

.step4__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.step4__action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #c7cdd4;
  color: #4b5563;
  font-size: 12px;
  font-weight: 600;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}
.step4__action-btn:hover { background: #f9fafb; }

.step4__reset-btn {
  width: 100%;
  background: #0466F0;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}
.step4__reset-btn:hover { background: #0353c4; }

/* ---------- recaptcha badge ---------- */
.gov-recaptcha {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 40;
}
.gov-recaptcha__toggle {
  width: 52px;
  height: 52px;
  background: #eef2f6;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.gov-recaptcha__toggle:hover { background: #e2e8f0; }
.gov-recaptcha__toggle:active { transform: scale(0.95); }
.gov-recaptcha__popover {
  position: absolute;
  bottom: 64px;
  left: 0;
  width: 288px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  border: 1px solid #e5e7eb;
  padding: 16px;
  text-align: right;
  direction: rtl;
  font-size: 12px;
  z-index: 50;
}
.gov-recaptcha__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.gov-recaptcha__head-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #374151;
  font-size: 12px;
}
.gov-recaptcha__dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
}
.gov-recaptcha__close {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.gov-recaptcha__close:hover { color: #4b5563; }
.gov-recaptcha__verify {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 12px;
  direction: rtl;
}
.gov-recaptcha__check { width: 16px; height: 16px; accent-color: #2563eb; cursor: pointer; }
.gov-recaptcha__check-label {
  font-size: 13px;
  color: #374151;
  font-weight: 500;
  cursor: pointer;
  flex: 1;
}
.gov-recaptcha__icon { flex-shrink: 0; }
.gov-recaptcha__legal {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
  direction: rtl;
}
.gov-recaptcha__link { color: #2563eb; text-decoration: underline; font-size: 11px; }

/* ---------- sidemenu ---------- */
.gov-sidemenu {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 50;
  user-select: none;
}
.gov-sidemenu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(2px);
  cursor: pointer;
}
.gov-sidemenu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #fff;
  box-shadow: -8px 0 30px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  z-index: 1;
  animation: slideLeft 0.2s ease-out;
}
@keyframes slideLeft {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
.gov-sidemenu__header {
  padding: 16px;
  background: linear-gradient(90deg, #075ED1 0%, #0E366A 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gov-sidemenu__title { font-size: 14px; font-weight: 700; }
.gov-sidemenu__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: none;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.gov-sidemenu__close:hover { background: rgba(255,255,255,0.20); }
.gov-sidemenu__body {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 14px;
}
.gov-sidemenu__access {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
}
.gov-sidemenu__access-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 10px;
}
.gov-sidemenu__access-title svg { flex-shrink: 0; }
.gov-sidemenu__access-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
  color: #475569;
  direction: rtl;
}
.gov-sidemenu__access-row:last-child { margin-bottom: 0; }
.gov-sidemenu__font-ctl {
  display: flex;
  align-items: center;
  gap: 4px;
}
.gov-sidemenu__font-ctl button {
  width: 28px;
  height: 24px;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.12s;
}
.gov-sidemenu__font-ctl button:hover { background: #f1f5f9; }
.gov-sidemenu__font-size {
  padding: 0 6px;
  font-weight: 600;
  color: #475569;
  font-size: 12px;
}
.gov-sidemenu__hc-btn {
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.gov-sidemenu__hc-btn--on {
  background: #000;
  color: #fde047;
  border-color: #fde047;
}
.gov-sidemenu__services-title {
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.gov-sidemenu__services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: #4b5563;
  direction: rtl;
}
.gov-sidemenu__services li { margin: 0; }
.gov-sidemenu__services a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}
.gov-sidemenu__services a:hover { background: #eff6ff; color: #1d4ed8; }
.gov-sidemenu__services--active {
  background: rgba(239,246,255,0.70) !important;
  color: #1e40af !important;
  font-weight: 600 !important;
}
.gov-sidemenu__contact {
  background: rgba(239,246,255,0.60);
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  color: #1e40af;
  direction: rtl;
}
.gov-sidemenu__contact-title { font-weight: 700; margin-bottom: 4px; }
.gov-sidemenu__contact-number {
  font-size: 18px;
  font-weight: 800;
  color: #1d4ed8;
  margin-bottom: 4px;
  direction: rtl;
}
.gov-sidemenu__contact-hours {
  font-size: 11px;
  color: #6b7280;
  direction: rtl;
}
.gov-sidemenu__footer {
  padding: 12px;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 11px;
  color: #9ca3af;
}

/* ---------- utility ---------- */
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-ltr { direction: ltr; }

/* high contrast override */
.high-contrast {
  --hc-bg: #000;
  --hc-text: #fde047;
  background: #000 !important;
  color: #fde047 !important;
}
.high-contrast .step1__input,
.high-contrast .input-text-right,
.high-contrast .otp-input {
  background: #000 !important;
  color: #fde047 !important;
  border-color: #fde047 !important;
}
.high-contrast .step1__notice,
.high-contrast .card,
.high-contrast .step4__receipt,
.high-contrast .gov-recaptcha__popover,
.high-contrast .gov-sidemenu__panel {
  background: #000 !important;
  border-color: #fde047 !important;
}
.high-contrast .step1__notice-p,
.high-contrast .step4__receipt-row > span,
.high-contrast .gov-recaptcha__legal,
.high-contrast .gov-sidemenu__services a {
  color: #fde047 !important;
}
.high-contrast .status-badge { background: #fde047 !important; color: #000 !important; }
.high-contrast .step4__badge { background: #000 !important; border-color: #fde047 !important; }
.high-contrast .step4__badge-title { color: #fde047 !important; }
.high-contrast .step4__badge-sub { color: #fde047 !important; }

/* animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn { animation: fadeIn 0.25s ease-out; }
