.attendanceRules {
  --van-tab-active-text-color: var(--van-primary-color);
  --van-tab-text-color: #333;
  --van-tab-font-size: 16px;
  :global {
    .van-tab {
      // font-weight: 400;
    }
    .van-tabs__wrap {
      // padding-bottom: 3px;
    }
  }
}

.ruleContainer {
  overflow: hidden;
  margin-bottom: 20px;

  .informationBottom {
    :global {
      .van-sticky {
        position: absolute;
      }
    }
  }

  :global {
    .van-cell {
      padding: 14px 12px;
    }
    .van-cell:after {
      transform: scale(1);
      border-color: #f2f2f2;
    }

    .van-cell-group {
      margin: 16px 13px 0;
      border-radius: 10px;
    }
    .van-field__control {
      text-align: center;
      font-family: DINA;
    }
  }

  .ruleTitle {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 22px;
  }
  .smallRuleTitle {
    font-size: 14px;
  }

  .ruleContent {
    font-size: 14px;
    color: #777;
  }
  .ruleMore {
    padding: 6px 0 8px;
    // color: #333;
    // font-weight: 500;
  }

  .red {
    color: #f44541;
  }

  .field {
    background: #f2f2f2;
    border-radius: 8px;
    height: 35px;
    line-height: 35px;
    padding: 0 8px;
    display: inline-flex;

    .unit {
      position: relative;
      width: 40px;
      padding-left: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      font-weight: 500;
      font-size: 15px;
      &::before {
        position: absolute;
        left: 0;
        content: ' ';
        display: inline-block;
        width: 1px;
        height: 25px;
        background: #e3e3e3;
        border-radius: 1px;
      }
      &::after {
        content: ' ';
        display: inline-block;
        background: url('@/common/svg/arrow.png') no-repeat center center;
        background-size: contain;
        width: 9px;
        height: 5px;
        margin-left: 3px;
      }

      &.active {
        &::after {
          transform: rotateX(180deg);
          margin-top: -2px;
        }
      }
    }
  }
  .field-m {
    margin: 0 4px;
  }
  .field-w80 {
    width: 80px;
  }
  .field-w136 {
    width: 136px;
  }
  .field-w102 {
    width: 102px;
  }
  .field-w126 {
    width: 126px;
  }

  .ruleRange {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .ruleTips {
    margin-top: 12px;
    padding: 10px;
    background: #fff3e6;
    border-radius: 6px;
    font-size: 13px;
    color: #333333;
    line-height: 22px;
    span {
      // padding: 0 4px;
      color: #f44541;
      font-weight: 500;
    }
  }
  .ruleDesc {
    font-size: 14px;
    color: #777777;
    line-height: 24px;
    span {
      padding: 0 4px;
      color: #f44541;
    }
  }
  .ruleExtra {
    color: #777;
    font-size: 15px;
  }
}

.popover {
  --van-popover-action-width: 100px;
}

.flexDev {
  display: flex;
  align-items: center;
}
