/* ============================================================
   style.css — FattahSpinNation Marketplace
   Dark, premium cyberpunk-lite aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --bg-base:      #090a0c;
  --bg-surface:   #0f1014;
  --bg-card:      #13151a;
  --bg-elevated:  #1a1d24;
  --bg-hover:     #1f232e;

  --accent:       #ff3b3b;
  --accent-dim:   #cc2020;
  --accent-glow:  rgba(255,59,59,.18);
  --accent2:      #3b8eff;
  --accent2-glow: rgba(59,142,255,.15);
  --success:      #00e676;
  --warning:      #ffab00;
  --danger:       #ff4444;
  --purple:       #a855f7;

  --text-primary:   #eceef2;
  --text-secondary: #8892a4;
  --text-muted:     #4a5568;

  --border:       rgba(255,255,255,.06);
  --border-accent: rgba(255,59,59,.35);
  --border-blue:   rgba(59,142,255,.3);

  --radius-sm:    6px;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  --shadow:       0 4px 24px rgba(0,0,0,.6);
  --shadow-accent: 0 0 28px rgba(255,59,59,.18);

  --font-display: 'Rajdhani', sans-serif;
  --font-body:    'Inter', sans-serif;
  --transition:   .2s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }
input, textarea, select {
  font-family: var(--font-body);
  color: var(--text-primary);
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .03em;
}

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9,11,16,.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.navbar-brand {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--text-primary);
  display: flex; align-items: center; gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.navbar-brand span { color: var(--accent); }
/* nav-links hidden — navigation moved to user dropdown */
.nav-links { display: none !important; }
.nav-links a {
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text-primary); background: var(--bg-elevated); }
.nav-links a.active { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-search {
  display: flex; align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  gap: 8px;
  flex: 1; max-width: 300px;
}
.nav-search input {
  background: none; border: none; outline: none;
  color: var(--text-primary); font-size: 14px;
  padding: 8px 0; width: 100%;
}
.nav-search input::placeholder { color: var(--text-muted); }
.nav-search-icon { color: var(--text-muted); font-size: 16px; }
.hamburger { display: none; background: none; border: none; color: var(--text-primary); font-size: 22px; }

/* Mobile user dropdown menu */
.mobile-menu-dropdown {
  display: none;
  position: fixed;
  top: 56px; left: 0; right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 12px 12px;
  z-index: 99;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
  animation: dropIn .15s ease;
}
.mobile-menu-dropdown.open { display: block; }
.mobile-menu-section {
  display: flex; flex-direction: column; gap: 2px;
  margin-bottom: 8px;
}
.mobile-menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; transition: var(--transition); cursor: pointer;
  border: none; background: none; width: 100%; text-align: left;
}
.mobile-menu-item:hover { background: var(--bg-elevated); color: var(--text-primary); }
.mobile-menu-item.danger { color: var(--danger); }
.mobile-menu-item.danger:hover { background: rgba(255,68,68,.08); }
.mobile-menu-divider { border: none; border-top: 1px solid var(--border); margin: 6px 0; }
.mobile-menu-user-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; margin-bottom: 4px;
}
.mobile-menu-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--accent);
  flex-shrink: 0; overflow: hidden;
}
.mobile-menu-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mobile-menu-username { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.mobile-menu-role { font-size: 11px; color: var(--text-muted); }

/* Mobile search bar below navbar */
/* mobile-search-bar removed — search moved to above products */
.mobile-search-bar {
  display: none;
  padding: 8px 14px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 56px; z-index: 98;
  align-items: center;
}
.mobile-search-bar .nav-search {
  display: flex !important;
  max-width: 100%; flex: 1;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500;
  border: none; outline: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: var(--bg-base);
}
.btn-primary:hover { background: #00b8d9; box-shadow: 0 0 16px var(--accent-glow); }
.btn-secondary {
  background: var(--bg-elevated); color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-hover); border-color: var(--accent-dim); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #cc3333; }
.btn-success { background: var(--success); color: var(--bg-base); }
.btn-ghost {
  background: transparent; color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--text-secondary); }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 12px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn-icon { width: 36px; height: 36px; padding: 0; border-radius: var(--radius-sm); background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-secondary); font-size: 16px; }
.btn-icon:hover { color: var(--text-primary); border-color: var(--accent-dim); }

