/* /order page (vanilla rebuild 2026-11-25) */
.order-hero { padding: 40px 0 8px; }
.order-hero h1 { margin-bottom: 10px; }
.order-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 18px; }
.order-steps a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink);
  text-decoration: none; font-weight: 500;
}
.order-steps a:hover { border-color: var(--brand); }
.num {
  width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark);
  display: inline-grid; place-items: center; font-weight: 700; flex: 0 0 32px; font-size: .95rem;
}
.order-steps .num { margin: 0; width: 28px; height: 28px; flex-basis: 28px; }
.order-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 24px 0 8px; align-items: start; }
.order-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; line-height: 1.3; margin-bottom: 8px; }
.order-card h2 .num { margin: 0; }
.hint { color: var(--ink-soft); font-size: .95rem; margin-bottom: 14px; }
.field-help { color: var(--ink-soft); font-size: .85rem; margin: -6px 0 12px; }
input[type="date"], input[type="password"] {
  width: 100%; border: 2px solid var(--input-border); border-radius: 12px; padding: 12px 14px;
  font: inherit; font-size: max(16px, 1.1rem); min-height: 48px; background: #fff; color: var(--ink); margin-bottom: 12px;
}
input[type="date"] { direction: rtl; text-align: right; -webkit-appearance: none; appearance: none; display: block; }
input[type="date"]::-webkit-date-and-time-value { text-align: right; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b3261e; }
.btn-block { width: 100%; min-height: 48px; }
.btn-big { font-size: 1.1rem; min-height: 54px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-btn {
  background: none; border: 0; color: var(--brand-dark); font: inherit; font-weight: 500; cursor: pointer;
  text-decoration: underline; min-height: 44px; padding: 0 4px; display: inline-flex; align-items: center;
}
.status { font-weight: 600; margin-top: 10px; min-height: 0; }
.status:empty { display: none; }
.error { color: #8a1515; font-weight: 600; margin-top: 10px; }
.ok-line { color: var(--ok); margin-bottom: 4px; word-break: break-all; }
.acc-links { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.acc-links a { min-height: 44px; display: inline-flex; align-items: center; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.tabs button {
  min-height: 44px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 600;
  color: var(--ink); cursor: pointer; touch-action: manipulation;
}
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.check-row { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 14px; }
.check-row input { width: 24px; height: 24px; flex: 0 0 24px; margin-top: 2px; accent-color: var(--brand); }
.check-row label { font-weight: 400; font-size: .95rem; margin: 0; }
.summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  border-top: 1px dashed var(--line); padding: 12px 0; margin-bottom: 10px;
}
.summary strong { font-size: 1.35rem; }
.summary small { font-size: .8rem; color: var(--ink-soft); font-weight: 500; }
.pay-slot { margin-bottom: 12px; }
.done { background: #eaf6ef; border: 1px solid #b7dcc6; border-radius: 14px; padding: 16px; margin-top: 12px; }
.done h3 { color: var(--ok); margin-bottom: 6px; }
.done .btn { margin-top: 10px; }
.order-extra { padding: 28px 0 8px; }
.inc-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 18px; }
.inc-list li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-weight: 500; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
textarea { resize: vertical; }
[hidden] { display: none !important; }
@media (max-width: 980px) {
  .order-grid { grid-template-columns: 1fr; }
  .inc-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .order-hero { padding-top: 24px; }
  .inc-list, .two-col { grid-template-columns: 1fr; }
  .order-card { padding: 18px; }
}

.license-guide {
  margin: 6px 0 20px;
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}
.license-guide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}
.license-guide figcaption {
  margin-top: 12px;
  color: var(--ink);
  font-size: .92rem;
}
.license-guide ol {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  counter-reset: lic;
}
.license-guide ol li {
  position: relative;
  padding-inline-start: 32px;
  margin-bottom: 6px;
  font-weight: 500;
  line-height: 1.45;
}
.license-guide ol li::before {
  counter-increment: lic;
  content: counter(lic);
  position: absolute;
  inset-inline-start: 0;
  top: 0.05em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}
.license-guide-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: .88rem;
  line-height: 1.5;
}
@media (max-width: 560px) {
  .license-guide { padding: 10px; }
}
/* coupon code (2026-11-26) */
.coupon-row { display: flex; gap: 8px; align-items: stretch; margin-bottom: 4px; }
.coupon-row input { flex: 1 1 auto; margin-bottom: 0; text-transform: uppercase; min-width: 0; }
.coupon-row .btn { flex: 0 0 auto; min-height: 48px; }
#cp-status, #cp-error { margin: 4px 0 10px; font-size: .92rem; }
.summary s { color: var(--ink-soft); font-weight: 500; font-size: 1rem; margin-inline-end: 6px; }
#acc-out .btn-light { margin-top: 0; }

/* Year coverage notice (accidents history from June 2018) */
.year-notice {
  background: #FDF3E0;
  border: 1.5px solid #E8A13A;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 12px 0 16px;
  font-size: .95rem;
  line-height: 1.45;
}
.year-notice p { margin: 0 0 10px; }
.year-notice .check-row { margin: 0; }

/* package coupons (2026-11-27) */
#or-coupon-block { margin: 4px 0 8px; }
.package-note { margin: 8px 0 0; font-weight: 700; color: var(--brand-dark, #3d46c7); }
@media (max-width: 520px) {
  .coupon-row { flex-wrap: wrap; }
  .coupon-row input { flex: 1 1 100%; min-width: 100%; }
  .coupon-row .btn { flex: 1 1 100%; }
}

/* 2026-11-30 draft: step 4 (payment) when payments are on, added by pay-hosted.js */
.order-steps .pay-step { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); font-weight: 500; }
.order-steps .pay-step .num { margin: 0; width: 28px; height: 28px; flex-basis: 28px; }

/* 2026-11-30 draft: /archive-buy */
.ab-card { max-width: 640px; margin: 0 auto 40px; }
.ab-row { margin: 0 0 6px; }
.ab-date b { color: #b3261e; font-size: 1.35rem; unicode-bidi: isolate; }
.ab-explain { color: var(--ink); font-weight: 600; }
.ab-sub { font-size: 1.05rem; margin: 16px 0 6px; }
.ab-inc { margin: 0 1.2em 10px; }
.ab-privacy { font-size: .88rem; color: var(--ink-soft); }
.ab-other { margin-top: 12px; font-size: .92rem; }
#ab-login .btn, #ab-buy { margin-top: 12px; }
