/* =============================================================================
   Bidder dashboard (Phase 3B)
   Layered on top of style.css + live.css (dark bidder theme).
   ============================================================================= */

.dash-wrap { max-width: 1080px; margin: 0 auto; padding: 24px 20px 60px; }

/* Summary cards */
.summary-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.s-card {
  display: flex; align-items: center; gap: 14px; padding: 18px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
}
.s-icon { font-size: 26px; line-height: 1; }
.s-value { font-size: 26px; font-weight: 800; color: #fff; }
.s-label { font-size: 12px; color: #94a3b8; text-transform: uppercase; letter-spacing: .04em; }

/* Tabs */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 22px; flex-wrap: wrap; }
.tabs .tab {
  background: none; border: none; color: #94a3b8; font: inherit; font-weight: 600; font-size: 15px;
  padding: 12px 18px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs .tab:hover { color: #e2e8f0; }
.tabs .tab.active { color: #fff; border-bottom-color: #f59e0b; }

/* Lot cards (watchlist) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.lot-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.lc-head { display: flex; justify-content: space-between; align-items: center; }
.lc-lot { font-size: 12px; color: #94a3b8; text-transform: uppercase; letter-spacing: .04em; }
.lc-title { color: #fff; font-weight: 700; font-size: 16px; }
.lc-sub { color: #94a3b8; font-size: 13px; }
.lc-row { display: flex; justify-content: space-between; color: #e2e8f0; font-size: 14px; margin-top: 4px; }
.lc-row.muted { color: #94a3b8; }
.lc-row strong { color: #fff; }
.lc-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* Tables */
.dtable { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.03); border-radius: 12px; overflow: hidden; }
.dtable th, .dtable td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); color: #e2e8f0; font-size: 14px; }
.dtable th { color: #94a3b8; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.dtable td.muted { color: #94a3b8; }
.dtable tr:last-child td { border-bottom: none; }

/* Empty / loading */
.loading, .empty-state { text-align: center; padding: 48px 20px; color: #94a3b8; }
.es-title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.es-sub { font-size: 14px; max-width: 440px; margin: 0 auto; }

/* Profile */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.p-block {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 20px;
}
.p-block h3 { color: #fff; margin: 0 0 14px; }
.p-form { display: flex; flex-direction: column; gap: 12px; }
.p-form label { display: flex; flex-direction: column; gap: 4px; color: #94a3b8; font-size: 13px; }
.p-form input {
  background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.15); border-radius: 8px;
  padding: 9px 12px; color: #fff; font: inherit;
}
.p-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.p-static { display: flex; justify-content: space-between; color: #94a3b8; font-size: 13px; padding: 4px 0; }
.p-static strong { color: #fff; }
.switch-row { flex-direction: row !important; align-items: center; gap: 10px !important; color: #e2e8f0 !important; font-size: 14px !important; cursor: pointer; }
.switch-row input { width: 18px; height: 18px; accent-color: #f59e0b; }

/* Buttons (bidder theme) */
.btn.small { padding: 6px 12px; font-size: 13px; border-radius: 8px; text-decoration: none; display: inline-block; cursor: pointer; }
.btn.primary { background: #f59e0b; color: #1a1a1a; border: none; font-weight: 700; }
.btn.secondary { background: rgba(255,255,255,.08); color: #e2e8f0; border: 1px solid rgba(255,255,255,.15); }
.btn.ghost { background: none; color: #94a3b8; border: 1px solid rgba(255,255,255,.15); }
.btn.ghost:hover { color: #fff; }

@media (max-width: 720px) {
  .summary-cards { grid-template-columns: repeat(2, 1fr); }
  .profile-grid { grid-template-columns: 1fr; }
}
