/* ---- Tiny status labels: "24/7", "PREFERRED", "Open now" ---- */
.badge { display: inline-block; padding: 2px 7px; border-radius: 5px; font-size: 0.72rem; font-weight: 700; line-height: 1.4; }
.badge--green { background: var(--green-soft); color: var(--green); }
.badge--dark { background: var(--ink); color: #fff; letter-spacing: 0.05em; text-transform: uppercase; }
.badge-row { display: flex; gap: 6px; margin-bottom: 2px; }

/* Priority star next to a name */
.star { display: inline-block; color: var(--red); vertical-align: -2px; }

/* ---- Service tags on provider cards: grey rectangles ---- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tag { background: var(--tint); padding: 3px 8px; border-radius: 5px; font-size: 0.8rem; color: #333333; }

/* ---- Round pill chips (filters, county areas) ---- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  font-size: 0.9rem; font-weight: 500; text-decoration: none; cursor: pointer;
}
.chip:hover { border-color: #c4c4c4; }
.chip--active, .chip:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip-divider { width: 1px; background: var(--line); margin: 4px 2px; }

/* ---- Road number signs: M50 (blue), N7 (green) ---- */
.road { display: inline-block; padding: 4px 9px; border-radius: 4px; color: #fff; font-weight: 700; font-size: 0.85rem; }
.road--m { background: var(--road-m); }
.road--n { background: var(--road-n); }

/* ---- Initials avatar: "LR" ---- */
.avatar {
  display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 9px;
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
}
.avatar--xl { width: 100px; height: 100px; border-radius: 14px; background: var(--red); color: #fff; font-size: 2.2rem; }

/* Avatar showing an uploaded logo instead of initials */
.avatar--photo { object-fit: cover; background: var(--card); border: 1px solid var(--line); }