/* ── Forms ────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: 13px; font-weight: 500; color: var(--text-secondary); }
.form-control {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 14px;
  font-size: 14px; color: var(--text-primary); outline: none;
  transition: var(--transition);
  width: 100%;
}
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }
.form-hint { font-size: 12px; color: var(--text-muted); }
.form-error { font-size: 12px; color: var(--danger); }
.input-group { position: relative; }
.input-group .form-control { padding-right: 44px; }
.input-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 16px; cursor: pointer; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { border-color: rgba(0,212,255,.15); }
.card-header { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.card-body { padding: 24px; }
.card-footer { padding: 16px 24px; border-top: 1px solid var(--border); background: var(--bg-surface); }

/* ── Product Card ─────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent);
}
.product-card-img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  background: var(--bg-elevated);
}
.product-card-img-placeholder {
  aspect-ratio: 4/3; width: 100%;
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--text-muted);
}
.product-card-body { padding: 14px; }
.product-card-category {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent); margin-bottom: 4px;
}
.product-card-name {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  margin-bottom: 4px; color: var(--text-primary);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-seller { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.product-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-top: 1px solid var(--border);
  background: var(--bg-surface);
}
.product-price { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--accent); }
.product-stock-badge {
  font-size: 11px; padding: 2px 8px; border-radius: 99px;
}
.stock-ok { background: rgba(0,230,118,.12); color: var(--success); }
.stock-low { background: rgba(255,171,0,.12); color: var(--warning); }
.stock-out { background: rgba(255,68,68,.12); color: var(--danger); }
.product-rating { display: flex; align-items: center; gap: 3px; font-size: 12px; color: var(--warning); }
.product-fav-btn {
  position: absolute; top: 10px; right: 10px;
  background: rgba(9,11,16,.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; cursor: pointer; transition: var(--transition);
}
.product-fav-btn:hover { border-color: var(--danger); }
.product-fav-btn.active { color: var(--danger); border-color: var(--danger); }

/* ── Badge / Tag ──────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 99px;
  font-size: 11px; font-weight: 600;
}
.badge-admin   { background: rgba(168,85,247,.15); color: var(--purple); }
.badge-seller  { background: rgba(0,212,255,.12); color: var(--accent); }
.badge-member  { background: rgba(255,255,255,.06); color: var(--text-secondary); }
.badge-success { background: rgba(0,230,118,.12); color: var(--success); }
.badge-warning { background: rgba(255,171,0,.12); color: var(--warning); }
.badge-danger  { background: rgba(255,68,68,.12); color: var(--danger); }
.badge-info    { background: rgba(0,212,255,.12); color: var(--accent); }

/* ── Status Chip ──────────────────────────────────────────── */
.status-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 99px;
  font-size: 12px; font-weight: 500;
}

/* ── Auth Pages ───────────────────────────────────────────── */
.auth-wrapper {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(0,212,255,.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(168,85,247,.06) 0%, transparent 50%),
    var(--bg-base);
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
}
.auth-logo {
  text-align: center; margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
}
.auth-logo span { color: var(--accent); }
.auth-title { font-size: 24px; margin-bottom: 6px; }
.auth-subtitle { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--text-muted); font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.auth-switch { text-align: center; font-size: 14px; color: var(--text-muted); margin-top: 20px; }
.auth-switch a { color: var(--accent); font-weight: 500; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(0,212,255,.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(168,85,247,.07) 0%, transparent 50%);
  pointer-events: none;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 99px;
  background: rgba(0,212,255,.08); border: 1px solid var(--border-accent);
  font-size: 12px; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 20px;
}
.hero-title { font-size: clamp(36px, 6vw, 64px); margin-bottom: 16px; }
.hero-title span { color: var(--accent); }
.hero-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 560px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; justify-content: center; gap: 40px;
  margin-top: 48px; flex-wrap: wrap;
}
.hero-stat-number {
  font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--accent);
}
.hero-stat-label { font-size: 13px; color: var(--text-muted); }

/* ── Section ──────────────────────────────────────────────── */
.section { padding: 60px 0; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; flex-wrap: wrap; gap: 12px;
}
.section-title { font-size: 24px; }
.section-title span { color: var(--accent); }

