@import '~@cainiaofe/cn-ui-m-theme/token.px.scss';

.cn-ui-m-date-range-picker-pro {
  &-drawer-tab--wrapper {
    display: flex;
    position: relative;
    padding: $m-s-12 $m-s-16;
    border-bottom: 1px solid #f2f4f8;

    &-item {
      width: 50%;
      height: $m-s-36;
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: $m-s-16;

      &-label {
        font-size: $m-s-16;
      }

      &-value {
        font-size: $m-s-14;
      }

      &--active {
        color: $m-color-primary;
        font-weight: $m-font-weight-medium;
      }

      &--error {
        color: #ec3e3e;
      }
    }

    &-active-line {
      position: absolute;
      bottom: 0;
      transition: all 0.25s;
      display: flex;
      justify-content: center;

      &-block {
        height: $m-s-2;
        width: $m-s-26;
        border-radius: $m-radius-small;
        background-color: $m-color-primary;
      }

      &--enter {
        transform: scaleX(1);
      }

      &--exit {
        transform: scaleX(0);
      }
    }
  }
}
