.c-picker-daterange {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  visibility: hidden;
  z-index: 1050;
  .c-picker-daterange__content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 2;
    transition: all 400ms ease;
    transform: translateY(100%);
    // border-bottom: #f0f0f0 env(safe-area-inset-bottom) solid;
    border: 0 solid #f0f0f0;
    border-bottom-width: 0;
    border-bottom-width: env(safe-area-inset-bottom);
    .c-picker-daterange__action {
      height: 46px;
      position: relative;
      background: #fff;
      border-radius: 12px 12px 0 0;
      .c-picker-daterange__cancel,
      .c-picker-daterange__placeholder {
        position: absolute;
        left: 0;
        top: 0;
        height: 46px;
        line-height: 46px;
        padding: 0 15px;
        font-size: 15px;
        color: $text-light;
      }
      .c-picker__cancel {
        font-weight: 600;
      }
      .c-picker-daterange__cancel {
        font-weight: 600;
      }
      .c-picker-daterange__placeholder {
        color: $text-placeholder;
      }
      .c-picker-daterange__done {
        position: absolute;
        right: 0;
        top: 0;
        height: 46px;
        line-height: 46px;
        padding: 0 15px;
        font-size: 15px;
        font-weight: 600;
        color: $primary;
      }
      &::after {
        @include borderLine('bottom');
      }
    }
    picker-view {
      background: #fcfcfc;
      display: flex;
      height: 322px;
      position: relative;
      picker-view-column {
        flex: 1;
        height: 322px;
        width: 100vw;
        div {
          line-height: 44px;
          width: 100%;
          text-align: center;
          font-size: 14px;
          &.placeholder {
            color: $text-placeholder;
          }
        }
      }
      .separator {
        height: 100%;
        width: 20px;
        background: #fff;
        i {
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          font-size: 14px;
          background: #fcfcfc;
          width: 20px;
          height: 44px;
          line-height: 44px;
          &::before {
            @include borderLine('top');
          }
          &::after {
            @include borderLine('bottom');
          }
        }
      }
    }
  }
  .indicator-style {
    height: 44px;
  }
  &.c-picker-daterange__visible {
    visibility: visible;
    .c-picker-daterange__content {
      transform: translateY(0);
    }
    .c-picker-daterange__cover {
      opacity: .75;
    }
  }
  .c-picker-daterange__cover {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    transition: all 300ms;
    background: #282828;
    opacity: 0;
  }
}