/* ╔══════════════════════════════════════════════════════════════════╗ */
/* ║  AJCART – app-ui.css                                           ║ */
/* ║  Pixel-perfect overrides to match screenshots 100%            ║ */
/* ║  Include: <link rel="stylesheet" href="app-ui.css">           ║ */
/* ╚══════════════════════════════════════════════════════════════════╝ */

/* ══════════════════════════════════════════════════════════════════
   GLOBAL TOKENS (match exact brand colors from screenshots)
══════════════════════════════════════════════════════════════════ */
:root {
  --primary:       #1A3BCC;
  --primary-dark:  #1228A8;
  --primary-light: #4361EE;
  --primary-bg:    #EEF2FF;
  --primary-glow:  rgba(26,59,204,.14);
  --bg:            #F4F6FF;
  --white:         #FFFFFF;
  --t1:            #0B1437;
  --t2:            #2D3748;
  --t3:            #64748B;
  --t4:            #94A3B8;
  --border:        #E2E8F0;
  --success:       #12B76A;
  --success-bg:    #ECFDF5;
  --warn:          #F59E0B;
  --warn-bg:       #FFFBEB;
  --danger:        #F04438;
  --danger-bg:     #FEF3F2;
  --shadow-card:   0 2px 4px rgba(0,0,0,.04), 0 4px 16px rgba(26,59,204,.07);
  --shadow-hover:  0 6px 20px rgba(0,0,0,.08), 0 10px 36px rgba(26,59,204,.12);
  --font:          'Plus Jakarta Sans', system-ui, sans-serif;
}

* { -webkit-tap-highlight-color: transparent; }

/* ══════════════════════════════════════════════════════════════════
   SPLASH SCREEN – exact match
══════════════════════════════════════════════════════════════════ */
#s-splash {
  background: linear-gradient(175deg, #1A3BCC 0%, #0F228A 100%);
  padding: 0;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 48px 24px 40px;
}

.splash-logo {
  font-size: 54px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -3px;
  display: flex;
  align-items: center;
  gap: 0;
  line-height: 1;
}

.splash-logo-pin {
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 3px;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  flex-shrink: 0;
}
.splash-logo-pin::after {
  content: '';
  width: 20px; height: 20px;
  background: var(--primary);
  border-radius: 50%;
  transform: rotate(45deg);
}

.splash-tagline {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  letter-spacing: .2px;
  text-align: center;
  margin-top: 6px;
}

.splash-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 24px;
}

.splash-welcome-box {
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255,255,255,.20);
  border-radius: 22px;
  padding: 22px 20px;
  text-align: center;
  width: 100%;
}
.splash-welcome-box h2 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.splash-welcome-box p  { font-size: 13px; color: rgba(255,255,255,.78); line-height: 1.65; }

