/* Property details: "Location insights" card (components/location-insights.blade.php) */
.location-insights {
  --li-navy: #00203D;
  --li-accent: #00a9c2;
  --li-ink: #222222;
  --li-muted: #5f6b76;
  --li-line: #e3e8ec;
  --li-soft: #f3f8fb;
  --li-ok: #1f7a4d;
  --li-ok-bg: #eaf6f0;
  --li-warn: #a4441a;
  --li-warn-bg: #fdf1ea;
  color: var(--li-ink);
}

.location-insights .li-icon {
  flex: 0 0 auto;
  vertical-align: middle;
}

.li-heading-icon {
  display: inline-flex;
  color: var(--li-accent);
}

/* ---------- Overlay details ---------- */
.li-overlays {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.li-overlay {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--li-warn);
}

.li-overlay > span {
  color: var(--li-ink);
}

/* ---------- Lists ---------- */
.li-subheading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--li-navy);
  margin: 24px 0 8px;
}

/* No extra gap when a list heading comes straight after the card heading */
.li-header + .li-subheading,
.li-header + .li-groups .li-group:first-child .li-subheading {
  margin-top: 0;
}

.li-overlays + .li-subheading,
.li-overlays + .li-groups .li-group:first-child .li-subheading {
  margin-top: 16px;
}

.li-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.li-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--li-line);
}

.li-row:last-child {
  border-bottom: 0;
}

.li-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--li-soft);
  color: var(--li-navy);
  flex: 0 0 auto;
}

.li-row__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.li-row__label {
  font-size: 0.78rem;
  color: var(--li-muted);
}

.li-row__name {
  font-size: 0.9rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.li-row__dist {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--li-navy);
  white-space: nowrap;
}

.li-row__dist small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--li-muted);
}

.li-row--notice .li-row__icon {
  background: var(--li-warn-bg);
  color: var(--li-warn);
}

/* ---------- Lifestyle chips ---------- */
.li-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.li-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--li-line);
  background: var(--li-soft);
  font-size: 0.875rem;
  color: var(--li-ink);
}

.li-chip .li-icon {
  color: var(--li-accent);
}

.li-chip--empty {
  opacity: 0.6;
}

.li-clear {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--li-ok);
}


/* ---------- Locked (gated listing, guest) ---------- */
.li-locked {
  text-align: center;
  padding: 24px 16px;
  border: 1px dashed var(--li-line);
  border-radius: 8px;
  background: var(--li-soft);
}

.li-locked__icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--li-navy);
  opacity: 0.75;
}

@media (max-width: 575.98px) {
  .li-locked__icons {
    gap: 10px;
  }
}
