.buttons-ambil-promo {
  background-color: rgb(9, 255, 0);
  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);
}
.text-banner {
  background-color: #ac527c;
  font-weight: 800;
  color: white;
  font-size: 20px;
  text-align: center;
  padding: 6px;
}

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;
}

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

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

a.btn-acr {
  display: inline-block !important;
  padding: 15px;
  background-color: red;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  width: 100%;
}

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

.p-3 {
  padding: 20px;
}

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

.bg-white {
  background-color: #fff;
}
.form-label {
  display: block;
  width: 100%;
  box-sizing: border-box;
  outline: none;
}

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

.form-control {
  border-radius: 0.25rem;
  background-clip: padding-box;
  line-height: 1.5;
  padding: 0.5rem 0.9rem;
  border: none;
  background-color: #efefef;
  font-size: 15px;
  border-radius: 10px;
}

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

#orderError {
  margin-top: 20px;
  padding: 15px;
  background-color: #fde8e4;
  color: #b44c36;
}

.order-processing {
  font-weight: 600;
  padding: 10px;
  background-color: #f45c0c;
  color: #151b54;
}

.warn-number{
  background-color: #f45c0c;
  color: white;
  padding: 5px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}
.btn-pesan{
  background-color: #136e39; 
  padding: 12px;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  border-radius: 5px;
}
.form-card{
  background-color: #f1d500;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.form-bordered{
  border: 4px solid red;
  border-radius: 10px;
  padding: 20px;
}

/* Floating button styles */
.floating-button {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  opacity: 1;
  visibility: visible;
  max-width: 320px;
  width: 90%;
}

.floating-button.hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(20px);
}

.floating-button img {
  width: 100%;
  height: auto;
  min-width: 280px;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.floating-button img:hover {
  transform: scale(1.08);
}

/* Ensure bottom navbar doesn't interfere */
.navbar.fixed-bottom {
  z-index: 999;
  display: none; /* Hide the original navbar in favor of floating button */
}

/* Show original navbar only on small screens or as fallback */
@media (max-width: 480px) {
  .floating-button {
    max-width: 300px;
    width: 85%;
    bottom: 15px;
  }
  
  .floating-button img {
    min-width: 250px;
    border-radius: 12px;
  }
}

@media (max-width: 360px) {
  .floating-button {
    max-width: 280px;
    width: 90%;
    bottom: 10px;
  }
  
  .floating-button img {
    min-width: 220px;
    border-radius: 10px;
  }
}

/* Data Purchase */
.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;
}

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

/* End Data Purchase */