body {
  background: #cacaca;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* spinner overlay area */
.spinner-wrapper .sk-spinner {
  width: 40px;
  height: 40px;
}
.loadingoverlay {
  position: absolute;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.6);
}

.cv-spinner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px #ddd solid;
  border-top: 4px #2e93e6 solid;
  border-radius: 50%;
  animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(359deg);
  }
}
.spinner-box {
  display: flex;
  flex-direction: column;
  align-items: center; /* ✅ agar text center */
}
.loading-text {
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
  color: #fff;
}
.loading-text::after {
  content: "";
  animation: dots 1.5s steps(3, end) infinite;
}
@keyframes dots {
  0%,
  20% {
    content: "";
  }
  40% {
    content: " .";
  }
  60% {
    content: ". .";
  }
  80%,
  100% {
    content: ". . .";
  }
}
/* spinner overlay area */

.loader,
.loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
.loader {
  margin: 20% auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
#loadingDiv {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.8;
}
/** end Loading animation */

/* Qris css*/
.qris-frame {
  width: 100%;
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #ddd;
  text-align: center;
  position: relative;
  font-family: Arial, sans-serif;
}
.qris-header {
  display: flex;
  justify-content: space-between;
  align-items: center; /* memastikan sejajar vertikal */
  margin-bottom: 10px;
}
.qris-logo {
  height: 38px; /* samakan tinggi logo */
  object-fit: contain;
}
.gpn-logo {
  height: 38px; /* samakan tinggi logo */
  object-fit: contain;
}
.merchant-name {
  font-size: 18px;
  font-weight: bold;
  margin-top: 12px;
}
#pemesan {
  font-size: 18px;
  font-weight: bold;
  margin-top: 12px;
}
.merchant-nmid {
  font-size: 14px;
  margin-bottom: 12px;
}
.qris-box {
  padding: 10px;
  border: 2px solid #000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.qris-box img {
  height: 350px;
  width: 350px;
  background: rgb(240, 240, 240);
}

.printed-by {
  font-size: 12px;
  margin-top: 10px;
}
/* .modal-body {
  padding-top: 0 !important;
} */
