/* ===== APP SHELL ===== */
.app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--fg); }

.btn-ghost {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-sm { font-size: 0.8rem; padding: 0.35rem 0.9rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--fg-muted); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost.btn { background: transparent; color: var(--fg-muted); }
.btn-ghost.btn:hover { color: var(--fg); }
.btn-book { font-size: 1rem; padding: 0.75rem 1.5rem; }

/* ===== PAGE LAYOUT ===== */
.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}
.page-narrow { max-width: 720px; }
.page-centered { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60vh; }

.app-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  text-align: center;
}
.footer-content { display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }
.footer-brand { font-family: var(--font-display); font-weight: 700; color: var(--fg-muted); font-size: 0.9rem; }
.footer-sep { color: var(--border); }
.footer-link { color: var(--fg-muted); text-decoration: none; font-size: 0.85rem; }
.footer-link:hover { color: var(--accent); }

/* ===== BROWSE ===== */
.browse-header { margin-bottom: 2rem; }
.browse-header h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.browse-subtitle { color: var(--fg-muted); }

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.filter-group { display: flex; flex-direction: column; gap: 0.3rem; }
.filter-label { font-size: 0.75rem; font-weight: 600; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.filter-select, .filter-input {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.45rem 0.75rem;
  border-radius: 7px;
  min-width: 140px;
}
.filter-input { min-width: 90px; }
.filter-select:focus, .filter-input:focus { outline: none; border-color: var(--accent); }
.btn-filter { align-self: flex-end; }

.results-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.filter-pill {
  background: var(--accent-glow);
  border: 1px solid rgba(200,66,255,0.25);
  color: var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

/* ===== LISTING GRID ===== */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.listing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.15s, transform 0.15s;
}
.listing-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.listing-card-top { display: flex; align-items: center; gap: 0.75rem; }

.creator-avatar-wrap { position: relative; flex-shrink: 0; }
.creator-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.creator-avatar-placeholder {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #fff;
}
.verified-badge {
  position: absolute; bottom: -2px; right: -2px;
  background: #22c55e; color: #fff; font-size: 0.55rem; font-weight: 700;
  width: 14px; height: 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--bg-card);
}

.listing-creator-info { flex: 1; min-width: 0; }
.creator-name { display: block; font-weight: 600; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.creator-meta { font-size: 0.78rem; color: var(--fg-muted); text-transform: capitalize; }

.listing-price { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--accent); flex-shrink: 0; }

.listing-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; line-height: 1.3; }
.listing-desc { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.5; flex: 1; }

.listing-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; }
.niche-pill {
  background: var(--bg-elevated); border: 1px solid var(--border);
  color: var(--fg-muted); font-size: 0.72rem; font-weight: 600;
  padding: 0.18rem 0.55rem; border-radius: 100px; text-transform: capitalize;
}
.delivery-info { font-size: 0.78rem; color: var(--fg-muted); }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 0;
}
.page-btn {
  background: var(--bg-card); border: 1px solid var(--border); color: var(--fg);
  padding: 0.5rem 1rem; border-radius: 8px; text-decoration: none; font-size: 0.9rem;
  transition: border-color 0.15s;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-info { color: var(--fg-muted); font-size: 0.9rem; }

/* ===== LISTING DETAIL ===== */
.back-link {
  display: inline-block; color: var(--fg-muted); text-decoration: none;
  font-size: 0.9rem; margin-bottom: 2rem; transition: color 0.15s;
}
.back-link:hover { color: var(--accent); }

.listing-detail {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) { .listing-detail { grid-template-columns: 1fr; } }

.creator-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.5rem; margin-bottom: 1.5rem;
}
.creator-card-inner { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 0.75rem; }

