/**
 * MR-2026-09-002 STEP 12 — Shared booking confirm-review chrome.
 * Foundation: car reserve .confirmation-summary / .confirm-section / dl rows / total.
 * Display-only review UI. Reservation create / idempotency / payment session stay outside.
 * No frontend price / tax / travel / discount recalculation (MR-CORE-012).
 * CAR ONLY bodies (vehicle / stain / cancel fee table / insurance) stay adapter-supplied.
 */

.booking-confirm-review,
.nbcf-shell {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  box-sizing: border-box;
}

.nbcf-shell {
  display: grid;
  gap: 0;
}

.nbcf-title {
  margin: 0 0 0.65rem;
  font-size: 18px;
  font-weight: 900;
  color: var(--accent, #0f6b5c);
  line-height: 1.4;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line, #cfd9e0);
}

.nbcf-lead {
  margin: 0 0 1rem;
  color: var(--ink-muted, #5a6b78);
  font-size: 14px;
  line-height: 1.55;
}

.nbcf-summary,
.booking-confirm-review .confirmation-summary,
#bookingConfirmationSummary.nbcf-summary {
  margin: 0;
}

.nbcf-section,
.booking-confirm-review .confirm-section,
#bookingConfirmationSummary .confirm-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e8ecef;
}

.nbcf-section:first-child,
.booking-confirm-review .confirm-section:first-child,
#bookingConfirmationSummary .confirm-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.nbcf-section-title,
.booking-confirm-review .summary-subtitle,
#bookingConfirmationSummary .summary-subtitle {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink, #1a2836);
}

.nbcf-rows,
.booking-confirm-review .confirm-section dl,
#bookingConfirmationSummary .confirm-section dl {
  margin: 0 0 4px;
  display: grid;
  gap: 8px;
}

.nbcf-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 34%) 1fr;
  gap: 8px 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.55;
}

.nbcf-row dt,
.booking-confirm-review .confirm-section dt,
#bookingConfirmationSummary .confirm-section dt {
  margin: 0;
  color: var(--ink-muted, #5a6b78);
  font-weight: 600;
  word-break: break-word;
}

.nbcf-row dd,
.booking-confirm-review .confirm-section dd,
#bookingConfirmationSummary .confirm-section dd {
  margin: 0;
  color: var(--ink, #1a2836);
  word-break: break-word;
}

.nbcf-total,
.booking-confirm-review .confirm-price-total,
#bookingConfirmationSummary .confirm-price-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0;
  padding: 10px 12px;
  background: #f4fbf8;
  border: 1px solid #cce8dc;
  border-radius: 10px;
}

.nbcf-total-label,
.booking-confirm-review .confirm-price-total-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

.nbcf-total-amt,
.booking-confirm-review .confirm-price-total-amt {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent, #0b6e4f);
  word-break: break-word;
  text-align: right;
}

.nbcf-section-html {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink, #1a2836);
}

.nbcf-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-muted, #5a6b78);
}

.nbcf-list {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #334155;
}

.nbcf-field-err {
  color: var(--bad, #b42318);
  font-size: 0.95rem;
  margin: 8px 0 0;
  min-height: 1.2em;
}

.nbcf-nav {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}

.nbcf-nav .btn {
  width: auto;
  min-width: 7rem;
  flex: 1;
  margin: 0;
  text-align: center;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-btn, 999px);
  border: 1px solid var(--line, #cfd9e0);
  background: #fff;
  cursor: pointer;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nbcf-nav .btn.primary {
  background: var(--accent, #0f6b5c);
  color: #fff;
  border-color: var(--accent, #0f6b5c);
}

.nbcf-nav .btn.ghost {
  background: #fff;
  border: 1px solid var(--accent, #0f6b5c);
  color: var(--accent, #0f6b5c);
}

.nbcf-nav .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .nbcf-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .nbcf-nav .btn {
    flex: 1 1 100%;
  }

  .nbcf-total-amt {
    font-size: 1.2rem;
  }
}
