.nav-query {
  text-align: center;
  width: 500px;
  margin: 0 auto;
}

.query-left,
.query-right {
  font-size: 24px;
  font-family: Hiragino Sans GB;
  font-weight: normal;
  color: #333333;
  cursor: pointer;
  position: relative;
  /* margin-right: 60px; */
  margin-left: 150px;
}

.cur-tab {
  color: #be271b;
}

.cur-tab::before {
  content: "";
  position: absolute;
  display: block;
  bottom: 0;
  left: -32px;
  width: 74px;
  height: 21px;
  background: url(../img/bb-bg.png);
  background-size: 100% 100%;
}

.cur-tab::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50px;
  width: 66px;
  height: 4px;
  background: #be271b;
  border-radius: 2px;
}

.search-contain-sub {
  height: 108px;
  background: #ffffff;
  border: 1px solid #f0dbd7;
  border-radius: 6px;
  margin-top: 13px;
  position: relative;
}

.search-contain-div {
  position: absolute;
  width: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 43px;
  padding: 0 0 0 33px;
  box-sizing: border-box;
  line-height: 43px;
  font-size: 16px;
}

.select {
  width: 140px;
  height: 43px;
  /* border: 1px solid #ECDCD8; */
  /* border-radius: 4px; */
  text-align: center;
  position: absolute;
  left: 0;
  top: 0;
}

.zs .sfzh {
  padding-left: 0;
  text-align: center;
  margin-left: 20px;
  border: 1px solid #ecdcd8;
  border-radius: 4px;
}

.sfzh {
  width: 361px;
  height: 43px;
  /* border: 1px solid #ECDCD8; */
  /* border-radius: 4px; */
  padding-left: 30%;
  text-align: center;
  box-sizing: border-box;
}

.input {
  border: 1px solid #ecdcd8;
  margin-left: 12px;
  position: relative;
  display: inline-block;
}

.xm {
  width: 101px;
  height: 43px;
  border: 1px solid #ecdcd8;
  border-radius: 4px;
  text-align: center;
  box-sizing: border-box;
}

.query {
  width: 103px;
  height: 43px;
  background: linear-gradient(-23deg, #ea3324, #f09968);
  border: 1px solid #f7cbb5;
  border-radius: 21px;
  font-size: 16px;
  font-family: PingFang SC;
  font-weight: 500;
  color: #ffffff;
  margin-left: 15px;
  cursor: pointer;
}

.result {
  box-sizing: border-box;
  width: 1200px;
  min-height: 292px;
  background: #ffffff;
  border: 1px solid #f0dbd7;
  border-radius: 6px;
  padding: 30px 17px 34px 20px;
}

.dirver {
  height: 2px;
  background: #ebebeb;
}

table {
  width: 96%;
  margin: 0 auto;
  border-collapse: collapse;
  border: none;
}

table,
td,
tr {
  border: none;
}

td {
  /* height: 50px; */
  line-height: 45px;
  font-size: 14px;
  text-align: center;
  vertical-align: center;
  border: 1px solid #ebebeb;
}

tbody tr:nth-child(2n + 1) {
  background-color: rgba(237, 117, 85, 0.09);
}

table tr:nth-child(1) td {
  background-color: rgba(237, 117, 85, 1);
  color: white;
  border: none;
}

#bg_contain {
  min-height: 300px;
}

.download img {
  cursor: pointer;
}

.download img.exporting {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.zs_contain img,
#bg_contain img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.option {
  position: absolute;
  display: none;
  width: 160px;
  padding: 5px 10px;
  border-width: 0 1px 1px 1px;
  border-style: solid;
  border-color: #e2b5b5;
  z-index: 999;
}

ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.time-picker {
  width: 141px;
  height: 43px;
  border: 1px solid #f0dbd7;
  border-radius: 4px;
  padding-left: 12px;
  text-align: left;
  background: transparent;
  color: #666;
}

.btn-clear {
  width: 10px;
  height: 10px;
  background: url(../img/icon-clear.png) center center no-repeat;
  position: absolute;
  background-size: 100% 100%;
  top: 17px;
  right: 3px;
  cursor: pointer;
}