.creator-avatar-lg {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.creator-avatar-placeholder-lg {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; flex-shrink: 0;
}
.creator-name-lg { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.verified-badge-lg {
  background: #22c55e; color: #fff; font-size: 0.65rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.creator-stats-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; }
.stat-chip {
  background: var(--bg-elevated); border: 1px solid var(--border); color: var(--fg-muted);
  font-size: 0.75rem; font-weight: 500; padding: 0.2rem 0.6rem; border-radius: 100px; text-transform: capitalize;
}
.creator-bio-text { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.6; margin-top: 0.5rem; }

.listing-detail-content { }
.listing-detail-title { font-size: 1.75rem; font-family: var(--font-display); font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
.listing-detail-desc { color: var(--fg-muted); line-height: 1.7; font-size: 1rem; white-space: pre-wrap; }

.booking-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.5rem; position: sticky; top: 76px;
}
.booking-price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--accent); }
.booking-meta { color: var(--fg-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.booking-features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.booking-feature { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--fg-muted); }
.feature-icon { font-size: 1rem; flex-shrink: 0; }
.booking-note { font-size: 0.8rem; color: var(--fg-muted); margin-top: 0.75rem; text-align: center; }
.booking-note a { color: var(--accent); text-decoration: none; }
.coming-soon-tag {
  font-size: 0.65rem; background: var(--bg-elevated); border: 1px solid var(--border);
  color: var(--fg-muted); padding: 0.15rem 0.4rem; border-radius: 4px; vertical-align: middle;
}

/* ===== AUTH FORMS ===== */
.auth-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 2.5rem; width: 100%; max-width: 440px;
}
.auth-header { margin-bottom: 2rem; }
.auth-header h1 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.auth-subtitle { color: var(--fg-muted); font-size: 0.95rem; }
.auth-form { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1.5rem; }
.auth-switch { text-align: center; font-size: 0.88rem; color: var(--fg-muted); }
.auth-switch a { color: var(--accent); text-decoration: none; }

/* ===== SHARED FORMS ===== */
.form-page-header { margin-bottom: 2rem; }
.form-page-header h1 { font-size: 1.75rem; margin-bottom: 0.4rem; }
.form-page-subtitle { color: var(--fg-muted); }

.card-form {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem;
  display: flex; flex-direction: column; gap: 0;
}
.form-section { padding: 1.5rem 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 1.1rem; }
.form-section:first-child { padding-top: 0; }
.form-section:last-of-type { border-bottom: none; }
.form-section-title { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.form-label { font-size: 0.85rem; font-weight: 600; color: var(--fg); }
.required { color: var(--accent); }
.form-hint { font-size: 0.78rem; color: var(--fg-muted); }
.form-input {
  background: var(--bg-elevated); border: 1px solid var(--border); color: var(--fg);
  font-family: var(--font-body); font-size: 0.95rem; padding: 0.6rem 0.85rem; border-radius: 8px;
  width: 100%;
}
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-textarea { resize: vertical; min-height: 80px; }
select.form-input { cursor: pointer; }

.input-prefix-wrap { position: relative; }
.input-prefix { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--fg-muted); font-size: 0.95rem; pointer-events: none; }
.input-with-prefix { padding-left: 1.75rem; }

.form-actions { display: flex; gap: 0.75rem; justify-content: flex-end; padding-top: 1.5rem; }

/* ===== ALERTS ===== */
.alert { padding: 0.85rem 1rem; border-radius: 8px; font-size: 0.9rem; margin-bottom: 1.25rem; }
.alert-error { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }

/* ===== DASHBOARD ===== */
.dashboard-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  margin-bottom: 2.5rem; flex-wrap: wrap;
}
.dashboard-creator-info { display: flex; align-items: flex-start; gap: 1.25rem; }
.dashboard-name { font-size: 1.5rem; margin-bottom: 0.4rem; }
.dashboard-bio { color: var(--fg-muted); font-size: 0.9rem; margin-top: 0.5rem; max-width: 480px; }

.dashboard-section { }
.section-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }

