.wallet-container {
  max-width: 400px;
  margin: 60px auto 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 28px 22px 22px 22px;
  position: relative;
}
.wallet-back {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 1.25em;
  color: #1976d2;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px 6px 6px;
  border-radius: 5px;
  transition: background 0.16s;
  text-decoration: none;
  display: flex;
  align-items: center;
  z-index: 2;
}
.wallet-back:hover {
  background: #e3f2fd;
  color: #0d47a1;
  text-decoration: none;
}
.wallet-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #3f51b5;
  margin-bottom: 8px;
  text-align: center;
}
.balance-section {
  background: #3f51b5;
  color: #fff;
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 24px rgba(63,81,181,0.07);
}
.balance-label {
  font-size: 1rem;
  opacity: 0.85;
}
.balance-amount {
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 12px 0 2px 0;
}
.balance-currency {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.9;
}
.wallet-methods {
  display: flex;
  justify-content: space-around;
  margin: 16px 0 20px 0;
  gap: 20px;
  flex-wrap: wrap;
}
.wallet-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
  background: #f7f8fc;
  border-radius: 10px;
  padding: 15px 0 10px 0;
  box-shadow: 0 2px 8px rgba(63,81,181,0.04);
  margin: 0 5px;
  transition: box-shadow 0.2s;
  flex: 1 0 120px;
  max-width: 48vw;
}
.wallet-method:hover {
  box-shadow: 0 6px 20px rgba(63,81,181,0.10);
}
.wallet-method img {
  height: 36px;
  margin-bottom: 7px;
}
.wallet-method-label {
  font-size: 1.04rem;
  font-weight: 500;
  color: #212121;
  letter-spacing: 0.5px;
}
.wallet-note-section {
  margin-top: 15px;
  background: #fffbe7;
  border: 1px solid #ffe49c;
  border-radius: 10px;
  padding: 14px 14px 12px 14px;
  color: #af8400;
  font-size: 1.01rem;
  box-shadow: 0 2px 8px rgba(255,193,7,0.06);
}
.wallet-note-section .fa-info-circle {
  margin-right: 7px;
  color: #ffc107;
}

/* Centered, equal-sized KBZPay/WavePay for new UI */
.wallet-methods-center {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 22px;
  margin: 20px 0 12px 0;
}

.wallet-method-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px #0001;
  padding: 18px 12px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  min-width: 100px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.13s;
}
.wallet-method-card:hover {
  box-shadow: 0 4px 16px #0002;
  transform: translateY(-2px) scale(1.03);
}

.wallet-method-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 10px;
}

.wallet-method-card .wallet-method-label {
  text-align: center;
  font-size: 1.08em;
  font-weight: 500;
  color: #444;
  margin-top: 3px;
  letter-spacing: 0;
}

/* Responsive for smaller screens */
@media (max-width: 500px) {
  .wallet-container {
    max-width: 98vw;
    padding: 12px 4vw 16px 4vw;
  }
  .wallet-methods-center {
    gap: 10px;
  }
  .wallet-method-card {
    width: 44vw;
    min-width: 0;
    max-width: 170px;
    padding: 11px 2vw 8px 2vw;
  }
  .wallet-method-img {
    width: 44px;
    height: 44px;
    margin-bottom: 4px;
  }
}

/* Force horizontal layout if only two cards, and fix stacking bug on small screens */
.wallet-methods-center {
  flex-wrap: nowrap;
}