@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
  /* color variable */
  --secondary-color: #2c3e50;
  --primary-color: #3498db;
  --tertiary-color: #f1c40f;
  --quaternary-color: #e74c3c;
  --quinary-color: #1abc9c;
  --senary-color: #9b59b6;
  --septenary-color: #34495e;
  --octonary-color: #95a5a6;
  --nonary-color: #ecf0f1;

  /* size in px */
  --box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --box-shadow-2: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
}

html {
  scroll-behavior: smooth;
  background: #fff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

.main-wrapper {
  display: flex;
  flex-direction: column;
  background: #fff;
}
.card-qr {
  border: none;
  border-radius: 5px !important;
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  -ms-border-radius: 5px !important;
  -o-border-radius: 5px !important;
}
.card {
  border: none;
}

.modal-content .card-wrapper-tagihan {
  background: #f7f7f7;
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
}
.card-tagihan {
  border-top-right-radius: 25px;
  font-size: 12px;
  background: #fff;
}

.card-qr-generate {
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 1);
  padding: 0;
  font-size: 12px;
  padding: 3px;
  padding-bottom: 0;
}
.modal-body {
  background: #f7f7f7;
}
.qr-container-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
}
.qr-container-image canvas {
  width: 100%;
  height: auto;
  border-radius: 5px;
  padding: 0;
  margin: 0;
}

.copy-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  border-radius: 0.5rem;
  margin-bottom: -20px;
  background-color: #242424;
  color: #ffffff;
  width: 50%;
}
.download-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  border-radius: 0.5rem;
  margin-bottom: -20px;
  background-color: #242424;
  color: #ffffff;
  width: 50%;
}
.download-btn .download {
  margin-left: 10px;
  font-weight: 600;
  font-size: 13px;
}
.download-btn i {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}
.download-btn:hover i {
  fill: white;
}
.download-btn:hover {
  background-color: rgba(96, 165, 250, 1);
  color: white;
}

.download-btn:active {
  transform: scale(0.98);
  transition: all 0.3s ease;
}

label {
  font-size: 11px;
  font-weight: 600;
}
.paymentMethode .container-fluid .container-fluid {
  font-size: 12px;
  font-weight: 600;
}

form {
  background: #fff;
  margin-bottom: 0;
  height: 100%;
  /* border-bottom-right-radius: 30px; */
  padding: 1rem;
}

/*  */

.btn-nominal {
  padding: 0;
  margin-top: 10px;
  width: 100%;
  height: 30px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  gap: 10px;
  border: 1px solid #ededef;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  font-size: 12px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  background: #fff;
}

.btn-nominal:hover {
  border: 0.5px solid transparent;
  box-shadow: 0px 0px 0px 1.5px #242424;
  background-color: transparent;
}

.input {
  height: 30px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease-in-out;
  font-size: 12px;
}
input:placeholder-shown {
  font-size: 12px;
}

.input:focus {
  border: 0.5px solid transparent;
  box-shadow: 0px 0px 0px 1.5px #242424;
  background-color: transparent;
}

.app-bg-black {
  border: 0.5px solid transparent !important;
  box-shadow: 0px 0px 0px 1.5px #242424 !important;
  background-color: #fff !important;
  color: #242424 !important;
}

.bi-light {
  color: #fff;
}

