/* Bookingo Course Group Grid (bcg) - scoped, responsive */

.bcg-grid {
  --bcg-blue-1: #0b6e9a;
  --bcg-blue-2: #00a2d6;
  --bcg-btn: #0b4c63;
  --bcg-text: #111;
  --bcg-muted: #666;
  --bcg-bg: #ffffff;
  --bcg-card: #ffffff;
  --bcg-shadow: rgba(0, 0, 0, 0.10);
  --bcg-ring: #e53935;
  --bcg-track: #d8d8d8;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.bcg-card {
  background: var(--bcg-card);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 8px 18px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
}

.bcg-head-top {
  background: var(--bcg-blue-1);
  color: #fff;
  padding: 18px 20px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
}

.bcg-head-bottom {
  background: var(--bcg-blue-2);
  color: #fff;
  padding: 18px 20px 22px;
}

.bcg-head-day {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}

.bcg-head-lessons {
  font-size: 18px;
  font-weight: 500;
}

.bcg-body {
  background: #fff;
  padding: 18px 20px 22px;
}

.bcg-time {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.bcg-clock {
  width: 40px;
  height: 40px;
  color: #111;
  flex: 0 0 auto;
}

.bcg-time-text {
  font-size: 26px;
  font-weight: 500;
  color: var(--bcg-text);
}

.bcg-dates {
  margin-top: 8px;
  margin-bottom: 12px;
}

.bcg-date-row {
  display: flex;
  gap: 12px;
  margin: 6px 0;
  font-size: 15px;
}

.bcg-date-label {
  color: #111;
  min-width: 92px;
}

.bcg-date-value {
  color: #0b6e9a;
  font-weight: 500;
}

.bcg-seats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.bcg-seats-title {
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.bcg-seats-text {
  font-size: 15px;
  color: #111;
}

.bcg-circle {
  --size: 60px;
  --thick: 4px;

  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: conic-gradient(var(--bcg-ring) 0 var(--p), var(--bcg-track) var(--p) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.bcg-circle::before {
  content: "";
  position: absolute;
  inset: var(--thick);
  background: #fff;
  border-radius: 50%;
}

.bcg-circle span {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.bcg-action {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.bcg-btn {
  display: inline-block;
  background: var(--bcg-btn);
  color: #fff;
  text-decoration: none !important;
  padding: 12px 22px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
}

.bcg-btn:hover {
  filter: brightness(1.08);
}

.bcg-btn-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.bcg-message {
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  color: #333;
}

/* Mobile tweaks */
@media (max-width: 420px) {
  .bcg-time-text { font-size: 22px; }
  .bcg-btn { width: 100%; }
}
