@import "../../utils/default";

.modalWrapper{
  .modalCls{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    .iconQuest{
      margin-right: 16px;
      font-size: 22px;
      color: #faad14;
    }
    .text{
      display: inline-block;
      overflow: hidden;
      color: rgba(0, 0, 0, 0.85);
      font-weight: 500;
      font-size: 16px;
      line-height: 1.4;
    }
  }
  .inputCls{
    margin-top: 16px;
    margin-left: 36px;
    .errorTips{
      color: red;
      font-size: 12px;
    }
  }
}



.c_table {
  margin-top: 26px;
  .footer {
    //text-align: right;
    .amount_show{
      display: none;
    }
    .total_money{
      padding-left: 5%;
      .total_text{
        display: inline-block;

      }
      .money{
        display: inline-block;
        padding-left: 12px;
        color: orange;
        font-weight: 700;
      font-size: 16px;
      }
    }
  }

  :global {
    .ant-table tr:nth-of-type(even) {
      background-color: #f8f9fe;
    }
    .ant-table-thead > tr > th {
      padding: 16px 8px;
      background-color: @table_head_color;
      color: @table_head_text_color;
      font-size: 12px;
      border-bottom: 1px solid @table_border_color;
      border-top: 1px solid @table_border_color;
      &:first-child {
        border-left: 1px solid @table_border_color;
      }
      &:last-child {
        border-right: 1px solid @table_border_color;

        span{
          div{
            text-align: left;
          }
        }
      }
    }
    .ant-table-tbody > tr > td {
      font-size: 12px;
      color: #000;
      padding: 12px 8px;
      border-top: 0;
      border-bottom: 1px solid @table_border_color;
      vertical-align: middle;
      &:first-child {
        border-left: 1px solid @table_border_color;
      }
      &:last-child {
        border-right: 1px solid @table_border_color;
      }
    }

    .ant-table-tbody > tr:hover > td {
      background-color: @table_hover_color;
    }

    .ant-table-placeholder {
      border-left: 1px solid @table_border_color;
      border-right: 1px solid @table_border_color;
    }

    .ant-table-footer {
      padding: 15px 8px;
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
      background-color: #fff;
      border-left: 1px solid @table_border_color;
      border-right: 1px solid @table_border_color;
      border-bottom: 1px solid @table_border_color;
    }
  }
}


.inner_table {
  :global {
    .ant-table-thead > tr > th {
      background-color: @table_head_color!important;
      border-bottom: 1px solid @table_border_color!important;
      &:first-child span{
        padding-left: 12px;
      }
    }
    .ant-table-tbody > tr > td {

      &:first-child {
        padding-left: 12px;
      }

      &:last-child {
        border-right: 1px solid @table_border_color!important;
      }
    }
  }
}


.standard_table {

  .footer {
    text-align: right;
  }

  :global {
    .ant-table-thead > tr > th {
      padding: 8px 8px;
      color: @table_head_text_color;
      font-size: 12px;
      background-color: #fff;
      border-bottom: none;
    }

    .ant-table-tbody > tr {
      &:last-child td{
        border-bottom: none;
      }
    }

    .ant-table-tbody > tr > td {
      font-size: 12px;
      color: #000;
      padding: 12px 8px;
      border-top: 0;
      vertical-align: middle;
      //border-bottom: none;
    }

    .ant-table-placeholder {
      border: none;
    }

    .ant-table-tbody > tr:hover > td {
      background-color: @table_hover_color;
    }

  }
}
