/* AUREA Stake — Bond page (/bond).
   Card layout follows the Syntra-style bond card the user approved:
   asset / bond price / ROI / discount / remaining-capacity bar /
   vesting / buy button. Every figure is read live from the AurBond
   contract and the AUR/USDT pair — nothing is hardcoded. */

.bond-lead { font-size: 1.25rem; font-weight: 800; color: #FFE873; margin: 2px 0 8px; }

.bond-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 14px 0 10px; }
@media (max-width: 900px) { .bond-grid { grid-template-columns: 1fr; } }

.bond-card { border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 18px; background: rgba(255,255,255,.02); display: flex; flex-direction: column; }
.bond-card-hl { border-color: rgba(255,215,0,.6); background: radial-gradient(120% 160% at 85% 0%, rgba(149,84,255,.28), rgba(149,84,255,0) 55%), linear-gradient(120deg, rgba(255,215,0,.10), rgba(149,84,255,.10) 60%, rgba(255,255,255,.02)); box-shadow: 0 0 0 1px rgba(255,215,0,.25), 0 10px 26px rgba(0,0,0,.30); }

.bond-asset { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bond-asset img { width: 34px; height: 34px; border-radius: 50%; }
.bond-asset .bond-asset-name { font-size: 1.15rem; font-weight: 800; color: #fff; }
.bond-asset .bond-asset-sub { color: var(--muted); font-size: .82rem; }

.bond-rows { margin: 0 0 12px; }
.bond-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.bond-row:last-child { border-bottom: none; }
.bond-row .k { color: var(--muted); font-size: .9rem; }
.bond-row .v { font-weight: 700; color: var(--text); text-align: right; }
.bond-row .v.roi { color: #7ee2a8; }
.bond-row .v.big { font-size: 1.25rem; font-weight: 800; color: #fff; }

.bond-cap { margin: 2px 0 12px; }
.bond-cap-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.10); overflow: hidden; }
.bond-cap-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #9547ff, #d67bff); box-shadow: 0 0 10px rgba(149,71,255,.55); transition: width .5s ease; }
.bond-cap-text { margin-top: 6px; color: var(--muted); font-size: .85rem; }

.bond-buy { margin-top: auto; }
.bond-buy label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .92rem; }
.bond-buy input[type="text"] { width: 100%; box-sizing: border-box; background: var(--input-bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text); padding: 10px 12px; font: inherit; margin-bottom: 8px; }
.bond-buy input:focus { outline: none; border-color: var(--gold); }
.bond-receive { color: var(--muted); font-size: .9rem; min-height: 1.4em; margin-bottom: 8px; }
.bond-receive strong { color: #FFE873; }
.bond-buy .btn { width: 100%; }
.bond-status { min-height: 1.4em; margin-top: 10px; font-weight: 600; font-size: .9rem; }

.bond-note { border: 1px solid rgba(255,215,0,.45); border-radius: 12px; background: rgba(255,215,0,.06); padding: 12px 14px; color: var(--text); font-size: .92rem; line-height: 1.65; margin: 12px 0; }
.bond-note[hidden] { display: none; }

.bond-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 12px 0 4px; }
.bond-step { border: 1px solid var(--border); border-radius: 16px; padding: 14px; background: rgba(255,255,255,.02); }
.bond-step h3 { margin: 0 0 6px; font-size: 1rem; color: #FFE873; }
.bond-step p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }

.bond-buy select { width: 100%; box-sizing: border-box; background: var(--input-bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text); padding: 10px 12px; font: inherit; margin-bottom: 8px; }
.bond-coupon-row label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .92rem; }
.bond-coupon-row[hidden] { display: none; }

.bond-coupons { margin: 22px 0 6px; }
.coupon-list { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.coupon-row { display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,215,0,.45); border-radius: 12px; background: rgba(255,215,0,.06); padding: 10px 14px; }
.coupon-badge { font-weight: 800; color: #FFE873; white-space: nowrap; }
.coupon-meta { color: var(--muted); font-size: .88rem; }

.pos-list { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.pos-card { border: 1px solid var(--border); border-radius: 14px; padding: 14px; background: rgba(255,255,255,.02); }
.pos-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.pos-head .pos-title { font-weight: 800; color: #fff; }
.pos-head .pos-claimable { color: #7ee2a8; font-weight: 700; }
.pos-meta { color: var(--muted); font-size: .88rem; line-height: 1.6; }
.pos-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.10); overflow: hidden; margin: 8px 0; }
.pos-bar-fill { height: 100%; background: linear-gradient(90deg, #FFD700, #FF7A45); transition: width .5s ease; }
.pos-card .btn { margin-top: 6px; }