/* ── Filter Bar ───────────────────────────────────────────── */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-chip {
  padding: 6px 16px; border-radius: 99px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  cursor: pointer; transition: var(--transition);
  white-space: nowrap;
}
.filter-chip:hover { color: var(--text-primary); border-color: var(--text-secondary); }
.filter-chip.active {
  background: rgba(0,212,255,.1); border-color: var(--accent); color: var(--accent);
}

/* ── Chat ─────────────────────────────────────────────────── */
.chat-wrapper {
  height: calc(100vh - 200px);
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.chat-header {
  padding: 16px 20px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.chat-messages {
  flex: 1; overflow-y: auto;
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.chat-bubble {
  display: flex; gap: 8px; max-width: 75%;
}
.chat-bubble.own { flex-direction: row-reverse; margin-left: auto; }
.chat-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; flex-shrink: 0;
  overflow: hidden;
}
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-msg-content { display: flex; flex-direction: column; gap: 3px; }
.chat-msg-name { font-size: 11px; color: var(--text-muted); }
.chat-msg-name .badge { font-size: 10px; padding: 1px 5px; }
.chat-msg-bubble {
  background: var(--bg-elevated); padding: 10px 14px;
  border-radius: 12px 12px 12px 4px;
  font-size: 14px; line-height: 1.5;
  border: 1px solid var(--border);
  word-break: break-word;
}
.chat-bubble.own .chat-msg-bubble {
  background: rgba(0,212,255,.12);
  border-color: var(--border-accent);
  border-radius: 12px 12px 4px 12px;
}
.chat-msg-time { font-size: 10px; color: var(--text-muted); }
.chat-img-preview { max-width: 240px; border-radius: var(--radius-sm); cursor: pointer; }
.chat-footer {
  padding: 12px 16px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  display: flex; gap: 8px; align-items: flex-end;
}
.chat-input-area {
  flex: 1; background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 14px; color: var(--text-primary);
  resize: none; max-height: 120px;
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition);
}
.chat-input-area:focus { border-color: var(--accent); }
.chat-typing-indicator {
  font-size: 12px; color: var(--text-muted);
  font-style: italic; padding: 0 20px 4px;
  min-height: 20px;
}
.chat-system-msg {
  text-align: center; padding: 6px 16px;
  font-size: 12px; color: var(--text-muted);
  background: var(--bg-surface);
  border-radius: 99px; margin: 4px auto;
  max-width: 80%;
}

/* ── Profile ──────────────────────────────────────────────── */
.profile-banner {
  height: 220px;
  background:
    linear-gradient(135deg, rgba(0,212,255,.12) 0%, rgba(168,85,247,.08) 100%),
    var(--bg-elevated);
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.profile-avatar-wrap {
  position: absolute; bottom: -44px; left: 32px;
}
.profile-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  border: 4px solid var(--bg-base);
  background: var(--bg-elevated);
  overflow: hidden; object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--text-muted);
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-info { padding: 60px 32px 24px; }
.profile-name { font-size: 24px; font-weight: 700; }
.profile-username { font-size: 14px; color: var(--text-secondary); }
.profile-bio { font-size: 14px; color: var(--text-secondary); margin: 8px 0; }
.profile-online { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; }
.online-dot.online { background: var(--success); box-shadow: 0 0 6px var(--success); }
.online-dot.offline { background: var(--text-muted); }
.profile-stats {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px;
  margin-top: 20px;
}
.profile-stat {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px; text-align: center;
}
.profile-stat-num { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--accent); }
.profile-stat-label { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ── Order Timeline ───────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: flex; gap: 14px; position: relative; }
.timeline-item:not(:last-child) .timeline-line {
  position: absolute; left: 15px; top: 30px; bottom: -8px;
  width: 2px; background: var(--border);
}
.timeline-dot {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  background: var(--bg-elevated); border: 2px solid var(--border);
  position: relative; z-index: 1;
}
.timeline-dot.done { background: rgba(0,212,255,.15); border-color: var(--accent); }
.timeline-content { padding-bottom: 20px; }
.timeline-label { font-size: 14px; font-weight: 500; }
.timeline-time { font-size: 12px; color: var(--text-muted); }

