/**
 * Mentor booking — calendar & time slots (Google Calendar sync ready)
 */
.booking-mentor {
  margin-bottom: var(--app-space-lg);
  padding: var(--app-space-md);
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-md);
}
.booking-mentor h2 { font-size: 1.1rem; margin: 0 0 4px; }
.booking-mentor p { margin: 0; font-size: var(--app-text-sm); color: var(--app-text-secondary); }
.booking-sync-note {
  font-size: var(--app-text-sm);
  color: var(--app-success);
  margin-bottom: var(--app-space-md);
  display: flex;
  align-items: center;
  gap: 6px;
}
.booking-calendar-wrap {
  margin-bottom: var(--app-space-lg);
}
.booking-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--app-space-sm);
}
.booking-calendar-nav button {
  padding: 8px 14px;
  font-size: var(--app-text-sm);
  font-weight: 600;
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-sm);
  color: var(--app-text);
  cursor: pointer;
}
.booking-calendar-nav button:hover { background: var(--app-border-soft); }
.booking-calendar-nav span {
  font-weight: 700;
  font-size: 1rem;
  color: var(--app-text);
}
.booking-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  font-size: var(--app-text-sm);
}
.booking-calendar .cal-head {
  text-align: center;
  padding: 8px 4px;
  font-weight: 600;
  color: var(--app-text-secondary);
}
.booking-calendar .cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--app-radius-sm);
  cursor: pointer;
  font-weight: 500;
}
.booking-calendar .cal-day.other-month { color: var(--app-text-muted); }
.booking-calendar .cal-day.today { background: var(--app-primary-soft); color: var(--app-primary); font-weight: 700; }
.booking-calendar .cal-day.selected { background: var(--app-primary); color: #fff; }
.booking-calendar .cal-day:not(.other-month):hover { background: var(--app-border-soft); }
.booking-calendar .cal-day.selected:hover { background: var(--app-primary-hover); }
.booking-calendar .cal-day.empty { cursor: default; visibility: hidden; }

.booking-slots-wrap { margin-top: var(--app-space-lg); }
.booking-slots-wrap h3 { font-size: 1rem; margin: 0 0 var(--app-space-sm); }
.booking-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 400px) {
  .booking-slots { grid-template-columns: repeat(3, 1fr); }
}
.booking-slot {
  padding: 10px 14px;
  font-size: var(--app-text-sm);
  font-weight: 600;
  text-align: center;
  border-radius: var(--app-radius-md);
  border: 2px solid var(--app-border);
  background: var(--app-surface);
  color: var(--app-text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.booking-slot:hover:not(.booked):not(.selected) {
  border-color: var(--app-primary);
  background: var(--app-primary-soft);
}
.booking-slot.booked {
  background: var(--app-border-soft);
  color: var(--app-text-muted);
  cursor: not-allowed;
  border-color: var(--app-border);
}
.booking-slot.selected {
  border-color: var(--app-primary);
  background: var(--app-primary);
  color: #fff;
}
.booking-confirm-wrap {
  margin-top: var(--app-space-lg);
  padding-top: var(--app-space-md);
  border-top: 1px solid var(--app-border);
}
.booking-confirm-wrap button { margin-top: 8px; }
.booking-success {
  padding: var(--app-space-lg);
  text-align: center;
  background: var(--app-success-soft);
  border-radius: var(--app-radius-md);
  border: 1px solid var(--app-success);
}
.booking-success h3 { color: var(--app-success); margin: 0 0 8px; }
.booking-success p { margin: 0; color: var(--app-text); }
