/* ===========================
   SIMPLE BOOKING — PERSIAN CALENDAR
=========================== */

#sb-calendar {
  direction: rtl;
  text-align: center;
  margin-top: 20px;
  font-family: "Vazirmatn", tahoma, sans-serif;
}

/* ---------- HEADER ---------- */
.sb-calendar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.sb-month-title {
  font-weight: bold;
  font-size: 18px;
  color: #333;
}

.sb-nav-btn {
  background: #a5d6a7;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 18px;
  line-height: 30px;
}

.sb-nav-btn:hover {
  background: #75a53f;
}

/* ---------- WEEKDAYS ---------- */
.sb-weekdays {
  direction: rtl;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
  font-size: 13px;
  color: #222121;
}

.sb-weekday {
  padding: 4px 0;
}

/* ---------- DAYS GRID ---------- */
.sb-calendar-grid {
  direction: rtl;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

/* ---------- DAY CELL ---------- */
.sb-day {
  height: 44px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
  font-size: 14px;
  border: 1px solid #ddd;
}

/* number */
.sb-day-number {
  font-weight: 500;
}

/* label (disabled reason) */
.sb-day-label {
  font-size: 10px;
  margin-top: 2px;
  color: #999;
}

/* ---------- AVAILABLE ---------- */
.sb-day.available {
  background: #e8f9e9;
  border-color: #76b852;
  color: #205522;
  cursor: pointer;
}

.sb-day.available:hover {
  background: #a5d6a7;
  transform: scale(1.05);
}

/* ---------- DISABLED ---------- */
.sb-day.disabled {
  background: #f5f5f5;
  color: #bbb;
  border-color: #e0e0e0;
  cursor: not-allowed;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 480px) {
  .sb-day {
    height: 38px;
    font-size: 13px;
  }
}
/* --- FORCE CLICKABILITY FIX --- */
#sb-calendar,
.sb-calendar-grid {
  pointer-events: auto;
}

.sb-day {
  pointer-events: auto;
}

.sb-day.available {
  pointer-events: auto;
  cursor: pointer;
}

.sb-day.disabled {
  pointer-events: none;
  cursor: not-allowed;
}
