#pgResult .payment-result,
#pgFailed .payment-result {
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
  margin-top: 80px;
  margin-bottom: var(--divider-gap);
}
.form-horiz .form-group {
  display: flex;
  padding: 25px 20px;
  margin: 0;
  border-bottom: 1px solid #eee;
}
.payment-result .bottom-area {
  margin-top: 20px;
}

.payment-result.card {
  margin-bottom: 20px;
}

.payment-result .card-title {
  margin-bottom: 30px;
}

.payment-result .card-title h5 {
  font-weight: 700;
}

.payment-result .mypayment-card {
  display: block;
}

.payment-result .table th {
  width: 150px;
}

.payment-result .table th,
.payment-result .table td {
  padding: 10px;
}

.payment-result .table th.line {
  border-top: 0;
  padding: 0;
}

.date-search {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.date-search .flatpickr-input[readonly] {
  background: url(/assets/images/icons/nt_icons/icon_calendar.svg) no-repeat 0%
    50%/20px auto;
  max-width: 220px;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  border-radius: 0;
  height: 35px;
  padding: 0 0 0 30px;
  font-size: var(--font-size-14);
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--color-mute);
}

.date-search .period-filter {
  display: flex;
  align-items: center;
  column-gap: 8px;
}

.date-search .period-filter li a {
  cursor: pointer;
  font-size: var(--font-size-14);
  color: var(--color-mute);
  font-weight: 500;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 50px;
  padding: 5px 12px;
}

.date-search .period-filter li.active a {
  border-color: var(--color-primary);
  color: var(--color-primary);
  font-weight: 700;
}

.period-section {
  margin-bottom: 40px;
}

.period-section .date {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--color-mute);
  margin-bottom: 15px;
}

.mypayment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.mypayment-card .product-flex {
  display: flex;
  align-items: center;
  column-gap: 25px;
}

.mypayment-card .thumb {
  overflow: hidden;
  position: relative;
  width: 150px;
  border-radius: 10px;
}

.mypayment-card .thumb::before {
  content: "";
  display: block;
  padding-bottom: 56.25%;
}

.mypayment-card .thumb .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #eee;
  background-size: cover;
  background-position: center;
}

.mypayment-card .text .title {
  font-size: var(--font-size-16);
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 300px;
  margin-bottom: 8px;
}

.mypayment-card .text .payment-form {
  font-size: var(--font-size-14);
  font-weight: 600;
  line-height: 1;
  color: var(--color-mute);
  margin-bottom: 15px;
}

.mypayment-card .text .price {
  font-size: var(--font-size-17);
  font-weight: 600;
  line-height: 1;
  color: var(--color-text);
}

.mypayment-card .text .price span {
  font-weight: 900;
  letter-spacing: -0.4px;
}

.mypayment-card .payment-more button {
  font-size: var(--font-size-15);
  font-weight: 600;
  border: 1px solid #e5e5e5;
  border-radius: 50px;
  background-color: #fff;
  color: var(--color-text);
  min-width: 120px;
  height: 40px;
}

.receipt-sec {
  padding: 35px 0;
  border-top: 1px dotted #e5e5e5;
}

.receipt-sec:first-child {
  padding-top: 0;
  border-top: 0;
}

.receipt-sec.final {
  border-top: 1px solid #e5e5e5;
  padding-bottom: 0;
}

.receipt-sec .item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
}

.receipt-sec .item p {
  font-size: var(--font-size-14);
  line-height: 1;
  margin-bottom: 20px;
}

.receipt-sec .item:last-child p {
  margin-bottom: 0;
}

.receipt-sec .item p.value {
  color: var(--color-text);
  font-weight: 700;
}

.receipt-sec .item p.value span.highlight {
  font-weight: 700;
}

.receipt-sec.final .item p.value {
  color: var(--color-primary);
  font-size: var(--font-size-17);
  font-weight: 900;
}

/* Desktop ( 1024px ~)*/
@media all and (min-width: 1024px) {
}

/* Laptop ( 1024px ~ 1200px)*/
@media all and (min-width: 1024px) and (max-width: 1200px) {
}

/* Tablet ( 768px ~ 1023px)*/
@media all and (min-width: 768px) and (max-width: 1023px) {
}

/* Mobile ( ~ 767px)*/
@media all and (max-width: 767px) {
  .date-search {
    flex-direction: column;
    align-items: flex-start;
  }

  .date-search .flatpickr-input[readonly] {
    max-width: unset;
    width: 100%;
  }

  .mypayment-card {
    flex-direction: column;
    row-gap: 25px;
  }

  .mypayment-card .product-flex {
    column-gap: 15px;
    width: 100%;
  }

  .mypayment-card .thumb {
    width: 120px;
  }

  .mypayment-card .text .title {
    max-width: 100px;
  }

  .mypayment-card .text .payment-form {
    font-size: var(--font-size-14);
    font-weight: 600;
    line-height: 1;
    color: var(--color-mute);
    margin-bottom: 15px;
  }

  .mypayment-card .text .price {
    font-size: var(--font-size-17);
    font-weight: 600;
    line-height: 1;
    color: var(--color-text);
  }

  .mypayment-card .text .price span {
    font-weight: 900;
    letter-spacing: -0.4px;
  }

  .mypayment-card .payment-more {
    width: 100%;
  }

  .mypayment-card .payment-more button {
    width: inherit;
  }

  .receipt-sec {
    padding: 25px 0;
  }
}
