/* box-payment */
.payment-title{
	font-size: clamp(18px, calc(25 / var(--width-main) * 100vw), 25px);
	font-family: var(--font-bold);
	text-transform: capitalize;
	margin-bottom: 0;
}
.box-payment {
  font-family: var(--font-regular), Arial, sans-serif;
  width: 70%;
  margin: 0px auto;
}

.title-payment {
  font-size: clamp(17px, calc(22 / var(--width-main) * 100vw), 22px);
  font-family: var(--font-bold);
}

.left-payment {
  width: 55%;
}

.left-payment .box-input {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.left-payment .box-input.box-bank .input-payment:nth-child(1) {
  width: 65%;
}

.left-payment .box-input.box-bank .input-payment:nth-child(2) {
  width: 33%;
}

.left-payment .box-input.box-bank .input-payment:nth-child(2) span.unit {
  top: 7px;
}

.left-payment .box-input .input-payment {
  width: 49%;
}

.re__input-lable {
  font-size: 14px;
  font-family: var(--font-medium);
  display: block;
  margin-bottom: 0.5em;
}

.input-payment span.unit {
  display: block;
  position: absolute;
  margin: 0;
  top: 36px;
  right: 10px;
  font-size: 14px;
}

.input-payment {
  position: relative;
  margin-bottom: clamp(5px, calc(15 / var(--width-main) * 100vw), 15px);
}

.input-payment input,
.input-payment select {
  font-size: 13px;
}

.right-payment {
  width: 41%;
  box-shadow: 0 0 5px -1px #00000052;
  padding: clamp(8px, calc(20 / var(--width-main) * 100vw), 20px);
}

.re__label-title {
  font-family: var(--font-bold);
  font-size: 14px;
  line-height: 1.45em;
  width: 100%;
  color: #2c2c2c;
}

.re__label-total {
  display: block;
  font-size: clamp(17px, calc(23 / var(--width-main) * 100vw), 23px);
  width: 100%;
  color: #2c2c2c;
  transition: all 0.25s;
  margin: 5px 0 clamp(8px, calc(20 / var(--width-main) * 100vw), 20px);
  font-family: var(--font-bold);
}

.re__payment-result-detail {
  padding: 0;
  margin: 0;
  list-style: none;
}

.re__row-desc {
  font-size: 14px;
  line-height: 1.45em;
  font-weight: normal !important;
  margin-top: clamp(5px, calc(12 / var(--width-main) * 100vw), 12px);
  display: flex;
  color: #2c2c2c;
  justify-content: space-between;
  align-items: center;
}

.re__desc {
  position: relative;
  padding-left: clamp(8px, calc(15 / var(--width-main) * 100vw), 15px);
}

.re__desc:before {
  position: absolute;
  content: "";
  background: #009ba1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  left: 0;
  top: 7px;
}

.re__purple .re__desc:before {
  background: purple;
}

.re__yellow .re__desc:before {
  background: #cfcf27;
}

.re__row-desc.re__row-sum {
  margin-top: clamp(12px, calc(25 / var(--width-main) * 100vw), 25px);
  padding: clamp(4px, calc(10 / var(--width-main) * 100vw), 10px) 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.js__pay-first-month {
  font-size: clamp(14px, calc(18 / var(--width-main) * 100vw), 18px);
  line-height: 1.55em;
  font-family: var(--font-medium);
  transition: all 0.25s;
}

.js__pay-progress-bar {
  display: flex;
}

.js__pay-progress-bar .re__progress-bar-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.re__crossbar {
  height: 4px;
}

.re__progress-bar-item.re__cyan .re__crossbar {
  background: #009ba1;
}

.re__progress-bar-item.re__purple .re__crossbar {
  background: #845d9c;
}

.re__progress-bar-item.re__yellow .re__crossbar {
  background: #ffc107;
}

.re__progress-bar-item.re__cyan {
  color: #009ba1;
}

.re__progress-bar-item.re__purple {
  color: #845d9c;
}

.re__progress-bar-item.re__yellow {
  color: #ffc107;
}

.read-popup-payment {
  margin: clamp(8px, calc(20 / var(--width-main) * 100vw), 20px) 0 0 0;
  text-transform: capitalize;
  font-family: var(--font-medium);
  font-size: clamp(13px, calc(15 / var(--width-main) * 100vw), 15px);
  border: 1px solid #f00;
  text-align: center;
  padding: clamp(4px, calc(10 / var(--width-main) * 100vw), 10px);
  color: #f00;
  border-radius: 5px;
  cursor: pointer;
}

.read-popup-payment:hover {
  background: #f00;
  color: #fff;
  transition: 0.3s all;
}

.result-payment .payment-box {
  width: 20%;
  font-family: "Roboto", sans-serif;
}

.title-payment__box {
  font-family: var(--font-bold);
  text-transform: uppercase;
  text-align: center;
  font-size: 13px;
  background: #0e912c;
  color: #fff;
  border-right: 1px solid #097f24;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-height: 3em;
}

.result-payment .list-item {
  text-align: center;
  border: 1px solid #000;
  margin: -1px -1px 0px 0px;
}

.result-payment .list-item > div {
  border-bottom: 1px solid #000;
  padding: 5px;
  font-size: 13px;
  font-family: var(--font-medium);
  color: #000;
  min-height: 2.3em;
}

.result-payment .list-item > div:last-child {
  border: 0;
}
.grid-payment {
  --cols: 5;
  --gap: 10px;
}
.grid-payment .item-line {
  padding: 5px;
  border-bottom: 1px solid #ddd;
}
.grid-payment .item-line:last-child {
  border-bottom: none;
}
.payment-box {
  text-align: center;
  border-right: 1px solid #ddd;
}
.payment-box:last-child {
  border-right: none;
}

.payment-width {
  max-width: 90vw;
}

@media (max-width: 1024px) {
  .box-payment {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .left-payment {
    width: 100%;
	margin-bottom: clamp(10px, calc(100vw * 20 / 768), 20px);;
  }

  .right-payment {
    width: 65%;
  }
}

@media (max-width: 540px) {
  .right-payment {
    width: 100%;
  }
}
