.buttons-ambil-promo {
  background-color: #ffe600;
  border: 2px solid #000;
  border-radius: 5px;
  width: 80%;
  color: #000;
  padding: 8px 20px;
  margin: 2% 0 3% 0;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  font-size: 14px;
  box-shadow: 0 0 10px 0 rgb(0 0 0 / 0.5);
}

.buttons-cek-promo {
    background-color: #00337c;
    border: 2px solid #000;
    border-radius: 5px;
    width: 80%;
    color: #ffffff;
    padding: 8px 20px;
    margin: 2% 0 3% 0;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    font-size: 14px;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 0.5);
}

.text-banner {
  background-color: #ac527c;
  font-weight: 800;
  color: white;
  font-size: 20px;
  text-align: center;
  padding: 6px;
}
img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: auto;
}

html,
body {
    background-color: #F3F6F9;
    padding: 0;
    margin: 0;
    font-family: Verdana, Tahoma, Geneva, sans-serif;
    font-size: 14px;
    line-height: 18px;
}

section {
    margin: auto;
    max-width: 550px;
}


.promo-counter {
    text-align: center;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

}

.pembelian h1 {
    margin: 0 0 0px;
    font-size: 24px;
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
}

#promo-value {
    display: block;
    font-size: 48px;
    font-weight: bold;
    color: #e74c3c;
}

.time-counter p {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #000000;
}

.alert {
    margin-top: -25px;
    margin-top: -25px;
    font-size: 28px;
    font-weight: bold;
    color: #e74c3c;
    animation: blink 1s step-start infinite;
    display: none;
    /* Hidden by default */
}

.title p {
    font-size: 28px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: -30px;
    text-transform: uppercase;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Data Purchase */
.pembelian {
    border-radius: 10px;
    margin: 2% 1%;
    padding: 10px 25px;
    border: 4px solid rgb(5, 46, 196);
    background-color: #ffffff;
}


.title {
    font-size: 1.5em;
    margin-bottom: 15px;
    text-align: center;
    color: #000000;
    font-weight: bolder;
}

#purchase-list {
    display: grid;
    gap: 10px;

}

.purchase-item {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.purchase-item:last-child {
    border-bottom: none;
}

.name {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.package {
    color: #007BFF;
    text-align: left;
    font-weight: 500;
}

.time {
    font-size: 0.9em;
    color: #888;
    text-align: right;
}

.floating-btn {
    position: fixed;
    z-index: 10;
    transform: translateX(-60%);
    bottom: 20px;
    width: 100px;
    /* right: 20px; */
    width: 70%;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.floating-btn img {
    width: 8cm;
}

.img-container {
    line-height: 0;
}

.img-container img {
    width: 100%;
}

.btn-pesan {
    display: inline-block;
        background-color: #136E39;
        border: 3px solid #fff;
        border-radius: 30px;
        color: #fff;
        padding: 9px 18px;
        margin: 6% 0 3% 0;
        text-align: center;
        text-decoration: none;
        font-weight: 620;
        display: inline-block;
        font-size: 15px;
        cursor: pointer;
        width: 80%;
}

.btn:hover {
    background-color: #FFD728;
    color: #333;
}

.btn i {
    margin-right: 5px;
}

.p-3 {
    padding: 20px;
}

.text-center {
    text-align: center;
}

.bg-white {
    background-color: #fff;
}

.bg-yellow {
    border-radius: 10px;
    margin: 2% 1%;
    padding: 10px 25px;
    border: 4px solid red;
    background-color: #f1d500;
}

.form-control,
.form-label {
    display: block;
    width: 100%;
    box-sizing: border-box;
    outline: none;
}

.form-label {
    font-weight: 500;
    margin-bottom: 6px;
}

.form-control {
    border-radius: .25rem;
    background-clip: padding-box;
    line-height: 1.5;
    padding: .5rem .9rem;
    border: none;
    background-color: #EFEFEF;
    font-size: 15px;
    border-radius: 10px;
}

.form-code {
    border-radius: .25rem;
    background-clip: padding-box;
    line-height: 1.5;
    padding: .5rem .9rem;
    border: none;
    background-color: #b3b3b3;
    font-size: 15px;
    border-radius: 10px;
    width: 40%;
    font-weight: bold;
    color: #3a3a3a;
}

.form-control:focus {
    border: none;
    outline: none;
}

.carousel-control-next-icon {
    color: #00cc18;
    background-color: #f71a1a;
}

.carousel-control-prev-icon {
    color: #00cc18;
    background-color: #f71a1a;
}

.carousel-indicators {
    color: #ff0808;
}

.orderProcessing {
    font-weight: 600;
    padding: 10px;
    background-color: #ffffff;
    color: #000000;
}

#orderError {
    margin-top: 20px;
    padding: 15px;
    background-color: #FDE8E4;
    color: #B44C36;
}

.order-processing {
    font-weight: 600;
    padding: 10px;
    background-color: #8aecff;
    color: #141b54;
}

@media (max-width: 767.98px) {

    section {
        margin: auto;
        max-width: 790px;
    }
}





/* Popup Section */

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 400px;
    height: auto;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    z-index: 1000;
    display: none;
    background-color: white;
  }
  
  .popup-content {
    position: relative;
    width: 100%;
    height: auto;
  }
  
  .voucher-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }
  
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 2;
  }
  
  .voucher-button {
    position: absolute;
    bottom: 10px;
    /* Tombol berada di bagian bawah gambar */
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    /* Kecilkan padding tombol */
    font-size: 14px;
    /* Kecilkan ukuran font tombol */
    font-weight: bold;
    color: aliceblue;
    background-color: rgb(6, 180, 0);
    /* Warna hijau terang */
    border: none;
    border-radius: 6px;
    /* Sudut tombol melengkung */
    cursor: pointer;
    z-index: 2;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  }
  