.btg-deposit-qr {
  display: flex;
  justify-content: center;
  width: 146px;
  margin: 12px auto;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 1px rgba(147,111,255,.35);
}
.btg-deposit-qr img { display: block; width: 126px; height: 126px; border-radius: 6px; }
.btg-minimum-deposit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 2px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 196, 61, .3);
  border-radius: 12px;
  background: linear-gradient(110deg, rgba(255, 196, 61, .1), rgba(109, 41, 220, .13));
}
.btg-minimum-deposit > ion-icon { flex: 0 0 auto; color: #ffc43d; font-size: 22px; }
.btg-minimum-deposit > div { display: grid; gap: 2px; }
.btg-minimum-deposit span { color: #b9accf; font-size: 8px; font-weight: 900; letter-spacing: .11em; }
.btg-minimum-deposit strong { color: #fff; font-size: 12px; }
.btg-minimum-deposit small { color: #a99ec2; font-size: 8px; line-height: 1.35; }
.btg-deposit-waiting,
.btg-auto-credit {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
  padding: 13px;
  border: 1px solid rgba(74,222,200,.24);
  border-radius: 13px;
  background: rgba(32,201,181,.08);
  color: #e9fffb;
}
.btg-deposit-waiting span,
.btg-auto-credit-pulse {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #39d7c5;
  box-shadow: 0 0 0 5px rgba(57,215,197,.11), 0 0 14px rgba(57,215,197,.75);
  animation: btgDepositPulse 1.7s ease-in-out infinite;
}
.btg-auto-credit div { display: flex; flex-direction: column; gap: 3px; }
.btg-auto-credit b, .btg-deposit-waiting b { font-size: 11px; }
.btg-auto-credit small { color: #a9a0c4; font-size: 9px; line-height: 1.35; }
@keyframes btgDepositPulse { 50% { opacity: .4; transform: scale(.78); } }

.btg-withdraw-panel {
  margin: 12px 0 20px;
  padding: 16px;
  border: 1px solid rgba(129, 79, 224, .42);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(26, 10, 57, .98), rgba(9, 3, 25, .98));
  box-shadow: 0 20px 45px rgba(3, 0, 14, .32), inset 0 1px rgba(255, 255, 255, .035);
  color: #f8f5ff;
}
.btg-withdraw-balance {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 12px;
  align-items: end;
  margin: 15px 0;
  padding: 14px;
  border: 1px solid rgba(255, 196, 61, .27);
  border-radius: 15px;
  background: linear-gradient(115deg, rgba(255, 196, 61, .07), rgba(104, 62, 184, .12));
}
.btg-withdraw-balance span,
.btg-withdraw-label { color: #a99ec8; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.btg-withdraw-balance strong { color: #44d7c7; font-size: 24px; line-height: 1; }
.btg-withdraw-balance small { grid-column: 1 / -1; color: #8e84aa; font-size: 9px; }
.btg-withdraw-label { display: block; margin: 14px 2px 7px; }
.btg-withdraw-assets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.btg-withdraw-assets button {
  min-height: 40px;
  border: 1px solid rgba(136, 88, 224, .32);
  border-radius: 11px;
  background: rgba(18, 7, 41, .82);
  color: #aaa0c8;
  font-size: 11px;
  font-weight: 800;
}
.btg-withdraw-assets button.is-active {
  border-color: rgba(63, 218, 199, .65);
  background: linear-gradient(135deg, rgba(108, 43, 223, .52), rgba(39, 191, 188, .22));
  box-shadow: 0 0 18px rgba(66, 211, 195, .12);
  color: #fff;
}
.btg-withdraw-amount {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 10px 0 15px;
  border: 1px solid rgba(136, 88, 224, .35);
  border-radius: 13px;
  background: rgba(9, 3, 25, .78);
}
.btg-withdraw-amount > span { color: #8377a4; font-size: 20px; font-weight: 800; }
.btg-withdraw-amount input,
.btg-withdraw-destination input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}
.btg-withdraw-amount input { font-size: 20px; font-weight: 800; }
.btg-withdraw-amount button {
  border: 0;
  border-radius: 8px;
  padding: 7px 9px;
  background: rgba(126, 70, 227, .23);
  color: #bea5f7;
  font-size: 9px;
  font-weight: 900;
}

.btg-deposit-funds {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 8px;
  margin-top: 10px;
}
.btg-deposit-funds > div,
.btg-deposit-funds > label {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(126, 89, 210, .32);
  border-radius: 10px;
  background: rgba(20, 8, 43, .78);
}
.btg-deposit-funds span {
  color: #9486b5;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .1em;
}
.btg-deposit-funds strong {
  overflow: hidden;
  color: #50ddc8;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.btg-deposit-funds input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
}
.btg-withdraw-destination {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 13px;
  overflow: hidden;
  border: 1px solid rgba(136, 88, 224, .28);
  border-radius: 13px;
  background: rgba(9, 3, 25, .65);
}
.btg-withdraw-destination span { color: #82779e; font-size: 9px; }
.btg-withdraw-destination code,
.btg-withdraw-destination input { overflow-wrap: anywhere; color: #e8e1f7; font-size: 10px; line-height: 1.45; }
.btg-withdraw-address-help { display:flex;align-items:flex-start;gap:6px;margin:7px 2px 0;color:#8f84aa;font-size:8px;line-height:1.4; }
.btg-withdraw-address-help ion-icon { flex:0 0 auto;color:#42d9c4;font-size:13px; }
.btg-withdraw-zero {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 13px;
  padding: 12px;
  border: 1px solid rgba(255, 86, 127, .36);
  border-radius: 13px;
  background: rgba(255, 70, 116, .08);
  color: #ff829f;
}
.btg-withdraw-zero ion-icon { flex: 0 0 auto; font-size: 23px; }
.btg-withdraw-zero div { display: flex; flex-direction: column; gap: 2px; }
.btg-withdraw-zero b { font-size: 11px; }
.btg-withdraw-zero span { color: #c9bdd9; font-size: 9px; }
.btg-withdraw-confirm {
  width: 100%;
  min-height: 48px;
  margin-top: 13px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(100deg, #7427eb 0%, #943cf2 53%, #31c7c2 100%);
  box-shadow: 0 9px 24px rgba(105, 40, 218, .24);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}
.btg-withdraw-confirm:disabled { opacity: .42; box-shadow: none; }
.btg-withdraw-panel .btg-fee-breakdown { margin-top: 13px; }
.btg-withdraw-panel .btg-devnet-withdraw-success { display: flex; margin-top: 13px; }
.btg-withdraw-pending {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 13px;
  padding: 12px 13px;
  border: 1px solid rgba(74, 219, 194, .28);
  border-radius: 13px;
  background: linear-gradient(105deg, rgba(39, 167, 145, .16), rgba(49, 24, 91, .42));
  color: #72e2cf;
}
.btg-withdraw-pending > ion-icon { flex: 0 0 auto; margin-top: 1px; font-size: 19px; }
.btg-withdraw-pending > span { display: grid; gap: 3px; }
.btg-withdraw-pending b { color: #eafffb; font-size: 11px; }
.btg-withdraw-pending small { color: #bcb0ce; font-size: 9px; line-height: 1.4; }
.btg-withdraw-pending.is-success {
  border-color: rgba(77, 236, 198, .48);
  background: linear-gradient(105deg, rgba(25, 181, 142, .24), rgba(31, 76, 83, .38));
  color: #6ff0d1;
}
