
/* ======================================================
   PAGE WRAPPER
   ====================================================== */
.withdraw-page {
  background: #121212;
  min-height: 100vh;
  padding-bottom: 160px;
  color: #fff;
  font-family: Poppins, sans-serif;
}


/* ======================================================
   HEADER (TOP BAR)
   ====================================================== */
.withdraw-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  background: #1a1a1a;
  font-weight: 600;
}

/* Header left (back button) */
.withdraw-header .left {
  cursor: pointer;
}

/* Header right button (deposit icon) */
.icon-btn {
  background: #2a2a2a;
  padding: 6px 10px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
}


/* ======================================================
   CARD CONTAINER
   ====================================================== */
.card {
  background: #121212;
  border-radius: 18px;
  border: 1px dashed #333;
  padding: 14px;
  margin: 14px;
}

/* Card hover effect */
.card:hover {
  border-color: #7E5C00;
}

/* Card title */
.card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}


/* ======================================================
   BANK INFO SECTION
   ====================================================== */
.bank-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Bank logo */
.bank-item img {
  width: 36px;
}

/* Bank text container */
.bank-info {
  flex: 1;
}

/* Bank account number */
.bank-number {
  font-weight: 600;
}

/* Bank account owner */
.bank-name {
  font-size: 12px;
  color: #aaa;
}


/* ======================================================
   WITHDRAW AMOUNT INPUT
   ====================================================== */
.wd-amount {
  position: relative;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  padding: 14px 64px 14px 44px;
  display: flex;
  align-items: center;
}

/* Currency prefix (Rp) */
.wd-prefix {
  position: absolute;
  left: 14px;
  color: #888;
  font-weight: 600;
}

/* Amount input field */
.wd-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
}

/* Placeholder style */
.wd-input::placeholder {
  color: #555;
}

/* ALL button */
.wd-all {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #f5c16c, #cfa14a);
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 12px;
  color: #000;
  cursor: pointer;
}


/* ======================================================
   AMOUNT & FEE INFO
   ====================================================== */
.amount-info {
  font-size: 12px;
  color: #aaa;
  margin-top: 8px;
}

/* Fee row */
.fee-row {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
}

/* Total row */
.fee-row.total {
  font-weight: 700;
}

/* VIP label */
.vip {
  color: #d4af37;
}


/* ======================================================
   WARNING INFO
   ====================================================== */
.info-warning {
  margin: 14px;
  font-size: 12px;
  color: #f0c75e;
}


/* ======================================================
   FOOTER (SUBMIT BUTTON)
   ====================================================== */
.withdraw-footer {
  
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
}

/* Submit button */
.btn-next {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f5c16c, #cfa14a);
  font-weight: 700;
  border: none;
}

.fee-gratis {
  color: white;
  font-weight: 700;
  animation: gratisBlink 1.2s infinite;
}

@keyframes gratisBlink {
  0%   { opacity: 1; }
  50%  { opacity: .4; }
  100% { opacity: 1; }
}

.wd-modal {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.02); /* hampir transparan */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}

.wd-modal-box {
  background: linear-gradient(180deg, #121212, #121212);
  border-radius: 18px;
  padding: 26px 22px;
  width: 90%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(255,255,255,.05),
              0 30px 80px rgba(0,0,0,.8);
  animation: modalPop .35s ease;
}

@keyframes modalPop {
  from { transform: scale(.85); opacity: 0 }
  to   { transform: scale(1);   opacity: 1 }
}

.wd-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(255,77,77,.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wd-modal-icon i {
  font-size: 28px;
  color: #ff4d4d;
}

.wd-modal-box h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.wd-modal-box p {
  font-size: 14px;
  line-height: 1.6;
  color: #cfd3dc;
}

.text-danger {
  color: #ff6b6b;
  font-weight: 600;
}

.wd-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.wd-modal-actions a,
.wd-modal-actions button {
  flex: 1;
  padding: 11px 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg,#d4af37,#d4af37);
  color: #041a0f;
}

.btn-secondary {
  background: #2a2d34;
  color: #fff;
}
btn-next:disabled {
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(40%);
}


.circle-loading {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.02); /* hampir transparan */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}

.circle-box {
  width: 80%;
  max-width: 300px;
  padding: 26px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1); /* hampir transparan */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
}

/* SPINNER BULAT */
.circle-spinner {
  width: 42px;
  height: 42px;
  margin: 0 auto;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.15);
  border-top-color: #00e676;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  margin-top: 16px;
  font-size: 14px;
  color: #ddd;
}  

.info-balance .info-row{
  display:flex;
  justify-content:space-between;
  padding:8px 0;
  border-bottom:1px dashed rgba(255,255,255,.08);
  font-size:14px;
}

.info-balance .info-row:last-child{
  border-bottom:none;
}

.text-warning{ color:#f0ad4e; }
.text-success{ color:#5cb85c; }