.tbc-calendar-wrapper {
  max-width: 400px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
}

.tbc-legend {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.available-box,
.booked-box,
.unavailable-box {
  width: 15px;
  height: 15px;
  display: inline-block;
}

.available-box {
  background: #35b729;
}

.booked-box {
  background: #f7c4c4;
}

.unavailable-box {
  background: #f3df9f;
}

.tbc-month-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
}

.tbc-weekdays,
.tbc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.tbc-weekdays div {
  text-align: center;
  font-weight: 700;
  padding: 8px;
}

.day {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
}

.normal {
  background: #ffffff;
  border: 1px solid #ddd;
  color: #333;
}

.available {
  background: #35b729;
  color: #fff;
  cursor: pointer;
}

.available:hover {
  opacity: 0.9;
}

.booked {
  background: #f7c4c4;
  color: #000;
}

.unavailable {
  background: #f3df9f;
  color: #000;
}

.empty {
  min-height: 42px;
}
#tbc-loader {
  text-align: center;
  margin: 15px 0;
}

.tbc-spinner {
  width: 35px;
  height: 35px;
  border: 4px solid #ddd;
  border-top: 4px solid #35b729;
  border-radius: 50%;
  margin: auto;
  animation: tbcspin 0.8s linear infinite;
}

@keyframes tbcspin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
