/* =========================================
   DONATE CSS
   CACHE BUSTER - GANTI SETIAP UPDATE CSS
   Version: 2026.09.19.34
   ========================================= */

/* DONATE OVERLAY */
.donate-box {
  display: none;

  position: fixed;
  inset: 0;

  width: 100%;
  height: 100%;

  z-index: 9999;

  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.72);

  box-sizing: border-box;
}

/* PANEL */
.donate-panel {
  position: relative;

  width: 100%;
  max-width: 520px;

  padding: 42px 36px 36px;

  background: #0c1721;
  color: #fff;

  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;

  box-sizing: border-box;

  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

/* CLOSE */
.donate-close {
  position: absolute;

  top: 12px;
  right: 14px;

  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: transparent;

  color: #fff;

  font-size: 27px;
  line-height: 1;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.donate-close:hover {
  background: rgba(255,255,255,0.08);
  color: #ff4444;
}

/* HEADER */
.donate-header {
  text-align: center;

  padding-bottom: 24px;

  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.donate-header h3 {
  margin: 0;

  color: #fff;

  font-size: 24px;
  font-weight: 700;

  letter-spacing: 1px;
}

.donate-header p {
  margin: 8px 0 0;

  color: #97a3ae;

  font-size: 14px;
  line-height: 1.6;
}

/* CONTENT */
.donate-content {
  padding-top: 24px;
}

/* LABEL */
.donate-label {
  margin: 0 0 16px;

  text-align: center;

  color: #cfd7df;

  font-size: 14px;
}

/* NOMINAL */
.donate-options {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 12px;

  width: 100%;
}

.donate-options button {
  min-height: 48px;

  padding: 10px;

  background: #162534;

  color: #fff;

  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.donate-options button:hover {
  background: #1d3448;

  border-color: #0590ff;

  transform: translateY(-1px);
}

/* NOMINAL TERPILIH */
.donate-options button.selected {
  background: #0590ff;

  border-color: #0590ff;

  color: #fff;
}

/* NOMINAL MANUAL */
/* NOMINAL MANUAL */
.other-amount {
  margin-top: 16px;
}

.other-amount[hidden] {
  display: none;
}

.other-amount input {
  display: block;

  width: 100%;

  padding: 12px 14px;

  box-sizing: border-box;

  background: #162534;

  color: #fff;

  border: 1px solid rgba(255,255,255,0.15);

  border-radius: 8px;

  font-size: 14px;
  
  text-align: center;

  outline: none;
}

.other-amount input:focus {
  border-color: #0590ff;
}

.other-amount input::placeholder {
  color: #7f8c98;
}

/* DONATION */
.donation-btn {
  display: block;

  width: 100%;

  margin: 24px auto 0;

  padding: 13px 20px;

  background: #0590ff;

  color: #fff;

  border: 0;
  border-radius: 8px;

  font-size: 14px;
  font-weight: 700;

  letter-spacing: 0.5px;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.donation-btn:hover {
  background: #047edc;

  transform: translateY(-1px);
}

/* MOBILE */
@media (max-width: 600px) {

  .donate-box {
    padding: 15px;
  }

  .donate-panel {
    max-width: 100%;

    padding: 38px 20px 24px;

    border-radius: 12px;
  }

  .donate-header h3 {
    font-size: 21px;
  }

  .donate-options {
    grid-template-columns: repeat(2, 1fr);
  }

}