/**
 * GT MS Bookings — 右栏日历组件样式。
 * 关键色: #001A71 主蓝 / #152869 选中深蓝 / #E6E6E2 描边 / #B3B8BF 次要文字。
 */
.gt-msb {
  font-family: inherit;
  max-width: 712px;
}

.gt-msb-title {
  font-size: 2.4rem;
  font-weight: 500;
  color: #0A0A0A;
  margin: 0 0 2rem;
}

/* ---- 月历 ---- */
.gt-msb-cal {
  border: 1px solid #E6E6E2;
  border-radius: 8px;
  padding: 1.6rem 1.6rem 2rem;
  background: #fff;
}

.gt-msb-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.gt-msb-cal-month {
  font-size: 1.9rem;
  font-weight: 600;
  color: #15171D;
}

.gt-msb-prev,
.gt-msb-next {
  background: none;
  border: 1px solid #E6E6E2;
  border-radius: 50%;
  width: 3.2rem;
  height: 3.2rem;
  font-size: 1.8rem;
  line-height: 1;
  color: #15171D;
  cursor: pointer;
}
.gt-msb-prev:hover,
.gt-msb-next:hover {
  border-color: #001A71;
  color: #001A71;
}

.gt-msb-cal-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 1.2rem;
  color: #B3B8BF;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.gt-msb-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.gt-msb-day {
  border: none;
  background: none;
  font-size: 1.5rem;
  color: #15171D;
  padding: 0.9rem 0;
  border-radius: 6px;
  cursor: pointer;
}
.gt-msb-day:hover:not(.disabled):not(.selected) {
  background: #F5F5F5;
}
.gt-msb-day.today {
  color: #001A71;
  font-weight: 700;
}
.gt-msb-day.selected {
  background: #152869;
  color: #fff;
}
.gt-msb-day.disabled,
.gt-msb-day.blank {
  color: #D5D8DC;
  cursor: default;
  pointer-events: none;
}

/* ---- 时段 ---- */
.gt-msb-slots {
  margin-top: 2rem;
  min-height: 4.6rem;
}

.gt-msb-slots-empty {
  font-size: 1.5rem;
  color: #B3B8BF;
  margin: 0;
}

.gt-msb-slots-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.gt-msb-slot {
  border: 1px solid #E6E6E2;
  border-radius: 6px;
  background: #fff;
  font-size: 1.5rem;
  color: #15171D;
  padding: 0.8rem 1.4rem;
  cursor: pointer;
  min-width: 7.2rem;
}
.gt-msb-slot:hover {
  border-color: #001A71;
}
.gt-msb-slot.selected {
  background: #152869;
  border-color: #152869;
  color: #fff;
}

/* ---- Duration ---- */
.gt-msb-duration {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
  font-size: 1.5rem;
  color: #15171D;
}

.gt-msb-duration-opts {
  display: flex;
  gap: 9px;
}

.gt-msb-duration-opt {
  border: 1px solid #E6E6E2;
  border-radius: 19px;
  background: #fff;
  font-size: 1.5rem;
  color: #15171D;
  padding: 0.8rem 1.8rem;
  cursor: pointer;
}
.gt-msb-duration-opt.selected {
  background: #152869;
  border-color: #152869;
  color: #fff;
}

/* ---- Talk to Us ---- */
.gt-msb-talk {
  display: block;
  width: 100%;
  margin-top: 3rem;
  border: 3px solid #001A71;
  border-radius: 6.5px;
  background: #fff;
  color: #001A71;
  font-size: 2.2rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 1.2rem 0;
  cursor: pointer;
}
.gt-msb-talk:hover {
  background: #001A71;
  color: #fff;
}
.gt-msb-talk:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* ---- 确认弹窗 ---- */
.gt-msb-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.gt-msb-modal-inner {
  background: #fff;
  width: 655px;
  max-width: 90vw;
  border-radius: 12px;
  padding: 4rem 3.6rem;
  position: relative;
}

.gt-msb-modal-close {
  position: absolute;
  top: 1.6rem;
  right: 1.8rem;
  background: none;
  border: none;
  font-size: 2.4rem;
  line-height: 1;
  color: #15171D;
  cursor: pointer;
}

.gt-msb-modal-inner h4 {
  font-size: 2.6rem;
  color: #001A71;
  margin: 0 0 1.6rem;
}

.gt-msb-modal-inner p {
  font-size: 1.8rem;
  color: #15171D;
  margin: 0 0 2rem;
}

.gt-msb-modal-join {
  display: inline-block;
  background: #001A71;
  color: #fff;
  border-radius: 8px;
  padding: 1.1rem 2.4rem;
  font-size: 1.6rem;
  text-decoration: none;
}

/* ---- 错误 ---- */
.gt-msb-error {
  font-size: 1.5rem;
  color: #B3B8BF;
}
