﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   InsideCampus â€” Universal Design System
   Covers: layout, typography, header, footer, forms, buttons, cards,
   badges, alerts, listings, admin base, responsive.
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Custom Properties â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
  /* Brand */
  --pri: #1A56DB;  --pri-dk: #1140A0;  --pri-lt: #EBF5FF;  --pri-mid: #3b6fe0;
  --grn: #0E9F6E;  --grn-lt: #E3FCEF;
  --org: #FF5A1F;  --org-lt: #FFF3EE;
  --pur: #7E3AF2;  --pur-lt: #F5F3FF;
  --amb: #F59E0B;  --amb-lt: #FFFBEB;
  --red: #EF4444;  --red-lt: #FEF2F2;
  --sky: #0EA5E9;  --sky-lt: #F0F9FF;

  /* Neutral */
  --txt: #111928;  --muted: #6B7280;  --lite: #9CA3AF;
  --bdr: #E5E7EB;  --bdr-lt: #F3F4F6;
  --bg: #F4F5F7;   --card: #fff;      --surf: #F3F4F6;

  /* Shadow */
  --sh0: 0 1px 3px rgba(16,24,40,.06);
  --sh1: 0 4px 14px rgba(16,24,40,.07);
  --sh2: 0 12px 32px rgba(16,24,40,.12);
  --sh3: 0 24px 60px rgba(16,24,40,.16);

  /* Typography */
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1320px;
  --hh: 58px;
  --str: 32px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --txt: #F3F4F6;
  --muted: #A7B0BE;
  --lite: #7D8795;
  --bdr: #344054;
  --bdr-lt: #273244;
  --bg: #111827;
  --card: #182234;
  --surf: #222E42;
  --pri-lt: #172A52;
  --grn-lt: #123A30;
  --org-lt: #40251D;
  --pur-lt: #2D2450;
  --amb-lt: #3F3217;
  --red-lt: #421F25;
  --sky-lt: #163344;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="system"] {
    color-scheme: dark;
    --txt: #F3F4F6;
    --muted: #A7B0BE;
    --lite: #7D8795;
    --bdr: #344054;
    --bdr-lt: #273244;
    --bg: #111827;
    --card: #182234;
    --surf: #222E42;
    --pri-lt: #172A52;
    --grn-lt: #123A30;
    --org-lt: #40251D;
    --pur-lt: #2D2450;
    --amb-lt: #3F3217;
    --red-lt: #421F25;
    --sky-lt: #163344;
  }
}

/* â”€â”€ Reset â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 14px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--txt);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
/* Defensive: keep media + words from bursting their container at small widths */
img, video, svg { max-width: 100%; height: auto; }
.pp-shell, .pulse-composer, .pp-post, .xd-col { min-width: 0; }
/* Phone-only safety net: anything that slips through the responsive rules
 * gets clipped instead of forcing a horizontal scrollbar on the whole page. */
@media (max-width: 600px) {
  html, body { overflow-x: clip; }
  .pp-shell > * { min-width: 0; max-width: 100%; }
  .pp-post, .pulse-composer, .pp-ctrl, .pp-hero-inner { max-width: 100%; }
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, video { display: block; max-width: 100%; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--pri); color: #fff; }
ul { list-style: none; }

/* â”€â”€ Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.wrap   { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.shell  { max-width: var(--maxw); margin: 0 auto; padding: 22px 24px 60px; box-sizing: border-box; }
@media (max-width: 480px) {
  .wrap, .shell { padding-left: 10px; padding-right: 10px; }
  .strip { font-size: 11.5px; }
  .strip .wrap { gap: 8px; }
  .strip-r { gap: 10px; }
  .hbar { gap: 8px; }
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.flex   { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

/* â”€â”€ Typography â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sh { font-family: var(--font-display); font-weight: 700; letter-spacing: -.3px; }
.page-h {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800; letter-spacing: -.4px;
}
.page-sub { font-size: 13px; color: var(--muted); margin-top: 3px; }
.sec-h {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.crumb {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--muted); margin-bottom: 16px; flex-wrap: wrap;
}
.crumb a:hover { color: var(--pri); }
.crumb .sep { color: var(--lite); }
.crumb b { color: var(--txt); font-weight: 600; }
.text-muted  { color: var(--muted); }
.text-pri    { color: var(--pri); }
.text-grn    { color: var(--grn); }
.text-org    { color: var(--org); }
.text-red    { color: var(--red); }
.text-sm     { font-size: 12.5px; }
.text-xs     { font-size: 11px; }
.fw-600      { font-weight: 600; }
.fw-700      { font-weight: 700; }

/* â”€â”€ Announcement Strip â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.strip {
  background: #1E3A8A;
  color: #fff; height: var(--str); font-size: 12px; font-weight: 500;
}
.strip .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.strip-r { display: flex; gap: 20px; align-items: center; }
.strip-r a { opacity: .88; transition: .1s; }
.strip-r a:hover { opacity: 1; }
.strip-campus { display: flex; align-items: center; gap: 5px; }
.strip-campus select {
  background: transparent; border: none; color: #fff;
  font-size: 12px; font-weight: 600; outline: none; cursor: pointer;
  font-family: var(--font-body);
}

/* â”€â”€ Header (Sticky) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body > header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid var(--bdr);
  box-shadow: var(--sh0);
  transition: background 0.25s ease, border-color 0.25s ease;
}

body > header.header-scrolled {
  background: #1E3A8A;
  border-bottom-color: transparent;
  box-shadow: var(--sh2);
}

header.header-scrolled .logo-text,
header.header-scrolled .hcat {
  color: #fff;
}
header.header-scrolled .logo-sub {
  color: rgba(255,255,255,0.7);
}
header.header-scrolled .ib,
header.header-scrolled .uchip {
  background: #fff;
  color: var(--txt);
  border-color: transparent;
}
header.header-scrolled .hsearch {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
header.header-scrolled .hsearch input {
  color: #fff;
}
header.header-scrolled .hsearch input::placeholder {
  color: rgba(255,255,255,0.6);
}
header.header-scrolled .hcat {
  border-right-color: rgba(255,255,255,0.2);
}
header.header-scrolled .auth-trig {
  color: #fff;
}
.hbar { display: flex; align-items: center; gap: 16px; height: var(--hh); }

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--pri), var(--pur));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 15px;
  box-shadow: 0 4px 14px rgba(26,86,219,.3);
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  letter-spacing: -.5px; line-height: 1.1; white-space: nowrap;
}
.logo-text b { color: var(--pri); }
.logo-sub { font-size: 10px; color: var(--muted); font-weight: 500; }

/* Search bar */
.hbar-search {
  flex: 1; min-width: 0; max-width: 640px;
  display: flex; border: 1.5px solid var(--bdr); border-radius: 10px;
  overflow: hidden; background: var(--surf); transition: .18s; height: 44px;
}
.hbar-search:focus-within {
  border-color: var(--pri); background: #fff;
  box-shadow: 0 0 0 3px var(--pri-lt);
}
.hbar-search .s-cat {
  display: flex; align-items: center; gap: 4px;
  padding: 0 12px; font-size: 12.5px; font-weight: 600;
  border-right: 1px solid var(--bdr); cursor: pointer; white-space: nowrap;
  flex-shrink: 0; color: var(--txt);
}
.hbar-search .s-cat svg { width: 12px; height: 12px; }
.hbar-search input {
  flex: 1; border: none; background: transparent; outline: none;
  padding: 0 14px; font-size: 14px; min-width: 0;
}
.hbar-search .s-btn {
  background: var(--pri); color: #fff; padding: 0 18px;
  display: flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 13.5px; flex-shrink: 0; transition: .13s;
}
.hbar-search .s-btn:hover { background: var(--pri-dk); }
.hbar-search .s-btn svg { width: 16px; height: 16px; }

/* Header actions */
.hbar-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0; }
.ib {
  position: relative; width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: .13s;
}
.ib:hover { background: var(--surf); color: var(--txt); }
.ib svg { width: 20px; height: 20px; }
.ib .bdg {
  position: absolute; top: 5px; right: 5px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--red); color: #fff; border-radius: 8px;
  font-size: 9.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid #fff;
}

