/* 批量报价表公共组件（template/dafeult/comm/common-price-table.html） */

.fz-batch-price-hint {
  display: none;
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #9299a2;
}

.fz-batch-price-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: visible;
  -webkit-overflow-scrolling: touch;
}

.fz-batch-price-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: auto;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  color: #666b73;
}

.fz-batch-price-table th,
.fz-batch-price-table td {
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: middle;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  width: auto;
  min-width: 0;
  font-weight: 400;
  color: #666b73;
}

.fz-batch-price-table thead th {
  background: #f6f7f8;
  font-size: 14px;
  font-weight: 600;
  color: #4e545d;
}

.fz-batch-price-table tbody td:first-child {
  color: #4e545d;
}

.fz-batch-price-table strong {
  font-weight: 400;
  color: inherit;
  font-size: inherit;
}

/* 避免 film-detail / case-detail 内通用 table 规则影响批量报价表 */
.fz-film-detail .price-list-section .fz-batch-price-scroll .fz-batch-price-table,
.fz-film-detail .quotation-section .fz-batch-price-scroll .fz-batch-price-table,
.fz-case-detail .quotation-section .fz-batch-price-scroll .fz-batch-price-table {
  display: table;
  float: none;
  table-layout: auto;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.fz-film-detail .price-list-section .fz-batch-price-scroll .fz-batch-price-table thead,
.fz-film-detail .quotation-section .fz-batch-price-scroll .fz-batch-price-table thead,
.fz-case-detail .quotation-section .fz-batch-price-scroll .fz-batch-price-table thead {
  display: table-header-group;
}

.fz-film-detail .price-list-section .fz-batch-price-scroll .fz-batch-price-table tbody,
.fz-film-detail .quotation-section .fz-batch-price-scroll .fz-batch-price-table tbody,
.fz-case-detail .quotation-section .fz-batch-price-scroll .fz-batch-price-table tbody {
  display: table-row-group;
}

.fz-film-detail .price-list-section .fz-batch-price-scroll .fz-batch-price-table tr,
.fz-film-detail .quotation-section .fz-batch-price-scroll .fz-batch-price-table tr,
.fz-case-detail .quotation-section .fz-batch-price-scroll .fz-batch-price-table tr {
  display: table-row;
}

.fz-film-detail .price-list-section .fz-batch-price-scroll .fz-batch-price-table th,
.fz-film-detail .price-list-section .fz-batch-price-scroll .fz-batch-price-table td,
.fz-film-detail .quotation-section .fz-batch-price-scroll .fz-batch-price-table th,
.fz-film-detail .quotation-section .fz-batch-price-scroll .fz-batch-price-table td,
.fz-case-detail .quotation-section .fz-batch-price-scroll .fz-batch-price-table th,
.fz-case-detail .quotation-section .fz-batch-price-scroll .fz-batch-price-table td {
  display: table-cell;
  width: auto;
  min-width: 0;
  border: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
}

.fz-film-detail .price-list-section .fz-batch-price-scroll .fz-batch-price-table thead th,
.fz-case-detail .quotation-section .fz-batch-price-scroll .fz-batch-price-table thead th {
  background: #f6f7f8;
  font-weight: 600;
  color: #4e545d;
}

@media (max-width: 767px) {
  .fz-batch-price-hint {
    display: block;
  }

  .fz-batch-price-scroll {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 4px;
  }

  .fz-batch-price-table {
    width: max-content;
    min-width: 760px;
    max-width: none;
    table-layout: auto;
    font-size: 14px;
  }

  .fz-batch-price-table th,
  .fz-batch-price-table td {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .fz-batch-price-table th:nth-child(1),
  .fz-batch-price-table td:nth-child(1) {
    min-width: 96px;
  }

  .fz-batch-price-table th:nth-child(2),
  .fz-batch-price-table td:nth-child(2) {
    min-width: 132px;
  }

  .fz-batch-price-table th:nth-child(3),
  .fz-batch-price-table td:nth-child(3) {
    min-width: 280px;
  }

  .fz-batch-price-table th:nth-child(4),
  .fz-batch-price-table td:nth-child(4) {
    min-width: 108px;
  }

  .fz-film-detail .price-list-section .fz-batch-price-scroll .fz-batch-price-table,
  .fz-film-detail .quotation-section .fz-batch-price-scroll .fz-batch-price-table,
  .fz-case-detail .quotation-section .fz-batch-price-scroll .fz-batch-price-table {
    width: max-content;
    min-width: 760px;
    max-width: none;
    table-layout: auto;
  }
}
