/* FlexClass app — locations, online classes, private sessions, cover requests. Logical properties keep RTL in step. */
.fc4-chips { display: flex; gap: 8px; overflow-x: auto; margin: 4px -16px 8px; padding: 2px 16px 6px; scrollbar-width: none; }
.fc4-chips::-webkit-scrollbar { display: none; }
.fc4-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--fc-line); background: var(--fc-card); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.fc4-chip img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.fc4-chip.is-on { background: var(--fc-accent); border-color: var(--fc-accent); color: #fff; }

.fc4-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 0; }
.fc4-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eef1f6; color: var(--fc-muted); }
.fc4-tag svg { width: 14px; height: 14px; }
.fc4-tag.is-online { background: #e0f2fe; color: #075985; }
.fc4-tag.is-private { background: #ede9fe; color: #5b21b6; }
.fc4-join { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.fc4-join svg { width: 18px; height: 18px; }

.fc4-more { background: #f8fafc; border: 1px solid var(--fc-line); border-radius: 10px; padding: 10px 12px; margin: 10px 0; font-size: 14px; }
.fc4-more summary { cursor: pointer; font-weight: 600; }
.fc4-more p { margin: 8px 0 0; }
.fc4-sub { font-weight: 600; }
.fc4-hours { list-style: none; margin: 4px 0 0; padding: 0; }
.fc4-hours li { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.fc4-bio-in { display: flex; gap: 12px; align-items: flex-start; margin-block-start: 8px; }
.fc4-bio-in img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 64px; }
.fc4-bio-in p { margin: 0; }

.fc4-type { text-align: start; font: inherit; color: inherit; }
.fc4-type .fc-card-body { padding-inline-start: 4px; }
.fc4-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.fc4-slot { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border-radius: 12px; border: 1px solid var(--fc-line); background: var(--fc-card); cursor: pointer; font: inherit; color: inherit; }
.fc4-slot strong { font-size: 15px; }
.fc4-slot span { font-size: 12px; color: var(--fc-muted); text-align: center; overflow-wrap: anywhere; }
.fc4-slot:hover, .fc4-slot:focus-visible { border-color: var(--fc-accent); }
.fc4-stack .fc-btn { width: 100%; }
button.fc-back { background: none; border: 0; padding: 0; color: var(--fc-accent); cursor: pointer; font: inherit; font-weight: 600; }

.fc4-teach { margin-block-start: 8px; }
.fc4-cover { margin: 0 0 14px; }
.fc4-cover-card { position: relative; display: flex; align-items: center; gap: 12px; background: var(--fc-card); border: 1px solid var(--fc-line); border-radius: var(--fc-radius); padding: 12px 14px; padding-inline-start: 18px; margin: 0 0 10px; overflow: hidden; }
.fc4-cover-card::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 5px; background: var(--c, var(--fc-accent)); }
.fc4-cover-card > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fc4-cover-card span:not(.fc-pill) { font-size: 13px; color: var(--fc-muted); }
.fc4-cover-card em { font-size: 13px; }
.fc4-cover-card .fc-pill { align-self: flex-start; margin-block-start: 4px; }
.fc4-ask textarea, .fc4-avail select, .fc4-avail input { width: 100%; padding: 10px 12px; border: 1.5px solid var(--fc-line); border-radius: 10px; background: #fff; font: inherit; font-weight: 400; }
.fc4-avail-rows { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 0; }
.fc4-avail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; padding-block-end: 10px; border-block-end: 1px solid var(--fc-line); }
.fc4-avail-row label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--fc-muted); }
.fc4-avail-row label:first-child, .fc4-avail-row .fc4-wide { grid-column: 1 / -1; }
.fc4-avail-row .fc-link { grid-column: 1 / -1; justify-self: end; }
@media (min-width: 560px) {
  .fc4-avail-row { grid-template-columns: 1.2fr 1fr 1fr 1.6fr auto; }
  .fc4-avail-row label:first-child, .fc4-avail-row .fc4-wide, .fc4-avail-row .fc-link { grid-column: auto; }
}
