@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&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');@import url("https://fonts.googleapis.com/css2?family=Poor+Story&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");

body {
  font-family: "Poppins", sans-serif;
}

.box-shadow {
  box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.5);
}

/* homepage */
.container-body {
  /* background: #EC098D; */
  position: relative;
  padding-top: 20px;
  position: relative;
  background: url("images/background rbn.png");
  width: 100%;
  max-width: 412px;
  min-height: 800px;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  align-items: center;
  justify-content: center;
}

/* @media (max-height:540px) {
    .container-body {
        min-height: 100vh !important;
    }
} */

.rbn-icon {
  width: 230px;
  height: auto;
}

.store-name {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.text-voucher-info {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  line-height: 5;
}

.form-container {
  padding: 0 30px 0 20px;
}

.form-container .form-group label {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.form-container .form-group .form-control {
  box-shadow: none !important;
  padding-top: 10px;
  padding-bottom: 10px;
  background: #d9d9d9ee !important;
  color: #6c4848;
  border: none !important;
}

.form-container .form-group .form-control::placeholder {
  color: #a08484 !important;
}

.btn-submit-voucher {
  padding: 10px 20px;
  background: #ff5874;
  color: #fff !important;
  font-weight: 500;
  border: none !important;
}

.btn-submit-voucher:hover,
.btn-submit-voucher:active {
  background: #ff5874 !important;
  box-shadow: 0 0 5px 2px rgba(255, 255, 255, 0.5);
}

.btn-submit-voucher:disabled {
  background: #fd899c !important;
  opacity: 1 !important;
}

.footer {
  /* position: absolute; */
  padding-bottom: 20px;
}

.footer .text-footer {
  font-size: 10px;
  font-weight: 400;
  color: #fff;
  line-height: 5;
}

.footer .img-footer {
  height: 20px;
  width: auto;
}

/* generated voucher */

.voucher-conteiner {
  position: relative;
  font-family: "Inter", serif !important;
}

.voucher-conteiner .percentage {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff5874;
  background-clip: text;
  background: linear-gradient(to bottom, #ff5874 0%, #ff827b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 200px;
  font-weight: 800;
}

.voucher-conteiner .percentage .symbol {
  top: -80px;
  background: #ff5874;
  background-clip: text;
  background: linear-gradient(to bottom, #ff5874 0%, #ff827b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 90px;
  font-weight: 700;
}

.voucher-conteiner .text-items {
  position: absolute;
  top: 320px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff5874;
  background-clip: text;
  background: linear-gradient(to bottom, #ff5874 0%, #ff827b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 20px;
  font-weight: 700;
}

.voucher-conteiner .text-item-notes {
  position: absolute;
  top: 350px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff5874;
  background-clip: text;
  background: linear-gradient(to bottom, #ff5874 0%, #ff827b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 8px;
  font-weight: 600;
}

.voucher-conteiner .screenshot {
  position: absolute;
  width: 300px;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff5874;
  background-clip: text;
  background: linear-gradient(to bottom, #ff5874 0%, #ff827b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
}

/* lebar */
/* .voucher-conteiner .barcode {
  position: absolute;
  bottom: 254px;
  left: 25%;
  color: #ff93a5;
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
} */

/* kecil */
.voucher-conteiner .barcode {
  position: absolute;
  bottom: 254px;
  left: 36%;
  color: #ff93a5;
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
}

.voucher-conteiner .voucher-code {
  position: absolute;
  bottom: 205px;
  left: 50%;
  transform: translateX(-50%);
  color: #ff93a5;
  font-size: 16px;
  font-weight: 700;
  line-height: 19px;
}

.voucher-conteiner .expired {
  position: absolute;
  width: 300px;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 19px;
}

.voucher-conteiner .rbn-voucher {
  width: 470px;
  height: 680px;
}

.snk {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 19px;
}

.snk .text {
  font-weight: 700;
}

.container-voucher {
  /* background: #EC098D; */
  position: relative;
  padding-top: 20px;
  position: relative;
  /* background: #fff url('images/voucher_bg.png'); */
  width: 370px;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  align-items: center;
  justify-content: center;
  background: radial-gradient(8px at left, #0000 98%, #fff) left,
    radial-gradient(8px at right, #0000 98%, #fff) right;
  background-size: 50.5% 25px;
  background-repeat: repeat-y;
  filter: drop-shadow(4px 8px 12px rgba(0, 0, 0, 0.12));
  border-radius: 8px;
}

.container-body-voucher {
  position: relative;
  margin-top: -20px;
  background: url("images/background rbn.png");
  width: 100%;
  max-width: 412px;
  min-height: 800px;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  align-items: center;
  justify-content: center;
}

@supports not (-webkit-touch-callout: none) {
  @media (max-width: 520px) {
    .container-body-voucher .content {
      zoom: 85%;
    }

    .voucher-conteiner .rbn-voucher {
      width: 500px !important;
      height: 680px;
    }

    .voucher-conteiner .percentage {
      top: 70px;
      font-size: 210px;
    }

    .voucher-conteiner .percentage .symbol {
      top: -85px;
      font-size: 90px;
    }

    .voucher-conteiner .text-items {
      top: 320px;
      font-size: 20px;
    }

    .voucher-conteiner .text-item-notes {
      top: 350px;
      font-size: 8px;
    }

    .voucher-conteiner .screenshot {
      bottom: 120px;
      font-size: 16px;
    }

    /* lebar */
    /* .voucher-conteiner .barcode {
      bottom: 252px;
      left: 27%;
    } */

    /* kecil */
    .voucher-conteiner .barcode {
      bottom: 252px;
      left: 37%;
    }

    .voucher-conteiner .voucher-code {
      bottom: 205px;
    }

    .voucher-conteiner .expired {
      bottom: 20px;
    }
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 420px) {
    .container-body-voucher .content {
      zoom: 80%;
    }

    .voucher-conteiner .percentage {
      top: 80px;
      font-size: 150px !important;
    }

    .voucher-conteiner .percentage .symbol {
      font-size: 60px !important;
    }

    .voucher-conteiner .text-items {
      top: 320px;
      font-size: 16px;
    }

    .voucher-conteiner .text-item-notes {
      top: 350px;
      font-size: 6px;
    }

    .voucher-conteiner .screenshot {
      bottom: 120px;
      font-size: 14px;
    }
    
    /* lebar */
    /* .voucher-conteiner .barcode {
      bottom: 252px;
      left: 25%;
    }
     */
    /* kecil */
    .voucher-conteiner .barcode {
      bottom: 252px;
      left: 36%;
    }

    .voucher-conteiner .voucher-code {
      bottom: 205px;
    }
    
    .voucher-conteiner .expired {
      bottom: 20px;
      font-size: 14px;
    }
  }
}

@media (max-width: 390px) {
  .container-body-voucher {
    padding-top: 20px !important;
  }

  .container-body-voucher .content {
    zoom: 65%;
  }

  /* lebar */
  /* .voucher-conteiner .barcode {
    left: 24%;
  } */
  
  /* kecil */
  .voucher-conteiner .barcode {
    left: 37%;
  }
}
/* 
.bg-light-voucher {
  background: #fbbde2 !important;
}

.voucher-discount-container {
  position: relative;
  padding: 0 !important;
  width: 280px;
  border: 1px solid #fff;
  border-radius: 10px;
  color: #fff;
}

.voucher-discount-container .discount-number {
  position: relative;
  font-size: 170px;
  font-weight: 600;
  line-height: 1;
}

.voucher-discount-container .discount-percentage {
  position: absolute;
  font-size: 80px;
  font-weight: 500;
  top: 10px;
  line-height: 1;
}

.voucher-discount-container .discount-item {
  position: absolute;
  width: 60px;
  bottom: 20px;
  right: 20px;
  font-size: 14px;
  font-weight: 600;
  text-align: justify;
}

.modal {
  max-width: 412px;
} */