/* ── Admin Dashboard ──────────────────────────────────────── */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
}
.stat-card-icon { font-size: 28px; margin-bottom: 10px; }
.stat-card-num {
  font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--text-primary);
}
.stat-card-label { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.stat-card-accent .stat-card-num { color: var(--accent); }
.stat-card-success .stat-card-num { color: var(--success); }
.stat-card-warning .stat-card-num { color: var(--warning); }

/* ── Table ────────────────────────────────────────────────── */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th {
  text-align: left; padding: 10px 14px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody td { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.04); }
tbody tr:hover { background: var(--bg-surface); }
tbody tr:last-child td { border-bottom: none; }

/* ── Modal ────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); width: 100%; max-width: 500px;
  max-height: 90vh; overflow-y: auto;
  transform: scale(.96); transition: var(--transition);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-title { font-size: 18px; font-weight: 700; }
.modal-close {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: var(--bg-elevated); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
}
.modal-close:hover { color: var(--text-primary); border-color: var(--danger); }
.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px; border-top: 1px solid var(--border);
  display: flex; gap: 10px; justify-content: flex-end;
}

/* ── Toast ────────────────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 20px; right: 20px; z-index: 999;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  box-shadow: var(--shadow);
  min-width: 260px; max-width: 360px;
  pointer-events: all;
  animation: toastIn .25s ease;
  transition: var(--transition);
}
.toast.success { border-color: rgba(0,230,118,.3); }
.toast.error { border-color: rgba(255,68,68,.3); }
.toast.warning { border-color: rgba(255,171,0,.3); }
.toast-icon { font-size: 18px; }
.toast-msg { flex: 1; }
.toast-close { background: none; border: none; color: var(--text-muted); font-size: 16px; cursor: pointer; }
@keyframes toastIn { from { transform: translateX(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ── Skeleton Loader ──────────────────────────────────────── */
.skeleton { background: var(--bg-elevated); border-radius: var(--radius-sm); animation: shimmer 1.5s infinite; }
@keyframes shimmer {
  0% { opacity: .6; } 50% { opacity: 1; } 100% { opacity: .6; }
}
.skeleton-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.skeleton-img { aspect-ratio: 4/3; background: var(--bg-elevated); animation: shimmer 1.5s infinite; }
.skeleton-line { height: 12px; background: var(--bg-elevated); border-radius: 99px; margin: 8px 0; animation: shimmer 1.5s infinite; }

/* ── Empty State ──────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state-icon { font-size: 48px; margin-bottom: 12px; opacity: .5; }
.empty-state-title { font-size: 18px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.empty-state-sub { font-size: 14px; }

/* ── Tabs ─────────────────────────────────────────────────── */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.tab-btn {
  padding: 10px 20px; font-size: 14px; font-weight: 500;
  color: var(--text-muted); background: none; border: none;
  border-bottom: 2px solid transparent; cursor: pointer;
  transition: var(--transition); margin-bottom: -1px;
}
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── Alert ────────────────────────────────────────────────── */
.alert {
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 14px; display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 16px;
}
.alert-info { background: rgba(0,212,255,.08); border: 1px solid rgba(0,212,255,.2); color: var(--accent); }
.alert-success { background: rgba(0,230,118,.08); border: 1px solid rgba(0,230,118,.2); color: var(--success); }
.alert-warning { background: rgba(255,171,0,.08); border: 1px solid rgba(255,171,0,.2); color: var(--warning); }
.alert-danger { background: rgba(255,68,68,.08); border: 1px solid rgba(255,68,68,.2); color: var(--danger); }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 40px 20px 24px;
  margin-top: 60px;
}
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px;
  margin-bottom: 32px;
}
.footer-brand-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 8px;
}
.footer-brand-title span { color: var(--accent); }
.footer-brand-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.footer-heading { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: var(--text-secondary); transition: var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted); flex-wrap: wrap; gap: 8px;
}

/* ── Sort Bar ─────────────────────────────────────────────── */
.sort-bar {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 20px;
}
.sort-bar label { font-size: 13px; color: var(--text-muted); }
.sort-select {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 6px 12px;
  font-size: 13px; color: var(--text-primary); outline: none; cursor: pointer;
}

