@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --lightgray: #efefef;
  --blue: steelblue;
  --white: #fff;
  --black: rgba(0, 0, 0, 0.8);
  --bounceEasing: cubic-bezier(0.51, 0.92, 0.24, 1.15);
}

    
* {
  padding: 0;
  margin: 0;
}
    
#apBox {
  background-color: white;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.303);
  padding: 0px;
  margin: 0px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-self: center;
  overflow: hidden;
  border: none;
}

.apay-qr-name { 
  max-width: 280px;
  min-width: 280px;
  font-weight: 500;
  font-size: 16px;
  text-align:center;
  margin: 5px auto 0;
}
    
#apBoxHeader {
  height: 10%;
  border-bottom: 1px solid #f4f4f4;
  background-color: #26c165;
}
#apLogo {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: left;
  margin-left: 10px;
}
  
#apLogoCircle {
  width: 20px;
  height: 20px;
  background-color: white;
  overflow: hidden;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#apLogoCircle a img {
  width: 100%;
}
#apLogoText {
  padding-left: 5px;
  color: white;
  font-size: 20px;
  font-weight: 500;
}
#apTimer {
  padding: 1px 2px;
  margin: 0px;
  position: relative;
}
#apTimerMovement {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  background-color: green;
}
#apTimerText {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
  color: white;
  font-weight: 100;
  padding: 1px;
  font-size: 10px;
}
#apTimerText-left {
  font-weight: 600;
}
#apTimerText-right {
  font-weight: 500;
}
#apPrice {
  display: flex;
  justify-content: space-between;
  text-align: left;
  margin-top: 15px;
  padding: 5px 10px;
  font-size: 13px;
  border-bottom: 1px solid #0101010f;
}
    
#apBoxNav {
  border-bottom: 1px solid #ccc;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
}

#apBoxBody {
  border-top: 1px solid #0101010f;
  background-color: #f4f4f4;
}
    
#apay-success-content {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 15px 0;
}

.apay-text-success {
  color: #26c165;
  letter-spacing: 1px;
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 5px;
}

#apQrcodeBox {
  padding: 10px;
  width: 250px;
  margin: 0 auto;
  overflow: hidden;
}
    
#apQrcodeBox img {
  margin: 0 auto;
  display: block;
  width: 180px;
  height: 180px;
  box-shadow: 2px 1px 5px rgba(0, 0, 0, 0.071);
}

#apQrcodeBox span {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  height: 180px;
}

#howToPay {
  font-size: 13px;
  margin: 0 auto 8px;
  display: block;
  text-align: center;
  text-decoration: underline dotted;
  color: #009688;
}
.apay-center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.apay-button {
  background-color: #26c165;
  border: none;
  padding: 10px 20px;
  display: block;
  width: 70%;
  margin-top: 1px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: white;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.303);
  border-radius: 3px;
}

.apay-sucess-button {
  background-color: #26c165;
  border: none;
  padding: 10px 0;
  display: block;
  width: 90px;
  text-align: center;
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  margin: 10px auto 0;
  text-decoration: none !important;
}
    
/* MODAL*/
.akivas-pay-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  background: var(--black);
  transition: all 0.35s ease-in;
  z-index: 99999999999;
  font-family: 'Poppins', sans-serif;
}
    
.akivas-pay-modal.visible {
  visibility: visible;
  opacity: 1;
}
    
.apay-widget {
  position: relative;
  width: 300px;
  max-height: 80vh;
  border-radius: 5px;
  background: var(--white);
  overflow: auto;
}

#apay-close-btn {
  position: absolute;
  right: 0;
  top: 0;
  color: white;
  font-size: x-large;
  margin: 10px;
  font-weight: normal;
  border-color: transparent;
  background-color: transparent;
  text-decoration: none;
  cursor: pointer;
}
    
.apay-widget > * {
  padding: 1rem;
}

.akivas-pay-modal p + p {
  margin-top: 1rem;
}
    
    
/* ANIMATIONS */
[data-animation] .apay-widget {
  opacity: 0;
  transition: all 0.5s var(--bounceEasing);
}

[data-animation].visible .apay-widget {
  opacity: 1;
  transition-delay: all 0.5s;
}

[data-animation="slideInOutDown"] .apay-widget {
  transform: translateY(100%);
}
    
[data-animation="slideInOutTop"] .apay-widget {
  transform: translateY(-100%);
}

[data-animation="slideInOutLeft"] .apay-widget {
  transform: translateX(-100%);
}

[data-animation="slideInOutRight"] .apay-widget {
  transform: translateX(100%);
}
    
