/**
 * Marketplace trust + confidence strip styles (checkout, spot detail, Discover).
 */

.marketplace-trust-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.125rem 0.3rem;
  font-size: 0.6875rem;
  line-height: 1.25;
  color: var(--text-supporting, #64748b);
}

.marketplace-trust-summary--compact {
  margin-top: 0;
}

.spot-detail-trust {
  padding: 0 1rem 0.125rem;
}

.marketplace-trust-summary__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-weight: 600;
  color: var(--text-heading, #0f172a);
}

.dark .marketplace-trust-summary__rating {
  color: var(--text-heading, #f8fafc);
}

.marketplace-trust-summary__star {
  width: 0.75rem;
  height: 0.75rem;
  color: #a16207;
  flex-shrink: 0;
}

.marketplace-trust-summary__review-count {
  font-weight: 500;
  color: var(--text-caption, #64748b);
}

.marketplace-trust-summary__sep {
  color: var(--text-caption, #64748b);
  user-select: none;
}

.marketplace-trust-summary__host {
  font-weight: 500;
}

.marketplace-trust-summary__host--link {
  color: inherit;
  text-decoration: none;
}

.marketplace-trust-summary__host--link:hover,
.marketplace-trust-summary__host--link:focus-visible {
  text-decoration: underline;
}

.marketplace-trust-summary__badge {
  display: inline-flex;
  align-items: center;
  align-self: baseline;
  gap: 0.2rem;
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  background: rgba(120, 113, 108, 0.1);
  color: #44403c;
}

.marketplace-trust-summary__badge-icon {
  flex: 0 0 auto;
  width: 0.7rem;
  height: 0.7rem;
  opacity: 0.9;
}

.marketplace-trust-summary__badge[title] {
  cursor: help;
}

.dark .marketplace-trust-summary__badge {
  background: rgba(168, 162, 158, 0.16);
  color: #e7e5e4;
}

.marketplace-trust-summary__member {
  color: var(--text-caption, #64748b);
}

.marketplace-access-chip {
  font-weight: 500;
}

.checkout-confidence-strip {
  margin-top: 0.25rem;
  padding: 0.4375rem 0.625rem;
  border-radius: var(--radius-card, 0.75rem);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(248, 250, 252, 0.65);
}

.dark .checkout-confidence-strip {
  border-color: rgba(71, 85, 105, 0.45);
  background: rgba(15, 23, 42, 0.32);
}

.checkout-confidence-strip__title {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-heading, #0f172a);
}

.dark .checkout-confidence-strip__title {
  color: #f8fafc;
}

.checkout-confidence-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.checkout-confidence-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

/* Beat reset.css svg { max-width: 100% } inside flex rows (same pattern as checkout-chip__icon-svg). */
.checkout-confidence-strip__icon,
.checkout-container .checkout-confidence-strip__icon {
  display: block;
  width: 0.75rem !important;
  height: 0.75rem !important;
  min-width: 0.75rem !important;
  min-height: 0.75rem !important;
  max-width: 0.75rem !important;
  max-height: 0.75rem !important;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: #64748b;
}

.dark .checkout-confidence-strip__icon {
  color: #94a3b8;
}

.checkout-confidence-strip__text {
  font-size: 0.6875rem;
  line-height: 1.4;
  color: var(--text-supporting, #475569);
}

.dark .checkout-confidence-strip__text {
  color: #cbd5e1;
}

.checkout-confidence-strip__sub {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-caption, #64748b);
}

.checkout-confidence-strip__link {
  display: inline-block;
  margin-left: 0.25rem;
  font-weight: 500;
  color: var(--color-brand-accent-fg, var(--color-brand-accent, #0f5a56));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dark .checkout-confidence-strip__link {
  color: var(--color-brand-accent-fg, #5eead4);
}

.checkout-confidence-strip__dynamic {
  display: block;
  margin-top: 0.15rem;
  font-weight: 500;
  color: var(--text-heading, #0f172a);
}

.dark .checkout-confidence-strip__dynamic {
  color: #e2e8f0;
}

@media (min-width: 768px) {
  .checkout-confidence-strip__text,
  .checkout-confidence-strip__title {
    font-size: 0.75rem;
  }
}

/* Help path — solid surfaces (avoid Tailwind slate-50 / opacity utilities on booking pages) */
.booking-trouble-strip {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

html.dark .booking-trouble-strip,
.dark .booking-trouble-strip {
  border-color: #334155;
  background: #1e293b;
}

.booking-trouble-strip__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

html.dark .booking-trouble-strip__title,
.dark .booking-trouble-strip__title {
  color: #f8fafc;
}

.booking-trouble-strip__lede {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.75rem;
  line-height: 1.375;
  color: #475569;
}

html.dark .booking-trouble-strip__lede,
.dark .booking-trouble-strip__lede {
  color: #94a3b8;
}

.booking-trouble-strip__steps {
  counter-reset: trouble-step;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.booking-trouble-strip__step {
  display: flex;
  gap: 0.625rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #334155;
}

html.dark .booking-trouble-strip__step,
.dark .booking-trouble-strip__step {
  color: #cbd5e1;
}

.booking-trouble-strip__link {
  font-weight: 500;
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.booking-trouble-strip__link:hover {
  text-decoration: underline;
}

html.dark .booking-trouble-strip__link,
.dark .booking-trouble-strip__link {
  color: #60a5fa;
}

.booking-trouble-strip__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  background: rgba(100, 116, 139, 0.16);
  color: #334155;
  margin-top: 0.05rem;
}

html.dark .booking-trouble-strip__num,
.dark .booking-trouble-strip__num {
  background: rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
}

/* Booking details: sit with manage/cancel actions, not mid-page */
.booking-details-actions .booking-trouble-strip {
  margin: 0.75rem 0 0;
  padding: 0.875rem 0 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid #e2e8f0;
  background: transparent;
}

html.dark .booking-details-actions .booking-trouble-strip,
.dark .booking-details-actions .booking-trouble-strip {
  border-top-color: #334155;
  background: transparent;
}