/* ── Market Search Bar (above products) ────────────────────── */
.market-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 14px;
  height: 48px;
  margin-bottom: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.market-search-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,255,.08);
}
.market-search-icon {
  font-size: 18px;
  flex-shrink: 0;
  opacity: .6;
}
.market-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-body);
}
.market-search-input::placeholder { color: var(--text-muted); }
.market-search-clear {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.market-search-clear:hover {
  color: var(--text-primary);
  background: var(--bg-elevated);
}
@media (max-width: 768px) {
  .market-search-wrap {
    height: 44px;
    padding: 0 12px;
    margin-bottom: 12px;
  }
  .market-search-input { font-size: 14px; }
}

/* ── Spinner ──────────────────────────────────────────────── */
.spinner {
  display: inline-block; width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spinner-lg { width: 40px; height: 40px; border-width: 3px; }

/* ── Pagination / Load More ───────────────────────────────── */
.load-more-wrap { display: flex; justify-content: center; margin-top: 32px; }

/* ── Image Lightbox ───────────────────────────────────────── */
#lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.9);
  display: none; align-items: center; justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); }
#lightbox-close {
  position: absolute; top: 20px; right: 20px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 50%; width: 40px; height: 40px;
  font-size: 20px; color: var(--text-primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

/* ── Image Error Fallback ─────────────────────────────────── */
.product-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  background: var(--bg-elevated);
  /* Hapus referrer supaya gambar external bisa load */
}
img { referrerpolicy: no-referrer; }

/* ── Responsive ───────────────────────────────────────────── */

/* ── Tablet (≤ 900px) ─────────────────────────────────────── */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
}

/* ── Mobile (≤ 768px) ─────────────────────────────────────── */
@media (max-width: 768px) {

  /* ── Base ── */
  .container { padding: 0 14px; }

  /* ── Navbar ── */
  .navbar { padding: 0 14px; height: 56px; gap: 8px; }
  .navbar-brand { font-size: 18px; }
  /* Hide desktop nav links & search on mobile */
  .nav-links { display: none !important; }
  .nav-search { display: none !important; }
  /* Hide username text, keep only avatar */
  .nav-username-text { display: none !important; }
  /* Show hamburger */
  .hamburger { display: flex; }
  .nav-actions { gap: 6px; }
  /* Show mobile search bar below navbar */
  /* mobile-search-bar removed — search moved to above products */
.mobile-search-bar { display: flex; }

  /* ── Avatar chip mobile: bersih, tanpa border, langsung ke profil ── */
  #userMenuBtn, #userMenuWrap > div:first-child {
    border: none !important;
    background: transparent !important;
    padding: 2px !important;
    gap: 0 !important;
  }
  #navAvatarSmall {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    cursor: pointer;
  }
  /* Blok dropdown user agar tidak pernah muncul di mobile */
  #userMenu { display: none !important; }

  /* ── Auth ── */
  .auth-wrapper { padding: 14px; align-items: flex-start; padding-top: 30px; }
  .auth-card { padding: 24px 20px; border-radius: var(--radius-lg); }
  .auth-title { font-size: 20px; }
  .auth-logo { font-size: 24px; margin-bottom: 20px; }

  /* ── Hero ── */
  .hero { padding: 44px 0 32px; }
  .hero-title { font-size: clamp(28px, 8vw, 44px); }
  .hero-subtitle { font-size: 14px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stat-number { font-size: 22px; }
  .hero-cta { gap: 8px; }
  .hero-cta .btn { padding: 10px 18px; font-size: 14px; }

  /* ── Product Grid ── */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card-body { padding: 10px; }
  .product-card-name { font-size: 13px; }
  .product-price { font-size: 14px; }
  .product-card-footer { padding: 8px 10px; }

  /* ── Section ── */
  .section { padding: 32px 0; }
  .section-header { margin-bottom: 16px; }
  .section-title { font-size: 20px; }

  /* ── Filter bar ── */
  .filter-bar { gap: 6px; }
  .filter-chip { padding: 5px 12px; font-size: 12px; }

  /* ── Sort bar ── */
  .sort-bar { gap: 8px; }

  /* ── Profile ── */
  .profile-banner { height: 140px; }
  .profile-avatar-wrap { left: 16px; bottom: -36px; }
  .profile-avatar { width: 72px; height: 72px; font-size: 26px; }
  .profile-info { padding: 48px 16px 18px; }
  .profile-name { font-size: 20px; }
  .profile-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .profile-stat { padding: 10px; }
  .profile-stat-num { font-size: 18px; }
  .profile-stat-label { font-size: 10px; }

  /* ── Stats grid (admin) ── */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 14px; }
  .stat-card-num { font-size: 22px; }

  /* ── Chat wrapper ── */
  .chat-wrapper {
    height: calc(100dvh - 120px);
    border-radius: var(--radius);
    border-left: none; border-right: none; border-radius: 0;
  }
  .chat-header { padding: 10px 14px; gap: 8px; }
  .chat-messages { padding: 12px; gap: 10px; }
  .chat-bubble { max-width: 88%; }
  .chat-msg-bubble { font-size: 13px; padding: 8px 11px; }
  .chat-footer { padding: 8px 10px; gap: 6px; }
  .chat-input-area { font-size: 13px; padding: 7px 10px; }
  .chat-img-preview { max-width: 180px; }

  /* ── Order page layout ── */
  .order-layout {
    flex-direction: column !important;
    gap: 14px !important;
  }
  .order-chat-col {
    width: 100% !important;
    min-width: 0 !important;
  }
  .order-info-col {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* ── Cards ── */
  .card-header { padding: 14px 16px; }
  .card-body { padding: 16px; }
  .card-footer { padding: 12px 16px; }

  /* ── Modal ── */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 92vh;
    max-width: 100%;
    width: 100%;
  }
  .modal-header { padding: 16px 18px; }
  .modal-body { padding: 18px; }
  .modal-footer { padding: 14px 18px; flex-wrap: wrap; }
  .modal-footer .btn { flex: 1; min-width: 120px; }

  /* ── Tabs ── */
  .tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab-btn { padding: 10px 14px; font-size: 13px; white-space: nowrap; }

  /* ── Table ── */
  .table-wrapper { -webkit-overflow-scrolling: touch; }
  table { font-size: 13px; }
  thead th { padding: 8px 10px; font-size: 10px; }
  tbody td { padding: 10px 10px; }

  /* ── Timeline ── */
  .timeline-label { font-size: 13px; }

  /* ── Buttons ── */
  .btn-lg { padding: 11px 22px; font-size: 15px; }

  /* ── Toast ── */
  .toast-container { bottom: 14px; right: 10px; left: 10px; }
  .toast { min-width: 0; max-width: 100%; font-size: 13px; }

  /* ── Notif dropdown ── */
  /* Handled via JS in notifications.js toggle */
  #notifList { max-height: 55vh; }

  /* ── Admin page extra ── */
  .admin-tabs-row { flex-direction: column !important; align-items: stretch !important; }
}