/* Post Ad button */
.post-ad {
  display: flex; align-items: center; gap: 7px;
  background: var(--org); color: #fff; height: 40px; padding: 0 18px;
  border-radius: 10px; font-weight: 700; font-size: 13.5px;
  box-shadow: 0 6px 16px rgba(255,90,31,.28); transition: .14s; flex-shrink: 0;
}
.post-ad:hover { background: #e04e15; transform: translateY(-1px); }
.post-ad svg { width: 16px; height: 16px; }

/* User chip */
.u-chip {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--bdr); border-radius: 24px;
  padding: 4px 10px 4px 4px; cursor: pointer; background: var(--card); transition: .12s;
}
.u-chip:hover { background: var(--surf); }
.u-chip img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.u-chip .uname { font-size: 13px; font-weight: 600; white-space: nowrap; }
.u-chip svg { width: 14px; height: 14px; color: var(--muted); }

/* User dropdown menu */
.u-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 200;
  background: var(--card); border: 1px solid var(--bdr); border-radius: var(--radius);
  box-shadow: var(--sh2); min-width: 200px; overflow: hidden; display: none;
}
.u-menu.open { display: block; }
.u-menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; font-size: 13.5px; font-weight: 500; transition: .1s;
}
.u-menu-item:hover { background: var(--bdr-lt); color: var(--pri); }
.u-menu-item svg { width: 16px; height: 16px; }
.u-menu-sep { height: 1px; background: var(--bdr); margin: 4px 0; }

/* â”€â”€ Navigation tabs (category nav) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cat-nav {
  border-bottom: 1px solid var(--bdr); background: var(--card);
  overflow-x: auto; scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner { display: flex; gap: 0; align-items: center; padding: 0 24px; }
.cat-nav-item {
  display: flex; align-items: center; gap: 7px; padding: 13px 16px;
  font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer;
  border-bottom: 2.5px solid transparent; transition: .13s; white-space: nowrap; flex-shrink: 0;
}
.cat-nav-item:hover { color: var(--pri); border-color: var(--pri-lt); }
.cat-nav-item.active { color: var(--pri); border-color: var(--pri); }
.cat-nav-item .ci { font-size: 17px; }

/* â”€â”€ Listing Cards â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }

.l-card {
  background: var(--card); border: 1px solid var(--bdr); border-radius: var(--radius-lg);
  overflow: hidden; transition: .18s; cursor: pointer; display: flex; flex-direction: column;
}
.l-card:hover { box-shadow: var(--sh2); transform: translateY(-2px); border-color: transparent; }

.l-card-img {
  position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surf);
}
.l-card-img img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.l-card:hover .l-card-img img { transform: scale(1.04); }
.l-card-save {
  position: absolute; top: 8px; right: 8px;
  width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.9);
  backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh0); transition: .13s; z-index: 1;
}
.l-card-save:hover { background: #fff; }
.l-card-save svg { width: 16px; height: 16px; }
.l-card-save.saved svg { fill: var(--red); stroke: var(--red); }
.l-card-promo {
  position: absolute; top: 8px; left: 8px;
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 20px;
}
.l-card-promo.top    { background: var(--pri); color: #fff; }
.l-card-promo.premium{ background: var(--pur); color: #fff; }
.l-card-promo.urgent { background: var(--red); color: #fff; }

.l-card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.l-card-title {
  font-size: 14px; font-weight: 700; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 6px;
}
.l-card-price {
  font-family: var(--font-display); font-size: 17px; font-weight: 800; color: var(--pri);
  margin-bottom: 8px;
}
.l-card-price small { font-size: 12px; color: var(--muted); font-weight: 500; }
.l-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; color: var(--muted); margin-top: auto;
}
.l-card-loc { display: flex; align-items: center; gap: 4px; }
.l-card-loc svg { width: 12px; height: 12px; }
.l-card-time { font-size: 11px; }

/* Seller trust mini */
.seller-mini { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.seller-mini img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.seller-mini span { font-size: 11.5px; font-weight: 600; }
.seller-mini .trust-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grn); flex-shrink: 0;
}

/* â”€â”€ Card component â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.card {
  background: var(--card); border: 1px solid var(--bdr);
  border-radius: var(--radius-lg); box-shadow: var(--sh0); padding: 22px;
}
.card-h {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.card-h h3 { font-family: var(--font-display); font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card-h a { color: var(--pri); font-size: 12.5px; font-weight: 700; }

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; height: 42px; padding: 0 18px; border-radius: 11px;
  font-weight: 700; font-size: 13.5px; transition: .14s; cursor: pointer;
  border: none; font-family: var(--font-body);
}
.btn svg { width: 16px; height: 16px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

.btn-pri { background: var(--pri); color: #fff; box-shadow: 0 6px 16px rgba(26,86,219,.24); }
.btn-pri:hover { background: var(--pri-dk); transform: translateY(-1px); }

.btn-grn { background: var(--grn); color: #fff; box-shadow: 0 6px 16px rgba(14,159,110,.2); }
.btn-grn:hover { background: #0b7c56; }

.btn-org { background: var(--org); color: #fff; box-shadow: 0 6px 16px rgba(255,90,31,.24); }
.btn-org:hover { background: #e04e15; }

.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(239,68,68,.2); }
.btn-red:hover { background: #dc2626; }

.btn-ghost {
  background: var(--card); color: var(--txt);
  border: 1.5px solid var(--bdr);
}
.btn-ghost:hover { border-color: var(--pri); color: var(--pri); background: var(--pri-lt); }

.btn-surf {
  background: var(--surf); color: var(--txt); border: 1px solid var(--bdr);
}
.btn-surf:hover { background: var(--bdr-lt); }

.btn-sm  { height: 34px; padding: 0 13px; font-size: 12.5px; border-radius: 9px; }
.btn-lg  { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 13px; }
.btn-xl  { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

/* Loading spinner inside button */
.btn .spin {
  width: 16px; height: 16px; border: 2.5px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* â”€â”€ Forms â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.fld { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.fld label { font-size: 12.5px; font-weight: 600; color: var(--txt); }
.fld .req { color: var(--red); }
.fld input, .fld select, .fld textarea {
  border: 1.5px solid var(--bdr); border-radius: 11px; padding: 12px 14px;
  font-size: 13.5px; background: var(--surf); outline: none; transition: .15s;
  color: var(--txt); width: 100%;
}
.fld input:focus, .fld select:focus, .fld textarea:focus {
  border-color: var(--pri); background: #fff; box-shadow: 0 0 0 3px var(--pri-lt);
}
.fld input.error, .fld select.error, .fld textarea.error {
  border-color: var(--red); background: var(--red-lt);
}
.fld .hint { font-size: 11.5px; color: var(--muted); }
.fld .err-msg { font-size: 11.5px; color: var(--red); font-weight: 600; }
.fld textarea { resize: vertical; min-height: 90px; }

/* Input with icon */
.input-wrap { position: relative; }
.input-wrap input { padding-left: 40px; }
.input-wrap .inp-ico {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--muted); pointer-events: none;
}
.input-wrap .inp-ico-r {
  position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--muted); cursor: pointer;
}

/* Show/hide password */
.pw-toggle { position: relative; }
.pw-toggle input { padding-right: 42px; }
.pw-toggle .eye {
  position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
  cursor: pointer; color: var(--muted); width: 18px; height: 18px;
}

.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.frow-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

/* Form section header */
.form-sec { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; margin: 20px 0 14px; }

/* â”€â”€ Badges / Chips â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.chip {
  font-size: 10.5px; font-weight: 700; padding: 3px 9px;
  border-radius: 14px; display: inline-flex; align-items: center; gap: 4px;
}
.chip svg { width: 11px; height: 11px; }
.chip.grn  { background: var(--grn-lt); color: var(--grn); }
.chip.pri  { background: var(--pri-lt); color: var(--pri); }
.chip.org  { background: var(--org-lt); color: var(--org); }
.chip.amb  { background: var(--amb-lt); color: #b45309; }
.chip.pur  { background: var(--pur-lt); color: var(--pur); }
.chip.red  { background: var(--red-lt); color: var(--red); }
.chip.surf { background: var(--surf);   color: var(--muted); }
.chip.sky  { background: var(--sky-lt); color: var(--sky); }

/* Verification badge */
.vbadge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--pri); color: #fff; font-size: 10.5px; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
}
.vbadge svg { width: 11px; height: 11px; }
.vbadge.grn { background: var(--grn); }

