/* Easypaisa Mobile Trade — Premium Wallet */
.wallet-sheet {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(3, 10, 4, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.wallet-sheet.visible { display: flex; }

.wallet-panel {
  width: 100%;
  max-width: 480px;
  max-height: 92dvh;
  overflow: auto;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(141, 198, 63, 0.18), transparent 50%),
    linear-gradient(180deg, #152c18 0%, #0a1819 55%, #081208 100%);
  border-radius: 24px 24px 0 0;
  border: 1px solid rgba(141, 198, 63, 0.28);
  border-bottom: 0;
  padding: 1.05rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
  animation: sheetUp 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-overflow-scrolling: touch;
}
@keyframes sheetUp {
  from { transform: translateY(44px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.wallet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}
.wallet-head-copy { min-width: 0; }
.wallet-kicker {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3db8a8;
  font-weight: 700;
}
.wallet-head h2 {
  margin: 0.15rem 0 0.2rem;
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  color: #f0f7ea;
}
.wallet-head-sub {
  margin: 0;
  font-size: 0.75rem;
  color: #a3b894;
}
.wallet-close {
  border: 0;
  background: rgba(255,255,255,0.08);
  color: #cfe3bf;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 1.05rem;
  cursor: pointer;
  flex-shrink: 0;
}

.wallet-balance-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  margin-bottom: 0.9rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(141, 198, 63, 0.16), rgba(0, 0, 0, 0.28));
  border: 1px solid rgba(141, 198, 63, 0.28);
}
.wallet-balance-chip span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a3b894;
}
.wallet-balance-chip strong {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  color: #c8f07a;
}

.wallet-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  background: rgba(0,0,0,0.32);
  padding: 0.28rem;
  border-radius: 14px;
  margin-bottom: 1rem;
  border: 1px solid rgba(141, 198, 63, 0.12);
}
.wallet-tab {
  border: 0;
  background: transparent;
  color: rgba(220,235,210,0.5);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  padding: 0.72rem;
  border-radius: 11px;
  cursor: pointer;
  transition: 0.18s ease;
}
.wallet-tab.active {
  background: linear-gradient(135deg, #3db8a8, #2a9d8f);
  color: #0a1819;
  box-shadow: 0 8px 18px rgba(111, 170, 40, 0.25);
}

.wallet-pane { display: none; }
.wallet-pane.active { display: block; }

.wallet-section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 0.65rem;
}
.wallet-section-label h3 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  color: #c8f07a;
}
.wallet-section-label span {
  font-size: 0.68rem;
  color: #a3b894;
}

.pay-grid { display: grid; gap: 0.55rem; }

.pay-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(141, 198, 63, 0.16);
  background: linear-gradient(105deg, rgba(255,255,255,0.05), rgba(0,0,0,0.18));
  border-radius: 16px;
  padding: 0.8rem 0.85rem;
  cursor: pointer;
  color: #f0f7ea;
  transition: 0.16s ease;
  position: relative;
  overflow: hidden;
}
.pay-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--pay-accent, #3db8a8);
  opacity: 0.85;
}
.pay-card:active { transform: scale(0.985); }
.pay-card:hover {
  border-color: rgba(141, 198, 63, 0.35);
  background: linear-gradient(105deg, rgba(141, 198, 63, 0.1), rgba(0,0,0,0.2));
}

.pay-logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
  overflow: hidden;
}
.pay-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
}
.pay-logo.bank {
  padding: 0;
  object-fit: cover;
}

.pay-info { flex: 1; min-width: 0; }
.pay-name {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: 'Sora', sans-serif;
}
.pay-desc {
  display: block;
  font-size: 0.72rem;
  color: #a3b894;
  margin-top: 3px;
}
.pay-tag {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pay-accent, #3db8a8);
  background: rgba(141, 198, 63, 0.12);
  border: 1px solid rgba(141, 198, 63, 0.22);
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
}
.pay-arrow {
  color: #3db8a8;
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 0.85;
}

.wallet-form { margin-top: 0.55rem; }

.account-box {
  position: relative;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(141,198,63,0.18), transparent 55%),
    rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(141,198,63,0.28);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 0.9rem;
}
.account-box .label {
  font-size: 0.68rem;
  color: #a3b894;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.account-box .value {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: #c8f07a;
  font-size: 1.12rem;
  margin: 0.35rem 0 0.2rem;
  word-break: break-all;
}
.account-box .holder { font-size: 0.84rem; color: #dcebd2; }
.copy-btn {
  margin-top: 0.7rem;
  border: 0;
  background: linear-gradient(135deg, #3db8a8, #2a9d8f);
  color: #0a1819;
  font-weight: 700;
  border-radius: 11px;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-family: 'Sora', sans-serif;
}

.wf-field { margin-bottom: 0.8rem; }
.wf-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #a3b894;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wf-field input {
  width: 100%;
  border: 1px solid rgba(141,198,63,0.22);
  background: rgba(8,18,8,0.65);
  color: #f0f7ea;
  border-radius: 13px;
  padding: 0.85rem 0.95rem;
  font-size: 0.95rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  outline: none;
}
.wf-field input:focus {
  border-color: #3db8a8;
  box-shadow: 0 0 0 3px rgba(141, 198, 63, 0.15);
}

.file-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px dashed rgba(141,198,63,0.45);
  background: rgba(141,198,63,0.07);
  color: #cfe3bf;
  border-radius: 13px;
  padding: 1rem;
  cursor: pointer;
  font-size: 0.85rem;
  transition: 0.15s ease;
}
.file-btn:hover { background: rgba(141,198,63,0.12); }
.file-btn input { display: none; }

.wallet-submit {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 1rem;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #5ecfc0, #2a9d8f);
  color: #0a1819;
  cursor: pointer;
  margin-top: 0.35rem;
  box-shadow: 0 10px 22px rgba(111, 170, 40, 0.28);
}
.wallet-submit:disabled { opacity: 0.6; cursor: wait; }

.wallet-msg {
  display: none;
  margin: 0 0 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  font-size: 0.82rem;
}
.wallet-msg.ok { display: block; background: rgba(141,198,63,0.15); color: #b6e07a; border: 1px solid rgba(141,198,63,0.25); }
.wallet-msg.err { display: block; background: rgba(255,70,70,0.12); color: #ffb4b4; border: 1px solid rgba(255,70,70,0.22); }

.wallet-hint {
  font-size: 0.74rem;
  color: #a3b894;
  margin: 0 0 0.85rem;
  line-height: 1.4;
}

.back-methods {
  border: 0;
  background: rgba(141,198,63,0.1);
  color: #3db8a8;
  font-weight: 700;
  margin-bottom: 0.75rem;
  cursor: pointer;
  font-size: 0.82rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(141,198,63,0.22);
}

.wd-method-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  background: rgba(141,198,63,0.08);
  border: 1px solid rgba(141,198,63,0.2);
}
.wd-method-head img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
  padding: 4px;
}
.wd-method-head h3 {
  margin: 0;
  color: #c8f07a;
  font-size: 0.95rem;
  font-family: 'Sora', sans-serif;
}
.wd-method-head p {
  margin: 0.1rem 0 0;
  font-size: 0.7rem;
  color: #a3b894;
}

.wallet-fab {
  border: 1px solid rgba(141,198,63,0.35);
  background: rgba(141,198,63,0.12);
  color: #3db8a8;
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
}
.wallet-quick { display: none !important; }