/* ── Small Mobile (≤ 480px) ──────────────────────────────── */
@media (max-width: 480px) {
  /* ── Base ── */
  .container { padding: 0 12px; }

  /* ── Navbar ── */
  .navbar { height: 52px; padding: 0 10px; }
  .navbar-brand { font-size: 15px; }
  /* mobile-search-bar removed — search moved to above products */
.mobile-search-bar { top: 52px; padding: 6px 10px; }

  /* ── Products ── */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card-name { font-size: 12px; }
  .product-price { font-size: 13px; }
  .product-card-body { padding: 8px; }
  .product-card-footer { padding: 6px 8px; }
  .product-card-category { font-size: 10px; }
  .product-card-seller { font-size: 11px; }
  .product-card-img-placeholder { font-size: 32px; }
  .product-fav-btn { width: 28px; height: 28px; font-size: 13px; top: 6px; right: 6px; }

  /* ── Auth ── */
  .auth-card { padding: 20px 16px; }
  .auth-title { font-size: 18px; }

  /* ── Profile ── */
  .profile-stats { grid-template-columns: repeat(2, 1fr); }
  .profile-info { padding: 46px 14px 16px; }

  /* ── Stats grid ── */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat-card { padding: 12px; }
  .stat-card-num { font-size: 20px; }
  .stat-card-icon { font-size: 22px; }

  /* ── Chat ── */
  .chat-wrapper { height: calc(100dvh - 108px); }
  .chat-bubble { max-width: 92%; }
  .chat-avatar { width: 26px; height: 26px; font-size: 11px; }
  .chat-footer { padding: 6px 8px; gap: 5px; }
  .chat-header { padding: 8px 12px; }

  /* ── Buttons ── */
  .btn { font-size: 13px; padding: 8px 14px; }
  .btn-sm { padding: 5px 10px; font-size: 11px; }
  .btn-lg { padding: 10px 18px; font-size: 14px; }

  /* ── Hero ── */
  .hero { padding: 30px 0 24px; }
  .hero-stats { gap: 16px; }
  .hero-stat-number { font-size: 20px; }
  .hero-stat-label { font-size: 11px; }

  /* ── Section ── */
  .section { padding: 24px 0; }

  /* ── Cards ── */
  .card-body { padding: 12px; }
  .card-header { padding: 12px 14px; }

  /* ── Tabs ── */
  .tab-btn { padding: 8px 12px; font-size: 12px; }

  /* ── Table ── */
  table { font-size: 12px; }
  thead th { padding: 6px 8px; }
  tbody td { padding: 8px 8px; }

  /* ── Modal full screen on tiny phones ── */
  .modal-overlay { padding: 0; }
  .modal { border-radius: 0; max-height: 100vh; border: none; }

  /* ── Toast ── */
  .toast-container { bottom: 0; right: 0; left: 0; padding: 0 0 8px; }
  .toast { border-radius: var(--radius) var(--radius) 0 0; }

  /* ── Footer ── */
  .footer { padding: 28px 14px 20px; margin-top: 40px; }
  .footer-bottom { font-size: 11px; flex-direction: column; gap: 4px; text-align: center; }
}

