/* NexaWager front-of-house app styles */
.app-main { padding: 20px 20px 80px; }

.page-head { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 18px; flex-wrap: wrap; gap: 10px; }
.page-head h1 { font-size: 24px; margin: 0; }

/* Filter tabs */
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-tabs a { padding: 8px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; background: var(--card); border: 1px solid var(--border); color: var(--text-2); }
.filter-tabs a.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Bet cards */
.bet-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 15px; margin-bottom: 12px; }
.bet-card .bet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.bet-ref { font-family: monospace; font-size: 13px; color: var(--blue-soft); }
.bet-leg { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--border); font-size: 13px; }
.bet-leg .sel { color: var(--text); font-weight: 600; }
.bet-leg .ev { color: var(--muted); font-size: 12px; }
.bet-meta { display: flex; gap: 22px; margin-top: 10px; flex-wrap: wrap; }
.bet-meta .m .l { font-size: 11px; color: var(--muted); text-transform: uppercase; }
.bet-meta .m .v { font-size: 15px; font-weight: 700; }

/* Receipt */
.receipt { max-width: 560px; margin: 0 auto; }
.receipt-head { text-align: center; padding: 22px; border-bottom: 1px dashed var(--border); }
.receipt-head .status-big { font-size: 22px; font-weight: 800; color: var(--positive); }

/* Mobile bottom nav */
.mobile-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; height: 62px; background: var(--secondary); border-top: 1px solid var(--border); z-index: 90; }
.mobile-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10px; color: var(--muted); font-weight: 600; }
.mobile-nav a span { font-size: 18px; }
.mobile-nav a.active { color: var(--blue-soft); }

/* Floating betslip button (mobile) */
.betslip-fab { display: none; position: fixed; right: 16px; bottom: 76px; z-index: 95; background: var(--blue); color: #fff; border: none; border-radius: 30px; padding: 12px 18px; font-weight: 700; box-shadow: 0 8px 24px rgba(8,120,255,.4); }
.betslip-fab .count { background: #fff; color: var(--blue); border-radius: 20px; padding: 1px 8px; margin-left: 6px; }

@media (max-width: 900px) {
    .mobile-nav { display: flex; }
    .betslip-fab { display: inline-flex; align-items: center; }
}

/* Account area */
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.account-nav { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: sticky; top: 78px; }
.account-nav a { display: block; padding: 11px 16px; font-size: 13px; font-weight: 600; color: var(--text-2); border-left: 2px solid transparent; }
.account-nav a:hover { background: var(--card); color: var(--text); }
.account-nav a.active { background: rgba(8,120,255,.1); color: var(--blue-soft); border-left-color: var(--blue); }

/* Dashboard hero */
.balance-hero { background: linear-gradient(135deg, #0b1830, #0b1220); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.balance-hero .amount { font-size: 40px; font-weight: 800; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.hero-stats .hs .l { font-size: 11px; color: var(--muted); text-transform: uppercase; }
.hero-stats .hs .v { font-size: 18px; font-weight: 700; }

/* Prediction / promo cards */
.promo-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.promo-card .body { padding: 16px; }
.promo-banner { height: 120px; background: linear-gradient(135deg, var(--blue), #0b1220); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 20px; }
.pred-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.pred-conf { font-size: 11px; text-transform: uppercase; font-weight: 700; }

/* Notification list */
.notif { display: flex; gap: 12px; padding: 14px; border-bottom: 1px solid var(--border); }
.notif.unread { background: rgba(8,120,255,.05); }
.notif .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); margin-top: 6px; flex-shrink: 0; }

@media (max-width: 900px) {
    .account-layout { grid-template-columns: 1fr; }
    .account-nav { position: static; display: flex; overflow-x: auto; }
    .account-nav a { white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; }
    .account-nav a.active { border-left: none; border-bottom-color: var(--blue); }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