.splash-cats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  width: 100%;
}
.splash-cat { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.splash-cat-icon {
  width: 54px; height: 54px;
  background: rgba(255,255,255,.16);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; color: #fff;
  border: 1.5px solid rgba(255,255,255,.22);
  backdrop-filter: blur(4px);
  transition: transform .25s;
}
.splash-cat-icon:hover { transform: scale(1.1); }
.splash-cat-label { font-size: 10px; color: rgba(255,255,255,.82); font-weight: 600; text-align: center; }

/* ══════════════════════════════════════════════════════════════════
   ONBOARDING – exact match
══════════════════════════════════════════════════════════════════ */
#s-onboard { background: #F4F6FF; }

.onb-header {
  padding: 16px 20px;
  background: #fff;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.onb-steps {
  padding: 14px 28px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

.step-circ {
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid var(--border); color: var(--t4);
  transition: all .3s;
}
.step-circ.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
}
.step-circ.done { background: var(--success); border-color: var(--success); color: #fff; }

.step-ln { flex: 1; height: 2px; background: var(--border); border-radius: 1px; max-width: 80px; }
.step-ln.done { background: var(--primary); }

.onb-title { font-size: 23px; font-weight: 800; color: var(--t1); text-align: center; padding: 16px 24px 5px; }
.onb-sub   { font-size: 13px; color: var(--t3); text-align: center; padding: 0 30px 0; line-height: 1.65; }

.onb-cards { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 0; flex: 1; }
.onb-card {
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-card);
  animation: slideUp .45s ease both;
}
.onb-card:nth-child(2) { animation-delay: .08s; }
.onb-card:nth-child(3) { animation-delay: .16s; }

.onb-card-img {
  width: 90px; height: 90px;
  border-radius: 16px;
  background: var(--primary-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 42px; flex-shrink: 0;
}
.onb-num {
  width: 26px; height: 26px;
  background: var(--primary); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; margin-bottom: 7px;
}
.onb-card h4 { font-size: 15px; font-weight: 700; color: var(--t1); margin-bottom: 5px; }
.onb-card p  { font-size: 12px; color: var(--t3); line-height: 1.62; }

/* ══════════════════════════════════════════════════════════════════
   AUTH SCREENS – exact match
══════════════════════════════════════════════════════════════════ */
#s-login, #s-signup { background: #fff; }
.auth-inner { overflow-y: auto; flex: 1; padding: 0 22px 40px; }
.auth-logo   { text-align: center; padding: 28px 0 4px; }
.auth-logo-text {
  font-size: 34px; font-weight: 900; color: var(--primary);
  display: inline-flex; align-items: center; gap: 6px;
}
.auth-h1 { font-size: 23px; font-weight: 800; text-align: center; color: var(--t1); margin: 14px 0 4px; }
.auth-sub { font-size: 13px; color: var(--t3); text-align: center; margin-bottom: 24px; }

.social-btn {
  width: 100%; padding: 14px 18px;
  border-radius: 14px; border: 1.5px solid var(--border);
  background: #fff; display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 600; color: var(--t1);
  cursor: pointer; transition: all .2s; margin-bottom: 10px;
}
.social-btn:hover { border-color: var(--primary); background: var(--primary-bg); transform: translateY(-1px); box-shadow: var(--shadow-card); }

.secure-note {
  margin-top: 24px; padding: 13px 15px;
  background: var(--bg); border-radius: 14px;
  display: flex; align-items: flex-start; gap: 11px;
}
.secure-ico {
  width: 36px; height: 36px;
  background: var(--primary); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   PROFILE SETUP PROGRESS BAR – exact match
══════════════════════════════════════════════════════════════════ */
.prog-bar {
  display: flex; align-items: flex-start; gap: 0;
  padding: 16px 20px;
  background: #fff; border-bottom: 1px solid var(--border);
}
.prog-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; flex: 1;
}
.prog-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--t4); transition: all .3s;
}
.prog-icon.active {
  background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
}
.prog-icon.done { background: var(--success); border-color: var(--success); color: #fff; }
.prog-lbl { font-size: 10px; color: var(--t4); font-weight: 600; }
.prog-lbl.active { color: var(--primary); font-weight: 700; }
.prog-conn {
  flex: 1; height: 2px; background: var(--border);
  margin-top: -22px; transition: background .3s;
}
.prog-conn.done { background: var(--primary); }

/* ══════════════════════════════════════════════════════════════════
   DISTRICT SELECTION – exact match
══════════════════════════════════════════════════════════════════ */
.state-tabs { display: flex; border-bottom: 2px solid var(--border); }
.state-tab {
  flex: 1; padding: 13px 8px; text-align: center;
  font-size: 13px; font-weight: 600; color: var(--t3);
  cursor: pointer; border-bottom: 3px solid transparent;
  margin-bottom: -2px; transition: all .3s;
}
.state-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 700; }

