/* Base */
body { background: #F2F4F7; }

/* Header */
header { max-width: 1200px; margin: 12px auto 0; padding: 8px 16px; display: flex; align-items: center; gap: 12px; }
.spacer { flex: 1; }
.connect { height: 36px; padding: 0 14px; border-radius: 8px; border: none; background: #FF6E30; color: #fff; font-weight: 700; cursor: pointer; }
.addr { padding: 6px 10px; border-radius: 999px; background: #EEF2F6; font-weight: 600; color: #344054; }
.home-icon { display: block; }

/* Layout container */
.wrap { max-width: 1200px; margin: 16px auto 24px; padding: 0 16px; }

/* Two-column grid - fixed width like reference */
.grid { display: grid; grid-template-columns: 720px 440px; gap: 24px; align-items: start; justify-content: center; }

/* Card base */
.card { background: #ffffff; border: 1px solid #E6EBF1; border-radius: 12px; padding: 20px; box-shadow: 0 1px 2px rgba(16,24,40,0.04); }
.card h1 { font-size: 18px; font-weight: 600; margin: 0 0 16px; }
.card h2 { font-size: 16px; font-weight: 600; margin: 0 0 16px; }

/* Rows and small labels */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px; }
label { display: block; font-size: 12px; color: #667085; margin-bottom: 8px; }
.muted { color: #667085; font-size: 12px; }

/* Inputs */
.input-wrap { position: relative; }
input[type="number"], input[type="text"], .balance { width: 100%; height: 44px; border: 1px solid #E6EBF1; border-radius: 8px; padding: 0 12px; display: flex; align-items: center; background: #fff; }
.balance span { font-weight: 500; }
.max-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); height: 28px; padding: 0 10px; border-radius: 14px; border: none; background: #FFE7DB; color: #FF6E30; font-weight: 700; cursor: pointer; }

/* Lock up pills */
.lock-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.lock-btn { height: 36px; padding: 0 12px; border-radius: 18px; border: 1px solid #E6EBF1; background: #fff; color: #101828; cursor: pointer; }
.lock-btn.active { background: #FF6E30; color: #fff; border-color: #FF6E30; }

/* APR line */
.apr-line { margin: 8px 0 12px; }
.pill { display: inline-block; background: #F2F4F7; color: #344054; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0 16px; }
.kpi { background: #F9FAFB; border: 1px solid #E6EBF1; border-radius: 10px; padding: 12px; }
.kpi .val { font-size: 18px; font-weight: 700; color: #101828; margin-top: 4px; }

/* Primary CTA */
.btn.btn-wide { width: 100%; height: 48px; background: #FF6E30; color: #fff; border: none; border-radius: 10px; font-weight: 800; cursor: pointer; }
.btn.btn-wide:disabled { opacity: 0.6; cursor: not-allowed; }

/* Summary table */
.summary-table { width: 100%; border-collapse: collapse; }
.summary-table td { padding: 10px 0; font-size: 14px; }
.summary-table tr td:first-child { color: #667085; }
.summary-table tr td:last-child { text-align: right; font-weight: 600; color: #101828; }

/* My Staking section */
.my-staking.card { max-width: 1200px; margin: 16px auto; }
.my-staking .inner { background: #fff; border: 1px solid #E6EBF1; border-radius: 10px; padding: 12px; }
.my-staking .stats { display: grid; grid-template-columns: 1fr; gap: 12px; }
.my-staking .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.my-staking .row { grid-template-columns: 1fr 1fr; }
.progress { position: relative; height: 6px; background: #EEF2F6; border-radius: 999px; overflow: hidden; margin: 8px 0 12px; }
.progress > span { display: block; height: 100%; background: #FF6E30; width: var(--progress, 0%); }
.my-staking .actions { display: flex; gap: 8px; justify-content: flex-start; }
.my-staking .withdraw { height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid #E6EBF1; background: #fff; font-weight: 700; cursor: pointer; }

/* Status bar */
.status-bar { margin-top: 12px; background: #F9FAFB; border: 1px solid #E6EBF1; border-radius: 10px; padding: 10px 12px; font-size: 13px; color: #344054; display: flex; justify-content: space-between; }

/* Responsive */
@media (max-width: 960px) {
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .row { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr; }
}


