.fes-date-picker {
  position: relative;
  display: inline-block;
  width: 100%;
  vertical-align: middle;
}
.fes-date-picker-popper {
  overflow: hidden;
}
.fes-date-picker-calendars {
  display: flex;
  color: var(--f-text-color);
  font-size: var(--f-font-size-base);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  font-variant: tabular-nums;
  line-height: 22px;
  font-feature-settings: 'tnum';
}
.fes-date-picker-calendars-daterange {
  display: flex;
  flex-direction: row;
}
.fes-date-picker-calendars-footer {
  border-top: var(--f-border-width-base) var(--f-border-style-base) var(--f-border-color-split);
}
.fes-date-picker-calendars-footer-inner {
  padding: 10px 8px;
  text-align: right;
}
.fes-date-picker-calendars-footer-inner > .fes-btn {
  margin-left: 8px;
}
.fes-date-picker-calendars-shortcuts {
  padding: 10px 0;
  overflow-y: auto;
  border-left: var(--f-border-width-base) var(--f-border-style-base) var(--f-border-color-split);
}
.fes-date-picker-calendars-shortcuts > li {
  padding: 0 16px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
}
.fes-date-picker-calendars-shortcuts > li:hover {
  color: var(--f-primary-color);
  background-color: var(--f-hover-color-light);
}
.fes-date-picker-calendar {
  display: flex;
  flex-direction: column;
  color: var(--f-text-color);
  font-size: calc(var(--f-font-size-base) - 2px);
  background: var(--f-white);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.fes-date-picker-calendar .fes-date-picker-calendar-icon {
  color: var(--f-text-color-secondary);
}
.fes-date-picker-calendar .fes-date-picker-calendar-icon:hover {
  color: var(--f-primary-color);
}
.fes-date-picker-calendar-head {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: var(--f-border-width-base) var(--f-border-style-base) var(--f-border-color-split);
}
.fes-date-picker-calendar-head-middle {
  flex: 2;
  font-weight: 600;
  font-size: var(--f-font-size-base);
  text-align: center;
}
.fes-date-picker-calendar-head-middle-item {
  position: relative;
  display: inline-block;
  padding: 0 2px;
  text-align: center;
}
.fes-date-picker-calendar-head-left {
  flex: 1;
  padding-left: var(--f-padding-xsmall);
}
.fes-date-picker-calendar-head-right {
  flex: 1;
  padding-right: var(--f-padding-xsmall);
  text-align: right;
}
.fes-date-picker-calendar-body {
  position: relative;
  width: 100%;
  padding: 8px 10px;
}
.fes-date-picker-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 224px;
  height: 224px;
}
.fes-date-picker-calendar-week,
.fes-date-picker-calendar-date {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  width: 24px;
  height: 24px;
  font-weight: normal;
  line-height: 24px;
  text-align: center;
  border-radius: var(--f-border-radius-base);
  place-self: center center;
}
.fes-date-picker-calendar-date {
  cursor: pointer;
}
.fes-date-picker-calendar-date:hover {
  background: var(--f-hover-color-light);
}
.fes-date-picker-calendar-date-on {
  background-color: var(--f-hover-color-light);
  border-radius: 0;
  transition: all 0.2s cubic-bezier(0.9, 0, 0.3, 0.7);
}
.fes-date-picker-calendar-date-on::before {
  position: absolute;
  left: -4px;
  z-index: -1;
  width: 32px;
  height: 100%;
  background-color: var(--f-hover-color-light);
  content: '';
}
.fes-date-picker-calendar-date-now {
  color: var(--f-primary-color);
  background-color: var(--f-hover-color-light);
}
.fes-date-picker-calendar-date-now::after {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 3px;
  height: 3px;
  background-color: var(--f-primary-color);
  border-radius: 50%;
  content: '';
}
.fes-date-picker-calendar-date-out {
  color: var(--f-text-color-disabled);
  background-color: var(--f-white);
}
.fes-date-picker-calendar-date-selected {
  color: var(--f-white);
  font-weight: 500;
  background: var(--f-primary-color);
  transition: all 0.2s cubic-bezier(0.9, 0, 0.3, 0.7);
}
.fes-date-picker-calendar-date-selected:hover {
  color: var(--f-white);
  font-weight: 500;
  background: var(--f-primary-color);
}
.fes-date-picker-calendar-date-selected.is-start:not(.is-end) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.fes-date-picker-calendar-date-selected.is-start:not(.is-end)::before {
  position: absolute;
  right: -4px;
  z-index: -1;
  width: 4px;
  height: 100%;
  background-color: var(--f-hover-color-light);
  content: '';
}
.fes-date-picker-calendar-date-selected.is-end:not(.is-start) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.fes-date-picker-calendar-date-selected.is-end:not(.is-start)::before {
  position: absolute;
  left: -4px;
  z-index: -1;
  width: 4px;
  height: 100%;
  background-color: var(--f-hover-color-light);
  content: '';
}
.fes-date-picker-calendar-date-disabled {
  color: var(--f-text-color-disabled);
  background: var(--f-disabled-color-base);
  cursor: default;
}
.fes-date-picker-calendar-date-disabled::before {
  position: absolute;
  left: -4px;
  z-index: -1;
  width: 32px;
  height: 100%;
  background-color: var(--f-disabled-color-light);
  content: '';
}
.fes-date-picker-calendar-months,
.fes-date-picker-calendar-years,
.fes-date-picker-calendar-quarters {
  display: grid;
  grid-row-gap: 8px;
  grid-template-columns: repeat(4, 1fr);
  width: 256px;
  background: var(--f-white);
}
.fes-date-picker-calendar-months .fes-date-picker-calendar-date-disabled::before,
.fes-date-picker-calendar-years .fes-date-picker-calendar-date-disabled::before,
.fes-date-picker-calendar-quarters .fes-date-picker-calendar-date-disabled::before {
  width: 64px;
}
.fes-date-picker-calendar-months {
  height: 112px;
}
.fes-date-picker-calendar-months .fes-date-picker-calendar-date-on::before {
  width: 64px;
}
.fes-date-picker-calendar-years {
  height: 152px;
}
.fes-date-picker-calendar-months span,
.fes-date-picker-calendar-years span,
.fes-date-picker-calendar-quarters span {
  width: 56px;
  padding: 0 8px;
}
.fes-date-picker-calendar-title {
  height: 34px;
  font-weight: 500;
  line-height: 34px;
  text-align: center;
  background: var(--f-white);
  border-bottom: var(--f-border-width-base) var(--f-border-style-base) var(--f-border-color-split);
}
.fes-date-picker-calendar .fes-date-picker-calendar-input {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px 10px 4px;
}
.fes-date-picker-calendar .fes-date-picker-calendar-input-date,
.fes-date-picker-calendar .fes-date-picker-calendar-input-time {
  width: 107px;
  height: 24px;
  text-align: center;
  border-radius: var(--f-border-radius-sm);
}
.fes-range-input {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 32px;
  padding: 5px 9px;
  color: var(--f-text-color);
  font-size: var(--f-font-size-base);
  background-color: var(--f-white);
  border: var(--f-border-base);
  border-radius: var(--f-border-radius-base);
  outline: none;
}
.fes-range-input:focus-within,
.fes-range-input.is-focused {
  box-shadow: 0 0 0 2px var(--f-focus-shadow-color);
}
.fes-range-input:hover,
.fes-range-input:focus-within,
.fes-range-input.is-focused {
  border-color: var(--f-primary-color);
}
.fes-range-input.is-error:not(.is-disabled) {
  border-color: var(--f-danger-color);
}
.fes-range-input.is-error:not(.is-disabled):focus {
  box-shadow: 0 0 0 2px var(--f-focus-danger-shadow-color);
}
.fes-range-input.is-disabled {
  color: var(--f-text-color-disabled);
  background-color: var(--f-disabled-color-light);
  cursor: not-allowed;
  opacity: 1;
}
.fes-range-input.is-disabled:focus-within {
  box-shadow: none;
}
.fes-range-input.is-disabled:hover,
.fes-range-input.is-disabled:focus-within {
  border-color: var(--f-border-color-base);
}
.fes-range-input.is-disabled > .fes-range-input-inner {
  background-color: var(--f-disabled-color-light);
}
.fes-range-input-inner {
  flex: 1;
  width: 100%;
  min-width: 0;
  background-color: var(--f-white);
  border: 0;
  outline: none;
}
.fes-range-input-inner::-webkit-input-placeholder {
  color: var(--f-text-color-caption);
}
.fes-range-input-inner::-moz-placeholder {
  color: var(--f-text-color-caption);
}
.fes-range-input-inner::placeholder {
  color: var(--f-text-color-caption);
}
.fes-range-input-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  padding: 0 var(--f-padding-xsmall);
  color: var(--f-border-color-base);
}
.fes-range-input-suffix {
  padding-left: var(--f-padding-xsmall);
  color: var(--f-border-color-base);
}