.dist-item {
  padding: 13px 16px; display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border); cursor: pointer; transition: background .2s;
  background: #fff;
}
.dist-item:hover { background: var(--primary-bg); }
.dist-ico {
  width: 40px; height: 40px;
  background: var(--primary-bg); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.dist-name { flex: 1; font-size: 15px; font-weight: 600; color: var(--t1); }
.dist-arrow { font-size: 13px; color: var(--t4); }

/* ══════════════════════════════════════════════════════════════════
   HOME SCREEN HEADER – exact match
══════════════════════════════════════════════════════════════════ */
.home-hdr {
  background: #fff;
  padding: 11px 16px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.hdr-logo .hl { font-size: 22px; font-weight: 900; color: var(--primary); line-height: 1; letter-spacing: -.5px; }
.hdr-logo .ht { font-size: 8.5px; color: var(--t4); font-weight: 500; }

/* Location selector */
.loc-sel {
  display: flex; align-items: center; gap: 5px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 100px; padding: 7px 13px;
  cursor: pointer; margin: 9px 16px 0;
  width: fit-content; transition: all .2s;
}
.loc-sel:hover { border-color: var(--primary); background: var(--primary-bg); }
.loc-sel .pin { font-size: 13px; color: var(--primary); }
.loc-sel .ln  { font-size: 13px; font-weight: 700; color: var(--t1); }
.loc-sel .chev { font-size: 10px; color: var(--t3); }

/* Search bar */
.search-bar {
  margin: 9px 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: all .2s;
}
.search-bar:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.search-bar input { flex: 1; padding: 12px 0; font-size: 13px; color: var(--t1); }
.filter-btn2 {
  width: 34px; height: 34px;
  background: var(--primary); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; cursor: pointer; border: none;
}

/* Quick category strip */
.quick-cats {
  display: flex; gap: 10px;
  padding: 10px 16px 12px;
  overflow-x: auto; scrollbar-width: none;
}
.quick-cats::-webkit-scrollbar { display: none; }
.qcat { display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; transition: transform .2s; min-width: 56px; }
.qcat:hover { transform: translateY(-2px); }
.qcat-icon { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.qcat-lbl  { font-size: 10.5px; font-weight: 600; color: var(--t3); white-space: nowrap; }
.qi-jobs   { background: #EEF2FF; color: #4338CA; }
.qi-biz    { background: #ECFDF5; color: #059669; }
.qi-svc    { background: #FFF7ED; color: #EA580C; }
.qi-event  { background: #FEF3C7; color: #D97706; }
.qi-prop   { background: #EFF6FF; color: #2563EB; }
.qi-news   { background: #FEF2F2; color: #DC2626; }
.qi-more   { background: #F8FAFC; color: #64748B; }

/* ══════════════════════════════════════════════════════════════════
   HERO BANNER – exact match (Adilabad sunset/waterfall)
══════════════════════════════════════════════════════════════════ */
.hero-banner {
  margin: 2px 16px 16px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 182px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.14);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,59,204,.80) 0%, rgba(0,0,0,.22) 100%);
  padding: 14px 16px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-dg {
  background: rgba(255,255,255,.22); backdrop-filter: blur(6px);
  border-radius: 100px; padding: 4px 11px;
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: #fff; font-weight: 600;
  align-self: flex-end; cursor: pointer;
}
.hw  { font-size: 12px; color: rgba(255,255,255,.82); font-weight: 500; }
.hd  { font-size: 28px; font-weight: 900; color: #fff; line-height: 1.05; letter-spacing: -.5px; }
.ht2 { font-size: 12.5px; color: rgba(255,255,255,.8); font-style: italic; }
.hero-stats2 { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 7px; }
.hs2 { font-size: 10.5px; color: rgba(255,255,255,.9); display: flex; align-items: center; gap: 3px; font-weight: 600; }
.hero-explore {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fff; color: var(--primary);
  border-radius: 100px; padding: 7px 14px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  border: none; margin-top: 9px; transition: all .2s;
}
.hero-explore:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.14); }
.hero-weather {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(255,255,255,.20); backdrop-filter: blur(5px);
  border-radius: 9px; padding: 5px 10px;
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: #fff; font-weight: 600;
}
.hero-dot { transition: all .3s; }

/* ══════════════════════════════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════════════════════════════ */
.sec-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 16px 10px; margin-top: 6px;
}
.sec-title { font-size: 16px; font-weight: 800; color: var(--t1); display: flex; align-items: center; gap: 7px; }
.view-all  { font-size: 12px; font-weight: 700; color: var(--primary); cursor: pointer; display: flex; align-items: center; gap: 4px; background: none; border: none; transition: gap .2s; }
.view-all:hover { gap: 7px; }

/* Filter pills */
.pills { display: flex; gap: 7px; padding: 0 16px 12px; overflow-x: auto; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill {
  padding: 6px 15px; border-radius: 100px; font-size: 12.5px; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: all .2s;
  border: 1.5px solid var(--border); background: #fff; color: var(--t3);
}
.pill.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 3px 10px var(--primary-glow); }

/* ══════════════════════════════════════════════════════════════════
   POST CARDS (horizontal scroll) – exact match
══════════════════════════════════════════════════════════════════ */
.cards-row { display: flex; gap: 12px; padding: 0 16px 16px; overflow-x: auto; scrollbar-width: none; }
.cards-row::-webkit-scrollbar { display: none; }

.pcard {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-card); cursor: pointer; transition: all .25s;
  border: 1px solid var(--border); flex-shrink: 0; width: 192px;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.pcard-img { width: 100%; height: 118px; position: relative; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pcard-type {
  position: absolute; top: 7px; left: 7px;
  padding: 3px 8px; border-radius: 100px;
  font-size: 10px; font-weight: 700; text-transform: capitalize; letter-spacing: .3px;
}
.pcard-fav {
  position: absolute; top: 7px; right: 7px;
  width: 28px; height: 28px;
  background: rgba(255,255,255,.92); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 12.5px; color: var(--t3); transition: all .2s;
}
.pcard-fav:hover { color: var(--danger); transform: scale(1.1); }
.pcard-fav.saved { color: var(--danger); }

.pcard-body { padding: 10px 11px 11px; }
.pcard-title { font-size: 13px; font-weight: 700; color: var(--t1); margin-bottom: 3px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-sub   { font-size: 11px; color: var(--t3); margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-loc   { font-size: 10.5px; color: var(--t4); display: flex; align-items: center; gap: 2px; }
.pcard-stats { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--t4); margin-top: 5px; }
.pcard-stats span { display: flex; align-items: center; gap: 2px; }

/* Type badge colors */
.pt-biz   { background: #DCFCE7; color: #15803D; }
.pt-job   { background: #EDE9FE; color: #5B21B6; }
.pt-event { background: #FEF3C7; color: #B45309; }
.pt-svc   { background: #FFEDD5; color: #C2410C; }
.pt-news  { background: #DBEAFE; color: #1D4ED8; }
.pt-prop  { background: #DCFCE7; color: #15803D; }
.pt-ad    { background: #F3E8FF; color: #7E22CE; }

/* ══════════════════════════════════════════════════════════════════
   BUSINESS CARDS – exact match
══════════════════════════════════════════════════════════════════ */
.bcard {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-card); cursor: pointer; transition: all .25s;
  border: 1px solid var(--border); flex-shrink: 0; width: 163px;
}
.bcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.bcard-img  { width: 100%; height: 108px; position: relative; overflow: hidden; }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ver-badge {
  position: absolute; top: 7px; left: 7px;
  background: var(--success); color: #fff;
  border-radius: 100px; padding: 2px 7px;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; gap: 2px;
}
.bcard-body    { padding: 9px 10px 10px; }
.bcard-name    { font-size: 12.5px; font-weight: 700; color: var(--t1); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bcard-cat     { font-size: 10.5px; color: var(--t3); margin-bottom: 5px; }
.bcard-loc     { font-size: 10px; color: var(--t4); display: flex; align-items: center; gap: 2px; }
.bcard-rating  { font-size: 10.5px; color: var(--warn); display: flex; align-items: center; gap: 2px; margin-top: 3px; font-weight: 600; }

/* ══════════════════════════════════════════════════════════════════
   DISTRICT STATS BAR – exact match
══════════════════════════════════════════════════════════════════ */
.stats-bar {
  margin: 0 16px 16px;
  background: linear-gradient(135deg, #1A3BCC 0%, #4361EE 100%);
  border-radius: 16px; padding: 15px 10px;
  display: flex; align-items: center;
  box-shadow: 0 4px 18px var(--primary-glow);
}
.stat-item  { flex: 1; text-align: center; padding: 0 6px; }
.stat-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,.22); }
.stat-n { font-size: 17px; font-weight: 800; color: #fff; display: block; }
.stat-l { font-size: 9.5px; font-weight: 500; color: rgba(255,255,255,.72); }

/* Post Action Bar */
.post-action-bar {
  background: linear-gradient(135deg, #1A3BCC 0%, #4361EE 100%);
  border-radius: 16px; padding: 13px 15px;
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 16px 16px;
  box-shadow: 0 4px 18px var(--primary-glow);
}
.pas-n { font-size: 15px; font-weight: 800; color: #fff; display: block; }
.pas-l { font-size: 9px; color: rgba(255,255,255,.72); font-weight: 500; }
.post-now-btn {
  background: #fff; color: var(--primary);
  border-radius: 10px; padding: 9px 13px;
  font-size: 12.5px; font-weight: 700; cursor: pointer; border: none;
  display: flex; align-items: center; gap: 5px; transition: all .2s;
}
.post-now-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.14); }

/* ══════════════════════════════════════════════════════════════════
   FEED ITEMS – exact match
══════════════════════════════════════════════════════════════════ */
.feed-item {
  background: #fff; border-radius: 16px; overflow: hidden;
  margin: 0 14px 11px; box-shadow: var(--shadow-card);
  border: 1px solid var(--border); cursor: pointer; transition: all .22s;
}
.feed-item:hover { transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.feed-img  { width: 100%; height: 168px; position: relative; overflow: hidden; }
.feed-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feed-body { padding: 13px 14px 14px; }
.feed-title { font-size: 15.5px; font-weight: 700; color: var(--t1); flex: 1; line-height: 1.35; }
.feed-time  { font-size: 10.5px; color: var(--t4); white-space: nowrap; margin-left: 7px; }

/* ══════════════════════════════════════════════════════════════════
   CATEGORIES GRID – exact match
══════════════════════════════════════════════════════════════════ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px 14px 20px; }
.cat-item {
  background: #fff; border-radius: 16px; padding: 18px 12px 16px;
  text-align: center; cursor: pointer; transition: all .25s;
  border: 1px solid var(--border); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
}
.cat-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.cat-icon  { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto; }
.cat-name  { font-size: 12.5px; font-weight: 700; color: var(--t1); }
.cat-count { font-size: 10.5px; color: var(--t3); }

/* ══════════════════════════════════════════════════════════════════
   PROFILE SCREEN – exact match
══════════════════════════════════════════════════════════════════ */
.prof-cover {
  background: linear-gradient(135deg, #1A3BCC 0%, #4361EE 100%);
  padding: 20px 18px 18px;
}
.prof-name    { font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 1px; }
.prof-handle  { font-size: 12px; color: rgba(255,255,255,.70); }
.prof-ver {
  display: inline-flex; align-items: center; gap: 3px;
  background: rgba(16,185,129,.22); padding: 2px 8px;
  border-radius: 100px; font-size: 10px; color: #34D399; font-weight: 600; margin-top: 3px;
}
.prof-loctag  { font-size: 11px; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 3px; margin-top: 5px; }
.prof-stat .num { font-size: 19px; font-weight: 800; color: #fff; display: block; }
.prof-stat .lbl { font-size: 10.5px; color: rgba(255,255,255,.68); }

/* Impact card */
.impact-card {
  margin: 14px 14px; border-radius: 16px;
  background: linear-gradient(135deg, #1A3BCC 0%, #4361EE 100%);
  padding: 15px 16px; color: #fff; box-shadow: 0 4px 18px var(--primary-glow);
}
.impact-card h4 { font-size: 12px; color: rgba(255,255,255,.70); margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.is .num { font-size: 21px; font-weight: 800; color: #fff; display: block; }
.is .lbl  { font-size: 10px; color: rgba(255,255,255,.70); }

/* ══════════════════════════════════════════════════════════════════
   NOTIFICATIONS – exact match
══════════════════════════════════════════════════════════════════ */
.notif-grp-hdr { padding: 9px 18px 5px; font-size: 11px; font-weight: 700; color: var(--t3); text-transform: uppercase; letter-spacing: .8px; background: var(--bg); }
.notif-item {
  padding: 13px 18px; display: flex; align-items: flex-start; gap: 12px;
  background: #fff; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background .2s; position: relative;
}
.notif-item:hover { background: var(--bg); }
.notif-item.unread { background: #F0F4FF; }
.ni-ico  { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.ni-title { font-size: 13.5px; font-weight: 700; color: var(--t1); margin-bottom: 2px; }
.ni-body  { font-size: 12px; color: var(--t3); line-height: 1.55; }
.ni-time  { font-size: 10px; color: var(--t4); margin-top: 3px; }
.ni-dot   { position: absolute; top: 15px; right: 15px; width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }

/* ══════════════════════════════════════════════════════════════════
   SAVED POSTS – exact match
══════════════════════════════════════════════════════════════════ */
.saved-item {
  background: #fff; border-radius: 16px; margin: 0 14px 11px;
  display: flex; overflow: hidden; box-shadow: var(--shadow-card);
  border: 1px solid var(--border); cursor: pointer; transition: all .22s;
}
.saved-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.si-img  { width: 88px; min-height: 88px; flex-shrink: 0; position: relative; overflow: hidden; }
.si-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.si-title { font-size: 13.5px; font-weight: 700; color: var(--t1); margin-bottom: 3px; line-height: 1.35; }
.si-sub   { font-size: 11px; color: var(--t3); margin-bottom: 5px; }
.si-meta  { font-size: 10.5px; color: var(--t4); display: flex; align-items: center; gap: 5px; }

/* ══════════════════════════════════════════════════════════════════
   MY POSTS – exact match
══════════════════════════════════════════════════════════════════ */
.mpi {
  background: #fff; border-radius: 16px; margin: 0 14px 11px;
  display: flex; overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--border);
}
.mpi-img { width: 88px; min-height: 88px; flex-shrink: 0; position: relative; overflow: hidden; }
.mpi-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mpi-title { font-size: 13px; font-weight: 700; color: var(--t1); flex: 1; line-height: 1.35; }
.mpi-meta  { font-size: 11px; color: var(--t3); margin-bottom: 5px; }
.sbadge { display: inline-flex; align-items: center; gap: 3px; padding: 3px 9px; border-radius: 100px; font-size: 10.5px; font-weight: 700; }
.sb-p  { background: var(--warn-bg);    color: var(--warn); }
.sb-a  { background: var(--success-bg); color: var(--success); }
.sb-r  { background: var(--danger-bg);  color: var(--danger); }
.sb-d  { background: var(--bg);         color: var(--t3); }

/* ══════════════════════════════════════════════════════════════════
   BOTTOM NAVIGATION – exact match
══════════════════════════════════════════════════════════════════ */
.bnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  background: #fff; border-top: 1px solid var(--border);
  display: flex; align-items: center; padding: 10px 0 16px; z-index: 200;
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
}
.nav-i { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; transition: all .2s; padding: 3px 0; }
.nav-i .ni-ic { font-size: 22px; color: var(--t4); transition: all .2s; }
.nav-i .ni-lb { font-size: 10px; font-weight: 600; color: var(--t4); transition: all .2s; }
.nav-i.active .ni-ic { color: var(--primary); }
.nav-i.active .ni-lb { color: var(--primary); font-weight: 700; }
.nav-center {
  width: 56px; height: 56px;
  background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px; cursor: pointer;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: all .22s; border: none; margin-top: -18px; flex-shrink: 0;
}
.nav-center:hover { transform: scale(1.06) translateY(-2px); }
.nav-center:active { transform: scale(.97); }

/* ══════════════════════════════════════════════════════════════════
   MODAL / CREATE POST SHEET – exact match
══════════════════════════════════════════════════════════════════ */
.modal-sheet { background: #fff; border-radius: 28px 28px 0 0; width: 100%; max-width: 430px; max-height: 90vh; overflow-y: auto; padding: 22px 18px 40px; animation: slideUp .3s ease; }
.modal-handle { width: 40px; height: 4px; background: var(--border2, #CBD5E1); border-radius: 2px; margin: 0 auto 18px; }
.modal-title  { font-size: 20px; font-weight: 800; color: var(--t1); margin-bottom: 3px; }
.modal-sub    { font-size: 13px; color: var(--t3); margin-bottom: 18px; }

.post-types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.pt-item {
  background: var(--bg); border-radius: 14px; padding: 15px 9px;
  text-align: center; cursor: pointer; transition: all .25s;
  border: 1.5px solid transparent;
}
.pt-item:hover { border-color: var(--primary); background: var(--primary-bg); transform: translateY(-2px); }
.pt-ico  { font-size: 28px; margin-bottom: 7px; }
.pt-nm   { font-size: 12.5px; font-weight: 700; color: var(--t1); margin-bottom: 2px; }
.pt-sub  { font-size: 10.5px; color: var(--t3); }

/* ══════════════════════════════════════════════════════════════════
   FORM INPUTS – exact match
══════════════════════════════════════════════════════════════════ */
.iw {
  background: var(--bg); border-radius: 12px; border: 1.5px solid var(--border);
  display: flex; align-items: center; transition: all .2s; overflow: hidden;
}
.iw:focus-within { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px var(--primary-glow); }
.iw .ii { padding: 0 13px; font-size: 15px; color: var(--t4); flex-shrink: 0; }
.iw input { flex: 1; padding: 13px 13px 13px 0; font-size: 14.5px; color: var(--t1); background: none; width: 100%; }
.iw input::placeholder { color: var(--t4); font-size: 13.5px; }

.btn-prim {
  width: 100%; padding: 15px;
  background: var(--primary); color: #fff; border-radius: 14px;
  font-size: 15.5px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  transition: all .2s; border: none;
}
.btn-prim:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 26px var(--primary-glow); }
.btn-prim:active { transform: none; }
.btn-prim:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ══════════════════════════════════════════════════════════════════
   SUCCESS SCREEN – exact match
══════════════════════════════════════════════════════════════════ */
.success-ico {
  width: 96px; height: 96px;
  background: linear-gradient(135deg, #12B76A 0%, #34D399 100%);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: #fff; margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(16,185,106,.28);
}
.success-h1 { font-size: 24px; font-weight: 800; color: var(--t1); margin-bottom: 7px; }
.success-sub { font-size: 13.5px; color: var(--t3); margin-bottom: 28px; line-height: 1.65; }
.success-card { background: var(--bg); border-radius: 16px; padding: 14px; width: 100%; margin-bottom: 20px; }
.scr-row { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.scr-row:last-child { border-bottom: none; }
.scr-ico { font-size: 19px; color: var(--primary); }
.scr-lbl { font-size: 12.5px; color: var(--t3); flex: 1; }
.scr-val { font-size: 12.5px; font-weight: 700; color: var(--t1); }
.scr-val.rvw { color: var(--warn); }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE – mobile-only max width
══════════════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .post-types-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid         { grid-template-columns: repeat(2, 1fr); }
  .splash-cats      { grid-template-columns: repeat(5, 1fr); }
  .hd               { font-size: 22px; }
}

/* Smooth image loading */
img { background: var(--bg); }
img[src] { animation: fadeIn .4s ease; }
