@font-face {
  font-family: Kanit;
  src: url(../fonts/Kanit-Bold.ttf);
}

html,
body,
#root {
  font-family: Kanit;
  font-size: 14px;
  height: 100%;
  padding: 0;
  margin: 0;
}

.app-container {
  padding: 15px 0;
  background-color: #f9fafc;
  color: #555;
  height: 100%;
  width: 100%;
  position: relative;
}

.label-my-credit {
  text-align: center;
  margin-top: 15px;
  color: #050929;
  font-size: 1.5rem;
}

.wrap-my-credit {
  margin-bottom: 30px;
  padding: 20px;
}

.box-my-credit {
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 3px 3px 5px #bdbdbd;
  padding: 20px;
  text-align: center;
  font-size: 2.8rem;
  color: #347cd5;
}

.box-note {
  font-size: 0.8rem;
  margin-top: 7px;
  text-align: center;
}

.credit-manage {
}

.credit-manage a {
  display: flex;
  padding: 20px 30px;
  background-color: #ffffff;
  color: #555;
  font-size: 1rem;
  justify-content: space-between;
  text-decoration: none;
  border-bottom: solid 1px #dededf;
}
.credit-manage a + a {
  border-top: solid 1px #e8e8e8;
}

.box-deposit-credit {
  display: flex;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 3px 3px 5px #bdbdbd;
}
.box-deposit-credit .card-info {
  width: 50%;
  background-color: #4b4b4b;
  color: #fff;
  position: relative;
  padding: 20px;
  text-align: center;
}
.box-deposit-credit .card-info .brand {
  font-size: 0.8rem;
  margin-bottom: 7px;
}
.box-deposit-credit .card-info .number {
  font-size: 0.7rem;
  color: #fff;
}
.box-deposit-credit .card-info .name {
  font-size: 0.7rem;
  color: #fff;
}
.box-deposit-credit .card-info::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 100%;
  height: 100%;
  width: 20px;
  /* background-color: #555; */
  border-top: 50px solid transparent;
  border-bottom: 50px solid transparent;
  border-left: 10px solid #4b4b4b;
}
.box-deposit-credit .deposit-input-amount {
  width: 50%;
  background-color: #fff;
  text-align: center;
  padding: 20px;
}
.box-deposit-credit .deposit-input-amount .label {
  font-size: 0.8rem;
  margin-bottom: 10px;
  color: #000;
}
.box-deposit-credit .deposit-input-amount .value {
  font-size: 1.3rem;
  color: #908d8d;
}

.choose-credit-list {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
}
.choose-credit-list .item {
  width: 30%;
  border: solid 1px #ececec;
  font-size: 0.9rem;
  padding: 10px;
  text-align: center;
}

.input-manual-credit {
  margin-bottom: 3px;
}
.input-manual-credit input {
  line-height: 35px;
  background-color: #f1f1f1;
  border: none;
}

.btn-pay {
  background-color: #20bbef;
  line-height: 35px;
  color: #050929;
}

/* .form-body {
  background-color: #cfd8dc;
  padding-top: 20px;
  padding-bottom: 70px;
}

.credit-order {
  text-align: center;
  font-size: 1.7em;
} */

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  padding: 10px;
  background-color: #fff;
  border-top: solid 1px #e1e3e4;
  border-radius: 7px 7px 0 0;
  box-shadow: -2px -2px 2px #eee;
}

.btn-add {
  display: inline-block;
  margin: 0;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 38px;
  background-color: #fff;
  border-radius: 50%;
  font-size: 2.2rem;
  text-decoration: none !important;
}

.payment-form {
  padding: 10px 20px 180px;
}

.history-filter {
  padding: 20px 40px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.history-list {
  overflow: auto;
  height: 100%;
}

.history-list .history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #ffffff;
}
.history-list .history-item .date-title {
  color: #333;
  font-size: 0.9rem;
}
.history-list .history-item + .history-item {
  border-top: solid 1px #e8e8e8;
}
.history-item .date-title .date {
  color: #888;
}
.history-item .date-title .title {
  color: #333;
}
.history-list .history-item .amount {
  color: #333;
}
.history-list .history-item .amount.used {
  color: red;
}

.back {
  position: absolute;
  top: 0px;
  left: 10px;
  font-size: 2.3rem;
  color: #333;
}
.back:hover {
  text-decoration: none;
  color: #333;
}

.wrap-filter {
  position: relative;
  padding-top: 130px;
  height: 100%;
}
