:root {
  --primary: #025AFB;
  --accent:  #90B6FD;
}

/* ── Dashboard Hero ── */
.booking-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background: #001564;
}

.booking-hero-bg-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200vw;
  height: 200vw;
  object-fit: cover;
  object-position: center;
  transform: translate(-50%, -50%) rotate(90deg);
  z-index: 0;
  opacity: 0.45;
}

.booking-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,21,100,0.87) 0%, rgba(0,60,200,0.76) 50%, rgba(2,90,251,0.62) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Side-by-side layout: text left, policy card right */
.booking-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: 1060px;
  margin: 0 auto;
}

.booking-hero-copy {
  color: #fff;
  text-align: left;
  flex: 1;
  min-width: 0;
  max-width: 420px;
}

.booking-hero-copy .eyebrow {
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}

.booking-hero-copy h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 12px;
}

.booking-hero-copy > p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin: 0;
}

/* ── Policy Card ── */
.policy-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.30), 0 4px 16px rgba(0,0,0,0.12);
  width: 100%;
  max-width: 420px;
  flex-shrink: 0;
}

.policy-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.policy-tier-badge {
  background: #025AFB;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 999px;
}

.policy-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0b6e49;
}

.policy-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0b6e49;
}

.policy-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0D1B2E;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.policy-details-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(2,90,251,0.10);
  border-bottom: 1px solid rgba(2,90,251,0.10);
  margin-bottom: 16px;
}

.policy-detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.policy-detail-label {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8096B4;
}

.policy-detail-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0D1B2E;
}

.policy-card-actions {
  display: flex;
  gap: 10px;
}

.policy-btn-primary {
  flex: 1;
  background: #025AFB;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 4px 12px rgba(2,90,251,0.35);
}

.policy-btn-primary:hover { background: #0146D4; transform: translateY(-1px); }

.policy-btn-ghost {
  flex: 1;
  background: transparent;
  color: #025AFB;
  border: 1.5px solid rgba(2,90,251,0.25);
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}

.policy-btn-ghost:hover { background: rgba(2,90,251,0.06); border-color: #025AFB; }

/* ── Quick actions ── */
.travel-quick {
  background: var(--surface);
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.travel-qa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.travel-qa-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px 14px;
  background: var(--bg);
  border-radius: 14px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.travel-qa-card:hover {
  background: #fff;
  border-color: #025AFB;
  color: #025AFB;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(2,90,251,0.12);
}

.travel-qa-card svg {
  width: 24px;
  height: 24px;
  color: #025AFB;
  flex-shrink: 0;
}

/* ── Panel: Plan comparison (two-card layout) ── */
.plan-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 4px;
}

.plan-compare-card {
  border-radius: 14px;
  padding: 16px;
  border: 1.5px solid var(--border);
}

.plan-compare-card--current { background: var(--bg); }

.plan-compare-card--gold {
  background: #fff;
  border-color: #025AFB;
  box-shadow: 0 0 0 1px rgba(2,90,251,0.10);
}

.plan-compare-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.plan-compare-badge--muted { background: rgba(2,90,251,0.08); color: var(--text-muted); }
.plan-compare-badge--rec   { background: #025AFB; color: #fff; }

.plan-compare-card h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
}

.plan-compare-price {
  font-size: 1rem;
  font-weight: 700;
  color: #025AFB;
  margin-bottom: 12px;
}

.plan-compare-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-compare-benefits li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.plan-compare-benefits li:last-child { border-bottom: none; }

.plan-compare-benefits li svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #0b6e49;
}

/* ── Panel: Signature ── */
.sign-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.sign-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--bg);
}

.sign-card h3 {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.sign-pad {
  height: 100px;
  background: var(--surface);
  border: 1.5px dashed rgba(2,90,251,0.25);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 14px;
  position: relative;
}

.sign-pad::before {
  content: "Sign above";
  position: absolute;
  top: 14px;
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-weight: 500;
}

.sign-line {
  width: 85%;
  height: 1px;
  background: var(--text);
  opacity: 0.2;
}

.sign-phone {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sign-phone svg {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: #025AFB;
}

.sign-phone-copy {
  font-size: 0.82rem;
  line-height: 1.55;
}

.sign-phone-copy strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 0.85rem;
}

.sign-spinner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sign-spinner-dot {
  width: 14px;
  height: 14px;
  border: 2px solid var(--border);
  border-top-color: #025AFB;
  border-radius: 50%;
  animation: shield-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes shield-spin { to { transform: rotate(360deg); } }

/* Claim type item selected state */
.panel-check-item.active {
  background: rgba(2,90,251,0.08);
  color: #025AFB;
  border-left: 3px solid #025AFB;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .booking-hero-inner {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-width: 640px;
  }
  .booking-hero-copy {
    text-align: center;
    max-width: 100%;
  }
  .policy-card { max-width: 100%; }
  .plan-compare-grid { grid-template-columns: 1fr; }
  .travel-qa-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .policy-card-actions { flex-direction: column; }
}
