.sbcs-course-widget {
  border: 1px solid #e5e5e5;
  padding: 16px;
  border-radius: 12px;
  max-width: 560px;
  background: #fff;
}

.sbcs-course-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sbcs-course-title { margin: 0 0 10px; }

.sbcs-view-toggle { display: flex; gap: 6px; }

.sbcs-toggle-btn {
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
}

.sbcs-toggle-btn.is-active { border-color: #111; }

.sbcs-view { display: none; }
.sbcs-view.is-active { display: block; }

.sbcs-session-scroll {
  max-height: 232px; /* ~4 rows */
  overflow-y: auto;
  padding-right: 4px;
}

.sbcs-radio {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: 10px;
  cursor: pointer;
}

.sbcs-radio input { margin-top: 4px; }
.sbcs-radio-main span { display: block; }
.sbcs-radio-main small { display: block; opacity: 0.8; margin-top: 2px; }

.sbcs-radio-compact { margin-bottom: 8px; }

.sbcs-row {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 10px;
  align-items: end;
  margin: 12px 0;
}

.sbcs-email label,
.sbcs-qty label { display:block; margin-bottom:6px; }

.sbcs-email input,
.sbcs-qty select {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
}

.sbcs-book-btn {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.sbcs-book-btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.sbcs-error { margin-top: 10px; color: #b00020; }

/* Calendar */
.sbcs-cal-header {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  margin: 10px 0;
  gap: 8px;
}

.sbcs-cal-title { text-align: center; font-weight: 600; }

.sbcs-cal-nav {
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 10px;
  padding: 8px 0;
  cursor: pointer;
}

.sbcs-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.sbcs-cal-weekday {
  font-size: 12px;
  opacity: 0.7;
  text-align: center;
  padding: 4px 0;
}

.sbcs-cal-cell {
  position: relative;
  border: 1px solid #eee;
  background: #fff;
  border-radius: 12px;
  padding: 10px 6px;
  min-height: 44px;
  cursor: pointer;
}

.sbcs-cal-cell:disabled { opacity: 0.35; cursor: not-allowed; }
.sbcs-cal-cell.is-out { opacity: 0.45; }

.sbcs-cal-day { font-size: 13px; display: inline-block; }

.sbcs-cal-dot {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

/* Day session box */
.sbcs-day-box {
  margin-top: 10px;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 10px;
}

.sbcs-day-title { font-weight: 600; margin-bottom: 8px; }