/* ── Tiny (≤ 360px) ──────────────────────────────────────── */
@media (max-width: 360px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .navbar-brand { font-size: 14px; }
  .auth-card { padding: 16px 12px; border-radius: var(--radius); }
  .hero-title { font-size: 24px; }
  .chat-bubble { max-width: 96%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   NOTIFICATION SYSTEM
   ============================================================ */

.notif-bell-wrap {
  position: relative;
  display: none;
}
.notif-bell-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px;
  transition: var(--transition);
  position: relative;
}
.notif-bell-btn:hover { background: var(--bg-elevated); }

#notifBadge {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 18px; height: 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 99px;
  font-size: 10px; font-weight: 700;
  display: none;
  align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg-base);
  animation: badgePop .3s cubic-bezier(.34,1.56,.64,1);
  z-index: 1;
}
@keyframes badgePop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}
/* ── Notification Dropdown ───────────────────────────────── */
#notifDropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px); right: 0;
  width: 360px;
  max-width: calc(100vw - 24px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  z-index: 9999;
  animation: dropIn .15s ease;
  overflow: hidden;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
#notifDropdown.open { display: block; }

/* On mobile: full-width panel anchored from top */
@media (max-width: 768px) {
  #notifDropdown {
    position: fixed;
    top: 60px;
    left: 8px;
    right: 8px;
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
}

.notif-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: var(--bg-card);
  z-index: 1;
}
.notif-header-title { font-weight: 600; font-size: 14px; color: var(--text-primary); }
.notif-mark-all {
  font-size: 12px; color: var(--accent2);
  cursor: pointer; background: none; border: none; padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.notif-mark-all:hover { background: var(--bg-elevated); }
#notifList {
  max-height: 420px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media (max-width: 768px) {
  #notifList { max-height: none; }
}
.notif-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
  position: relative;
  min-width: 0;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--bg-elevated); }
.notif-item.unread { background: rgba(59,142,255,.05); border-left: 3px solid var(--accent2); }
.notif-icon {
  font-size: 16px; flex-shrink: 0;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
}
.notif-content { flex: 1; min-width: 0; overflow: hidden; }
.notif-title {
  font-size: 13px; font-weight: 600; color: var(--text-primary);
  word-break: break-word;
  line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.notif-body {
  font-size: 12px; color: var(--text-secondary); margin-top: 3px;
  word-break: break-word;
  line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.notif-time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.notif-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent2); flex-shrink: 0; margin-top: 6px;
}

/* ── Follow Modal Responsive ─────────────────────────────── */
@media (max-width: 768px) {
  .follow-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .follow-modal {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-width: 100%;
    max-height: 80vh;
  }
  .follow-user-item {
    padding: 11px 16px;
  }
  .follow-avatar {
    width: 36px; height: 36px; font-size: 14px;
  }
}
@media (max-width: 480px) {
  .follow-modal-overlay {
    padding: 0;
  }
  .follow-modal {
    max-height: 75vh;
  }
}