.button_back {
  display: inline-block;
  background: #ffffff;
  border: 0.7px solid #2020dd;
  padding: 7px 20px;
  font-size: 18px;
  border-radius: 30px;
  box-shadow: inset 0 0 10px #02010a;
  color: #031d50;
  transition: 0.3s;
  text-align: center;
}

.button_back:hover {
  box-shadow: 0 2px 10px #4b73b7;
}

.button_commis {
  display: inline-block;
  background: #0055b9;
  border: 0.7px solid #2020dd;
  padding: 7px 40px;
  font-size: 26px;
  border-radius: 30px;
  box-shadow: inset 0 0 10px #02010a;
  color: #fff;
  transition: 0.3s;
  text-align: center;
}

.button_commis:hover {
  color: #fff;
  box-shadow: 0 2px 10px #4b73b7;
}

.button_copy {
  width: 130px;
  display: inline-block;
  background: #0055b9;
  border: 0.7px solid #2020dd;
  padding: 7px 20px;
  font-size: 18px;
  border-radius: 30px;
  box-shadow: inset 0 0 10px #02010a;
  color: #fff;
  transition: 0.3s;
  text-align: center;
  margin: 0 auto;
}

.button_copy:hover {
  color: #fff;
  box-shadow: 0 2px 10px #4b73b7;
}

.img-icon {
  width: 50px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-icon img {
  width: auto;
  height: 34px;
}

.nav-pills-aff {
  width: 100%;
}

.nav-pills-aff .nav-link {
  width: calc(25% - 20px);
  margin: 0 10px;
  background-color: #009dff;
  color: #fff;
  border-radius: 0;
}

.nav-pills-aff .nav-link.active {
  background-color: #0056b9;
  box-shadow: 0 0 10px rgba(134, 150, 237, 0.5);
}

.inp_box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.inp_box input {
  width: calc(100% - 145px);
  border: 1px solid #164caf;
  padding: 8px 15px;
  margin-right: 15px;
  border-radius: 5px;
  color: #707070;
}

.inp_box input:focus {
  box-shadow: none;
  outline: none;
}

.table-aff {
  max-height: 685px;
}

.table-aff thead {
  position: sticky;
  top: 0;
  background-color: #000;
}

.table-aff tbody {
  background-color: #110f25;
}

.table-aff tbody tr td {
  border-color: #000;
  border-right: 1px solid #e2ebec;
  color: #fff;
  font-size: 20px;
  padding: 15px 5px;
}

.table-aff tbody tr td:last-child {
  border-right: none;
}

@font-face {
  font-family: "kanit-SemiBold";
  src: url("../../assets/fonts/Kanit/Kanit-SemiBold.ttf");
}

.t-semibold {
  font-family: "kanit-SemiBold";
}

.txt-aff {
  font-size: 18px;
  font-family: "kanit-Light";
  line-height: 1.7;
}

.txt-green {
  padding: 0px 15px;
  margin-bottom: 0;
  white-space: nowrap;
  text-align: center;
  color: #fff;
}

@media only screen and (max-width: 992px) {
    .txt-green {
        margin: 5px 0 !important;
        padding: 0px 10px;
        font-size: 14px;
      }

      .tt-m {
        font-size: 14px;
      }
}

@media only screen and (max-width: 767px) {
  .img-icon {
    width: 30px;
    height: 22px;
  }

  .img-icon img {
    height: 22px;
  }

  .nav-pills-aff .nav-link {
    width: calc(25% - 10px);
    margin: 0 5px;
    padding: 10px 3px;
    border-radius: 10px;
  }

  .nav-pills-aff .nav-link h5 {
    font-size: 14px;
  }

  .button_back {
    padding: 5px 15px;
    font-size: 16px;
  }

  .button_commis {
    padding: 7px 20px;
    font-size: 18px;
  }

  .button_copy {
    width: 100px;
    padding: 7px 10px;
    font-size: 16px;
  }

  .inp_box input {
    width: calc(100% - 115px);
  }

  .table-aff thead tr th h5 {
    white-space: nowrap;
    font-size: 16px;
  }

  .table-aff tbody tr td {
    font-size: 14px;
  }
}

@media only screen and (max-width: 290px) {
  .inp_box input {
    width: 100%;
    margin-right: 0 !important;
  }

  .button_back {
    padding: 5px 10px;
    font-size: 14px;
  }

  .button_copy {
    margin-top: 10px;
  }

  .t-m {
    font-size: 18px;
  }

  .txt-m {
    font-size: 14px;
  }
}