.dashboard-listings { display: flex; flex-direction: column; gap: 0.75rem; }
.dashboard-listing-row {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.listing-inactive { opacity: 0.55; }
.dashboard-listing-info { flex: 1; min-width: 0; }
.dashboard-listing-title { font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.dashboard-listing-meta { font-size: 0.8rem; color: var(--fg-muted); margin-top: 0.25rem; }
.dashboard-listing-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

.status-badge {
  font-size: 0.68rem; font-weight: 700; padding: 0.18rem 0.5rem; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.05em;
}
.status-active { background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.status-inactive { background: var(--bg-elevated); color: var(--fg-muted); border: 1px solid var(--border); }

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center; padding: 4rem 2rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
}
.empty-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.empty-state p { color: var(--fg-muted); font-size: 0.9rem; }
.empty-state a { color: var(--accent); text-decoration: none; }

/* ===== ERROR PAGE ===== */
.error-page { text-align: center; }
.error-icon { font-size: 3rem; margin-bottom: 1.25rem; }
.error-page h1 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.error-message { color: var(--fg-muted); margin-bottom: 1.5rem; }

/* ===== PAGE HEADER ===== */
.page-header { margin-bottom: 2rem; }
.page-title { font-size: 1.75rem; font-family: var(--font-display); font-weight: 700; margin-bottom: 0.35rem; }
.page-subtitle { color: var(--fg-muted); font-size: 0.95rem; }
.text-muted { color: var(--fg-muted); }

/* ===== BOOKING FLOW — listing page additions ===== */
.booking-notes {
  width: 100%; background: var(--bg-elevated); border: 1px solid var(--border); color: var(--fg);
  font-family: var(--font-body); font-size: 0.88rem; padding: 0.6rem 0.85rem; border-radius: 8px;
  resize: vertical; margin-top: 0.75rem;
}
.booking-notes:focus { outline: none; border-color: var(--accent); }
.escrow-notice {
  font-size: 0.78rem; color: var(--fg-muted); text-align: center; margin-top: 0.75rem;
  padding: 0.5rem; background: var(--bg-elevated); border-radius: 6px;
}
.listing-favorite-count {
  font-size: 0.82rem; color: var(--accent-secondary); margin-bottom: 0.75rem;
  padding: 0.4rem 0.75rem; background: rgba(255,107,157,0.08); border-radius: 6px; text-align: center;
}

/* ===== DEALS LIST ===== */
.deals-list { display: flex; flex-direction: column; gap: 0.75rem; }
.deal-row {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 1rem 1.25rem; display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--fg);
  transition: border-color 0.15s;
}
.deal-row:hover { border-color: var(--accent); }
.deal-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.deal-avatar-placeholder {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 0.95rem; flex-shrink: 0;
}
.deal-info { flex: 1; min-width: 0; }
.deal-title { font-weight: 600; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-meta { font-size: 0.8rem; color: var(--fg-muted); margin-top: 0.15rem; }
.deal-right { text-align: right; flex-shrink: 0; }
.deal-amount { font-family: var(--font-display); font-weight: 700; color: var(--accent); }
.deal-status { font-size: 0.72rem; font-weight: 600; text-transform: capitalize; color: var(--fg-muted); }

/* ===== STATUS PILLS / BADGES ===== */
.status-pill {
  font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 100px; text-transform: capitalize; letter-spacing: 0.03em;
}
.status-pending, .status-pill.status-pending { background: rgba(251,191,36,0.12); color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); }
.status-funds_held, .status-pill.status-funds_held { background: rgba(99,102,241,0.12); color: #818cf8; border: 1px solid rgba(99,102,241,0.3); }
.status-delivered, .status-pill.status-delivered { background: rgba(6,182,212,0.12); color: #22d3ee; border: 1px solid rgba(6,182,212,0.3); }
.status-payment_released, .status-pill.status-payment_released { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.status-disputed, .status-pill.status-disputed { background: rgba(239,68,68,0.12); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }

/* ===== BOOKING CONFIRMATION (success) ===== */
.success-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 2.5rem; text-align: center; margin-top: 2rem;
}
.success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.success-title { font-size: 1.75rem; margin-bottom: 0.5rem; }
.success-subtitle { color: var(--fg-muted); font-size: 0.95rem; margin-bottom: 2rem; }

.booking-summary-box {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px;
  padding: 1.25rem; margin-bottom: 1.5rem; text-align: left;
}
.booking-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.booking-summary-row:last-child { border-bottom: none; }
.summary-label { color: var(--fg-muted); }
.summary-value { font-weight: 600; }
.escrow-badge { color: #818cf8; background: rgba(99,102,241,0.12); padding: 0.15rem 0.5rem; border-radius: 6px; }

.success-steps { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; text-align: left; }
.success-step { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--fg-muted); }
.success-step.active { color: var(--fg); font-weight: 600; }
.step-dot {
  width: 28px; height: 28px; border-radius: 50%; background: var(--bg-elevated); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0;
}
.success-step.active .step-dot { background: var(--accent-glow); border-color: var(--accent); color: var(--accent); }
.success-actions { display: flex; flex-direction: column; gap: 0.5rem; }

/* ===== BOOKING DETAIL ===== */
.booking-detail { margin-top: 1.5rem; }
.booking-detail-header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  margin-bottom: 2rem; flex-wrap: wrap;
}
.booking-detail-title { font-size: 1.5rem; font-family: var(--font-display); font-weight: 700; margin-bottom: 0.35rem; }
.booking-detail-meta { font-size: 0.88rem; color: var(--fg-muted); }
.booking-status-badge {
  font-size: 0.8rem; font-weight: 700; padding: 0.35rem 0.85rem; border-radius: 100px; text-transform: capitalize; white-space: nowrap;
}

/* Escrow timeline */
.escrow-timeline {
  display: flex; align-items: center; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.5rem; margin-bottom: 2rem; overflow-x: auto;
}
.timeline-step { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; min-width: 80px; flex: 1; }
.tl-icon { font-size: 1.4rem; }
.tl-label { font-size: 0.72rem; color: var(--fg-muted); text-align: center; font-weight: 600; }
.timeline-step.done .tl-label { color: var(--fg); }
.timeline-step.done .tl-icon { filter: none; }
.timeline-step.flagged .tl-label { color: #f87171; }
.timeline-connector { flex: 0 0 2rem; height: 2px; background: var(--border); }
.timeline-step.done ~ .timeline-connector { background: var(--accent); }

/* Deal details grid */
.deal-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 600px) { .deal-details-grid { grid-template-columns: 1fr; } }

.deal-details-box, .deal-actions-box {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem;
}
.details-box-title { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.details-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.details-row:last-child { border-bottom: none; }
.details-row span:first-child { color: var(--fg-muted); }
.details-notes { align-items: flex-start; }
.details-notes span:last-child { font-size: 0.84rem; color: var(--fg-muted); text-align: right; max-width: 60%; }

.action-hint { font-size: 0.88rem; color: var(--fg-muted); margin-bottom: 0.75rem; }
.action-complete { text-align: center; padding: 1rem 0; }
.action-complete-icon { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }
.action-complete p { color: var(--fg-muted); font-size: 0.9rem; }
.action-disputed { text-align: center; padding: 0.75rem 0; }
.action-disputed-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.action-disputed p { font-size: 0.88rem; color: var(--fg-muted); }
.dispute-reason-text { font-style: italic; color: var(--fg); font-size: 0.85rem; margin-top: 0.5rem; }

/* ===== PERFORMANCE DASHBOARD ===== */
.perf-section { margin-bottom: 3rem; }
.perf-section-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }
.perf-seller { border-top: 1px solid var(--border); padding-top: 2rem; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.25rem; text-align: center;
}
.stat-card-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--accent); }
.stat-card-label { font-size: 0.78rem; color: var(--fg-muted); margin-top: 0.25rem; }

