/* ===================================================================
   POINT WALLET PAGE
   =================================================================== */

/* ---- Hero balance card ---- */
.wallet-hero{
  background:var(--rawm-ink);
  background-image:
    repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0px, rgba(255,255,255,.035) 2px, transparent 2px, transparent 7px),
    radial-gradient(circle at 90% 10%, rgba(238,127,45,.25), transparent 55%);
  border-radius:20px;
  padding:20px 20px 0;
  box-shadow:0 18px 36px -16px rgba(0,0,0,.45);
}
.wallet-hero-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}
.wallet-label{
  font-size:11.5px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(255,255,255,.55);
}
.wallet-icon-large{
  font-size:20px;
  color:var(--rawm-orange);
}
.wallet-balance{
  font-family:var(--font-display);
  font-size:52px;
  font-weight:700;
  color:#fff;
  line-height:1;
  letter-spacing:-.02em;
}
.wallet-sub{
  font-size:12.5px;
  color:rgba(255,255,255,.45);
  margin-top:2px;
  margin-bottom:16px;
}
.wallet-divider{
  height:1px;
  background:rgba(255,255,255,.1);
  margin:0 -20px;
}
.wallet-mini-stats{
  display:flex;
  align-items:stretch;
  padding:12px 0 16px;
}
.wallet-mini{
  flex:1 1 0;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
}
.wallet-mini i{ font-size:15px; }
.wallet-mini:first-child i{ color:#10B981; }
.wallet-mini:last-child i{ color:#F87171; }
.wallet-mini-val{
  font-family:var(--font-display);
  font-size:18px;
  font-weight:700;
  color:#fff;
  line-height:1;
}
.wallet-mini-label{
  font-size:10px;
  color:rgba(255,255,255,.45);
}
.wallet-mini-sep{
  width:1px;
  background:rgba(255,255,255,.1);
  margin:4px 0;
}

/* ---- 2-column transaction lists ---- */
.wallet-cols{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  align-items:start;
}
.wallet-col{
  background:var(--rawm-surface);
  border:1px solid var(--rawm-line);
  border-radius:16px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.wallet-col-head{
  display:flex;
  align-items:center;
  gap:6px;
  padding:11px 12px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
  flex:0 0 auto;
}
.earned-head{
  background:#E5F3EA;
  color:#2C8A53;
  border-bottom:1px solid #D9EEE0;
}
.redeemed-head{
  background:#FEE2E2;
  color:#DC2626;
  border-bottom:1px solid #FECACA;
}

.wallet-tx-list{
  display:flex;
  flex-direction:column;
  max-height:300px;
  overflow:hidden;
  transition:max-height .3s ease;
}
.wallet-tx-list.expanded{ max-height:9999px; }

.wallet-view-more{
  width:100%;
  border:0;
  border-top:1px solid var(--rawm-line);
  background:var(--rawm-cream);
  color:var(--rawm-orange-deep);
  font-size:11.5px;
  font-weight:600;
  padding:10px 4px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  transition:background .12s ease;
  flex:0 0 auto;
}
.wallet-view-more:active{ background:var(--rawm-line); }
.wallet-view-more.is-expanded i{ transform:rotate(180deg); }

.wallet-tx{
  padding:10px 12px;
  border-bottom:1px solid var(--rawm-line);
}
.wallet-tx:last-child{ border-bottom:none; }

.wallet-tx-pts{
  font-family:var(--font-display);
  font-size:15px;
  font-weight:700;
  color:var(--rawm-ink);
  line-height:1;
}
.wallet-tx-pts.earned{ color:#2C8A53; }
.wallet-tx-pts.redeemed{ color:#DC2626; }

.wallet-tx-date{
  font-size:10px;
  color:var(--rawm-charcoal-2);
  margin-top:2px;
}
.wallet-tx-note{
  font-size:10.5px;
  color:var(--rawm-charcoal);
  margin-top:3px;
  line-height:1.3;
}

.wallet-tx-empty{
  padding:16px 10px;
  text-align:center;
  font-size:11px;
  color:var(--rawm-charcoal-2);
}

/* ---- Index preview card ---- */
.wallet-preview-card{
  background:var(--rawm-ink);
  background-image:
    repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0px, rgba(255,255,255,.035) 2px, transparent 2px, transparent 7px),
    radial-gradient(circle at 90% 0%, rgba(238,127,45,.22), transparent 55%);
  border-radius:18px;
  padding:18px 18px 14px;
  box-shadow:0 12px 28px -16px rgba(0,0,0,.4);
}
