// 查询 样式
.query {
  display: flex;
  justify-content: space-between;
  .query-items {
    flex: 0 0 auto;
    display: flex;

    .query-item {
      flex: 0 0 auto;
      display: flex;
      margin: 0 1.4815vh;

      .lable {
        flex: 0 0 auto;
        margin-right: 1.4815vh;
        line-height: 33px;
        color: @gray-l;
      }

      .search-input {
        position: relative;

        input {
          box-sizing: border-box;
          flex: 0 0 200px;
          border: 0px solid @darkgray;
          padding: 0.741vh;
          color: @gray;
          outline: unset;
          border-radius: 0%;
          padding-right: 40px;
          background: fade(#536268, 20);

          &::placeholder {
            font-size: 12px;
            text-align: right;
            color: @darkgray;
          }
        }

        .unit {
          position: absolute;
          right: 12px;
          top: 6px;
          line-height: 33px;
          margin: auto;
        }
      }
    }
  }

  .query-actions {
    flex: 0 0 auto;
  }
}

input[type="checkbox"] {
  position: relative;
  display: inline-block;
  appearance: none;
  width: 14px;
  height: 14px;
  outline: none;
  border: 1px solid @gray;
  background-color: #000;
  border-radius: 20%;
  margin: 0;

  &:checked {
    border-color: @green;
    background: @green;
  }

  &::after {
    display: inline-block;
    content: " ";
    position: absolute;
    left: 30%;
    top: 5%;
    width: 3px;
    height: 7px;
    border-color: #fff;
    border-style: solid;
    border-width: 0px 2px 2px 0px;
    transform: rotate(45deg);
    opacity: 0;
  }

  &:checked::after {
    content: "";
    opacity: 1;
    transition: opacity 0.3s ease-out;
  }
}