.platform-breakdown { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; }
.breakdown-title { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.breakdown-bars { display: flex; flex-direction: column; gap: 0.85rem; }
.breakdown-row { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; }
.breakdown-label { min-width: 80px; color: var(--fg-muted); text-transform: capitalize; }
.breakdown-bar-wrap { flex: 1; height: 6px; background: var(--bg-elevated); border-radius: 100px; overflow: hidden; }
.breakdown-bar { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-secondary)); border-radius: 100px; min-width: 4px; transition: width 0.4s ease; }
.breakdown-value { min-width: 120px; color: var(--fg-muted); text-align: right; }

.perf-table { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.perf-table-header {
  display: grid; grid-template-columns: 1fr 1.5fr 0.75fr 0.75fr 1fr 0.75fr;
  padding: 0.75rem 1.25rem; background: var(--bg-elevated);
  font-size: 0.72rem; font-weight: 700; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.06em;
}
.perf-table-row {
  display: grid; grid-template-columns: 1fr 1.5fr 0.75fr 0.75fr 1fr 0.75fr;
  padding: 0.85rem 1.25rem; border-top: 1px solid var(--border);
  font-size: 0.85rem; text-decoration: none; color: var(--fg); transition: background 0.1s;
  align-items: center;
}
.perf-table-row:hover { background: var(--bg-elevated); }

.fav-chips { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.fav-chip {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  padding: 0.65rem 1rem; text-decoration: none; color: var(--fg);
  transition: border-color 0.15s;
}
.fav-chip:hover { border-color: var(--accent-secondary); }
.fav-chip-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 0.85rem; flex-shrink: 0;
}
.fav-chip-name { font-weight: 600; font-size: 0.88rem; }
.fav-chip-meta { font-size: 0.75rem; color: var(--fg-muted); text-transform: capitalize; }

.empty-mini { color: var(--fg-muted); font-size: 0.9rem; padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; }
.empty-mini a { color: var(--accent); text-decoration: none; }

/* ===== FAVORITES PAGE ===== */
.favorites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.fav-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem;
  transition: border-color 0.15s;
}
.fav-card:hover { border-color: var(--accent-secondary); }
.fav-card-header { display: flex; align-items: flex-start; gap: 0.85rem; }
.fav-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.fav-avatar-placeholder {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.1rem; flex-shrink: 0;
}
.fav-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 0.4rem; }
.fav-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.3rem; }
.fav-bio { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.55; flex: 1; }
.fav-actions { display: flex; gap: 0.5rem; margin-top: auto; }
.fav-since { font-size: 0.75rem; color: var(--fg-muted); }

/* ===== DASHBOARD STATS ROW ===== */
.dashboard-stats-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem;
}
.dash-stat-pill {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 100px;
  padding: 0.4rem 1rem; font-size: 0.88rem; color: var(--fg-muted);
}
.dash-stat-pill strong { color: var(--fg); }
.pending-pill { border-color: rgba(251,191,36,0.3); color: #fbbf24; }
.pending-pill strong { color: #fbbf24; }

.section-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.section-title-row .section-title { margin-bottom: 0; }