/* Trust score pill */
.trust-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px;
}
.trust-pill.excellent { background: var(--grn-lt); color: var(--grn); }
.trust-pill.good      { background: var(--pri-lt); color: var(--pri); }
.trust-pill.medium    { background: var(--amb-lt); color: #b45309; }
.trust-pill.low       { background: var(--red-lt); color: var(--red); }

/* Status badges */
.status-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 12px; }
.status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-active   { background: var(--grn-lt); color: var(--grn); }
.status-pending  { background: var(--amb-lt); color: #b45309; }
.status-rejected { background: var(--red-lt); color: var(--red); }
.status-sold     { background: var(--surf);   color: var(--muted); }
.status-draft    { background: var(--bdr-lt); color: var(--muted); }

/* â”€â”€ Alert / Flash messages â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius); font-size: 13.5px;
  border: 1px solid transparent; margin-bottom: 16px;
}
.alert svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: var(--grn-lt); border-color: #a7f3d0; color: #065f46; }
.alert-error   { background: var(--red-lt); border-color: #fca5a5; color: #7f1d1d; }
.alert-warning { background: var(--amb-lt); border-color: #fcd34d; color: #78350f; }
.alert-info    { background: var(--pri-lt); border-color: #bfdbfe; color: #1e40af; }
.alert-body    { flex: 1; }
.alert-title   { font-weight: 700; margin-bottom: 2px; }

/* â”€â”€ Pagination â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.pagination { display: flex; align-items: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.pag-btn {
  min-width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center;
  justify-content: center; font-size: 13px; font-weight: 600; border: 1.5px solid var(--bdr);
  background: var(--card); color: var(--txt); cursor: pointer; transition: .12s;
}
.pag-btn:hover { border-color: var(--pri); color: var(--pri); }
.pag-btn.active { background: var(--pri); border-color: var(--pri); color: #fff; }
.pag-btn:disabled { opacity: .4; cursor: default; }

/* â”€â”€ Tables â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th {
  text-align: left; font-size: 11px; font-weight: 700; color: var(--muted);
  letter-spacing: .4px; text-transform: uppercase;
  padding: 11px 16px; border-bottom: 1.5px solid var(--bdr); white-space: nowrap;
}
tbody td { padding: 13px 16px; font-size: 13.5px; border-bottom: 1px solid var(--bdr-lt); }
tbody tr:hover td { background: var(--bdr-lt); }
tbody tr:last-child td { border-bottom: none; }

/* â”€â”€ Avatar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.avatar {
  border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.av-xs  { width: 24px; height: 24px; }
.av-sm  { width: 32px; height: 32px; }
.av-md  { width: 44px; height: 44px; }
.av-lg  { width: 56px; height: 56px; }
.av-xl  { width: 80px; height: 80px; }
.av-2xl { width: 110px; height: 110px; }
.av-placeholder {
  border-radius: 50%; background: linear-gradient(135deg, var(--pri), var(--pur));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 700;
}

/* â”€â”€ Sidebar layout (user app) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.app-shell { display: flex; min-height: 100vh; padding-top: calc(var(--hh) + var(--str)); }
.sidebar-nav {
  width: 230px; flex-shrink: 0; position: sticky; top: calc(var(--hh) + var(--str));
  height: calc(100vh - var(--hh) - var(--str)); overflow-y: auto;
  padding: 16px 0; border-right: 1px solid var(--bdr); background: var(--card);
  scrollbar-width: thin;
}
.sidebar-nav .nav-group { margin-bottom: 6px; }
.sidebar-nav .nav-group-label {
  font-size: 10.5px; font-weight: 700; color: var(--lite); letter-spacing: .6px;
  text-transform: uppercase; padding: 8px 20px 4px;
}
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 20px;
  font-size: 13.5px; font-weight: 600; color: var(--muted); transition: .12s; cursor: pointer;
}
.nav-item:hover { color: var(--pri); background: var(--pri-lt); }
.nav-item.active { color: var(--pri); background: var(--pri-lt); border-right: 2.5px solid var(--pri); }
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-item .nav-badge {
  margin-left: auto; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--red); color: #fff; border-radius: 9px;
  font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.app-content { flex: 1; min-width: 0; }

/* â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
footer { background: #1E3A8A; color: rgba(255,255,255,.88); margin-top: 16px; }
.ft-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px; padding: 44px 0 32px;
}
.ft-brand .fm {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--pri), var(--pur));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 14px;
  margin-bottom: 12px;
}
.ft-brand .fn { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: #fff; margin-bottom: 7px; }
.ft-brand p { font-size: 12.5px; line-height: 1.65; opacity: .72; max-width: 270px; }
.ft-col h4 { font-family: var(--font-display); color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.ft-col a { display: block; font-size: 12.5px; opacity: .7; margin-bottom: 9px; transition: .1s; }
.ft-col a:hover { opacity: 1; padding-left: 3px; }
.ft-bot {
  border-top: 1px solid rgba(255,255,255,.07); padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; opacity: .6; flex-wrap: wrap; gap: 8px;
}

/* â”€â”€ Skeleton loader â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.skeleton { background: linear-gradient(90deg, var(--bdr-lt) 25%, var(--bdr) 50%, var(--bdr-lt) 75%); background-size: 200% 100%; animation: skeleton 1.4s ease infinite; border-radius: 8px; }
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* â”€â”€ Modal â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 800;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--card); border-radius: var(--radius-xl); box-shadow: var(--sh3);
  width: 100%; max-width: 540px; max-height: 90vh; overflow-y: auto;
  transform: scale(.95); transition: transform .2s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--bdr);
}
.modal-head h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.modal-close { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); cursor: pointer; }
.modal-close:hover { background: var(--surf); }
.modal-body { padding: 24px; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--bdr); display: flex; gap: 10px; justify-content: flex-end; }

/* â”€â”€ Dropdown â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dropdown { position: relative; display: inline-block; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 300;
  background: var(--card); border: 1px solid var(--bdr); border-radius: var(--radius);
  box-shadow: var(--sh2); min-width: 180px; overflow: hidden; display: none;
}
.dropdown-menu.right { left: auto; right: 0; }
.dropdown-menu.open  { display: block; }
.dd-item {
  display: flex; align-items: center; gap: 9px; padding: 10px 14px;
  font-size: 13.5px; font-weight: 500; cursor: pointer; transition: .1s;
}
.dd-item:hover { background: var(--bdr-lt); color: var(--pri); }
.dd-item svg { width: 15px; height: 15px; }
.dd-item.danger { color: var(--red); }
.dd-item.danger:hover { background: var(--red-lt); }
.dd-sep { height: 1px; background: var(--bdr); margin: 4px 0; }

/* â”€â”€ Image upload area â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.img-upload-area {
  border: 2px dashed var(--bdr); border-radius: var(--radius);
  padding: 30px 20px; text-align: center; cursor: pointer; transition: .18s;
  background: var(--surf);
}
.img-upload-area:hover, .img-upload-area.drag-over {
  border-color: var(--pri); background: var(--pri-lt);
}
.img-upload-area svg { width: 36px; height: 36px; color: var(--muted); margin: 0 auto 8px; }
.img-upload-area p { font-size: 13.5px; color: var(--muted); }
.img-upload-area span { color: var(--pri); font-weight: 600; }
.img-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px,1fr)); gap: 10px; margin-top: 14px; }
.img-preview-item { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--bdr); }
.img-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.img-preview-item .remove-img { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; background: rgba(0,0,0,.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.img-preview-item .remove-img svg { width: 11px; height: 11px; color: #fff; }

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1024px) {
  .sidebar-nav { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --hh: 52px; }
  .hbar-search { display: none; }
  .strip { display: none; }

  /* Always dark blue header on mobile */
  body > header { background: #1E3A8A; border-bottom-color: transparent; }
  body > header .logo-text, body > header .hcat, body > header .ib, body > header .auth-trig { color: #fff !important; }
  body > header .logo img { width: 120px !important; max-height: none !important; }
  body > header .logo-sub { color: rgba(255,255,255,0.7); }
  body > header .ib { border-color: rgba(255,255,255,0.25); }
  body > header .ib svg { color: #fff; }
  body > header .hsearch { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
  body > header .hsearch input { color: #fff; }
  body > header .hsearch input::placeholder { color: rgba(255,255,255,0.6); }
  body > header .hcat { border-right-color: rgba(255,255,255,0.2); }
  
  /* Make search dropdown wider on mobile instead of matching input width exactly */
  .hero-sb-drop.ss-fixed {
    left: 3% !important;
    width: 93% !important;
    right: 2px !important;
  }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .frow, .frow-3 { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 22px; padding: 32px 0 22px; }
}

@media (max-width: 480px) {
  .wrap, .shell { padding-left: 14px; padding-right: 14px; }
  .listing-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hbar-actions .post-ad span { display: none; }
}

/* â”€â”€ Utility â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hidden   { display: none !important; }
.visible  { display: block !important; }
.mt-4     { margin-top: 4px; }
.mt-8     { margin-top: 8px; }
.mt-12    { margin-top: 12px; }
.mt-16    { margin-top: 16px; }
.mt-24    { margin-top: 24px; }
.mb-16    { margin-bottom: 16px; }
.mb-24    { margin-bottom: 24px; }
.p-16     { padding: 16px; }
.p-24     { padding: 24px; }
.w-full   { width: 100%; }
.text-center { text-align: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   Home Page UI â€” class additions
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* header */
.hbar{display:flex;align-items:center;gap:14px;}
.hsearch{flex:1;display:flex;align-items:center;background:var(--surf);border:1.5px solid var(--bdr);border-radius:10px;overflow:hidden;max-width:540px;}
.hcat{display:flex;align-items:center;gap:4px;padding:0 12px 0 14px;font-size:13px;font-weight:600;color:var(--txt);cursor:pointer;border-right:1px solid var(--bdr);white-space:nowrap;}
.hcat svg{width:14px;height:14px;}
.hsearch input{flex:1;border:none;background:transparent;padding:10px 12px;font-size:14px;outline:none;color:var(--txt);}
.hsbtn{display:flex;align-items:center;gap:6px;background:var(--pri);color:#fff;border:none;padding:10px 18px;font-size:13.5px;font-weight:700;cursor:pointer;white-space:nowrap;}
.hsbtn svg{width:16px;height:16px;}
.hactions{display:flex;align-items:center;gap:8px;margin-left:auto;margin-right:20px;}
.ib{position:relative;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:9px;border:1.5px solid var(--bdr);color:var(--txt);text-decoration:none;}
.ib svg{width:18px;height:18px;}
.ibdg{position:absolute;top:-5px;right:-5px;background:var(--red);color:#fff;font-size:9px;font-weight:800;min-width:16px;height:16px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 3px;border:2px solid var(--bg);}
.post-btn{display:flex;align-items:center;gap:6px;background:var(--org);color:#fff;padding:9px 16px;border-radius:9px;font-size:13.5px;font-weight:700;text-decoration:none;white-space:nowrap;}
.post-btn svg{width:15px;height:15px;}
.uchip{display:flex;align-items:center;gap:7px;padding:5px 10px;border:1.5px solid var(--bdr);border-radius:9px;cursor:pointer;font-size:13px;font-weight:600;}
.uchip svg{width:13px;height:13px;color:var(--muted);}
.uchip img{width:24px;height:24px;border-radius:50%;object-fit:cover;}
.un{max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.udd{position:relative;}
.uddp{position:absolute;top:calc(100% + 8px);right:0;background:var(--card);border:1px solid var(--bdr);border-radius:12px;box-shadow:var(--sh2);min-width:190px;padding:6px;z-index:200;display:none;}
.udd.open .uddp{display:block;}
.ddi{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:8px;font-size:13.5px;color:var(--txt);text-decoration:none;cursor:pointer;background:none;border:none;font-family:inherit;font-weight:500;}
.ddi:hover{background:var(--surf);}
.ddi .em{width:20px;text-align:center;}
.ddsep{height:1px;background:var(--bdr);margin:4px 0;}

/* â”€â”€ Guest auth: collapse Log in / Sign up into one button on mobile â”€â”€ */
.auth-dd{position:relative;display:none;}
.auth-trig{display:inline-flex;align-items:center;gap:7px;border:0;cursor:pointer;font-family:inherit;font-weight:700;font-size:13px;color:#fff;padding:9px 13px;border-radius:10px;background:linear-gradient(135deg,var(--pri),#6d3bf0);box-shadow:0 6px 16px rgba(80,60,230,.28);white-space:nowrap;transition:filter .14s,box-shadow .14s;}
.auth-trig:active{filter:brightness(.96);box-shadow:0 3px 10px rgba(80,60,230,.24);}
.auth-trig .ico{width:16px;height:16px;flex:0 0 auto;}
.auth-trig .chev{width:13px;height:13px;flex:0 0 auto;transition:transform .2s ease;}
.auth-dd.open .auth-trig .chev{transform:rotate(180deg);}
.auth-ddp{right:0;min-width:172px;}
.auth-ddp .ddi{font-weight:600;}
.auth-ddp .ddi .em{font-size:15px;}

/* â”€â”€ Header responsive: stop the top bar from forcing horizontal scroll â”€â”€ */
@media(max-width:560px){
  .auth-full{display:none!important;}
  .auth-dd{display:block;}
}
@media(max-width:860px){
  .hbar{gap:10px;}
  .hsearch{display:none;}           /* search lives in the page/feed on mobile */
  .logo-sub{display:none;}          /* drop the small subtitle line */
}
@media(max-width:560px){
  .hactions{gap:6px;margin-left:auto;}
  .un{display:none;}                /* show avatar only, no name */
  .uchip{padding:5px 7px;gap:4px;}
  .post-btn{padding:9px 11px;}
  .post-btn span,.post-btn{font-size:0;gap:0;}   /* icon-only post button */
  .post-btn svg{width:18px;height:18px;}
}
@media(max-width:420px){
  .wrap{padding-left:8px;padding-right:8px;}
  .hbar{gap:7px;height:54px;}
  .logo{gap:7px;}
  .logo-text{font-size:13px;}
  .logo-mark{width:28px;height:28px;font-size:11px;border-radius:7px;}
  .hactions{gap:4px;}
  .ib{width:32px;height:32px;border-width:1px;border-radius:8px;}
  .ib svg{width:15px;height:15px;}
  .ibdg{top:-4px;right:-4px;font-size:8.5px;min-width:14px;height:14px;border-width:1.5px;}
  .uchip{padding:3px 5px;border-width:1px;border-radius:8px;}
  .uchip img,.uchip .av-placeholder{width:22px;height:22px;}
  .uchip svg{width:11px;height:11px;}
  .post-btn{padding:7px 8px;border-radius:8px;}
  .post-btn svg{width:16px;height:16px;}
  .strip{font-size:11px;height:32px;}
  .strip-r{gap:8px;}
  .strip-campus select{font-size:11px;}
}
@media(max-width:340px){
  .wrap{padding-left:6px;padding-right:6px;}
  .hbar{gap:5px;}
  /* Logo: keep only the mark on the smallest phones */
  .logo-text{display:none;}
  .ib{width:30px;height:30px;}
  .ib svg{width:14px;height:14px;}
  .post-btn{padding:6px 7px;}
  .post-btn svg{width:14px;height:14px;}
  .uchip{padding:2px 4px;}
  .uchip img,.uchip .av-placeholder{width:20px;height:20px;}
  /* Top strip â€” collapse the "How it works" link, keep campus + safety only */
  .strip-r a:last-child{display:none;}
}

/* footer */
.fttop{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:36px;padding:48px 0 28px;}
.ftbrand p{font-size:13px;color:rgba(255,255,255,.82);margin-top:10px;line-height:1.6;max-width:240px;}
.fm{width:38px;height:38px;background:var(--pri);color:#fff;font-weight:900;font-size:15px;border-radius:9px;display:flex;align-items:center;justify-content:center;}
.fn{font-family:var(--font-display);font-weight:800;font-size:17px;margin-top:6px;color:#fff;}
.ftsoc{display:flex;gap:10px;margin-top:14px;}
.ftsoc a{width:34px;height:34px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:8px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:15px;color:#fff;}
.ftcol h4{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:#fff;margin-bottom:12px;}
.ftcol a{display:block;font-size:13.5px;color:rgba(255,255,255,.86);text-decoration:none;padding:3px 0;}
.ftcol a:hover{color:#fff;}
.ftbot{border-top:1px solid rgba(255,255,255,.18);padding:18px 0;display:flex;align-items:center;justify-content:space-between;font-size:12.5px;color:rgba(255,255,255,.78);}

/* page layout */
.page-inner{max-width:1280px;margin:0 auto;padding:0 20px 60px;}
.body-grid{display:grid;grid-template-columns:220px 1fr;gap:22px;margin-top:22px;}
.main-col{min-width:0;display:flex;flex-direction:column;gap:24px;}
.overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:99;}
.overlay.on{display:block;}

/* sidebar */
.sidebar{position:sticky;top:calc(var(--hh,64px) + 10px);height:max-content;max-height:calc(100vh - 90px);overflow-y:auto;scrollbar-width:none;}
.sidebar::-webkit-scrollbar{display:none;}
.sb-title{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.7px;color:var(--muted);padding:0 4px 8px;}
.cat-item{position:relative;}
.cat-link{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:9px;cursor:pointer;font-size:13.5px;font-weight:500;color:var(--txt);transition:.14s;}
.cat-link:hover,.cat-link.on{background:var(--pri-lt);color:var(--pri);}
.cico{width:26px;height:26px;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0;}
.clbl{flex:1;}
.carrow{font-size:16px;color:var(--muted);margin-left:auto;}
.sub-menu{display:none;position:absolute;left:100%;top:-6px;background:var(--card);border:1px solid var(--bdr);border-radius:12px;box-shadow:var(--sh2);min-width:190px;padding:8px;z-index:100;}
.cat-item:hover .sub-menu{display:block;}
.sub-title{font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);padding:4px 8px 6px;}
.sub-link{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;font-size:13px;color:var(--txt);text-decoration:none;}
.sub-link:hover{background:var(--surf);}
.si{width:22px;height:22px;background:var(--surf);border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:12px;}
.sub-sep{height:1px;background:var(--bdr);margin:4px 0;}
.sbdiv{height:1px;background:var(--bdr);margin:10px 0;}
.sb-sec{padding:0 2px;}
.sb-sec-label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.6px;color:var(--muted);margin-bottom:8px;}
.price-range{width:100%;accent-color:var(--pri);}
.price-vals{display:flex;justify-content:space-between;font-size:11.5px;color:var(--muted);margin-top:4px;}
.cond-row{display:flex;align-items:center;gap:7px;font-size:13px;padding:3px 0;cursor:pointer;}
.boost{background:var(--pri);border-radius:12px;padding:14px;margin-top:12px;color:#fff;}
.boost h4{font-size:13.5px;font-weight:700;margin-bottom:4px;}
.boost p{font-size:12px;opacity:.85;line-height:1.5;margin-bottom:10px;}
.boost button{background:#fff;color:var(--pri);border:none;padding:7px 14px;border-radius:7px;font-size:12.5px;font-weight:700;cursor:pointer;}
.safe-mini{background:var(--surf);border:1px solid var(--bdr);border-radius:12px;padding:14px;margin-top:12px;}
.sico{font-size:22px;margin-bottom:6px;}
.safe-mini h4{font-size:13px;font-weight:700;margin-bottom:4px;}
.safe-mini p{font-size:12px;color:var(--muted);line-height:1.5;margin-bottom:10px;}
.safe-mini button{background:none;border:1.5px solid var(--bdr);color:var(--txt);padding:6px 14px;border-radius:7px;font-size:12px;font-weight:600;cursor:pointer;}

/* hero */
.hero{background:linear-gradient(135deg,var(--pri-dk) 0%,var(--pri) 60%,#3b76e8 100%);border-radius:18px;display:grid;grid-template-columns:1fr 280px;gap:30px;padding:36px 40px;margin-bottom:6px;position:relative;overflow:hidden;}
.hero>*{position:relative;z-index:1;}
.hero-left{display:flex;flex-direction:column;gap:14px;}
.hero-ew{font-size:13px;font-weight:600;color:rgba(255,255,255,.8);}
.hero-left h1{font-family:var(--font-display);font-size:clamp(24px,3vw,36px);font-weight:800;color:#fff;line-height:1.2;margin:0;}
.hero-left h1 em{font-style:normal;color:#FFD166;}
.hero-left p{font-size:14px;color:rgba(255,255,255,.82);line-height:1.6;max-width:420px;margin:0;}
.hero-sb{display:flex;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,.2);}
.hero-sb input{flex:1;border:none;padding:13px 16px;font-size:14.5px;outline:none;color:var(--txt);}
.hero-sb button{display:flex;align-items:center;gap:6px;background:var(--org);color:#fff;border:none;padding:13px 22px;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap;}
.hero-sb button svg{width:16px;height:16px;}
.hero-trend{display:flex;align-items:center;gap:8px;flex-wrap:wrap;}
.hero-trend span{font-size:12.5px;color:rgba(255,255,255,.7);font-weight:700;}
.hero-trend a{background:rgba(255,255,255,.15);color:#fff;font-size:12px;font-weight:600;padding:4px 10px;border-radius:20px;text-decoration:none;}
.hero-trend a:hover{background:rgba(255,255,255,.25);}
.hero-right{display:flex;flex-direction:column;gap:10px;justify-content:center;}
.hstat-box{background:rgba(255,255,255,.12);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2);border-radius:12px;padding:14px 18px;}
.hstat-box b{display:block;font-size:22px;font-weight:800;color:#fff;}
.hstat-box span{font-size:12px;color:rgba(255,255,255,.75);}
.hstat-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.hstat-row .hstat-box{padding:12px 14px;}
.hstat-row .hstat-box b{font-size:18px;}

/* sections */
.sec{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;}
.sec h2{font-family:var(--font-display);font-size:17px;font-weight:800;display:flex;align-items:center;gap:7px;margin:0;}
.seeall{font-size:13px;color:var(--pri);font-weight:600;text-decoration:none;}
.seeall:hover{text-decoration:underline;}

/* quick actions */
.qgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}
.qcard{display:flex;align-items:center;gap:10px;background:var(--card);border:1.5px solid var(--bdr);border-radius:12px;padding:13px 14px;text-decoration:none;color:var(--txt);transition:.15s;}
.qcard:hover{border-color:var(--pri);box-shadow:0 0 0 3px var(--pri-lt);}
.qi{width:36px;height:36px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;}
.ql{font-size:13.5px;font-weight:700;}
.qs{font-size:11.5px;color:var(--muted);margin-top:1px;}

/* category pills */
.cpills{display:flex;gap:10px;flex-wrap:wrap;}
.cpill{display:flex;align-items:center;gap:9px;background:var(--card);border:1.5px solid var(--bdr);border-radius:40px;padding:8px 16px 8px 10px;text-decoration:none;color:var(--txt);font-size:13px;font-weight:600;transition:.15s;}
.cpill:hover{border-color:var(--pri);background:var(--pri-lt);}
.cpi{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;}
.cpn{font-weight:700;}
.cpc{font-size:11px;color:var(--muted);margin-left:2px;}

/* flash offers */
.flash-wrap{background:var(--card);border:1.5px solid var(--bdr);border-radius:16px;padding:18px 18px 20px;}
.flash-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;}
.flash-l{display:flex;align-items:center;gap:10px;}
.flash-ico{width:38px;height:38px;background:linear-gradient(135deg,#FF9F1C,#FFD166);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:20px;}
.flash-title{font-family:var(--font-display);font-size:16px;font-weight:800;}
.flash-sub{font-size:12px;color:var(--muted);}
.countdown{display:flex;align-items:center;gap:4px;background:var(--surf);border:1px solid var(--bdr);border-radius:10px;padding:8px 12px;}
.cdlbl{font-size:11px;color:var(--muted);font-weight:600;margin-right:4px;}
.cdcell{background:#1A1A2E;color:#FFD166;font-family:monospace;font-size:16px;font-weight:800;padding:2px 6px;border-radius:5px;min-width:28px;text-align:center;}
.cdsep{color:var(--muted);font-weight:700;}
.flash-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}

/* campus pulse */
.ldot{display:inline-block;width:8px;height:8px;background:var(--grn);border-radius:50%;animation:hpulse 1.5s infinite;}
@keyframes hpulse{0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,.4)}50%{box-shadow:0 0 0 6px rgba(34,197,94,0)}}
/* â”€â”€ Home: Campus Pulse mini-strip (events / flash deals / jobs) â”€â”€ */
.pgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.pitem{
  display:flex;align-items:center;gap:11px;
  background:var(--card);border:1px solid var(--bdr);border-radius:12px;
  padding:9px 11px;
  text-decoration:none;color:inherit;
  transition:border-color .15s,box-shadow .18s,transform .12s;
  min-width:0;
}
.pitem:hover{border-color:var(--pri);box-shadow:0 4px 14px rgba(15,23,42,.08),0 1px 3px rgba(26,86,219,.08);transform:translateY(-1px);}
.pico{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0;}

/* Thumb wrap (photo or fallback icon) â€” replaces .pico for the new card */
.pico-thumb{
  position:relative;width:54px;height:54px;border-radius:10px;
  flex-shrink:0;overflow:hidden;background:var(--surf);
}
.pico-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.pico-fallback{
  width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  font-size:22px;line-height:1;
}
/* Type icon pill â€” corner badge so users see if it's Event / âš¡ / Job */
.pico-type-pill{
  position:absolute;bottom:-3px;right:-3px;
  width:20px;height:20px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:11px;line-height:1;
  border:2px solid var(--card);
  box-shadow:0 1px 3px rgba(15,23,42,.18);
}

.pitem-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;}
.ptxt{
  font-size:13px;font-weight:700;line-height:1.32;color:var(--txt);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.pitem-meta{
  display:flex;align-items:center;gap:6px;
  font-size:11px;color:var(--muted);font-weight:600;
  min-width:0;line-height:1.3;
}
.pmini-av{
  width:16px;height:16px;border-radius:50%;object-fit:cover;flex-shrink:0;
}
.pmini-av.init{
  background:linear-gradient(135deg,var(--pri),var(--pur));color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:8.5px;font-weight:800;
}
.pmini-name{
  font-weight:700;color:var(--txt);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  max-width:80px;
}
.pmini-loc{
  display:inline-flex;align-items:center;gap:2px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ptime{font-size:10.5px;color:var(--lite);font-weight:700;letter-spacing:.02em;}

/* student requests */
/* â”€â”€ Home: Student-Request mini-card (links to /requests/{id}-{slug}) â”€â”€ */
.rgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;}
.rcard{
  position:relative;background:var(--card);
  border:1px solid var(--bdr);border-radius:14px;
  display:flex;flex-direction:column;overflow:hidden;
  text-decoration:none;color:inherit;cursor:pointer;
  transition:border-color .15s,box-shadow .2s,transform .12s;
  box-shadow:0 1px 3px rgba(15,23,42,.04);
}
.rcard:hover{border-color:var(--pri);box-shadow:0 8px 24px rgba(15,23,42,.10),0 2px 6px rgba(26,86,219,.08);transform:translateY(-2px);}
.rcard.is-urg{border-color:#fda4af;}
.rcard.is-urg:hover{border-color:#dc2626;box-shadow:0 10px 26px rgba(220,38,38,.16);}
.rcard.is-urg::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,#f43f5e,#dc2626);z-index:2;}
.rcard-img{position:relative;aspect-ratio:4/3;background:linear-gradient(135deg,#dbeafe,#ede9fe);overflow:hidden;}
.rcard-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s;}
.rcard:hover .rcard-img img{transform:scale(1.06);}
.rcard-img-ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:42px;line-height:1;opacity:.7;}
.rcard-urg-tag{
  position:absolute;top:8px;left:8px;
  background:linear-gradient(135deg,#f43f5e,#dc2626);color:#fff;
  font-size:9px;font-weight:900;letter-spacing:.04em;
  padding:3px 8px;border-radius:999px;
  box-shadow:0 3px 9px rgba(220,38,38,.32);
  animation:rcard-pulse 2s ease-in-out infinite;
}
@keyframes rcard-pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
.rcard-photos{
  position:absolute;bottom:8px;right:8px;
  background:rgba(15,23,42,.78);color:#fff;
  font-size:10px;font-weight:800;padding:2px 7px;border-radius:999px;
  backdrop-filter:blur(8px);
}
.rcard-body{padding:11px 13px 12px;display:flex;flex-direction:column;gap:6px;flex:1;}
.rcard-row1{display:flex;flex-wrap:wrap;gap:5px;}
.rcard-mini{
  display:inline-flex;align-items:center;gap:3px;
  padding:2px 7px;border-radius:999px;font-size:10.5px;font-weight:700;
  background:#f8fafc;border:1px solid #e2e8f0;color:#374151;
}
.rcard-mini.cat{background:#eff6ff;border-color:#bfdbfe;color:#1e40af;}
.rcard-mini.time{background:#fef3c7;border-color:#fde68a;color:#92400e;}
.rcard-mini.time.expired{background:#fee2e2;border-color:#fca5a5;color:#b91c1c;}
.rcard-title{
  font-size:13.5px;font-weight:800;line-height:1.32;color:var(--txt);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.rcard-budget{
  font-size:12.5px;font-weight:900;
  background:linear-gradient(135deg,#059669,#047857);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.rcard-foot{
  display:flex;align-items:center;justify-content:space-between;gap:6px;
  margin-top:auto;padding-top:8px;border-top:1px dashed var(--bdr-lt);
}
.rcard-poster{display:flex;align-items:center;gap:6px;min-width:0;}
.rcard-av{width:24px;height:24px;border-radius:50%;object-fit:cover;flex-shrink:0;}
.rcard-av.init{
  background:linear-gradient(135deg,var(--pri),var(--pur));color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:10px;font-weight:800;
}
.rcard-name{
  display:inline-flex;align-items:center;gap:4px;
  font-size:11.5px;font-weight:700;color:var(--txt);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.rcard-ver{
  display:inline-flex;align-items:center;justify-content:center;
  width:14px;height:14px;border-radius:50%;
  background:var(--pri);color:#fff;flex-shrink:0;
}
.rcard-resp{
  font-size:11px;font-weight:800;color:var(--muted);
  white-space:nowrap;
}
.rcard-empty{
  background:var(--card);border:1.5px dashed var(--bdr);border-radius:14px;
  padding:24px;text-align:center;color:var(--muted);font-size:13px;
}
.req-cta{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(180deg,#fafdff,#fff);border:1.5px dashed #bfdbfe;border-radius:14px;padding:20px;font-size:13px;font-weight:800;color:var(--pri);text-decoration:none;cursor:pointer;transition:all .15s;text-align:center;}
.req-cta:hover{background:var(--pri-lt);border-color:var(--pri);transform:translateY(-2px);}
.req-cta svg{flex-shrink:0;}

/* listing cards */
.lgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;}
.lcard{background:var(--card);border:1.5px solid var(--bdr);border-radius:13px;overflow:hidden;cursor:pointer;transition:.18s;}
.lcard:hover{border-color:var(--pri);box-shadow:var(--sh1);transform:translateY(-2px);}
.imgw{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--surf);}
.imgw img{width:100%;height:100%;object-fit:cover;transition:.3s;}
.lcard:hover .imgw img{transform:scale(1.04);}
.rib{position:absolute;top:7px;left:7px;display:flex;gap:4px;}
.ptag{font-size:10px;font-weight:800;padding:3px 7px;border-radius:6px;}
.ptag.top{background:#1A56DB;color:#fff;}
.ptag.prem{background:#7C3AED;color:#fff;}
.ptag.deal{background:#DC2626;color:#fff;}
.lhrt{position:absolute;top:7px;right:7px;background:rgba(255,255,255,.9);border:none;border-radius:50%;width:28px;height:28px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:14px;}
.lb{padding:11px 12px 13px;}
.lp{font-size:15px;font-weight:800;color:var(--pri-dk);}
.lpl{font-size:11px;font-weight:600;color:var(--grn);background:var(--grn-lt);padding:2px 6px;border-radius:5px;margin-left:5px;}
.lt{font-size:13px;font-weight:600;margin-top:3px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.ls{font-size:11.5px;color:var(--muted);margin-top:5px;display:flex;align-items:center;gap:4px;}
.lv{background:var(--grn);color:#fff;font-size:9px;font-weight:800;padding:1px 5px;border-radius:4px;}
.lm{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:6px;}

/* responsive */
@media(max-width:1060px){.flash-grid{grid-template-columns:repeat(2,1fr);}.qgrid{grid-template-columns:repeat(2,1fr);}.lgrid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));}}
@media(max-width:860px){.body-grid{grid-template-columns:1fr;}.sidebar{position:fixed;left:-260px;top:0;bottom:0;width:250px;background:var(--card);z-index:100;max-height:100vh;padding:16px;transition:left .25s;box-shadow:var(--sh3);}.sidebar.open{left:0;}.hero{grid-template-columns:1fr;}.hero-right{display:grid;grid-template-columns:1fr 1fr;}.fttop{grid-template-columns:1fr 1fr;}}
@media(max-width:600px){.flash-grid,.lgrid{grid-template-columns:1fr 1fr;}.pgrid{grid-template-columns:1fr;}.hero{padding:24px 18px;}.page-inner{padding:0 12px 48px;}.fttop{grid-template-columns:1fr;}.qgrid{grid-template-columns:1fr 1fr;}}
@media(max-width:500px){.fttop{grid-template-columns:1fr 1fr;}.fttop > .ftcol:not(:last-child){display:none;}.fttop > .ftcol:last-child{margin-top:44px;}}

/* =============================================================================
   User Dashboard  (db- prefix Ã¢â‚¬â€ zero collision with global styles)
   ============================================================================= */

/* Page wrapper Ã¢â‚¬â€ sits below sticky header+strip, no extra sidebar */


/* 2-column shell: 252px profile-sidebar + fluid main */
.db-shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 24px 60px;
  display: grid;
  grid-template-columns: 252px minmax(0,1fr);
  gap: 20px;
  align-items: start;
}

/* Profile sidebar */
.db-side { position: sticky; top: calc(var(--hh) + var(--str) - 90px); display: flex; flex-direction: column; gap: 14px; }
.db-profile { text-align: center; }
.db-profile img { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 10px; object-fit: cover; box-shadow: var(--sh1); }
.db-av-placeholder { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 10px; background: linear-gradient(135deg,var(--pri),var(--pur)); color: #fff; font-family: var(--font-display); font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: var(--sh1); }
.db-pm-name { font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.db-pm-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.db-wallet-bar { margin-top: 13px; background: linear-gradient(135deg,var(--pri),var(--pur)); border-radius: 14px; padding: 13px; color: #fff; text-align: left; }
.db-wallet-bar span { font-size: 11px; opacity: .85; }
.db-wallet-bar b { display: block; font-family: var(--font-display); font-size: 20px; margin-top: 2px; }
.db-wallet-bar a { display: block; margin-top: 9px; background: rgba(255,255,255,.2); color: #fff; border-radius: 8px; height: 30px; width: 100%; font-weight: 800; font-size: 12px; text-align: center; line-height: 30px; }
.db-wallet-bar a:hover { background: rgba(255,255,255,.32); }

/* Sidebar nav */
.db-nav { padding: 7px; }
.db-nav a, .db-nav button { display: flex; align-items: center; gap: 10px; padding: 9.5px 11px; border-radius: 10px; font-weight: 650; color: var(--txt); font-size: 13px; width: 100%; text-align: left; border: none; background: none; cursor: pointer; font-family: var(--font-body); text-decoration: none; }
.db-nav a:hover, .db-nav button:hover { background: var(--surf); }
.db-nav a.on { background: var(--pri-lt); color: var(--pri); font-weight: 800; }
.db-nav .db-ct { margin-left: auto; color: var(--lite); font-size: 11px; font-weight: 800; }
.db-sep { height: 1px; background: var(--bdr-lt); margin: 5px 8px; }

/* Sidebar nav icons (shared partials/db-sidebar.php) */
.db-nav a > svg, .db-nav button > svg { width: 17px; height: 17px; flex-shrink: 0; opacity: .62; }
.db-nav a.on > svg { opacity: 1; }

/* Breadcrumbs (shared partials/breadcrumbs.php) */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 12.5px; margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--pri); }
.crumbs span[aria-current] { color: var(--txt); font-weight: 800; }
.crumbs-sep { color: var(--lite); font-weight: 700; }

/* Main column */
.db-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.db-topline { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.db-page-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* KPI bar */
.db-kpi { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; }
.db-kpi-c { background: #fff; border: 1px solid var(--bdr); border-radius: 15px; padding: 13px; box-shadow: var(--sh0); }
.db-kpi-c .db-label { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.db-kpi-c b { display: block; font-family: var(--font-display); font-size: 20px; margin-top: 5px; letter-spacing: -.3px; }
.db-kpi-c .db-trend { font-size: 10.8px; font-weight: 800; color: var(--grn); margin-top: 5px; }
.db-kpi-c .db-trend.muted { color: var(--muted); }
.db-kpi-c .db-trend.pur { color: var(--pur); }

/* 2-col inner grid */
.db-grid-main { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(310px,.8fr); gap: 16px; align-items: start; }
.db-stack { display: flex; flex-direction: column; gap: 16px; }

/* Row cards */
.db-row-card { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bdr-lt); }
.db-row-card:last-child { border-bottom: none; }
.db-ri { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 17px; }
.db-rt { font-size: 13px; font-weight: 700; }
.db-rs { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.db-ra { margin-left: auto; text-align: right; font-weight: 800; font-size: 13px; white-space: nowrap; }
.db-ra.pos { color: var(--grn); }
.db-ra.neg { color: var(--red); }

/* Attention items */
.db-attn { display: flex; align-items: flex-start; gap: 10px; padding: 11px; border: 1px solid var(--bdr); border-radius: 13px; margin-bottom: 8px; transition: background .13s; }
.db-attn:last-child { margin-bottom: 0; }
.db-attn:hover { background: var(--surf); }
.db-attn-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.db-attn-dot.red { background: var(--red); }
.db-attn-dot.amb { background: var(--amb); }
.db-attn-dot.pri { background: var(--pri); }
.db-attn-dot.grn { background: var(--grn); }
.db-attn b { font-size: 13px; display: block; }
.db-attn p { font-size: 11.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

/* Audit trail */
.db-audit { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--bdr-lt); }
.db-audit:last-child { border-bottom: none; }
.db-audit time { font-size: 11px; color: var(--lite); white-space: nowrap; width: 76px; flex-shrink: 0; }
.db-audit div { font-size: 12.5px; line-height: 1.4; min-width: 0; }
.db-audit small { display: block; color: var(--muted); margin-top: 2px; font-size: 11px; }

/* Earnings boxes */
.db-earn-box { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.db-mini { background: var(--surf); border: 1px solid var(--bdr-lt); border-radius: 13px; padding: 12px; }
.db-mini span { font-size: 11px; color: var(--muted); font-weight: 700; }
.db-mini b { font-family: var(--font-display); font-size: 18px; display: block; margin-top: 4px; }
.db-bar { height: 7px; background: var(--bdr-lt); border-radius: 8px; overflow: hidden; margin-top: 12px; }
.db-bar i { display: block; height: 100%; background: var(--grn); border-radius: 8px; transition: width .6s ease; }

/* Points card */
.db-points-card { background: linear-gradient(135deg,var(--pur-lt),#fff); border: 1px solid #ddd6fe; border-radius: 14px; padding: 13px; margin-top: 12px; }
.db-points-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.db-points-top b { font-family: var(--font-display); font-size: 17px; color: var(--pur); }
.db-points-top span { font-size: 11.5px; color: var(--muted); font-weight: 800; }
.db-points-rate { font-size: 11.5px; color: var(--muted); margin-top: 5px; line-height: 1.45; }
.db-points-actions { display: flex; gap: 8px; margin-top: 10px; }
.db-points-actions button, .db-points-actions a { height: 31px; border-radius: 9px; font-size: 11.5px; font-weight: 900; padding: 0 10px; display: inline-flex; align-items: center; font-family: var(--font-body); cursor: pointer; }
.db-points-actions .redeem { background: var(--pur); color: #fff; border: none; }
.db-points-actions .history { background: #fff; border: 1px solid var(--bdr); color: var(--txt); text-decoration: none; }

/* Hot listings */
.db-hot-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.db-hot { border: 1px solid var(--bdr); border-radius: 14px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; display: block; transition: box-shadow .15s, transform .15s; }
.db-hot:hover { box-shadow: var(--sh1); border-color: var(--pri); transform: translateY(-2px); }
.db-hot-img { height: 105px; background: var(--surf); position: relative; overflow: hidden; }
.db-hot-img img { width: 100%; height: 100%; object-fit: cover; }
.db-hot-img .db-htag { position: absolute; top: 7px; left: 7px; }
.db-hb { padding: 10px; }
.db-price { font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.db-htitle { font-size: 12px; line-height: 1.3; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 30px; }
.db-hmeta { display: flex; justify-content: space-between; color: var(--lite); font-size: 10.5px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--bdr-lt); }
.db-hot-empty { border: 1.5px dashed var(--bdr); border-radius: 14px; padding: 30px 14px; text-align: center; color: var(--muted); font-size: 12.5px; }

/* Quick actions */
.db-quick-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.db-quick-item { display: flex; align-items: center; gap: 10px; border: 1px solid var(--bdr); border-radius: 13px; padding: 11px; text-decoration: none; color: inherit; transition: background .13s, border-color .13s; }
.db-quick-item:hover { background: var(--surf); border-color: var(--pri); }
.db-quick-item b { font-size: 12.5px; display: block; }
.db-quick-item span { font-size: 11px; color: var(--muted); display: block; margin-top: 1px; }

/* Coming soon badge */
.db-soon { font-size: 9.5px; font-weight: 800; background: var(--amb-lt); color: #b45309; padding: 2px 6px; border-radius: 6px; vertical-align: middle; margin-left: 4px; }

/* Mobile tabs */
.db-mobile-tabs { display: none; gap: 7px; overflow-x: auto; background: #fff; border: 1px solid var(--bdr); border-radius: 14px; padding: 7px; scrollbar-width: none; }
.db-mobile-tabs::-webkit-scrollbar { display: none; }
.db-mobile-tabs a { white-space: nowrap; padding: 8px 12px; border-radius: 10px; font-weight: 800; color: var(--muted); text-decoration: none; font-size: 12.5px; }
.db-mobile-tabs a.on { background: var(--pri-lt); color: var(--pri); }

/* Responsive */
@media(max-width:1120px) {
  .db-kpi { grid-template-columns: repeat(3,1fr); }
  .db-grid-main { grid-template-columns: 1fr; }
  .db-hot-grid { grid-template-columns: repeat(3,1fr); }
}
@media(max-width:880px) {
  .db-shell { grid-template-columns: 1fr; }
  .db-side { display: none; }
  .db-mobile-tabs { display: flex; }
  .db-kpi { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:700px) {
  .db-hot-grid { grid-template-columns: 1fr 1fr; }
  .db-quick-list { grid-template-columns: 1fr; }
  .db-topline { flex-direction: column; align-items: flex-start; }
}
@media(max-width:480px) {
  .db-kpi, .db-hot-grid { grid-template-columns: 1fr; }
}

/* â”€â”€ Search suggestion dropdown (shared: hero, listings, mobile) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.hero-sb-wrap { position: relative; }
.hero-sb-drop { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: #fff;
  border-radius: 16px; box-shadow: 0 26px 60px rgba(8,14,30,.28); border: 1px solid #eef1f6;
  padding: 7px; max-height: min(70vh, 520px); overflow-y: auto; z-index: 1200; }
.hero-sb-drop.ss-fixed { position: fixed; right: auto; top: 0; }
.hero-sb-drop[hidden] { display: none; }
.hsg-sec { padding: 4px 4px 6px; }
.hsg-sec + .hsg-sec { border-top: 1px solid #f1f3f7; margin-top: 2px; }
.hsg-lbl { font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: #9aa4b4; padding: 6px 9px 5px; }
.hsg-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 10px;
  border-radius: 11px; text-decoration: none; color: var(--txt, #111928); font-size: 13.5px; font-weight: 600;
  border: 0; background: transparent; cursor: pointer; font-family: inherit; }
.hsg-item:hover, .hsg-item.is-active { background: var(--pri-lt, #ebf5ff); }
.hsg-ic { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; background: var(--surf, #f3f4f6);
  display: grid; place-items: center; font-size: 15px; color: #64748b; overflow: hidden; }
.hsg-ic svg { width: 16px; height: 16px; } .hsg-ic img { width: 100%; height: 100%; object-fit: contain; }
.hsg-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.hsg-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hsg-t b { color: var(--pri, #1a56db); font-weight: 800; }
.hsg-sub { font-size: 11px; font-weight: 600; color: #94a0b0; }
.hsg-scope { flex: 0 0 auto; font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .3px; padding: 2px 7px; border-radius: 99px; }
.hsg-scope.campus { background: var(--grn-lt, #e3fcef); color: var(--grn, #0e9f6e); }
.hsg-scope.school { background: var(--pri-lt, #ebf5ff); color: var(--pri, #1a56db); }
.hsg-scope.general { background: var(--surf, #f3f4f6); color: #8a94a4; }
.hsg-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 6px 6px; }
.hsg-chip { font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 99px; background: var(--surf, #f3f4f6);
  color: #475569; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.hsg-chip:hover { background: var(--pri-lt, #ebf5ff); color: var(--pri, #1a56db); }
.hsg-empty { padding: 16px 12px; text-align: center; color: #94a0b0; font-size: 12.5px; font-weight: 600; }
/* ========================================================================= */
/* CAMPUS STORES DIRECTORY
/* ========================================================================= */

.browse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.browse-head .sh {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.browse-meta {
  color: var(--txt-mut);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  flex: 1;
}

.browse-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* Sidebar Filters */
.browse-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--surf);
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 80px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--bdr-lt);
}

.filter-group {
  margin-bottom: 20px;
}

.filter-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--txt);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--txt-mid);
  cursor: pointer;
}

/* Store Grid */
.browse-main {
  flex: 1;
  min-width: 0;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Store Card Premium Styling */
.store-card {
  display: flex;
  flex-direction: column;
  background: var(--surf);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--bdr-lt);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
}

.store-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(0,0,0,0.1);
}

/* Cover Image */
.store-card-cover {
  height: 140px;
  background-color: var(--bg-alt);
  background-size: cover;
  background-position: center;
  position: relative;
}

.store-card-cover::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.2) 100%);
}

/* Circular Logo */
.store-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid var(--surf);
  position: absolute;
  bottom: -36px;
  left: 20px;
  background: var(--bg-alt);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 2;
  object-fit: cover;
}

.store-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  background: linear-gradient(135deg, var(--surf) 0%, var(--bg-alt) 100%);
}

/* Card Body */
.store-card-body {
  padding: 44px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.store-card-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--txt);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-verified {
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.store-card-cat {
  font-size: 13px;
  color: var(--txt-mid);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.store-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--bdr-lt);
  font-size: 12px;
  color: var(--txt-mut);
  font-weight: 600;
}

.store-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.store-campus {
  margin-left: auto;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  padding: 2px 8px;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .browse-layout {
    flex-direction: column;
  }
  .browse-sidebar {
    width: 100%;
    position: static;
  }
}

/* ========================================================================= */
/* CAMPUS STORES ADDITIONAL STYLING
/* ========================================================================= */

/* Sidebar Form Elements */
.browse-sidebar .fld {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--bdr-lt);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: var(--txt);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.browse-sidebar .fld:focus {
  border-color: var(--primary);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.btn-secondary {
  background: var(--bg-alt);
  color: var(--txt);
  border: 1px solid var(--bdr-lt);
  font-weight: 600;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #e2e8f0;
}

.btn-ghost {
  background: transparent;
  color: var(--txt-mut);
  font-weight: 600;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
}

.btn-ghost:hover {
  background: rgba(0,0,0,0.04);
  color: var(--txt);
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }

/* Empty State Card */
.store-empty-card {
  background: var(--surf);
  border: 2px dashed var(--bdr-lt);
  border-radius: 20px;
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.store-empty-icon {
  font-size: 64px;
  margin-bottom: 20px;
  background: var(--bg-alt);
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.05);
}

.store-empty-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--txt);
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.store-empty-card p {
  color: var(--txt-mid);
  font-size: 16px;
  max-width: 440px;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

/* ========================================================================= */
/* PREMIUM FORM STYLING
/* ========================================================================= */

.wrap-narrow {
  max-width: 768px;
  margin: 0 auto;
  padding: 40px 20px;
}

.card {
  background: var(--surf);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  border: 1px solid var(--bdr-lt);
}

.p-4 {
  padding: 40px;
}

.mb-3 {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--txt);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.form-label .req {
  color: #ef4444;
}

.form-label .text-muted {
  color: var(--txt-mut);
  font-weight: 500;
  font-size: 13px;
  margin-left: 4px;
}

.fld {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  font-size: 15px;
  color: var(--txt);
  outline: none;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-sizing: border-box;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.fld:hover {
  border-color: #94a3b8;
}

.fld:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15);
}

textarea.fld {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1;
  min-width: 250px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--bdr-lt);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
}

.form-hint {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--txt-mut);
  font-weight: 500;
}

/* File Input Styling */
input[type="file"].fld {
  padding: 10px;
  background: var(--surf);
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  background: var(--bg-alt);
  color: var(--txt);
  border: 1px solid var(--bdr-lt);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  margin-right: 16px;
}

input[type="file"]::file-selector-button:hover {
  background: #e2e8f0;
}