.input {
  margin-top: 10px;
  width: 100%;
  height: 30px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  gap: 10px;
  border: 1px solid #ededef;
  background-color: white;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  font-size: small;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.paymentMethode {
  margin-top: 10px;
  width: 100%;
  height: 30px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  gap: 10px;
  border: 1px solid #ededef;
  background-color: white;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  font-size: small;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.virtualAccount {
  margin-top: 10px;
  width: 100%;
  height: 30px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  gap: 10px;
  border: 1px solid #ededef !important;
  background-color: #ffffff !important;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  color: #161616 !important;
  font-size: small;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.close {
  padding: 0;
  margin-top: 10px;
  width: 50%;
  height: 30px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  gap: 10px;
  border: 1px solid #ededef;
  background-color: #f72727;
  color: #ffffff;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  font-size: small;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.details {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 5px;
  padding: 5px;
}

.details span {
  font-size: 13px;
  font-weight: 600;
}

.details span:nth-child(odd) {
  font-size: 11px;
  color: rgba(107, 114, 128, 1);
  margin: auto auto auto 0;
}

.details span:nth-child(even) {
  font-size: 11px;
  color: rgba(107, 114, 128, 1);
  margin: auto 0 auto auto;
}

.checkout--footer {
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background-color: #242424;
  border-radius: 0px 0px 5px 5px;
}

.checkout--footer span {
  font-size: 12px;
  font-weight: 600;
  color: #fcfcfc;
}

/* modal virtual account start */

.custom-header {
  width: 100%;
  height: 100px;
  border-radius: 5px;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.custom-content {
  padding: 1rem;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.custom-title {
  font-size: 1rem;
  font-weight: bold;
  color: #2c3e50;
  text-align: center;
}

.custom-text {
  font-size: 1rem;
  line-height: 1.5;
  color: inherit;
  text-align: center;
}

.card-main {
  display: flex;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.midlane {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  background-color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.card-border-shadow {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  padding: 10px;
}
.colSubmit {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  padding: 10px;
}
.or {
  display: flex;
  align-items: center;
  justify-content: center;
}

hr.hr {
  flex: 1;
}

.or {
  margin-top: 10px;
  margin-bottom: 10px;
}
span.or {
  margin: 0 10px;
}

.card-body {
  width: 100%;
}

.topup-submit {
  background: #ffff;
  /* border-top-right-radius: 30px; */
  padding: 1rem;
  padding-top: 5px;
  margin-bottom: 0;
}

.btn-lavendar {
  background-color: #242424;
  color: #fff;
  border: none;
  padding: 0;
  margin-top: 10px;
  width: 100%;
  height: 30px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  gap: 10px;
  cursor: pointer;
  transition: 0.2s ease-in-out;
  font-size: 12px;
}
.btn-lavendar:active {
  background-image: linear-gradient(135deg, #1abc9c 10%, #3498db 100%);
}
.btn-lavendar:hover {
  background-image: linear-gradient(135deg, #1abc9c 10%, #3498db 100%);
  color: #fff;
}
button:active {
  transform: scale(0.98);
}
body {
  background: #fcfcfc;
}

.value {
  font-size: 11px;
  font-weight: 600;
}

.tutorial {
  border-width: 1px;
  border-color: rgba(219, 234, 254, 1);
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 1);
  padding: 0.5rem;
}

.header {
  display: flex;
  align-items: center;
  grid-gap: 1rem;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
}

.icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #161616;
  padding: 0.5rem;
  color: rgba(255, 255, 255, 1);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.icon svg {
  height: 1rem;
  width: 1rem;
}
.judul {
  color: rgba(107, 114, 128, 1);
  font-size: 13px;
  font-weight: 600;
  justify-content: center;
  align-items: center;
  font-family: "Inter", sans-serif;
}
.message {
  margin-top: 1rem;
  color: rgba(107, 114, 128, 1);
  font-size: 12px;
  margin-bottom: 0;
  padding-left: 10px;
}

.message2 {
  color: rgba(107, 114, 128, 1);
  font-size: 12px;
  padding: 0;
  margin: 1px;
  padding-left: 10px;
}
.message3 {
  color: rgb(255, 255, 255);
  font-size: 12px;
  padding: 5px;
}
#dropdownIcon {
  transition: transform 0.5s ease-in-out; /* Menentukan durasi dan jenis efek transisi */
}
.dropdown-item:hover {
  border: 0.5px solid transparent;
  box-shadow: 0px 0px 0px 1.5px #242424;
  background-color: transparent;
}

.rotate-down {
  transform: rotate(90deg); /* Sudut rotasi sesuai kebutuhan (chevron-down) */
}
.form-container {
  height: calc(100vh - 130px); /* 70px adalah tinggi dari tombol submit */
  overflow-y: auto;
}

.form-group {
  border: none;
}

#qrCodeModal {
  z-index: 10000;
}

/* gif style */
.gif {
  justify-content: center;
  align-items: center;
  display: flex;
  text-align: center;
  background: transparent;
  padding: 10px;
}

.elementCircle {
  display: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.wrapperElementCircle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  margin: 0;
  width: 20px;
  height: 20px;
}

/* eror page */
.card_ {
  width: 300px;
  height: 300px;
  background-color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 20px;
  gap: 13px;
  box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.062);
  border-radius: 10px;
}

#cookieSvg {
  width: 200px;
  height: auto;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.cookieHeading {
  font-size: 1.2em;
  font-weight: 800;
  color: rgb(26, 26, 26);
}

.cookieDescription {
  text-align: center;
  font-size: 0.7em;
  font-weight: 600;
  color: rgb(99, 99, 99);
}
.hide {
  display: none;
}

.pesanValidasi {
  display: none;
  color: #f72727;
  font-size: 10px;
  transition: all 0.5s ease-in-out;
}

/* error style start */
.error-card {
  max-width: 320px;
  padding: 1rem;
  background-color: #fff;
  border-radius: 10px;
  /* box-shadow: 20px 20px 30px rgba(0, 0, 0, .05); */
}
.note-card {
  max-width: auto;
  padding: 1rem;
  background-color: #fff;
  border-radius: 10px;
  /* box-shadow: 20px 20px 30px rgba(0, 0, 0, .05); */
}

.title-error {
  font-weight: 600;
  color: rgb(31 41 55);
}
.title-note {
  font-weight: 600;
  color: rgb(31 41 55);
  margin-bottom: 5px;
}

.description-error {
  margin-top: 1rem;
  font-size: 12px;
  line-height: 1.25rem;
  color: rgb(75 85 99);
}

/* .description-error a {
  --tw-text-opacity: 1;
  color: rgb(59 130 246);
  font-size: 12px;
}

.description-error a:hover {
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
  font-size: 12px;
} */

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  flex-shrink: 0;
  font-size: 12px;
}

.accept-button {
  font-size: 12px;
  line-height: 1rem;
  background-color: rgb(17 24 39);
  font-weight: 500;
  border-radius: 0.5rem;
  color: #fff;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  border: none;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.accept-.pref-button {
  background-color: rgb(55 65 81);
}

.accept-button:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

pre {
  padding-top: 0.5rem;
  padding-left: 10px;
  padding-bottom: 0;
  padding-right: 0;
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1rem;
}

.tutorialVaElement,
.tutorialIndoElement,
.tutorialAlfaElement,
.tutorialQrisElement {
  margin-left: 8px;
}
.btn-validate:hover {
  transform: scale(0.98);
  background-image: linear-gradient(135deg, #f34079 10%, #fc575e 100%);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-validate:active {
  transform: scale(0.98);
  background-image: linear-gradient(135deg, #f34079 10%, #fc575e 100%);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.title-validate {
  font-weight: 600;
  color: rgb(31 41 55);
}
.title-validate {
  font-weight: 600;
  color: rgb(31 41 55);
  margin-bottom: 5px;
}

.description-validate {
  margin-top: 1rem;
  font-size: 12px;
  line-height: 1.25rem;
  color: rgb(75 85 99);
}

.validate-card {
  max-width: auto;
  padding: 1rem;
  background-color: #fff;
  border-radius: 10px;
  /* box-shadow: 20px 20px 30px rgba(0, 0, 0, .05); */
}

.validate-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  flex-shrink: 0;
  font-size: 12px;
}

.validate-button-next {
  font-size: 12px;
  line-height: 1rem;
  background-color: rgb(17 24 39);
  font-weight: 500;
  border-radius: 0.5rem;
  color: #fff;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  border: none;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.validate-button-next:active {
  transform: scale(0.98);
  transition: all 0.3s ease;
}
.validate-button-close {
  font-size: 12px;
  line-height: 1rem;
  background-color: rgb(70, 80, 100);
  font-weight: 500;
  border-radius: 0.5rem;
  color: #fff;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  border: none;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.validate-button:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.container-label {
  display: flex;
  justify-content: space-between; /* Membuat elemen bersebelahan dan dipisahkan dengan ruang */
  align-items: center;
}
.container-label label {
  flex: 1; /* Menggunakan ruang yang tersedia secara fleksibel */
  /* Atur gaya label */
}

.container-label small {
  flex: 1; /* Menggunakan ruang yang tersedia secara fleksibel */
  text-align: right; /* Untuk meletakkan teks ke kanan */
  /* Atur gaya small */
}

/* CSS untuk mengatur ukuran elemen toast menjadi lebih kecil */
.small-toast {
  max-width: 400px;
  height: 30px;
  font-size: 10px;
  font-weight: 500;
  border-radius: 0.5rem;
  border: none !important;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast-header {
  background-color: rgb(254 242 242);
  border: none;
  border-radius: 0.5rem;
}

.toast {
  border: none;
  box-shadow: none;
}

.text-body-danger {
  color: #f72727;
}

pre {
  font-family: Inter;
  font-size: 12px;
  line-height: 1.25rem;
  color: rgb(75 85 99);
}


/* loader */
.overlay {
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.219);
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  display: flex;
  align-self: center;
  justify-content: center;
  width: 48px;
  /* Subpixels get cut off */
  overflow: visible;
  transform: rotate(-90deg);
  transform-origin: center;

  --active: #27a39d;
  --track: #d4fdfe;

  --duration: 8s;

  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    rotate: 0deg;
  }

  100% {
    rotate: 360deg;
  }
}

.active {
  stroke: var(--active);
  stroke-linecap: round;
  stroke-dashoffset: 360;
  animation: active-animation var(--duration) ease-in-out infinite;
}

@keyframes active-animation {
  0% {
    stroke-dasharray: 0 0 0 360 0 360;
  }
  12.5% {
    stroke-dasharray: 0 0 270 90 270 90;
  }
  25% {
    stroke-dasharray: 0 270 0 360 0 360;
  }
  37.5% {
    stroke-dasharray: 0 270 270 90 270 90;
  }
  50% {
    stroke-dasharray: 0 540 0 360 0 360;
  }
  50.001% {
    stroke-dasharray: 0 180 0 360 0 360;
  }
  62.5% {
    stroke-dasharray: 0 180 270 90 270 90;
  }
  75% {
    stroke-dasharray: 0 450 0 360 0 360;
  }
  87.5% {
    stroke-dasharray: 0 450 270 90 270 90;
  }
  87.501% {
    stroke-dasharray: 0 90 270 90 270 90;
  }
  100% {
    stroke-dasharray: 0 360 1 360 0 360;
  }
}

.track {
  stroke: var(--track);
  stroke-linecap: round;
  stroke-dashoffset: 360;
  animation: track-animation var(--duration) ease-in-out infinite;
}

@keyframes track-animation {
  0% {
    stroke-dasharray: 0 20 320 40 320 40;
  }
  12.5% {
    stroke-dasharray: 0 290 50 310 50 310;
  }
  25% {
    stroke-dasharray: 0 290 320 40 320 40;
  }
  37.5% {
    stroke-dasharray: 0 560 50 310 50 310;
  }
  37.501% {
    stroke-dasharray: 0 200 50 310 50 310;
  }
  50% {
    stroke-dasharray: 0 200 320 40 320 40;
  }
  62.5% {
    stroke-dasharray: 0 470 50 310 50 310;
  }
  62.501% {
    stroke-dasharray: 0 110 50 310 50 310;
  }
  75% {
    stroke-dasharray: 0 110 320 40 320 40;
  }
  87.5% {
    stroke-dasharray: 0 380 50 310 50 310;
  }
  100% {
    stroke-dasharray: 0 380 320 40 320 40;
  }
}

/* Mobile: Hilangkan margin horizontal */
@media (max-width: 767.98px) {
  .modal-dialog-qris {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
