/* ========== RESET & BODY ========== */
* {
  box-sizing: border-box;
}

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

/* ========== IMAGES / SECTION ========== */
.section {
  margin: 0 auto;
  max-width: 550px;
}

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

.img-container img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* Interact Button */
.btn-promo{
  display: block;
  margin: 20px auto;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 600;
  background: #00b347;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Fullscreen gambar di layar kecil */
@media (max-width: 767px) {
  .section {
    max-width: 100%;
    width: 100%;
  }
  .img-container img {
    width: 100%;
    height: auto;
  }
}

/* ========== FORM ========== */
#form {
  margin: 0px auto;
  max-width: 550px;
  width: 96%;
}

.form-box {
  border-radius: 10px;
  padding: 20px 15px;
  background: #ffe610;
  border: 4px solid black;
}

/* Judul */
#form h2 {
  font-size: 22px;
  margin: 0 0 15px 0;
  color: #000;
}

/* Group input */
.loops-group {
  margin-bottom: 12px;
}

.loops-group label {
  display: block;
  font-weight: bold;
  color: #000;
  margin-bottom: 6px;
}

.loops-group input[type="text"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #b9d1be;
  border-radius: 6px;
  font-size: 14px;
}

/* Tombol submit */
.loops-group input.loops-submit {
  padding: 10px;
  font-weight: bold;
  background: #009e20;
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-size: 15px;
  width: 100%;
  cursor: pointer;
}

.loops-group input.loops-submit:hover {
  opacity: 0.85;
}

/* ========== STATUS PESAN ========== */
.hidden {
  display: none;
}

#loading {
  color: #d27b00;
  font-weight: bold;
}

#error {
  color: #c00;
  font-weight: bold;
}

#success {
  color: #028a0f;
  font-weight: bold;
}

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

#purchase-list {
    display: grid;
    gap: 10px;
	row-gap: 10px;
    	column-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;
}

/* Edit Floating Button Dibawah ini  */
.floating-btn {
  position: fixed;
  z-index: 2;
  transform: translateX(-50%);
  bottom: 20px;
  width: 100px;
  /* right: 20px; */
  width: 70%;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

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

/* ========== BUTTON WHATSAPP ========== */
#btnWhatsapp {
  display: block;
  margin: 20px auto;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  background: #00b347;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#btnWhatsapp:hover {
  background: #00963b;
}

/* ========== MISC ========== */
.alert {
  margin: 0 3% 4%;
  padding: 20px;
  background-color: #d9edf7;
  color: #11425b;
}

/* Slideshow (optional) */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active {
  background-color: #717171;
}

/* Animasi fade */
@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}
