/* "Spots left" diagrams for class booking pages: Pages/Shared/_ClassPreview and _ClassFillUp. */
.cls-preview {
  max-width: 920px;
  margin: 28px auto 0;
  text-align: left;
}

.cls-preview figcaption {
  text-align: center;
  color: #6b6b73;
  font-size: 0.85rem;
  margin-top: 10px;
}

.cls-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cls-panel {
  background: #fff;
  border: 1px solid #d9dbe6;
  border-radius: 14px;
  padding: 20px;
}

.cls-panel-customer {
  border: 2px solid var(--primary-color);
}

.cls-panel p {
  margin: 0;
}

.cls-panel .cls-panel-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-color);
}

.cls-panel .cls-day {
  margin: 4px 0 14px;
  font-weight: 700;
  color: #3d3b40;
}

.cls-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cls-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #eef0ff;
  border-radius: 10px;
  padding: 12px 14px;
}

.cls-slot-text,
.cls-meter-head {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #3d3b40;
}

.cls-slot-text span,
.cls-meter-head span {
  font-size: 0.85rem;
  color: #5f5e66;
}

.cls-chip {
  flex: none;
  background: var(--primary-color);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}

.cls-chip-low {
  background: #c2410c;
}

.cls-meter-row {
  border: 1px solid #e5e6ee;
  border-radius: 10px;
  padding: 10px 14px 12px;
}

.cls-meter {
  display: block;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: #eceef4;
  overflow: hidden;
}

.cls-meter-fill {
  display: block;
  height: 100%;
  background: var(--primary-color);
}

.cls-meter-full {
  background: #0f766e;
}

.cls-fill {
  list-style: none;
  max-width: 1000px;
  margin: 28px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.cls-fill-card {
  background: #fff;
  border: 1px solid #d9dbe6;
  border-radius: 14px;
  padding: 18px;
}

.cls-fill-card h3 {
  margin: 10px 0 6px;
  font-size: 1rem;
  color: #3d3b40;
}

.cls-fill-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #5f5e66;
}

.cls-fill-card .cls-fill-count {
  margin-top: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
}

.cls-fill-card-full .cls-fill-count {
  color: #0f766e;
}

.cls-dots {
  display: grid;
  grid-template-columns: repeat(6, 18px);
  gap: 6px;
}

.cls-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c7cadb;
}

.cls-dot-taken {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.cls-fill-card-full .cls-dot-taken {
  background: #0f766e;
  border-color: #0f766e;
}

.cls-fill-note {
  max-width: 760px;
  margin: 20px auto 0;
  text-align: center;
  color: #5f5e66;
}

.cls-fill-note a,
.cls-more a {
  color: var(--primary-color);
  font-weight: 700;
}

.cls-fill-note i {
  color: var(--primary-color);
  margin-right: 6px;
}

.cls-more {
  margin-top: 18px;
  text-align: center;
}

@media (max-width: 900px) {
  .cls-fill {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .cls-panels {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .cls-fill {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cls-subtitle {
  margin-top: 44px;
  font-size: 1.35rem;
}
