.t-date-picker {
  padding: 0;
}
.t-date-picker .t-date-picker__popup-reference {
  width: 100%;
}
.t-date-picker__container {
  border-radius: 3px;
  background-color: var(--td-bg-color-container);
  overflow: auto;
}
.t-date-picker .t-is-active .t-input {
  border-color: var(--td-brand-color);
  -webkit-box-shadow: 0 0 0 2px var(--td-brand-color-focus);
          box-shadow: 0 0 0 2px var(--td-brand-color-focus);
}
.t-date-picker__panels {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-width: 320px;
  max-width: 100%;
  background-color: var(--td-bg-color-container);
}
.t-date-picker__panels::after {
  display: block;
  clear: both;
  content: "";
}
.t-date-picker--panel {
  position: relative;
  width: 320px;
  margin: 0;
}
.t-date-picker--panel:nth-child(2)::before {
  content: " ";
  width: 1px;
  height: 95%;
  display: block;
  position: absolute;
  left: 0;
  top: 16px;
  border-left: 1px solid transparent;
}
.t-date-picker__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--td-border-level-1-color);
}
.t-date-picker__header .t-date-picker__header-title,
.t-date-picker__header .t-date-picker__header-btn {
  font-size: 16px;
  font-weight: 500;
}
.t-date-picker__header .t-date-picker__header-controller__btn {
  color: var(--td-text-color-secondary);
  padding: 4px;
  width: 32px;
}
.t-date-picker__header .t-date-picker__header-controller__btn .t-icon {
  font-size: 16px;
}
.t-date-picker__header .t-date-picker__header-controller__btn:nth-child(2) {
  margin: 0 8px;
}
.t-date-picker__header .t-date-picker__header-controller__btn--now {
  color: var(--td-text-color-secondary);
}
.t-date-picker__cell-wrapper {
  height: 40px;
  margin-top: 4px;
  width: 100%;
  cursor: pointer;
  position: relative;
}
.t-date-picker__cell-wrapper > span {
  display: block;
  width: 40px;
  line-height: 40px;
  border-radius: 40px;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 10;
}
.t-date-picker__cell-wrapper > span:hover {
  -webkit-box-shadow: inset 0 0 0 1px var(--td-brand-color);
          box-shadow: inset 0 0 0 1px var(--td-brand-color);
  -webkit-transition: -webkit-box-shadow 0.2s cubic-bezier(0.82, 0, 1, 0.9);
  transition: -webkit-box-shadow 0.2s cubic-bezier(0.82, 0, 1, 0.9);
  transition: box-shadow 0.2s cubic-bezier(0.82, 0, 1, 0.9);
  transition: box-shadow 0.2s cubic-bezier(0.82, 0, 1, 0.9), -webkit-box-shadow 0.2s cubic-bezier(0.82, 0, 1, 0.9);
}
.t-date-picker__cell__text {
  font-size: 14px;
}
.t-date-picker__cell--now .t-date-picker__cell-wrapper {
  position: absolute;
  top: 0;
  color: var(--td-brand-color);
}
.t-date-picker__cell--now .t-date-picker__cell-wrapper::after {
  display: block;
  content: "";
  height: 6px;
  width: 6px;
  border-radius: 40px;
  background-color: var(--td-brand-color);
  position: relative;
  z-index: 2;
  left: 17px;
  top: 34px;
}
.t-date-picker__cell--highlight .t-date-picker__cell-wrapper {
  background-color: var(--td-brand-color-light);
  border-color: var(--td-brand-color-light);
  -webkit-transition: background 0.2s, border 0.2s;
  transition: background 0.2s, border 0.2s;
}
.t-date-picker__cell--highlight .t-date-picker__cell-wrapper::after {
  display: none;
}
.t-date-picker__cell--additional .t-date-picker__cell-wrapper {
  color: var(--td-text-color-disabled);
  background: var(--td-bg-color-container);
}
.t-date-picker__cell--additional .t-date-picker__cell-wrapper > span {
  color: var(--td-text-color-disabled);
}
.t-date-picker__cell--additional .t-date-picker__cell-wrapper > span:hover {
  -webkit-box-shadow: none;
          box-shadow: none;
}
.t-date-picker__cell--active .t-date-picker__cell-wrapper > span {
  color: var(--td-text-color-anti);
  background-color: var(--td-brand-color);
}
.t-date-picker__cell--active .t-date-picker__cell-wrapper::after {
  display: none;
}
.t-date-picker__cell--active-start .t-date-picker__cell-wrapper {
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
}
.t-date-picker__cell--active-end .t-date-picker__cell-wrapper {
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
}
.t-date-picker__cell--last-day-of-month .t-date-picker__cell-wrapper {
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
}
.t-date-picker__cell--first-day-of-month .t-date-picker__cell-wrapper {
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
}
.t-date-picker__cell--disabled .t-date-picker__cell-wrapper {
  cursor: not-allowed;
  border-radius: 40px;
  background-color: var(--td-bg-color-component-disabled);
  border-color: var(--td-bg-color-component-disabled);
}
.t-date-picker__cell--disabled .t-date-picker__cell-wrapper > span {
  color: var(--td-text-color-disabled);
}
.t-date-picker__cell--disabled .t-date-picker__cell-wrapper > span:hover {
  -webkit-box-shadow: none;
          box-shadow: none;
}
.t-date-picker__cell--disabled + .t-date-picker__cell--disabled .t-date-picker__cell-wrapper::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: -50%;
  top: 0;
  background: var(--td-bg-color-component-disabled);
  pointer-events: none;
}
.t-date-picker--year {
  padding-bottom: 24px;
}
.t-date-picker--year tbody tr .t-date-picker__cell-wrapper {
  margin-top: 8px;
  height: 48px;
}
.t-date-picker--year tbody tr .t-date-picker__cell-wrapper .t-date-picker__cell-text {
  height: 48px;
  width: 48px;
  line-height: 48px;
}
.t-date-picker--year tbody tr .t-date-picker__cell-wrapper::after {
  left: 36px;
  top: 40px;
}
.t-date-picker--year tbody tr:first-child .t-date-picker__cell-wrapper {
  margin-top: 16px;
}
.t-date-picker--month tbody tr .t-date-picker__cell-wrapper {
  margin-top: 8px;
}
.t-date-picker--month tbody tr .t-date-picker__cell-wrapper::after {
  left: 36px;
}
.t-date-picker--month tbody tr:first-child .t-date-picker__cell-wrapper {
  margin-top: 20px;
}
.t-date-picker--month tbody tr:last-child .t-date-picker__cell-wrapper {
  margin-bottom: 12px;
}
.t-date-picker--date {
  padding: 0 16px 16px;
}
.t-date-picker__panel {
  width: 320px;
}
.t-date-picker__panel table {
  width: 100%;
  border-collapse: collapse;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  padding: 0 16px 16px;
}
.t-date-picker__panel tbody {
  font-weight: 500;
  margin-top: 2px;
}
.t-date-picker__panel th {
  color: var(--td-text-color-secondary);
  padding: 16px 0 8px;
  margin-bottom: 5px;
  width: 46px;
  font-weight: 400;
}
.t-date-picker__panel td {
  padding: 0;
  text-align: center;
  position: relative;
}
.t-date-picker__panel td:first-child .t-date-picker__cell-wrapper {
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
}
.t-date-picker__panel td:last-child .t-date-picker__cell-wrapper {
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
}
.t-date-picker__panel__sub-panel--hide {
  display: none;
}
.t-date-picker__panels {
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.t-date-picker__footer {
  width: 320px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.t-date-picker--range .t-date-picker__footer {
  width: 640px;
}
.t-date-picker__presets {
  margin: 0 16px 16px 16px;
  min-width: 100px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.t-date-picker__presets ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}
.t-date-picker__presets li {
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  white-space: nowrap;
  padding: 0;
  cursor: pointer;
  float: left;
  margin-right: 16px;
}
.t-date-picker__presets li:last-child {
  margin: 0;
}
.t-date-picker__presets li a {
  color: var(--td-brand-color);
}
.t-date-picker__presets li a:hover {
  color: var(--td-brand-color-hover);
}
.t-date-picker--apply {
  margin: 0 16px 16px 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.t-date-picker--apply > button:last-child {
  margin-left: 8px;
}
