$wheel-item-height: 50px;

.vui-pick-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
}

.vui-picker {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: #fff;
  border-radius: 10px 10px 0 0;

  .vui-picker-head {
    display: flex;
    height: 60px;
    flex-wrap: nowrap;
    align-items: center;
  }

  .vui-picker-button {
    text-align: center;
    font-size: 16px;
    padding: $padding;
  }

  .vui-picker-cancel {
    text-align: left;
    color: rgba(0, 0, 0, 0.45);
  }

  .vui-picker-submit {
    text-align: right;
    color: $color-theme;
  }

  .vui-picker-title {
    flex: 1;
    color: #333;
    text-align: center;
  }

  .vui-picker-panel {
    position: relative;
    height: $wheel-item-height * 5;
    padding: 0 $padding;
    box-sizing: border-box;
  }
  .vui-picker-top,
  .vui-picker-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: $wheel-item-height * 2;
    background: #fff;
    transform: translateZ(0);
    z-index: 1;
    pointer-events: none;
  }

  .vui-picker-top {
    top: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
  }

  .vui-picker-bottom {
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
  }

  .vui-picker-wheel-wrapper {
    display: flex;
    align-items: stretch;
    height: 100%;
  }
  .vui-picker-wheel {
    flex: 1;
    overflow: hidden;
  }

  .vui-picker-wheel-scroll {
    margin-top: $wheel-item-height * 2;
  }

  .vui-picker-wheel-item {
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    color: #333;
    text-align: center;
  }
}
