.wan_hong_card {
  border-radius: 24px;
  box-shadow: 0 0.8rem 4rem rgba(0, 0, 0, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
  position: relative;
  width: 100%;
  max-width: 600px;
  z-index: 1;
  background: linear-gradient(210deg, #929292 3%, #434343 97%);
}
@media (min-width: 576px) {
  .wan_hong_card {
    gap: 1.2rem;
    justify-content: space-between;
    padding: 1.8rem 2rem;
  }
}
.wan_hong_logo {
  margin-bottom: 20px;
  width: 140px;
}
.wan_hong_logo .card_chip {
  width: 50px;
  height: 40px;
}
@media (min-width: 576px) {
  .wan_hong_logo .card_chip {
    width: 80px;
    height: 60px;
  }
}
.wan_hong_cardgroup {
  flex-grow: 1;
}
.wan_hong_cardgroup--wide {
  flex-basis: 100%;
}
.wan_hong_card-label {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.wan_hong_card-value {
  color: white;
  height: fit-content;
  min-height: 40px;
  font-size: 1.5rem;
  line-height: 40px;
  vertical-align: middle;
}
.wan_hong_card-value--large {
  font-family: "PT Mono", monospace;
  font-size: 24px;
  height: 4.8rem;
  line-height: 4.8rem;
}

#display_card_number {
  letter-spacing: 2px;
}

#card_brand {
  background-image: url("/public/user/img/credit_card_logo.png");
  background-position-y: center;
  height: 40px;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (min-width: 576px) {
  #card_brand {
    height: 70px;
  }
}
#card_brand_icon {
  width: 50px;
}
@media (min-width: 576px) {
  #card_brand_icon {
    width: 100px;
  }
}
#card_brand.visa {
  width: 50px;
  background-position-x: 0;
}
@media (min-width: 576px) {
  #card_brand.visa {
    width: 100px;
    background-position-x: 15px;
  }
}
#card_brand.jcb {
  width: 60px;
  background-position-x: -105px;
}
@media (min-width: 576px) {
  #card_brand.jcb {
    width: 80px;
    background-position-x: -200px;
  }
}
#card_brand.mastercard {
  width: 60px;
  background-position-x: -46px;
}
@media (min-width: 576px) {
  #card_brand.mastercard {
    width: 100px;
    background-position-x: -90px;
  }
}
#card_brand.unionPay {
  width: 60px;
  background-position-x: -155px;
}
@media (min-width: 576px) {
  #card_brand.unionPay {
    width: 80px;
    background-position-x: -290px;
  }
}

#card_form {
  overflow: auto;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}
#card_form.was-validated .form-control:focus {
  box-shadow: none;
}
#card_form.was-validated .form-control:invalid {
  background-image: none !important;
  border-color: #ea6153 !important;
  background: rgba(234, 97, 83, 0.3764705882) !important;
}
#card_form.was-validated .form-control:valid {
  background-image: none !important;
  border-color: #dee2e6 !important;
}
#card_form.was-validated .form-control:valid:focus {
  box-shadow: none;
}
#card_form.was-validated .form-select:invalid {
  background-image: none !important;
  border-color: #ea6153 !important;
  background: rgba(234, 97, 83, 0.3764705882) !important;
}
#card_form.was-validated .form-select:valid {
  background-image: none !important;
  border-color: #dee2e6 !important;
}
#card_form.was-validated .form-check-input:valid ~ .form-check-label {
  color: #333333 !important;
}
#card_form.was-validated .form-check-input:invalid ~ .form-check-label > * {
  color: #ea6153 !important;
}
#card_form fieldset {
  appearance: none;
  border: none;
  margin-top: 16px !important;
}
#card_form fieldset:nth-of-type(1), #card_form fieldset:nth-of-type(2) {
  margin-top: 0 !important;
}
#card_form fieldset .card_label {
  width: 150px;
  text-align-last: justify;
  display: flex;
  align-items: center;
}
#card_form fieldset .card_label label {
  display: block;
  width: 100%;
  font-size: 18px;
  font-weight: 500;
  position: relative;
}
#card_form fieldset .card_label label span.required {
  position: absolute;
  top: -5px;
  right: -12px;
  color: #ea6153 !important;
}
#card_form fieldset .card_input {
  min-width: 180px;
}
#card_form .required {
  color: red !important;
}
#card_form .cursor-pointer {
  cursor: pointer;
}
#card_form .submit_btn {
  background: #ffaf29;
  box-shadow: 2px 2px 2px #9e9e9e;
  color: white;
}
#card_form .submit_btn:hover {
  color: black;
}
#card_form .not_valid {
  border-color: #ea6153 !important;
  background: rgba(234, 97, 83, 0.3764705882) !important;
  padding-right: calc(1.5em + 0.75rem) !important;
}

.modal-content {
  height: 80vh !important;
}
.modal-content .modal-body {
  overflow: auto;
}
.modal-content .modal-body ol li + li {
  margin-top: 6px;
}
.modal-content .modal-body ol li .policy_title {
  margin-bottom: 2px !important;
  font-weight: 500;
}

.btn_system {
  background-color: #ffaf29 !important;
  border-color: #ffaf29 !important;
  color: #333333 !important;
  box-shadow: 2px 2px 2px #9e9e9e;
}

#installmentModal .list-group-item {
  border-radius: 0;
}
#installmentModal .list-group-item.period_title {
  flex: 0 0 80px;
  width: 80px !important;
  background-color: #e2e2e2;
}
#installmentModal .list-group-item.installment_bank {
  flex: 1;
}

.result_page {
  background: white;
}
.result_page .divider {
  width: 100%;
  height: 1px;
  background: #e2e2e2;
  margin: 0 auto;
}
.result_page .company_info_container {
  border: 1px solid #e2e2e2;
  border-radius: 6px 6px 0 0;
}
.result_page .payment_detail_container {
  background: #e2e2e2;
  border-radius: 0 0 6px 6px;
}
.result_page .detail_label {
  font-weight: 500;
}
.result_page .signature_container {
  width: 100%;
  height: 150px;
  border-bottom: 1px solid black;
}
.result_page .signature_container > #signature {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#success_page h2.page_title {
  color: #1cae9f;
  letter-spacing: 2px;
}
#success_page h2.page_title > i {
  color: #1cae9f !important;
}

#failed_page h2.page_title {
  color: #ea6153;
  letter-spacing: 2px;
}
#failed_page h2.page_title > i {
  color: #ea6153 !important;
}

#signModal .modal-body #signatureCanvas {
  border: 1px solid black;
}

* {
  box-sizing: border-box;
  color: #333333;
}

h1,
h2,
p {
  margin: 0 !important;
}

ul,
ol {
  list-style: none;
}

li {
  list-style: none;
}

#app,
.result_page {
  height: fit-content;
  min-width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
#app .container-900,
.result_page .container-900 {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

header {
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.2);
  background: #ffaf29;
}
header #ohpay_logo {
  height: 50px;
}
header .client_name {
  color: white;
  text-shadow: -1px -1px 1px #333333;
}

main {
  flex: 1 0 0;
  padding: 20px 0 80px;
}

footer {
  background: #ffaf29;
  min-height: fit-content;
  box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.2);
}

/*# sourceMappingURL=style.css.map */
