/* Clinic-specific components on top of ../shared/base.css */
/* next available */
.next { padding: 16px; }
.next .eyebrow { margin-bottom: 4px; }
.next-when { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
/* the one bold move: the soonest time, large, in the clinic's own colour */
.next-time { font-size: 38px; line-height: 1.15; font-weight: 600; color: var(--accent); }
:lang(en) .next-time { letter-spacing: -0.02em; }
.next .t-meta { margin-top: 2px; }
.next-actions { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.next-actions .btn { flex: 1; }

/* time slots: the accent is spent here (selected) and on the active tab */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { min-height: 48px; border-radius: var(--r-md); border: 1px solid var(--hair-strong); background: var(--surface); font-size: 15px; font-weight: 500; color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

/* details */
.summary-card { padding: 14px 16px; }
/* confirmation */
/* visits */
.visit { padding: 14px 16px; }
.visit-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 4px; }
.visit-actions { display: flex; gap: 4px; margin-top: 10px; margin-inline-start: -12px; }
.is-cancelled { opacity: .72; }

/* clinic info */
.note { display: flex; gap: 10px; align-items: center; margin-top: 20px; padding: 12px 14px; border-radius: var(--r-md); background: var(--sunken); color: var(--body); font-size: 14px; }
.hours .row { min-height: 52px; font-size: 14.5px; color: var(--ink); }
.hours .end { color: var(--body); line-height: 1.5; }

/* owner */
.timeline { list-style: none; margin: 18px 0 0; padding: 0; }
.tl { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hair); }
.tl-time { font-size: 14px; font-weight: 500; color: var(--ink); padding-top: 1px; }
.tl-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tl-head .t-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl .t-meta svg { vertical-align: -3px; }
.tl-actions { display: flex; gap: 4px; margin-top: 6px; margin-inline-start: -12px; }
.tl.fresh { background: var(--accent-soft); margin-inline: -16px; padding-inline: 16px; border-top-color: var(--accent-line); }
/* session packages (opt-in via brand.packages) */
.pack { padding: 16px; background: var(--ink); border-color: var(--ink); }
.pack .t-title, .pack .t-label { color: #fff; }
.pack .t-meta { color: #c9c5bc; }
.pack-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pack-meter { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin-top: 12px; }
.pack-meter span { height: 8px; border-radius: 4px; background: #3a3f46; }
.pack-meter span.on { background: #fff; }
.pack .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.warn-text { color: var(--warn); }
