@import url("common.css");

.wallet-balance { display: flex; align-items: center; justify-content: space-between; }
.wallet-balance h2 { font-size: 20px; display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.wallet-balance h2 img { width: 24px; height: 24px; object-fit: contain; }
.wallet-balance__amount { font-size: 34px; color: #ff3782; line-height: 1.3; margin: 0; }
.wallet-balance__links { display: flex; gap: 24px; }
.wallet-balance__links a { padding: 8px 26px; min-width: 144px; text-align: center; color: #eceff4; border: 1px solid #ed0095; border-radius: 30px; text-decoration: none; font-size: 20px; }
.wallet-balance__links a:hover { background: #312033; }
.wallet-plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.wallet-plan { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 164px; padding: 36px 8px 18px; overflow: hidden; border: 1px solid transparent; border-radius: 8px; background: #30333d; color: #eceff4; }
.wallet-plan.is-selected { border-color: #f90094; background: #191c27; }
.wallet-plan__bonus { position: absolute; top: 0; left: 0; display: flex; align-items: center; gap: 3px; border-radius: 0 0 16px 0; background: #6b285d; color: #fff; font-size: 14px; padding: 4px 9px; line-height: 1.3; white-space: nowrap; }
.wallet-plan.is-selected .wallet-plan__bonus { background: #f90094; }
.wallet-plan__bonus img { width: 13px; height: 13px; }
.wallet-plan__coins { font-size: 26px; line-height: 1.4; white-space: nowrap; }
.wallet-plan__price { font-size: 20px; color: #fa0099; }
.wallet-plan__original { font-size: 14px; color: #898a95; text-decoration: line-through; }
.wallet-payment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.wallet-payment { border: 1px solid transparent; color: #eceff4; background: #30333d; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; height: 84px; padding: 8px; font-size: 22px !important; }
.wallet-payment.is-selected { border-color: #f90094; background: #191c27; }
.wallet-payment img { width: 28px; height: 28px; object-fit: contain; }
.wallet-pay-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 0; border-radius: 8px; background: linear-gradient(180deg, #fa0099, #b20087); color: #fff; height: 66px; margin-top: 20px; font-size: 24px !important; font-weight: 500; }
.wallet-tips { color: #999aa3; margin: 28px 0 48px; font-size: 14px; line-height: 1.8; }
.wallet-tips h2 { font-size: 16px; font-weight: 500; color: #eceff4; margin: 0 0 6px; }
.wallet-tips ol { list-style: decimal outside; padding-left: 18px; margin: 0; }
.wallet-tips li { list-style: decimal outside; }
.wallet-order-status { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 15px; color: #bdbec7; font-size: 14px; }
.wallet-order-status button { border: 1px solid #f90094; background: transparent; color: #eceff4; padding: 5px 12px; border-radius: 5px; }

@media (max-width: 959px) {
  .wallet-balance { padding: 12px; min-height: 92px; }
  .wallet-balance h2 { font-size: 14px; gap: 6px; }
  .wallet-balance h2 img { width: 22px; height: 22px; }
  .wallet-balance__amount { font-size: 26px; }
  .wallet-balance__links { flex-direction: column; gap: 7px; }
  .wallet-balance__links a { min-width: 82px; font-size: 14px; padding: 3px 10px; }
  .wallet-plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .wallet-plan { min-height: 106px; padding: 29px 2px 8px; gap: 3px; }
  .wallet-plan__bonus { font-size: 10px; padding: 3px 5px; gap: 2px; }
  .wallet-plan__bonus img { width: 11px; height: 11px; }
  .wallet-plan__coins { font-size: 19px; }
  .wallet-plan__price { font-size: 14px; }
  .wallet-plan__original { font-size: 12px; }
  .wallet-payment-grid { gap: 8px; }
  .wallet-payment { height: 40px; gap: 5px; padding: 6px 3px; font-size: 14px !important; white-space: nowrap; }
  .wallet-payment img { width: 18px; height: 18px; }
  .wallet-pay-button { height: 44px; margin-top: 12px; font-size: 16px !important; }
  .wallet-tips { font-size: 14px; line-height: 1.75; margin: 18px 0 32px; }
  .wallet-tips h2 { font-size: 16px; margin-bottom: 8px; }
}

@media (max-width: 359px) {
  .wallet-plan__coins { font-size: 16px; }
  .wallet-plan__bonus { font-size: 9px; padding-inline: 3px; }
  .wallet-payment { font-size: 12px !important; gap: 4px; }
}
