.t-float-left {
  float: left;
}
.t-float-right {
  float: right;
}
@keyframes tdesign-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.hotspot-expanded.relative {
  position: relative;
}
.hotspot-expanded::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  transform: scale(1.5);
}
.t-calendar {
  position: relative;
  z-index: 9999;
  background: var(--td-calendar-bg-color, var(--td-bg-color-container, var(--td-font-white-1, #ffffff)));
  overflow-x: hidden;
}
.t-calendar--popup {
  border-top-left-radius: var(--td-calendar-radius, 24rpx);
  border-top-right-radius: var(--td-calendar-radius, 24rpx);
}
.t-calendar__title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--td-calendar-title-font-size, 18px);
  font-weight: 600;
  color: var(--td-calendar-title-color, var(--td-font-gray-1, rgba(0, 0, 0, 0.9)));
  height: 52rpx;
  padding: 32rpx;
}
.t-calendar__title:focus {
  outline: 0;
}
.t-calendar__close-btn {
  position: absolute;
  top: 32rpx;
  right: 32rpx;
  margin: -24rpx;
  padding: 24rpx;
}
.t-calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-column-gap: 8rpx;
  padding: 0 32rpx;
  text-align: center;
  line-height: 92rpx;
}
.t-calendar__days-item {
  height: 92rpx;
  font-size: 28rpx;
  color: var(--td-calendar-days-color, var(--td-font-gray-2, rgba(0, 0, 0, 0.6)));
}
.t-calendar__content {
  min-height: 400rpx;
  display: flex;
  flex-direction: column;
}
.t-calendar__month {
  font-size: 28rpx;
  color: var(--td-calendar-title-color, var(--td-font-gray-1, rgba(0, 0, 0, 0.9)));
  font-weight: 600;
  padding: 32rpx 0 0;
}
.t-calendar__months {
  height: 60vh;
  padding: 0 32rpx 32rpx;
  box-sizing: border-box;
}
.t-calendar__months::-webkit-scrollbar {
  display: none;
}
.t-calendar__dates {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-column-gap: 8rpx;
}
.t-calendar__dates-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32rpx;
  border-radius: 16rpx;
  height: 120rpx;
  line-height: 48rpx;
  font-weight: 600;
  margin-top: 16rpx;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
.t-calendar__dates-item-prefix,
.t-calendar__dates-item-suffix {
  position: absolute;
  font-size: 20rpx;
  line-height: 32rpx;
  width: 100%;
  text-align: center;
  font-weight: 400;
}
.t-calendar__dates-item-prefix {
  top: 8rpx;
}
.t-calendar__dates-item-suffix {
  bottom: 8rpx;
  color: var(--td-calendar-item-suffix-color, var(--td-font-gray-3, rgba(0, 0, 0, 0.4)));
}
.t-calendar__dates-item-suffix--selected,
.t-calendar__dates-item-suffix--start,
.t-calendar__dates-item-suffix--end {
  color: var(--td-calendar-selected-color, var(--td-font-white-1, #ffffff));
}
.t-calendar__dates-item-suffix--disabled {
  color: var(--td-calendar-item-disabled-color, var(--td-font-gray-4, rgba(0, 0, 0, 0.26)));
}
.t-calendar__dates-item--selected,
.t-calendar__dates-item--start,
.t-calendar__dates-item--end {
  background: var(--td-calendar-active-color, var(--td-brand-color, var(--td-primary-color-7, #0052d9)));
  color: var(--td-calendar-selected-color, var(--td-font-white-1, #ffffff));
  border-radius: 8rpx;
}
.t-calendar__dates-item--start {
  border-radius: 8rpx 0 0 8rpx;
}
.t-calendar__dates-item--end {
  border-radius: 0 8rpx 8rpx 0;
}
.t-calendar__dates-item--start + .t-calendar__dates-item--end::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  width: 8rpx;
  height: 100%;
  background: var(--td-calendar-active-color, var(--td-brand-color, var(--td-primary-color-7, #0052d9)));
}
.t-calendar__dates-item--start + .t-calendar__dates-item--end:before {
  left: -8rpx;
}
.t-calendar__dates-item--centre {
  border-radius: 0;
  background-color: var(--td-calendar-item-centre-color, var(--td-brand-color-light, var(--td-primary-color-1, #f2f3ff)));
}
.t-calendar__dates-item--centre::before,
.t-calendar__dates-item--centre::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  width: 8rpx;
  height: 100%;
  background-color: var(--td-calendar-item-centre-color, var(--td-brand-color-light, var(--td-primary-color-1, #f2f3ff)));
}
.t-calendar__dates-item--centre:before {
  left: -8rpx;
}
.t-calendar__dates-item--centre:after {
  right: -8rpx;
}
.t-calendar__dates-item--disabled {
  color: var(--td-calendar-item-disabled-color, var(--td-font-gray-4, rgba(0, 0, 0, 0.26)));
  cursor: default;
}
.t-calendar__footer {
  padding: 32rpx;
}