/* ========== 会员选择查询卡 ========== */
.search-contain-sub.query-member {
  height: auto;
  padding: 22px 24px 20px;
  box-sizing: border-box;
}

.query-member .member-row {
  display: flex;
  align-items: flex-start;
}

.query-member .time-row {
  display: flex;
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #f0dbd7;
  line-height: 43px;
}

.query-member .row-label {
  flex: none;
  width: 96px;
  font-size: 16px;
  color: #333333;
}

.query-member .member-list {
  flex: 1;
  min-width: 0;
}

.member-cards {
  display: flex;
  flex-wrap: wrap;
  margin: -6px;
  max-height: 156px;
  overflow-y: auto;
  padding: 2px;
}

.member-cards::-webkit-scrollbar {
  width: 6px;
}

.member-cards::-webkit-scrollbar-thumb {
  background: #e2b5b5;
  border-radius: 3px;
}

.member-cards::-webkit-scrollbar-track {
  background: transparent;
}

.member-card {
  position: relative;
  box-sizing: border-box;
  width: 236px;
  display: flex;
  align-items: center;
  margin: 6px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.member-card:hover {
  border-color: #e2b5b5;
  background: #fffaf8;
}

.member-card:focus-visible {
  outline: 2px solid #be271b;
  outline-offset: 1px;
}

.member-card.active {
  border-color: #be271b;
  background: rgba(237, 117, 85, 0.09);
}

.member-avatar {
  flex: none;
  width: 44px;
  height: 44px;
  margin-right: 10px;
}

.member-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.member-info {
  flex: 1;
  min-width: 0;
}

.member-info p {
  margin: 0;
}

.member-name {
  display: flex;
  align-items: center;
  font-size: 15px;
  line-height: 22px;
  color: #333333;
}

.member-name .nm {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.member-id {
  margin-top: 2px;
  font-size: 12px;
  line-height: 16px;
  color: #999999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-empty {
  display: flex;
  align-items: flex-start;
  height: 70px; /* 与一行卡片的容器等高：加载中/空态/有数据三种状态同高，下方时间行不上下跳 */
  line-height: 24px; /* 文字仍贴标签那一行，不跟着块高往下坠 */
  font-size: 14px;
  color: #bbbbbb;
}

/* ========== 查询时间：起止区间控件 ========== */
.query-member .time-field {
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  align-self: center;
  flex: none;
  width: 212px;
  height: 43px;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.query-member .time-field:hover {
  border-color: #cf8f86;
}

.query-member .time-field:focus-within {
  border-color: #be271b;
  box-shadow: 0 0 0 2px rgba(190, 39, 27, 0.08);
}

.query-member .time-cal {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border: 1px solid currentColor;
  border-radius: 2px;
  box-sizing: border-box;
  color: #c2c2c2;
  pointer-events: none;
}

.query-member .time-field:focus-within .time-cal,
.query-member .time-field:hover .time-cal {
  color: #be271b;
}

.query-member .time-cal::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 4px;
  border-radius: 1px 1px 0 0;
  background: currentColor;
}

.query-member .time-cal::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 2px;
  height: 2px;
  box-shadow: 4px 0 0 currentColor, 4px 4px 0 currentColor, 0 4px 0 currentColor;
}

.query-member .time-picker {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0 32px 0 34px;
  border: none;
  border-radius: 4px;
  background: transparent;
  font-size: 14px;
  color: #bbbbbb;
  text-align: left;
  cursor: pointer;
}

.query-member .time-field.has-value .time-picker {
  color: #333333;
}

.query-member .btn-clear {
  top: 50%;
  right: 8px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background-size: 100% 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
}

.query-member .time-field:hover .btn-clear,
.query-member .time-field.has-value .btn-clear {
  opacity: 1;
  visibility: visible;
}

.query-member .time-sep {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin: 0 7px;
  font-size: 14px;
  color: #999999;
}

.query-member .time-sep::before,
.query-member .time-sep::after {
  content: "";
  width: 10px;
  height: 1px;
  background: #e6d3cf;
}

.query-member .time-sep::before {
  margin-right: 5px;
}

.query-member .time-sep::after {
  margin-left: 5px;
}

.query-member .time-row .query {
  margin-left: auto;
}
