.poostina-wallet-dashboard-card,
.poostina-wallet-page,
.poostina-wallet-checkout-box {
  font-family: "peyda-reg", Tahoma, Arial, sans-serif;
  box-sizing: border-box;
}
.poostina-wallet-dashboard-card *,
.poostina-wallet-page *,
.poostina-wallet-checkout-box * { box-sizing: border-box; }
.poostina-wallet-dashboard-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  margin: 18px 0 24px;
  padding: 17px 18px;
  border: 1px solid rgba(244, 61, 120, .16);
  border-radius: 20px;
  background: radial-gradient(circle at 90% 10%, rgba(132, 83, 255, .12), transparent 38%), linear-gradient(145deg, #fff4f8, #fff);
  color: var(--ps-account-text, #2d3440);
  text-decoration: none !important;
  box-shadow: 0 14px 34px rgba(50, 44, 72, .06);
}
.poostina-wallet-dashboard-card:hover { color: var(--ps-account-text, #2d3440); border-color: rgba(244, 61, 120, .34); }
.poostina-wallet-dashboard-card > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.poostina-wallet-dashboard-card small { color: var(--ps-account-muted, #8d8798); }
.poostina-wallet-dashboard-card strong { margin: 2px 0; color: var(--ps-account-text, #2d3440); font-size: 20px; }
.poostina-wallet-dashboard-card em { color: var(--ps-account-muted, #8d8798); font-size: 12px; font-style: normal; }
.poostina-wallet-dashboard-icon,
.poostina-wallet-balance-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--ps-account-pink, #f43d78), var(--ps-account-purple, #8453ff));
  color: #fff;
  box-shadow: 0 10px 24px rgba(244, 61, 120, .20);
}
.poostina-wallet-dashboard-icon svg,
.poostina-wallet-balance-icon svg,
.poostina-wallet-dashboard-arrow svg,
.poostina-wallet-checkout-icon svg,
.poostina-wallet-empty svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.poostina-wallet-dashboard-arrow { display: grid; place-items: center; color: var(--ps-account-pink, #f43d78); }
.poostina-wallet-page { display: grid; gap: 20px; }
.poostina-wallet-balance-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(244, 61, 120, .14);
  border-radius: 22px;
  background: radial-gradient(circle at 12% 18%, rgba(132, 83, 255, .14), transparent 42%), linear-gradient(145deg, #fff6f9, #fff);
}
.poostina-wallet-balance-copy span,
.poostina-wallet-balance-copy small { display: block; color: var(--ps-account-muted, #8d8798); }
.poostina-wallet-balance-copy strong { display: block; margin: 5px 0; color: var(--ps-account-pink, #f43d78); font-size: clamp(25px, 4vw, 38px); }
.poostina-wallet-ledger { padding: 20px; border: 1px solid var(--ps-account-border, #ece9f2); border-radius: 22px; background: #fff; }
.poostina-wallet-panel-header { margin-bottom: 14px; }
.poostina-wallet-panel-header small { color: var(--ps-account-muted, #8d8798); }
.poostina-wallet-panel-header h3 { margin: 3px 0 0; color: var(--ps-account-text, #2d3440); }
.poostina-wallet-transactions { display: grid; gap: 10px; }
.poostina-wallet-transaction {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--ps-account-border, #ece9f2);
  border-radius: 15px;
  background: #fff;
}
.poostina-wallet-transaction-sign { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; font-weight: 800; }
.poostina-wallet-transaction.is-credit .poostina-wallet-transaction-sign { background: rgba(23, 183, 125, .12); color: var(--ps-account-mint, #17b77d); }
.poostina-wallet-transaction.is-debit .poostina-wallet-transaction-sign { background: rgba(239, 71, 111, .12); color: var(--ps-account-danger, #ef476f); }
.poostina-wallet-transaction-main strong,
.poostina-wallet-transaction-main small,
.poostina-wallet-transaction-amount small { display: block; }
.poostina-wallet-transaction-main small,
.poostina-wallet-transaction-amount small { margin-top: 4px; color: var(--ps-account-muted, #8d8798); }
.poostina-wallet-transaction-amount { text-align: left; white-space: nowrap; }
.poostina-wallet-transaction.is-credit .poostina-wallet-transaction-amount b { color: var(--ps-account-mint, #17b77d); }
.poostina-wallet-transaction.is-debit .poostina-wallet-transaction-amount b { color: var(--ps-account-danger, #ef476f); }
.poostina-wallet-order-link { padding: 7px 10px; border-radius: 10px; background: var(--ps-account-soft-purple, #f5f1ff); color: var(--ps-account-purple, #8453ff); text-decoration: none !important; }
.poostina-wallet-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.poostina-wallet-pagination .page-numbers { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px; background: #f7f5fa; color: var(--ps-account-text, #2d3440); text-decoration: none; }
.poostina-wallet-pagination .current { background: var(--ps-account-pink, #f43d78); color: #fff; }
.poostina-wallet-empty { display: grid; place-items: center; gap: 7px; min-height: 220px; color: var(--ps-account-muted, #8d8798); text-align: center; }
.poostina-wallet-empty > span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--ps-account-soft-pink, #fff1f6); color: var(--ps-account-pink, #f43d78); }
.poostina-wallet-empty strong { color: var(--ps-account-text, #2d3440); }
.poostina-wallet-empty p { margin: 0; }
.poostina-wallet-checkout-box { margin: 0 0 16px; padding: 0; border: 1px solid rgba(244, 61, 120, .20); border-radius: 16px; background: var(--ps-flow-soft-pink, #fff1f6); overflow: hidden; }
.poostina-wallet-checkout-toggle { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px; cursor: pointer; }
.poostina-wallet-checkout-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--ps-flow-pink, #f43d78), var(--ps-flow-purple, #8453ff)); color: #fff; }
.poostina-wallet-checkout-copy strong,
.poostina-wallet-checkout-copy small { display: block; }
.poostina-wallet-checkout-copy small { margin-top: 4px; color: var(--ps-flow-muted, #8d8798); }
.poostina-wallet-checkout-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.poostina-wallet-switch { position: relative; width: 48px; height: 26px; border-radius: 30px; background: #c9c4cf; transition: background-color .2s ease; }
.poostina-wallet-switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 7px rgba(0,0,0,.15); transition: transform .2s ease; }
.poostina-wallet-checkout-toggle input:checked + .poostina-wallet-switch { background: var(--ps-flow-pink, #f43d78); }
.poostina-wallet-checkout-toggle input:checked + .poostina-wallet-switch::after { transform: translateX(-22px); }
@media (max-width: 700px) {
  .poostina-wallet-dashboard-card { grid-template-columns: 48px minmax(0, 1fr) 22px; padding: 15px; }
  .poostina-wallet-dashboard-icon { width: 48px; height: 48px; }
  .poostina-wallet-balance-card { align-items: flex-start; padding: 18px; }
  .poostina-wallet-transaction { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .poostina-wallet-transaction-amount { grid-column: 2 / 4; display: flex; justify-content: space-between; gap: 8px; text-align: right; }
  .poostina-wallet-order-link { grid-column: 2 / 4; text-align: center; }
  .poostina-wallet-checkout-toggle { grid-template-columns: 42px minmax(0, 1fr); }
  .poostina-wallet-switch { grid-column: 1 / 3; justify-self: end; }
}