[data-animation="zoomInOut"] .apay-widget {
  transform: scale(0.2);
}

[data-animation="rotateInOutDown"] .apay-widget {
  transform-origin: top left;
  transform: rotate(-1turn);
}

[data-animation="mixInAnimations"].visible .apay-widget {
  animation: mixInAnimations 2s 0.2s linear forwards;
}
    
[data-animation="slideInOutDown"].visible .apay-widget,
[data-animation="slideInOutTop"].visible .apay-widget,
[data-animation="slideInOutLeft"].visible .apay-widget,
[data-animation="slideInOutRight"].visible .apay-widget,
[data-animation="zoomInOut"].visible .apay-widget,
[data-animation="rotateInOutDown"].visible .apay-widget {
  transform: none;
}
    
@keyframes mixInAnimations {
  0% {
    transform: translateX(-100%);
  }

  10% {
    transform: translateX(0);
  }

  20% {
    transform: rotate(20deg);
  }

  30% {
    transform: rotate(-20deg);
  }

  40% {
    transform: rotate(15deg);
  }

  50% {
    transform: rotate(-15deg);
  }

  60% {
    transform: rotate(10deg);
  }

  70% {
    transform: rotate(-10deg);
  }

  80% {
    transform: rotate(5deg);
  }

  90% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

#apay-loading {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}
  
@keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}
  
.h-6 {
  height: 1.5rem;
}
.w-6 {
  width: 1.5rem;
}

.apay-success-checkmark {
  width: 80px;
  height: 115px;
  padding-top: 10px;
  margin: 0 auto;
}


.apay-time-expired-content {
  width: 80%;
  height: 300px;
  padding-top: 10px;
  margin: 0 auto;
}

.apay-time-expired-content #apay-regenerate {
  margin-top: 30px;
}

.apay-success-checkmark .check-icon {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  border: 4px solid #4caf50;
}

.apay-success-checkmark .check-icon::before {
  top: 3px;
  left: -2px;
  width: 30px;
  transform-origin: 100% 50%;
  border-radius: 100px 0 0 100px;
}

.apay-success-checkmark .check-icon::after {
  top: 0;
  left: 30px;
  width: 60px;
  transform-origin: 0 50%;
  border-radius: 0 100px 100px 0;
  animation: rotate-circle 4.25s ease-in;
}

.apay-success-checkmark .check-icon::before, .apay-success-checkmark .check-icon::after {
  content: "";
  height: 100px;
  position: absolute;
  background: #ffffff;
  transform: rotate(-45deg);
}
.apay-success-checkmark .check-icon .icon-line {
  height: 5px;
  background-color: #4caf50;
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
}
.apay-success-checkmark .check-icon .icon-line.line-tip {
  top: 46px;
  left: 14px;
  width: 25px;
  transform: rotate(45deg);
  animation: icon-line-tip 0.75s;
}
.apay-success-checkmark .check-icon .icon-line.line-long {
  top: 38px;
  right: 8px;
  width: 47px;
  transform: rotate(-45deg);
  animation: icon-line-long 0.75s;
}
.apay-success-checkmark .check-icon .icon-circle {
  top: -4px;
  left: -4px;
  z-index: 10;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: absolute;
  box-sizing: content-box;
  border: 4px solid rgba(76, 175, 80, 0.5);
}
.apay-success-checkmark .check-icon .icon-fix {
  top: 8px;
  width: 5px;
  left: 26px;
  z-index: 1;
  height: 85px;
  position: absolute;
  transform: rotate(-45deg);
  background-color: #ffffff;
}

@keyframes rotate-circle {
  0% {
    transform: rotate(-45deg);
  }
  5% {
    transform: rotate(-45deg);
  }
  12% {
    transform: rotate(-405deg);
  }
  100% {
    transform: rotate(-405deg);
  }
}
@keyframes icon-line-tip {
  0% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  54% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  70% {
    width: 50px;
    left: -8px;
    top: 37px;
  }
  84% {
    width: 17px;
    left: 21px;
    top: 48px;
  }
  100% {
    width: 25px;
    left: 14px;
    top: 45px;
  }
}
@keyframes icon-line-long {
  0% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  65% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  84% {
    width: 55px;
    right: 0px;
    top: 35px;
  }
  100% {
    width: 47px;
    right: 8px;
    top: 38px;
  }
}

.apay-overflow-scroll-container::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.apay-overflow-scroll-container::-webkit-scrollbar-track{
  background-color: rgb(38, 193, 101, 0.3);
}

.apay-overflow-scroll-container::-webkit-scrollbar-thumb {
  background-color: #26c165;
}