/* Account page layout (overrides + additions on top of style.css) */

.account-shell{
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 18px 80px;
}

.account-hero{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
  margin-bottom: 18px;
}

.account-badge{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  width: fit-content;
}

.account-badge .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(0,255,136,.12);
}

.account-title{
  margin: 10px 0 6px;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.account-subtitle{
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.account-mini-card{
  background: var(--panel);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  min-width: 220px;
  text-align: left;
}

.mini-label{
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  font-weight: 700;
}

.mini-value{
  margin-top: 6px;
  font-size: 1.15rem;
  font-weight: 900;
}

/* Grid */
.account-grid{
  display:grid;
  grid-template-columns: 1.25fr .9fr;
  gap: 16px;
}

.col{
  display:grid;
  gap: 16px;
}

/* Panels */
.panel{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow:hidden;
}

.panel.subtle{
  background: rgba(255,255,255,.03);
  border-color: var(--border);
}

.panel-head{
  padding: 16px 16px 14px;
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.panel-title{
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .2px;
}

.panel-sub{
  margin-top: 4px;
  color: rgba(255,255,255,.65);
  font-size: .92rem;
  line-height: 1.35;
}

.panel-body{
  padding: 16px;
}

/* Key/Value rows */
.kv{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 14px;
  padding: 10px 0;
}

.k{
  color: rgba(255,255,255,.65);
  font-weight: 800;
}

.v{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
  text-align:right;
}

.muted{
  color: rgba(255,255,255,.75);
}

/* pill */
.pill{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
  font-weight: 900;
}

/* small buttons */
.btn-sm{
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 800;
}

/* Wallet pill */
.wallet-pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
}

.wallet-label{
  color: rgba(255,255,255,.70);
  font-weight: 800;
}

.wallet-value{
  font-weight: 1000;
  letter-spacing: .2px;
}

/* Editor */
.editor{
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.hints{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
}

.row-actions{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  justify-content:flex-end;
  flex-wrap: wrap;
}

/* Actions */
.action{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
}

.action-title{
  font-weight: 900;
  margin-bottom: 4px;
}

.action-sub{
  color: rgba(255,255,255,.65);
  font-size: .92rem;
  line-height: 1.35;
}

.divider-soft{
  height: 1px;
  background: rgba(255,255,255,.08);
}

/* Make sure account page doesn't look like homepage center text */
.main-content{
  text-align: initial;
}

/* ── Paigon Credits display ── */
.credit-display {
  text-align: center;
  padding: 28px 0 22px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 20px;
}
.credit-coin { font-size: 1.55rem; line-height: 1; margin-bottom: 8px; opacity: .9; }
.credit-amount {
  font-size: 3.4rem; font-weight: 900; letter-spacing: -.04em;
  color: var(--green); line-height: 1;
}
.credit-ticker {
  font-size: .68rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(0,255,136,.55); margin-top: 6px;
}
.credit-usd-eq { font-size: .82rem; color: rgba(255,255,255,.35); margin-top: 5px; }

/* ── Deposit packages ── */
.pkg-label {
  font-size: .64rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 10px;
}
.pkg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pkg-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 22px 14px 18px; cursor: pointer; font-family: inherit;
  color: #fff; text-align: center; transition: all .18s; position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 4px;
}
.pkg-card:hover { border-color: rgba(0,255,136,.45); background: rgba(0,255,136,.06); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.pkg-card:active { transform: scale(.97); }
.pkg-card:focus-visible { outline: 2px solid rgba(0,255,136,.5); outline-offset: 2px; }
.pkg-card--featured {
  background: rgba(0,255,136,.07); border-color: rgba(0,255,136,.35);
  box-shadow: 0 0 0 1px rgba(0,255,136,.15) inset, 0 4px 20px rgba(0,255,136,.08);
}
.pkg-card--featured:hover { border-color: rgba(0,255,136,.65); background: rgba(0,255,136,.12); }
.pkg-tier { font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: 3px; }
.pkg-pc { font-size: 1.6rem; font-weight: 900; color: var(--green); letter-spacing: -.02em; line-height: 1; }
.pkg-usd { font-size: .82rem; color: rgba(255,255,255,.5); font-weight: 700; margin-top: 3px; }
.pkg-bonus { font-size: .68rem; color: var(--green); font-weight: 800; margin-top: 5px; letter-spacing: .02em; }
.pkg-badge {
  position: absolute; top: 0; right: 0; background: var(--green); color: #000;
  font-size: .58rem; font-weight: 900; letter-spacing: .06em; padding: 4px 10px;
  border-radius: 0 12px 0 8px; text-transform: uppercase;
}
.pkg-badge--popular {
  background: #ffa020; color: #000;
}
.pkg-note {
  font-size: .73rem; color: rgba(255,255,255,.3); margin-top: 14px;
  line-height: 1.55; text-align: center;
}

/* ── Responsive ── */
@media (max-width: 920px){
  .account-grid{
    grid-template-columns: 1fr;
  }
  .account-mini-card{
    min-width: unset;
  }
  .account-hero{
    align-items:flex-start;
    flex-direction: column;
  }
}
