body {
  background: linear-gradient(135deg, #f5f7fa, #e6f0ff);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  width: 100%;
  overflow-x: hidden;   /* cegah scroll horizontal */
}

/* Card Custom */
.card-custom {
  border-radius: 1.2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  padding: 3rem;
  background: #fff;
  max-width: 550px;
  margin: auto;
  transition: transform 0.3s ease;
}
.card-custom:hover {
  transform: translateY(-5px);
}

/* Judul lebih besar */
.card-custom h2 {
  font-size: 1.8rem;
}

/* Input dan Select */
.form-control,
.form-select {
  font-size: 1.1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}
.form-control:focus,
.form-select:focus {
  border-color: #4facfe;
  box-shadow: 0 0 12px rgba(79, 172, 254, 0.4);
  transform: scale(1.02);
}

/* Gambar logo */
.img-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.payment-img {
  max-width: 80%;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

/* Button */
.btn-custom {
  background: linear-gradient(45deg, #ff9800, #ff5722);
  color: #fff;
  font-weight: bold;
  border-radius: 0.8rem;
  transition: all 0.3s ease;
}
.btn-custom:hover {
  background: linear-gradient(45deg, #ff5722, #e64a19);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

/* Modal */
.modal-content {
  border-radius: 1.2rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Background wrapper untuk shapes */
.bg-shape-wrapper {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;     /* cegah geser horizontal */
  z-index: -1;
}
.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}
.shape-1 { width: 300px; height: 300px; background: #007bff; top: -100px; left: -100px; }
.shape-2 { width: 250px; height: 250px; background: #6610f2; bottom: -120px; right: -80px; }
.shape-3 { width: 200px; height: 200px; background: #6f42c1; top: 40%; left: 50%; transform: translate(-50%, -50%); }


/* Card form */
.card {
  width: 100%;
  max-width: 420px;         /* biar gak kepanjangan di layar lebar */
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  background: #fff;
  padding: 2rem;
  text-align: center;
}

/* Logo */
.card .logo {
  width: 90px;
  height: 90px;
  margin-bottom: 1rem;
}

/* Notifikasi copy */
.copy-notif {
  display: none;
  opacity: 0;
  background-color: #198754;
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 0.25rem;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
  z-index: 10;
}
.copy-notif-tooltip {
  display: none;
  position: absolute;
  top: 100%; /* tepat di bawah kode VA */
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background-color: #198754;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 0.25rem;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 10;
}
.copy-notif-tooltip.show {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* Panah kecil tooltip */
.copy-notif-tooltip .tooltip-arrow {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background-color: #198754;
}

/* Kode VA */
#resKodeVA {
  font-size: 2rem;   /* lebih besar */
  font-weight: bold;
  letter-spacing: 2px; /* jarak antar digit */
}
/* Prefix kode VA (desktop & mobile tetap sama) */
.va-prefix {
  color: orange;
  font-weight: bold;
  letter-spacing: 2px;
}


/* Hilangkan horizontal scroll global */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
}

/* Container utama */
.container-fluid {
  min-height: 100vh;        /* penuhi layar */
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
}


/* Mobile Responsive */
@media (max-width: 768px) {
  .container-fluid {
    flex-direction: column;   /* logo di atas, form di bawah */
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 0;
    min-height: auto;         /* biar bisa scroll */
  }

  .payment-img {
    max-width: 60%;
    max-height: 140px;
    margin-bottom: 1rem;
  }

  .card-custom {
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    padding: 1.5rem;
    margin: 0;
    min-height: auto;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  .card-custom h2 {
    font-size: 1.3rem;
  }

  .form-control,
  .form-select {
    font-size: 1rem;
    padding: 0.75rem 0.9rem;
  }

  .btn-custom {
    font-size: 1rem;
    padding: 0.9rem;
  }

  /* --- Modal --- */

  /* Detail data di modal rata kiri */
  #inquiryModal .card-body p {
    text-align: left !important;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;

  }

  #inquiryModal .total-bayar {
    text-align: left !important;
  }


  /* Judul kode VA tetap tengah */
  #inquiryModal h5.text-primary {
    text-align: center;
    font-size: 1.1rem;
  }

  /* Kode VA tengah, lebih kecil di HP */
  #resKodeVA {
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-align: center;
    word-break: break-word;
  }

  /* Prefix kode VA tetap orange */
  .va-prefix {
    color: orange;
    font-weight: bold;
    letter-spacing: 1px;
  }
}
