/* =========================================================
   yuyue.css  –  Appointment 预约页样式
   ========================================================= */

/* ── Appointment Section ────────────────────────────────── */
.appointment {
  padding: 120px 40px 96px;
  max-width: 768px;
  margin: 0 auto;
}
.appointment-inner .section-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.appointment-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  letter-spacing: -0.2px;
  margin-bottom: 32px;
}

/* ── Form Block Label ───────────────────────────────────── */
.form-block {
  margin-bottom: 20px;
}
.form-block-label {
  display: block;
  font-size: 0.89rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
}
.form-block-label span { color: var(--green); }

/* ── Calendar Box ───────────────────────────────────────── */
.calendar-box {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 16px;
  background: #fff;
}
.calendar-header {
  background: var(--green);
  margin: -16px -16px 12px;
  padding: 10px 16px;
  border-radius: 4px 4px 0 0;
}
.calendar-selected-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cal-nav-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  font-size: 0.75rem;
  color: #555;
  cursor: pointer;
  transition: background .2s ease;
}
.cal-nav-btn:hover { background: #f5f5f5; }
.cal-month {
  font-size: 0.8rem;
  font-weight: 600;
  color: #111;
}
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 6px;
}
.calendar-weekdays span {
  font-size: 0.65rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
}
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.cal-day {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 0.78rem;
  color: #555;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  margin: 0 auto;
}
.cal-day:hover:not(.disabled):not(.empty) {
  background: #f0f0f0;
}
.cal-day.active {
  background: #111;
  color: #fff;
  border-color: #111;
}
.cal-day.empty {
  border: none;
  cursor: default;
}
.cal-day.disabled {
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Time Slots ─────────────────────────────────────────── */
.time-slots {
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 12px;
}
.time-slot-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #888;
  margin-bottom: 8px;
}
.time-slot {
  display: block;
  width: 140px;
  margin: 0 auto 6px;
  padding: 6px 0;
  border: 1px solid #ccc;
  border-radius: 2px;
  background: #fff;
  font-size: 0.75rem;
  color: #555;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.time-slot:hover:not(.disabled) {
  background: #f8f8f8;
  border-color: #999;
}
.time-slot.selected {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.time-slot.disabled {
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Timezone ───────────────────────────────────────────── */
.calendar-tz {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  font-size: 0.72rem;
  color: #888;
}
.calendar-tz svg {
  width: 14px;
  height: 14px;
  color: #888;
}

/* ── Checkbox List ──────────────────────────────────────── */
.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.89rem;
  color: #555;
  cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  flex-shrink: 0;
}

/* ── Full-width Submit Button ───────────────────────────── */
.btn-submit-full {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--green);
  color: #fff;
  font-size: 0.89rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
  margin-top: 8px;
}
.btn-submit-full:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .appointment {
    padding: 100px 24px 72px;
  }
  .appointment-title {
    font-size: 1.6rem;
  }
}
@media (max-width: 540px) {
  .appointment {
    padding: 80px 18px 56px;
  }
  .calendar-days {
    gap: 4px;
  }
  .cal-day {
    width: 32px;
    height: 32px;
    font-size: 0.72rem;
  }
  .time-slot {
    width: 130px;
  }
}
