@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');
@import 'design-tokens.css';

/* ── Variables ───────────────────────────────────────────── */
:root {
  --primary:       #1E3A8A;
  --primary-l:     #2D4FAA;
  --primary-d:     #132860;
  --primary-soft:  #EEF2FF;
  --accent:        #3B6FFF;
  --bg:            #F8FAFC;
  --bg2:           #F1F5F9;
  --card:          #FFFFFF;
  --text:          #0F172A;
  --text-mid:      #475569;
  --text-light:    #94A3B8;
  --border:        #E2E8F0;
  --success:       #16A34A;
  --success-soft:  #DCFCE7;
  --warning:       #DC2626;
  --warning-soft:  #FEE2E2;
  --yellow:        #F59E0B;
  --yellow-soft:   #FEF3C7;
  --purple:        #7C3AED;
  --purple-soft:   #EDE9FE;
  --cyan:          #22D3EE;
  --sidebar-w:     272px;
  --navbar-h:      66px;
  --radius:        14px;
  --radius-sm:     9px;
  --radius-lg:     18px;
  --shadow-xs:     0 1px 2px rgba(15,23,42,.04);
  --shadow-sm:     0 1px 8px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md:     0 4px 20px rgba(15,23,42,.08);
  --shadow-lg:     0 10px 40px rgba(15,23,42,.12);
  --t:             0.2s cubic-bezier(.4,0,.2,1);
  --grad-blue:     linear-gradient(135deg,#3B6FFF,#1E3A8A);
  --grad-purple:   linear-gradient(135deg,#7C3AED,#3B6FFF);
  --grad-green:    linear-gradient(135deg,#16A34A,#22D3EE);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5 { font-family: 'Poppins', sans-serif; }
a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

/* ── AUTH ─────────────────────────────────────────────────── */
.auth-body { background: var(--bg); }
.auth-layout { display: flex; min-height: 100vh; }
.auth-panel {
  width: 440px; flex-shrink: 0;
  background: var(--primary-d);
  padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.auth-panel::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(59,111,255,.35) 0%, transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(124,58,237,.25) 0%, transparent 50%);
}
.auth-panel > * { position: relative; z-index: 1; }
.auth-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 48px; }
.auth-logo { width: 48px; height: 48px; border-radius: 13px; background: var(--grad-blue); display: flex; align-items: center; justify-content: center; font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 22px; color: #fff; box-shadow: 0 4px 16px rgba(59,111,255,.5); }
.auth-logo-text { font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 22px; color: #fff; }
.auth-logo-sub { font-size: 12px; color: rgba(255,255,255,.5); }
.auth-headline { font-size: 32px; font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: 16px; }
.auth-highlight { color: #60A5FA; }
.auth-tagline { font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: 32px; }
.auth-features { display: flex; flex-direction: column; gap: 12px; }
.auth-feature { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,.75); background: rgba(255,255,255,.07); padding: 10px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.08); }
.auth-form-side { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 32px; }
.auth-card { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 40px; width: 100%; max-width: 420px; border: 1px solid var(--border); }
.auth-card-header { margin-bottom: 28px; }
.auth-card-header h2 { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.auth-card-header p { font-size: 14px; color: var(--text-light); }
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-footer { text-align: center; font-size: 13px; color: var(--text-light); margin-top: 20px; }
.auth-footer a { color: var(--primary); font-weight: 600; }
.auth-demo { text-align: center; font-size: 12px; color: var(--text-light); margin-top: 10px; background: var(--bg2); padding: 8px 14px; border-radius: var(--radius-sm); }
.auth-demo span { font-weight: 600; color: var(--text-mid); }
.input-icon-wrap { position: relative; display: flex; align-items: center; }
.input-icon-wrap .form-control { padding-left: 40px; }
.input-icon { position: absolute; left: 13px; font-size: 16px; z-index: 1; pointer-events: none; }
.pwd-toggle { position: absolute; right: 12px; background: none; border: none; cursor: pointer; font-size: 16px; color: var(--text-light); padding: 0; }
.btn-full { width: 100%; justify-content: center; }

/* ── LAYOUT ───────────────────────────────────────────────── */
.app-layout { display: flex; min-height: 100vh; }

/* ── SIDEBAR ──────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w); min-height: 100vh;
  background: #ffffff;
  position: fixed; top: 0; left: 0; z-index: 200;
  display: flex; flex-direction: column;
  transition: transform var(--t);
  overflow-y: auto; overflow-x: hidden;
  border-right: 1px solid #E8EDF5;
  box-shadow: 4px 0 24px rgba(15,23,42,.06);
}
.sidebar::before { display:none; }
.sidebar::after  { display:none; }

/* LOGO */
.sidebar-logo {
  padding: 14px 16px 12px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid #F0F4FA;
  margin-bottom: 0;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(135deg,#3B6FFF,#7C3AED);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 17px; color: #fff;
  box-shadow: 0 4px 14px rgba(59,111,255,.35);
  flex-shrink: 0; position:relative;
}
.logo-mark::after {
  content:''; position:absolute; inset:-3px; border-radius:16px;
  background: linear-gradient(135deg,rgba(59,111,255,.2),rgba(124,58,237,.15));
  z-index:-1; filter:blur(6px);
}
.logo-name { font-family: 'Poppins',sans-serif; font-weight: 800; font-size: 17px; color: #0F172A; letter-spacing:-.3px; }
.logo-sub {
  font-size: 9.5px; color: #94A3B8;
  letter-spacing: 1px; text-transform:uppercase; font-weight:600;
}

/* NAV */
.sidebar-nav { padding: 4px 12px; flex: 1; }
.nav-label {
  font-size: 9.5px; font-weight: 800; color: #94A3B8;
  text-transform: uppercase; letter-spacing: 1.6px;
  padding: 8px 10px 4px;
  display:flex; align-items:center; gap:8px;
}
.nav-label::after {
  content:''; flex:1; height:1px;
  background: linear-gradient(90deg,#E8EDF5,transparent);
}
.nav-item {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px; border-radius: 10px;
  color: #64748B; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all .2s cubic-bezier(.4,0,.2,1);
  margin-bottom: 1px; text-decoration:none; position:relative;
  border: 1px solid transparent;
}
.nav-item:hover {
  background: #F5F7FF;
  color: #1E3A8A;
  border-color: #E8EDFF;
}
.nav-item.active {
  background: #EEF2FF;
  color: #1E3A8A; font-weight: 700;
  border-color: #C7D2FE;
  box-shadow: 0 1px 6px rgba(59,111,255,.10);
}
.nav-item.active::before {
  content:''; position:absolute; left:-12px; top:50%;
  transform:translateY(-50%);
  width:4px; height:65%; border-radius:0 4px 4px 0;
  background: linear-gradient(180deg,#60A5FA,#3B6FFF);
  box-shadow: 2px 0 10px rgba(59,111,255,.45);
}

/* NAV ICON CHIPS */
.nav-icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 12px;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}
.nav-icon svg { width: 14px; height: 14px; }

/* ── Default (inactive) — soft tinted chips ── */
.nav-item[data-color="blue"]    .nav-icon { background:#EEF2FF; color:#3B6FFF; }
.nav-item[data-color="cyan"]    .nav-icon { background:#ECFEFF; color:#0891B2; }
.nav-item[data-color="purple"]  .nav-icon { background:#F5F3FF; color:#7C3AED; }
.nav-item[data-color="green"]   .nav-icon { background:#F0FDF4; color:#16A34A; }
.nav-item[data-color="amber"]   .nav-icon { background:#FFFBEB; color:#D97706; }
.nav-item[data-color="emerald"] .nav-icon { background:#ECFDF5; color:#059669; }
.nav-item[data-color="pink"]    .nav-icon { background:#FDF2F8; color:#DB2777; }
.nav-item[data-color="red"]     .nav-icon { background:#FEF2F2; color:#DC2626; }
.nav-item[data-color="indigo"]  .nav-icon { background:#EEF2FF; color:#4F46E5; }

/* ── Hover — slightly deeper ── */
.nav-item:hover[data-color="blue"]    .nav-icon { background:#DBEAFE; color:#1D4ED8; }
.nav-item:hover[data-color="cyan"]    .nav-icon { background:#CFFAFE; color:#0E7490; }
.nav-item:hover[data-color="purple"]  .nav-icon { background:#EDE9FE; color:#6D28D9; }
.nav-item:hover[data-color="green"]   .nav-icon { background:#DCFCE7; color:#15803D; }
.nav-item:hover[data-color="amber"]   .nav-icon { background:#FEF3C7; color:#B45309; }
.nav-item:hover[data-color="emerald"] .nav-icon { background:#D1FAE5; color:#047857; }
.nav-item:hover[data-color="pink"]    .nav-icon { background:#FCE7F3; color:#BE185D; }
.nav-item:hover[data-color="red"]     .nav-icon { background:#FEE2E2; color:#B91C1C; }
.nav-item:hover[data-color="indigo"]  .nav-icon { background:#E0E7FF; color:#4338CA; }

/* ── Active — full gradient + glow ── */
.nav-item.active[data-color="blue"]    .nav-icon { background:linear-gradient(135deg,#3B6FFF,#1E3A8A); box-shadow:0 4px 12px rgba(59,111,255,.45);   color:#fff; }
.nav-item.active[data-color="cyan"]    .nav-icon { background:linear-gradient(135deg,#22D3EE,#0891B2); box-shadow:0 4px 12px rgba(34,211,238,.4);    color:#fff; }
.nav-item.active[data-color="purple"]  .nav-icon { background:linear-gradient(135deg,#7C3AED,#3B6FFF); box-shadow:0 4px 12px rgba(124,58,237,.45);   color:#fff; }
.nav-item.active[data-color="green"]   .nav-icon { background:linear-gradient(135deg,#16A34A,#22D3EE); box-shadow:0 4px 12px rgba(22,163,74,.4);     color:#fff; }
.nav-item.active[data-color="amber"]   .nav-icon { background:linear-gradient(135deg,#F59E0B,#EF4444); box-shadow:0 4px 12px rgba(245,158,11,.4);    color:#fff; }
.nav-item.active[data-color="emerald"] .nav-icon { background:linear-gradient(135deg,#10B981,#059669); box-shadow:0 4px 12px rgba(16,185,129,.4);    color:#fff; }
.nav-item.active[data-color="pink"]    .nav-icon { background:linear-gradient(135deg,#EC4899,#7C3AED); box-shadow:0 4px 12px rgba(236,72,153,.4);    color:#fff; }
.nav-item.active[data-color="red"]     .nav-icon { background:linear-gradient(135deg,#EF4444,#DC2626); box-shadow:0 4px 12px rgba(239,68,68,.4);     color:#fff; }
.nav-item.active[data-color="indigo"]  .nav-icon { background:linear-gradient(135deg,#6366F1,#4F46E5); box-shadow:0 4px 12px rgba(99,102,241,.4);    color:#fff; }

/* COUNTS & BADGES */
.nav-count {
  margin-left: auto; font-size: 10.5px; font-weight: 700;
  color: #94A3B8; background: #F1F5F9;
  padding: 2px 8px; border-radius: 99px;
  border:1px solid #E2E8F0;
}
.nav-item.active .nav-count { color:#3B6FFF; background:#DBEAFE; border-color:#BFDBFE; }
.nav-badge {
  margin-left: auto;
  background: linear-gradient(135deg,#EF4444,#DC2626);
  color: #fff; font-size: 10px; font-weight: 800;
  padding: 2px 8px; border-radius: 99px;
  box-shadow: 0 2px 8px rgba(239,68,68,.4);
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%,100% { box-shadow:0 2px 8px rgba(239,68,68,.4); }
  50%      { box-shadow:0 2px 14px rgba(239,68,68,.7); }
}

/* SUB ITEMS */
.nav-sub-item { padding-left: 20px; font-size: 13px; }
.nav-sub-item .nav-icon { width:26px; height:26px; border-radius:7px; font-size:11px; }
.nav-sub-item::before { left:-12px !important; height:50% !important; }
.nav-add { color:#94A3B8; }

/* Sidebar scrollbar */
.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: #E2E8F0; border-radius: 99px; }
.sidebar::-webkit-scrollbar-thumb:hover { background: #CBD5E1; }

/* Sub-item connector line */
.nav-sub-group { position:relative; }
.nav-sub-group::before {
  content:''; position:absolute;
  left:28px; top:0; bottom:0; width:1px;
  background:linear-gradient(180deg,#E2E8F0,#F1F5F9,transparent);
}

/* ── NAV DROPDOWN ───────────────────────────────────────── */
.nav-dropdown .nav-sub-group {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.3s ease, opacity 0.2s ease;
}
.nav-dropdown:hover .nav-sub-group,
.nav-dropdown.open .nav-sub-group {
  max-height: 200px;
  opacity: 1;
  pointer-events: auto;
}
.nav-dd-chevron {
  margin-left: auto;
  font-size: 10px;
  color: var(--text-light);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.2s ease;
}
.nav-dropdown:hover .nav-dd-chevron,
.nav-dropdown.open .nav-dd-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}
.nav-dd-trigger { user-select: none; }

/* ADD PROPERTY BUTTON */
.nav-add-btn {
  display:flex; align-items:center; gap:10px;
  margin:6px 0 2px;
  padding:8px 12px; border-radius:10px;
  background: linear-gradient(135deg,#EEF2FF,#F5F3FF);
  border:1px solid #C7D2FE;
  color:#3B6FFF; font-size:13px; font-weight:700;
  cursor:pointer; transition:all .2s; text-decoration:none;
}
.nav-add-btn:hover {
  background: linear-gradient(135deg,#DBEAFE,#EDE9FE);
  border-color:#93C5FD;
  color:#1D4ED8;
  transform:translateY(-1px);
  box-shadow:0 4px 16px rgba(59,111,255,.15);
}
.nav-add-btn .nav-icon {
  background:linear-gradient(135deg,#3B6FFF,#7C3AED);
  color:#fff; box-shadow:0 3px 10px rgba(59,111,255,.35);
}

/* SIDEBAR FOOTER */
.sidebar-footer {
  padding: 8px 10px 10px;
  border-top: 1px solid #F0F4FA;
}
.sidebar-user {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: 11px;
  cursor: pointer; transition: all .2s;
  background: #F8FAFC;
  border:1px solid #E8EDF5;
}
.sidebar-user:hover {
  background: #EEF2FF;
  border-color:#C7D2FE;
  transform:translateY(-1px);
  box-shadow:0 2px 12px rgba(59,111,255,.08);
}
.user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg,#7C3AED,#3B6FFF);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 14px; flex-shrink: 0;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #C7D2FE;
}
.user-info { flex: 1; overflow: hidden; }
.user-name { font-size: 13px; font-weight: 700; color: #0F172A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role {
  font-size: 10.5px; color: #64748B;
  display:flex; align-items:center; gap:5px; margin-top:1px;
}
.user-role::before { content:''; width:6px; height:6px; border-radius:50%; background:#22C55E; flex-shrink:0; }
.logout-btn {
  width:28px; height:28px; border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  color: #94A3B8; background:#F1F5F9;
  border:1px solid #E2E8F0;
  transition: all .2s; flex-shrink:0;
}
.logout-btn:hover { color:#DC2626; background:#FEE2E2; border-color:#FCA5A5; }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(15,23,42,.4); z-index: 190; backdrop-filter: blur(4px); }

/* ── MAIN ─────────────────────────────────────────────────── */
.main-content { margin-left: var(--sidebar-w); flex: 1; min-height: 100vh; display: flex; flex-direction: column; }

/* ── NAVBAR ───────────────────────────────────────────────── */
.top-navbar {
  height: var(--navbar-h);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,240,.8);
  display: flex; align-items: center; padding: 0 28px; gap: 16px;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 20px rgba(15,23,42,.06);
}
.menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--text); padding: 6px; border-radius: 8px; transition:background .2s; }
.menu-btn:hover { background:var(--bg2); }
.navbar-title { font-family: 'Poppins',sans-serif; font-size: 16px; font-weight: 700; color: var(--text); }
.navbar-spacer { flex: 1; }
.navbar-search {
  display: flex; align-items: center; gap: 9px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 8px 16px; width: 250px;
  transition: all .2s;
}
.navbar-search:focus-within {
  border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 3px rgba(30,58,138,.08);
}
.navbar-search input { border: none; background: none; outline: none; font-size: 13px; color: var(--text); flex: 1; font-family: 'Inter',sans-serif; }
.navbar-search input::placeholder { color: var(--text-light); }
.navbar-search svg { color: var(--text-light); flex-shrink: 0; }
.navbar-actions { display: flex; align-items: center; gap: 8px; }
.notif-btn {
  position: relative; width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid); border: 1.5px solid var(--border);
  background: var(--bg); transition: all .2s;
}
.notif-btn:hover { background: var(--primary-soft); color: var(--primary); border-color: var(--primary); }
.notif-dot {
  position: absolute; top: 7px; right: 7px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #EF4444; border: 2px solid #fff;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { transform:scale(1); }
  50% { transform:scale(1.2); }
}
.nav-profile {
  display: flex; align-items: center; gap: 9px;
  padding: 5px 14px 5px 5px;
  border: 1.5px solid var(--border); border-radius: 12px;
  cursor: pointer; transition: all .2s; background:#fff;
}
.nav-profile:hover { border-color: var(--primary); background: var(--primary-soft); }
.nav-avatar {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg,#7C3AED,#3B6FFF);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 12px; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(124,58,237,.35);
}
.nav-user-name { font-size: 13px; font-weight: 700; display: block; color:var(--text); }
.nav-user-role { font-size: 10.5px; color: var(--text-light); display: block; }

/* ── PAGE ─────────────────────────────────────────────────── */
.page-content { padding: 28px; flex: 1; }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; gap: 16px; }
.page-header h1 { font-size: 22px; font-weight: 700; margin-bottom: 3px; }
.page-header p { font-size: 14px; color: var(--text-light); }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-light); margin-bottom: 6px; }
.breadcrumb a { color: var(--text-light); } .breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--border); }
.breadcrumb span:last-child { color: var(--text); }

/* ── FLASH ────────────────────────────────────────────────── */
.flash { display: flex; align-items: center; gap: 10px; margin: 0 24px 0; border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px; font-weight: 500; border: 1px solid; }
.flash button { margin-left: auto; background: none; border: none; cursor: pointer; font-size: 16px; color: inherit; opacity: .6; }
.flash button:hover { opacity: 1; }
.flash-success { background: var(--success-soft); color: var(--success); border-color: #86EFAC; }
.flash-error   { background: var(--warning-soft); color: var(--warning); border-color: #FCA5A5; }

/* ── ALERTS ───────────────────────────────────────────────── */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 20px; border: 1px solid; }
.alert-danger { background: var(--warning-soft); color: var(--warning); border-color: #FCA5A5; }
.alert ul { margin-top: 6px; }

/* ── CARDS ────────────────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-header { padding: 18px 22px 14px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-header h3 { font-size: 15px; font-weight: 600; }
.card-body { padding: 22px; }

/* ── STAT CARDS ───────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 24px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--t); }
.stat-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent, var(--primary)); }
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.stat-label { font-size: 11px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .7px; }
.stat-icon { width: 38px; height: 38px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.stat-value { font-family: 'Poppins',sans-serif; font-size: 28px; font-weight: 700; line-height: 1; margin-bottom: 6px; }
.stat-meta { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 5px; }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.badge-dot.green { background: var(--success); }
.badge-dot.yellow { background: var(--yellow); }
.badge-dot.blue { background: var(--primary); }

/* ── TABLE ────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th { padding: 10px 16px; text-align: left; font-family: 'Poppins',sans-serif; font-size: 11px; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: .6px; background: var(--bg); border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--border); transition: background var(--t); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg); }
tbody td { padding: 13px 16px; vertical-align: middle; }
.empty-cell { padding: 0 !important; }
.td-prop { display: flex; align-items: center; gap: 11px; }
.prop-ico { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--primary-soft); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.prop-thumb-img { width: 40px; height: 40px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.prop-n { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.prop-l { font-size: 12px; color: var(--text-light); }
.fw600 { font-weight: 600; }
.text-muted { color: var(--text-light); font-size: 13px; }
.mono { font-family: 'Courier New', monospace; font-size: 13px; letter-spacing: .3px; }
.action-btns { display: flex; gap: 6px; }
.btn-icon { width: 32px; height: 32px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 15px; border: 1px solid var(--border); background: var(--bg); cursor: pointer; transition: all var(--t); text-decoration: none; color: inherit; }
.btn-icon:hover { background: var(--primary-soft); border-color: var(--primary); }
.btn-danger-icon:hover { background: var(--warning-soft); border-color: var(--warning); }

/* ── BADGES ───────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning, .badge-danger { background: var(--warning-soft); color: var(--warning); }
.badge-yellow  { background: var(--yellow-soft);  color: #92400E; }
.badge-blue    { background: var(--primary-soft);  color: var(--primary); }
.badge-purple  { background: var(--purple-soft);   color: var(--purple); }
.badge-gray    { background: #F1F5F9; color: var(--text-mid); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; font-family: 'Inter',sans-serif; cursor: pointer; border: none; transition: all var(--t); white-space: nowrap; text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(30,58,138,.25); }
.btn-primary:hover { background: var(--primary-l); box-shadow: 0 4px 16px rgba(30,58,138,.35); transform: translateY(-1px); }
.btn-ghost { background: var(--bg); color: var(--text-mid); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--primary-soft); color: var(--primary); border-color: var(--primary); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #15803D; }
.btn-danger { background: var(--warning); color: #fff; }
.btn-danger:hover { background: #B91C1C; }
.btn-sm { padding: 6px 13px; font-size: 12px; }
.btn-lg { padding: 12px 24px; font-size: 15px; }

/* ── FORM PROGRESS STEPS ─────────────────────────────────── */
.form-steps {
  display: flex; align-items: center;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px 28px;
  margin-bottom: 24px; gap: 0;
}
.form-step { display: flex; align-items: center; gap: 10px; flex: 1; }
.form-step-circle {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg2); border: 2px solid var(--border);
  color: var(--text-light); font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.form-step.active .form-step-circle {
  background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: 0 4px 14px rgba(59,111,255,.35);
}
.form-step-label { font-size: 13px; font-weight: 600; color: var(--text-light); white-space: nowrap; }
.form-step.active .form-step-label { color: var(--text); }
.form-step-line { flex: 1; height: 2px; background: var(--border); margin: 0 14px; min-width: 20px; }

/* ── FORM SECTION HEAD ───────────────────────────────────── */
.form-section-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.form-sec-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.fsi--blue   { background: #EEF2FF; color: #4F46E5; }
.fsi--purple { background: #F5F3FF; color: #7C3AED; }
.fsi--green  { background: #F0FDF4; color: #16A34A; }
.form-sec-name { font-size: 15px; font-weight: 700; color: var(--text); }
.form-sec-sub  { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.form-sec-step {
  margin-left: auto; white-space: nowrap;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text-light); font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 99px;
}

/* ── ROOM STEPPERS ───────────────────────────────────────── */
.room-steppers {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 12px; margin-bottom: 22px;
}
.room-stepper {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 16px 10px;
  text-align: center; transition: border-color .2s;
}
.room-stepper:focus-within { border-color: var(--primary); background: var(--primary-soft); }
.rs-icon  { font-size: 22px; color: var(--primary); margin-bottom: 8px; }
.rs-label { font-size: 11.5px; font-weight: 600; color: var(--text-mid); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .4px; }
.rs-controls { display: flex; align-items: center; justify-content: center; gap: 6px; }
.rs-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--card); border: 1.5px solid var(--border);
  color: var(--text); font-size: 16px; font-weight: 700; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.rs-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.rs-input {
  width: 38px; text-align: center; border: none;
  background: transparent; font-size: 17px; font-weight: 700;
  color: var(--text); outline: none;
}

/* ── LISTING TIPS ────────────────────────────────────────── */
.listing-tips .tips-title {
  font-size: 13px; font-weight: 700; color: var(--text);
  margin-bottom: 14px; display: flex; align-items: center; gap: 7px;
}
.listing-tips .tips-title i { color: #F59E0B; }
.tips-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tips-list li {
  font-size: 12.5px; color: var(--text-mid); line-height: 1.5;
  display: flex; align-items: flex-start; gap: 8px;
}
.tips-list li::before { content: '\2192'; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.submit-note {
  text-align: center; font-size: 11.5px; color: var(--text-light);
  margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 5px;
}
.submit-note i { color: var(--success); }

/* ── CAR SPEC HIGHLIGHT ROW ──────────────────────────────── */
.car-spec-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 4px;
}
.car-spec-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 14px 14px 12px;
  display: flex; flex-direction: column; gap: 6px;
  transition: border-color .2s;
}
.car-spec-card:focus-within { border-color: #7C3AED; background: #F5F3FF; }
.cs-icon { font-size: 20px; color: #7C3AED; }
.cs-label { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; margin: 0; }
.cs-input { padding: 6px 10px !important; font-size: 13px !important; }

/* Progress step circle colour override via custom property */
.form-step.active .form-step-circle { background: var(--sc, var(--primary)); border-color: var(--sc, var(--primary)); }

/* ── UPLOAD ZONE INNER ───────────────────────────────────── */
.upload-zone-inner { pointer-events: none; }

/* ── FORMS ────────────────────────────────────────────────── */
.form-layout { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.form-main { display: flex; flex-direction: column; gap: 20px; }
.form-side { display: flex; flex-direction: column; gap: 16px; }
.form-card { padding: 24px; }
.sticky-card { position: sticky; top: 88px; }
.form-section-title { display: flex; align-items: center; gap: 10px; font-family: 'Poppins',sans-serif; font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-soft); }
.sec-num { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.section-sub { font-size: 13px; color: var(--text-light); margin-bottom: 16px; margin-top: -10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 12px; font-weight: 600; color: var(--text-mid); text-transform: uppercase; letter-spacing: .5px; }
.req { color: var(--warning); }
.form-control { padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; font-family: 'Inter',sans-serif; color: var(--text); background: #fff; outline: none; transition: all var(--t); width: 100%; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30,58,138,.1); }
.form-control::placeholder { color: var(--text-light); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 94px; }
.form-control-sm { padding: 7px 12px; font-size: 13px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-family: 'Inter',sans-serif; color: var(--text); background: var(--bg); outline: none; cursor: pointer; }
.form-control-sm:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(30,58,138,.1); }
.field-hint { font-size: 11px; color: var(--text-light); }
.input-group { display: flex; }
.input-group .form-control { flex: 1; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.ig-addon { padding: 10px 12px; background: var(--bg2); border: 1.5px solid var(--border); border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-size: 13px; font-weight: 600; color: var(--text-mid); display: flex; align-items: center; }
.ig-addon-right { padding: 10px 12px; background: var(--bg2); border: 1.5px solid var(--border); border-left: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 13px; font-weight: 600; color: var(--text-mid); display: flex; align-items: center; }
.room-table-wrap { border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 4px; }
.room-table { width: 100%; border-collapse: collapse; }
.room-table th { background: var(--bg); padding: 10px 14px; font-size: 11px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .6px; text-align: center; border-bottom: 1px solid var(--border); }
.room-table td { padding: 10px 14px; text-align: center; }
.room-table td input { width: 80px; text-align: center; }
.tc { text-align: center !important; }

/* ── UPLOAD ───────────────────────────────────────────────── */
.upload-zone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 28px 20px; text-align: center; cursor: pointer; transition: all var(--t); background: var(--bg); }
.upload-zone:hover, .upload-zone.drag-over { border-color: var(--primary); background: var(--primary-soft); }
.upload-icon-wrap { font-size: 32px; margin-bottom: 10px; }
.upload-zone h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.upload-zone p { font-size: 13px; color: var(--text-light); }
.upload-link { color: var(--primary); font-weight: 600; cursor: pointer; }
.upload-hint { font-size: 11px; color: var(--text-light); display: block; margin-top: 8px; }
.image-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px,1fr)); gap: 8px; margin-top: 14px; }
.preview-item { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-remove { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; }

/* ── ADD PROPERTY — Redesigned ───────────────────────────── */
.add-prop-hero {
  text-align: center; max-width: 580px;
  margin: 0 auto 40px; padding: 8px 0;
}
.add-prop-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--primary-soft); color: var(--primary);
  font-size: 12px; font-weight: 600; letter-spacing: .3px;
  padding: 5px 16px; border-radius: 99px; margin-bottom: 16px;
}
.add-prop-title {
  font-size: clamp(22px,3vw,30px); font-weight: 800;
  margin-bottom: 10px; color: var(--text);
}
.add-prop-sub { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

.type-selector-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; max-width: 880px; margin: 0 auto 36px;
}
.type-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; transition: all .25s ease;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.type-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(59,111,255,.16);
}

.type-card-banner {
  height: 136px; display: flex; align-items: center;
  justify-content: center; font-size: 52px; color: #fff;
  position: relative; overflow: hidden;
}
.type-card-banner::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,.08);
}
.type-card-banner i { position: relative; z-index: 1; }
.type-card-banner--house { background: linear-gradient(135deg,#1E3A8A,#3B6FFF); }
.type-card-banner--car   { background: linear-gradient(135deg,#5B21B6,#8B5CF6); }
.type-card-banner--land  { background: linear-gradient(135deg,#065F46,#10B981); }

.type-card-body {
  padding: 22px 22px 24px;
  flex: 1; display: flex; flex-direction: column;
}
.type-card-body h3 { font-size: 18px; font-weight: 800; margin-bottom: 7px; color: var(--text); }
.type-card-body p  { font-size: 13px; color: var(--text-mid); line-height: 1.55; margin-bottom: 16px; }

.type-req-list {
  list-style: none; margin: 0 0 20px; padding: 0;
  display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.type-req-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--text-mid);
}
.type-req-list li i { color: var(--success); font-size: 11px; flex-shrink: 0; }

.type-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 9px 18px; border-radius: var(--radius);
  transition: background .2s, gap .2s; align-self: flex-start;
}
.type-card:hover .type-cta { background: #1d4ed8; gap: 12px; }

/* Info strip */
.add-prop-info-row {
  display: flex; gap: 0; max-width: 880px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.add-prop-info-item {
  display: flex; align-items: flex-start; gap: 14px;
  flex: 1; padding: 20px 24px;
  border-right: 1px solid var(--border);
}
.add-prop-info-item:last-child { border-right: none; }
.add-prop-info-item > i { font-size: 22px; color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.add-prop-info-item strong { display: block; font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.add-prop-info-item span   { font-size: 12px; color: var(--text-mid); line-height: 1.5; }

/* ── DASHBOARD GRID ───────────────────────────────────────── */
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.span-2 { grid-column: 1 / -1; }
.breakdown-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.breakdown-icon { font-size: 18px; }
.breakdown-info { flex: 1; }
.breakdown-label-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.progress-bar { background: var(--border); border-radius: 99px; height: 6px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 99px; transition: width .6s ease; }
.req-mini { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.req-mini:last-child { border-bottom: none; }
.req-mini-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.req-mini-name { font-size: 13px; font-weight: 600; }
.req-mini-sub { font-size: 11px; color: var(--text-light); }
.req-mini-stars { margin-left: auto; color: var(--yellow); font-size: 12px; }

/* ── FILTER ROW (legacy) ──────────────────────────────────── */
.filter-row { display: flex; align-items: center; gap: 8px; }
.filter-tabs { display: flex; gap: 6px; margin-bottom: 20px; }
.ftab { padding: 7px 16px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--text-mid); border: 1px solid var(--border); background: var(--bg); transition: all var(--t); cursor: pointer; }
.ftab:hover { border-color: var(--primary); color: var(--primary); }

/* ── FILTER BAR — Premium horizontal strip ────────────────── */
.filter-bar {
  display: flex; align-items: stretch;
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 24px; min-height: 52px;
}

.filter-bar-label {
  display: flex; align-items: center; gap: 8px;
  padding: 0 20px; flex-shrink: 0;
  font-size: 13px; font-weight: 700; color: var(--text-mid);
  border-right: 1.5px solid var(--border);
  background: var(--bg); white-space: nowrap;
}
.filter-bar-label i { color: var(--primary); }

.filter-group {
  display: flex; align-items: center; flex: 1;
  border-right: 1.5px solid var(--border);
  position: relative; min-width: 0;
  transition: background .15s;
}
.filter-group:hover { background: var(--bg); }
.filter-group--active { background: var(--primary-soft); }
.filter-group--active .filter-group-icon { color: var(--primary); }

.filter-group-icon {
  font-size: 13px; color: var(--text-light);
  padding-left: 16px; flex-shrink: 0; pointer-events: none;
  transition: color .15s;
}

.filter-select {
  flex: 1; height: 52px; border: none; background: transparent;
  padding: 0 36px 0 10px; font-size: 13px; font-weight: 500;
  color: var(--text); outline: none; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394A3B8' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px 7px;
}
.filter-select:focus { background-color: var(--primary-soft); }
.filter-group--active .filter-select { color: var(--primary); font-weight: 600; }

.filter-clear-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 0 20px; flex-shrink: 0;
  font-size: 12.5px; font-weight: 600; color: #EF4444;
  border-right: 1.5px solid var(--border);
  text-decoration: none; white-space: nowrap;
  transition: background .15s;
}
.filter-clear-btn:hover { background: #FEF2F2; }

.filter-bar-count {
  display: flex; align-items: center;
  padding: 0 20px; margin-left: auto; flex-shrink: 0;
  font-size: 13px; color: var(--text-light); white-space: nowrap;
}

@media (max-width: 768px) {
  .filter-bar { flex-wrap: wrap; border-radius: var(--radius); }
  .filter-bar-label { width: 100%; border-right: none; border-bottom: 1.5px solid var(--border); }
  .filter-group { flex: 1 1 calc(50% - 1px); min-width: 0; border-bottom: 1.5px solid var(--border); }
  .filter-bar-count { width: 100%; padding: 10px 16px; border-top: 1.5px solid var(--border); }
  .filter-clear-btn { flex: 1 1 100%; border-right: none; border-top: 1.5px solid var(--border); padding: 12px 16px; justify-content: center; }
}
.ftab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── REQUESTS ─────────────────────────────────────────────── */
.req-list { display: flex; flex-direction: column; gap: 16px; }
.req-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: box-shadow var(--t); }
.req-card:hover { box-shadow: var(--shadow-md); }
.req-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.req-tenant { display: flex; align-items: center; gap: 12px; }
.req-avatar { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 17px; flex-shrink: 0; }
.req-name { font-size: 16px; font-weight: 600; }
.req-sub { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.req-badge-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.req-stars { font-size: 12px; color: var(--yellow); }
.req-stars span { color: var(--text-mid); }
.req-details-row { display: flex; flex-wrap: wrap; gap: 20px; background: var(--bg); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 14px; }
.req-detail-item { display: flex; flex-direction: column; }
.rd-label { font-size: 11px; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.rd-val { font-size: 13px; font-weight: 600; }
.req-message { font-size: 13px; color: var(--text-mid); font-style: italic; margin-bottom: 14px; padding-left: 12px; border-left: 3px solid var(--border); }
.req-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* ── REVIEWS ──────────────────────────────────────────────── */
.main-side { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.review-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; flex-wrap: wrap; gap: 8px; }
.review-author-info { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px; }
.review-author-name { font-weight: 600; font-size: 14px; }
.review-meta { font-size: 12px; color: var(--text-light); }
.review-stars { color: var(--yellow); font-size: 18px; }
.review-text { font-size: 14px; color: var(--text-mid); line-height: 1.65; font-style: italic; }

/* ── ANALYTICS ────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.donut-wrap { display: flex; align-items: center; gap: 28px; }
.chart-legend { display: flex; flex-direction: column; gap: 10px; }
.legend-row { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.legend-lbl { color: var(--text-mid); flex: 1; }

/* ── SETTINGS ─────────────────────────────────────────────── */
.settings-layout { display: grid; grid-template-columns: 230px 1fr; gap: 22px; align-items: start; }
.settings-nav-card { padding: 12px; position: sticky; top: 88px; }
.settings-nav-list { display: flex; flex-direction: column; gap: 2px; }
.settings-nav-item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 500; color: var(--text-mid); cursor: pointer; transition: all var(--t); text-decoration: none; }
.settings-nav-item:hover { background: var(--bg); color: var(--text); }
.settings-nav-item.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.avatar-section { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding: 16px; background: var(--bg); border-radius: var(--radius-sm); }
.settings-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--grad-purple); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 20px; flex-shrink: 0; }
.notif-list { display: flex; flex-direction: column; gap: 0; }
.notif-item { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--border); gap: 16px; }
.notif-item:last-child { border-bottom: none; }
.notif-label { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.notif-desc { font-size: 12px; color: var(--text-light); }
.info-rows { display: flex; flex-direction: column; gap: 0; }
.info-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: none; }
.info-label { font-size: 13px; color: var(--text-light); }
.info-val { font-size: 14px; font-weight: 600; }
.toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--border); border-radius: 99px; cursor: pointer; transition: background var(--t); }
.toggle-slider::before { content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: transform var(--t); box-shadow: var(--shadow-xs); }
.toggle input:checked + .toggle-slider { background: var(--primary); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ── EMPTY STATE ──────────────────────────────────────────── */
.empty-state { text-align: center; padding: 40px 24px; color: var(--text-light); }
.empty-state span { font-size: 44px; display: block; margin-bottom: 14px; opacity: .5; }
.empty-state p { font-size: 14px; }
.empty-state a { color: var(--primary); font-weight: 600; }

/* ── TOAST ────────────────────────────────────────────────── */
#toast { position: fixed; bottom: 24px; right: 24px; background: var(--text); color: #fff; padding: 13px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); z-index: 9999; display: flex; align-items: center; gap: 10px; transform: translateY(80px); opacity: 0; transition: all .3s cubic-bezier(.4,0,.2,1); max-width: 340px; }
#toast.show { transform: translateY(0); opacity: 1; }
#toast.success { background: var(--success); }
#toast.error { background: var(--warning); }

/* ── MODAL ────────────────────────────────────────────────── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 300; backdrop-filter: blur(3px); animation: fadeIn 0.3s ease-out; }
.modal-overlay.open { display: flex; align-items: center; justify-content: center; }
.modal { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); max-width: 600px; width: 90%; max-height: 85vh; overflow-y: auto; animation: slideUp 0.3s cubic-bezier(.4,0,.2,1); border: 1px solid var(--border); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--border); }
.modal-header h2 { font-size: 20px; font-weight: 700; margin: 0; }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-light); padding: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); transition: all var(--t); }
.modal-close:hover { background: var(--bg); color: var(--text); }
.modal-body { padding: 24px; }
.modal-section { margin-bottom: 24px; }
.modal-section:last-child { margin-bottom: 0; }
.modal-section-title { font-weight: 700; font-size: 13px; text-transform: uppercase; color: var(--text-light); margin-bottom: 12px; letter-spacing: 0.5px; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-item { background: var(--bg); padding: 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.modal-item-label { font-size: 11px; color: var(--text-light); text-transform: uppercase; font-weight: 600; margin-bottom: 4px; letter-spacing: 0.5px; }
.modal-item-value { font-size: 14px; font-weight: 600; color: var(--text); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ── FONT AWESOME ICONS ───────────────────────────────────── */
.icon-sm { font-size: 14px; }
.icon-md { font-size: 18px; }
.icon-lg { font-size: 24px; }
.icon-xl { font-size: 32px; }
.icon-2xl { font-size: 48px; }
.icon-primary { color: var(--primary); }
.icon-success { color: var(--success); }
.icon-warning { color: var(--warning); }
.icon-yellow { color: var(--yellow); }
.fa-icon-btn { display: inline-flex; align-items: center; justify-content: center; }

/* ── SWEETALERT2 CUSTOMIZATION ─────────────────────────── */
.swal2-container.swal2-center > .swal2-show { animation: slideInUp 0.4s ease-out, popScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.swal2-icon.swal2-success .swal2-success-ring { animation: pulse 1.5s ease-in-out infinite; }
.swal2-success-icon { animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.swal-success-animation .swal2-modal { box-shadow: 0 20px 60px rgba(22, 163, 74, 0.3) !important; }

@keyframes popScale {
  0% { transform: scale(0.5) rotateZ(-5deg); opacity: 0; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1) rotateZ(0); opacity: 1; }
}

@keyframes scaleIn {
  0% { transform: scale(0); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width:1200px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .form-layout { grid-template-columns: 1fr; }
  .form-side .sticky-card { position: static; }
  .dash-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width:900px) {
  .settings-layout { grid-template-columns: 1fr; }
  .settings-nav-card { position: static; }
  .main-side { grid-template-columns: 1fr; }
}
@media (max-width:768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .main-content { margin-left: 0; }
  .menu-btn { display: flex; }
  .navbar-search { display: none; }
  .page-content { padding: 16px; }
  .room-steppers  { grid-template-columns: repeat(2,1fr); }
  .car-spec-row   { grid-template-columns: repeat(2,1fr); }
  .form-steps { padding: 14px 16px; gap: 0; }
  .form-step-label { display: none; }
  .type-selector-grid { grid-template-columns: 1fr; max-width: 400px; }
  .add-prop-info-row  { flex-direction: column; }
  .add-prop-info-item { border-right: none; border-bottom: 1px solid var(--border); }
  .add-prop-info-item:last-child { border-bottom: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .page-header { flex-direction: column; align-items: flex-start; }
  .auth-panel { display: none; }
  .auth-form-side { padding: 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   PUBLIC SITE — navbar, hero, listing cards, browse, footer
   ═══════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════
   PUBLIC NAVBAR — Premium Edition
   ══════════════════════════════════════════════════════════════ */
.pub-nav {
  position: fixed;
  top: 16px;
  left: 0; right: 0;
  margin: 0 auto;
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 1280px;
  height: 68px;
  display: flex; align-items: center;
  padding: 1rem 2.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition:
    background   .4s ease,
    box-shadow   .4s ease,
    border-color .4s ease,
    border-radius .4s ease,
    top          .4s ease,
    width        .4s ease,
    max-width    .4s ease,
    margin       .4s ease,
    padding      .4s ease;
}

/* ── inside hero, slight tint when user starts scrolling ── */
.pub-nav.scrolled {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  top: 10px;
}

/* ── past the hero: expand full-width, go solid ── */
.pub-nav.expanded {
  top: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  padding: 1rem 4%;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: none;
  border-bottom: 1px solid rgba(203, 213, 225, 0.7);
  box-shadow: 0 4px 28px rgba(15, 23, 42, 0.10);
}
.pub-nav.expanded .pub-logo-text        { color: #0F172A; }
.pub-nav.expanded .pub-nav-item         { color: #475569; }
.pub-nav.expanded .pub-nav-item:hover   { color: #1E3A8A; background: #EEF2FF; }
.pub-nav.expanded .pub-nav-item.active-link { color: #1E3A8A; }
.pub-nav.expanded .pub-loc-pill         { color: #64748B !important; border-color: #E2E8F0 !important; }
.pub-nav.expanded .pub-btn-signin       { color: #334155; border-color: #E2E8F0; background: #F8FAFC; }
.pub-nav.expanded .pub-btn-signin:hover { background: #EEF2FF; color: #1E3A8A; }
.pub-nav.expanded .pub-btn-dash         { background: #EEF2FF; border-color: #C7D2FE; color: #1E3A8A; }
.pub-nav.expanded .pub-nav-burger       { background: #F1F5F9; }
.pub-nav.expanded .burger-line          { background: #334155; }

/* LOGO */
.pub-nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.pub-logo-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg,#3B6FFF,#7C3AED);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins',sans-serif; font-weight: 800;
  font-size: 18px; color: #fff;
  box-shadow: 0 4px 14px rgba(59,111,255,.4);
  transition: transform .2s, box-shadow .2s;
}
.pub-nav-logo:hover .pub-logo-mark { transform: scale(1.07); box-shadow: 0 6px 20px rgba(59,111,255,.55); }
.pub-logo-text {
  font-family: 'Poppins',sans-serif; font-weight: 800;
  font-size: 20px; letter-spacing: -.3px;
  color: #fff; transition: color .3s;
}
.pub-nav.scrolled .pub-logo-text { color: #0F172A; }
.pub-nav.scrolled .pub-nav-item { color: #334155 !important; }

/* CENTER NAV */
.pub-nav-center { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.pub-nav-has-drop { position: relative; }
.pub-nav.scrolled .pub-loc-pill { color: #64748B !important; border-color: #E2E8F0 !important; }

.pub-nav-item {
  position: relative;
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.85);
  cursor: pointer; transition: all .2s;
  text-decoration: none; border: none; background: none;
  font-family: 'Inter',sans-serif;
  white-space: nowrap;
}
.pub-nav-item:hover { color: #fff; background: rgba(255,255,255,.12); }
.pub-nav-item .chevron {
  font-size: 10px; transition: transform .2s;
  opacity: .7;
}
.pub-nav-item:hover .chevron { transform: rotate(180deg); }
.pub-nav.scrolled .pub-nav-item { color: #475569; }
.pub-nav.scrolled .pub-nav-item:hover { color: #1E3A8A; background: #EEF2FF; }
.pub-nav-item.active-link { color: #fff; }
.pub-nav.scrolled .pub-nav-item.active-link { color: #1E3A8A; }

/* DROPDOWN MENUS */
.pub-dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E8EDF5;
  box-shadow: 0 20px 60px rgba(15,23,42,.15), 0 4px 16px rgba(15,23,42,.08);
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all .22s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.pub-dropdown::before {
  content: '';
  position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  background: #fff; border: 1px solid #E8EDF5;
  border-bottom: none; border-right: none;
  transform: translateX(-50%) rotate(45deg);
}
.pub-nav-has-drop:hover .pub-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.drop-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  text-decoration: none; color: #334155;
  transition: all .15s; font-size: 13.5px;
  font-weight: 500;
}
.drop-item:hover { background: #F5F7FF; color: #1E3A8A; }
.drop-icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0; transition: transform .2s;
}
.drop-item:hover .drop-icon { transform: scale(1.1); }
.drop-label { font-weight: 600; font-size: 13.5px; display: block; }
.drop-sub { font-size: 11.5px; color: #94A3B8; display: block; margin-top: 1px; }
.drop-divider { height: 1px; background: #F1F5F9; margin: 6px 0; }

/* RIGHT ACTIONS */
.pub-nav-actions {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; margin-left: 16px;
}
.pub-btn-signin {
  padding: 8px 18px; border-radius: 10px;
  font-size: 13.5px; font-weight: 700;
  color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  transition: all .2s; cursor: pointer;
  text-decoration: none; white-space: nowrap;
}
.pub-btn-signin:hover { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.5); }
.pub-nav.scrolled .pub-btn-signin { color: #334155; border-color: #E2E8F0; background: #F8FAFC; }
.pub-nav.scrolled .pub-btn-signin:hover { background: #EEF2FF; color: #1E3A8A; border-color: #C7D2FE; }

.pub-btn-cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: 10px;
  font-size: 13.5px; font-weight: 700;
  background: linear-gradient(135deg,#3B6FFF,#7C3AED);
  color: #fff;
  box-shadow: 0 4px 16px rgba(59,111,255,.4);
  transition: all .2s; cursor: pointer;
  text-decoration: none; white-space: nowrap; border: none;
}
.pub-btn-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(59,111,255,.55); color: #fff; }
.pub-btn-cta i { font-size: 11px; }

/* DASHBOARD PILL (logged in) */
.pub-btn-dash {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 7px; border-radius: 99px;
  font-size: 13px; font-weight: 700;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff; text-decoration: none; transition: all .2s;
  backdrop-filter: blur(8px);
}
.pub-btn-dash:hover { background: rgba(255,255,255,.25); }
.pub-nav.scrolled .pub-btn-dash { background: #EEF2FF; border-color: #C7D2FE; color: #1E3A8A; }
.pub-btn-dash-ava {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg,#7C3AED,#3B6FFF);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #fff; flex-shrink: 0;
}

/* MOBILE HAMBURGER */
.pub-nav-burger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; margin-left: auto;
  background: rgba(255,255,255,.1); border-radius: 8px; border: none;
  transition: background .2s;
}
.pub-nav.scrolled .pub-nav-burger { background: #F1F5F9; }
.pub-nav-burger:hover { background: rgba(255,255,255,.2); }
.pub-nav.scrolled .pub-nav-burger:hover { background: #E2E8F0; }
.burger-line {
  width: 22px; height: 2px; border-radius: 99px;
  background: #fff; transition: all .3s;
}
.pub-nav.scrolled .burger-line { background: #334155; }
.pub-nav-burger.open .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pub-nav-burger.open .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.pub-nav-burger.open .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE DRAWER */
.pub-nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 88vw);
  background: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 40px rgba(15,23,42,.15);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.pub-nav-drawer.open { transform: translateX(0); }
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.45);
  z-index: 998; opacity: 0; visibility: hidden;
  transition: all .3s; backdrop-filter: blur(4px);
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #F1F5F9;
}
.drawer-close {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: #F1F5F9; border: none; cursor: pointer;
  color: #64748B; font-size: 16px; transition: all .2s;
}
.drawer-close:hover { background: #FEE2E2; color: #DC2626; }
.drawer-body { padding: 12px 14px; flex: 1; }
.drawer-section { font-size: 10px; font-weight: 800; color: #94A3B8; text-transform: uppercase; letter-spacing: 1.4px; padding: 14px 8px 6px; }
.drawer-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 10px; border-radius: 11px; margin-bottom: 2px;
  font-size: 14px; font-weight: 600; color: #334155;
  text-decoration: none; transition: all .15s;
}
.drawer-link:hover { background: #F5F7FF; color: #1E3A8A; }
.drawer-link .draw-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}
.drawer-foot {
  padding: 16px 14px 24px;
  border-top: 1px solid #F1F5F9;
  display: flex; flex-direction: column; gap: 10px;
}
.drawer-foot .pub-btn-cta { justify-content: center; }
.drawer-foot .pub-btn-signin { text-align: center; color: #334155; border-color: #E2E8F0; background: #F8FAFC; }
.drawer-foot .pub-btn-signin:hover { background: #EEF2FF; color: #1E3A8A; }

.pub-body { padding-top: 0; }

@media (max-width: 900px) {
  .pub-nav {
    width: calc(100% - 24px);
    padding: 1rem 1.25rem;
    border-radius: 80px;
  }
  .pub-nav-center { display: none; }
  .pub-nav-actions { display: none; }
  .pub-nav-burger { display: flex; }
}

/* ══════════════════════════════════════════════════════════════
   HERO — Premium Edition
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0B1D40 0%, #1E3A8A 45%, #1d4ed8 75%, #2563EB 100%);
  color: #fff;
  padding: 130px 5% 110px;
  min-height: calc(100vh - 72px);
  display: flex; flex-direction: column; justify-content: center;
}

/* Background orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; z-index: 0;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,.35) 0%, transparent 70%);
  top: -120px; right: 5%;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(124,58,237,.28) 0%, transparent 70%);
  bottom: 0; left: -80px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(59,111,255,.2) 0%, transparent 70%);
  top: 40%; left: 40%;
  animation: orbFloat 12s ease-in-out infinite;
}
@keyframes orbFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.05); }
}
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Layout */
.hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  justify-content: space-between; gap: 56px;
  max-width: 1260px; margin: 0 auto; width: 100%;
}
.hero-content { flex: 1; min-width: 0; }

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 99px; padding: 6px 16px;
  font-size: 12.5px; font-weight: 600;
  margin-bottom: 28px; backdrop-filter: blur(10px);
  letter-spacing: .02em;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74,222,128,.25);
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
  50%      { box-shadow: 0 0 0 6px rgba(74,222,128,.1); }
}

/* Headline */
.hero-title {
  font-family: 'Poppins',sans-serif;
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 800; line-height: 1.12;
  letter-spacing: -.02em; margin-bottom: 20px;
}
.hero-title-grad {
  background: linear-gradient(90deg, #93C5FD, #C4B5FD, #6EE7B7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subheading */
.hero-sub {
  font-size: 17px; line-height: 1.7;
  color: rgba(255,255,255,.78);
  margin-bottom: 40px; max-width: 540px;
}
.hero-br { display: block; }

/* ── Search wrap ── */
.hero-search-wrap { margin-bottom: 28px; max-width: 620px; }

.hero-tabs {
  display: flex; gap: 4px;
  background: rgba(0,0,0,.25);
  border-radius: 14px 14px 0 0;
  padding: 6px 6px 0;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-bottom: none;
}
.hero-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 10px 10px 0 0;
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,.6);
  background: none; border: none; cursor: pointer;
  transition: all .2s; font-family: 'Inter',sans-serif;
}
.hero-tab:hover { color: rgba(255,255,255,.9); background: rgba(255,255,255,.08); }
.hero-tab.active {
  background: #fff; color: #1E3A8A;
  box-shadow: 0 -4px 14px rgba(0,0,0,.12);
}
.hero-tab i { font-size: 12px; }

.hero-search-form { position: relative; }
.hero-search-inner {
  display: flex; align-items: center;
  background: #fff; border-radius: 0 14px 14px 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.28), 0 4px 16px rgba(0,0,0,.15);
  border: 1px solid rgba(255,255,255,.2);
}
.hero-search-field {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; flex: 1; min-width: 0;
}
.hsf-icon { color: #94A3B8; font-size: 15px; flex-shrink: 0; }
.hero-search-input {
  border: none; outline: none; background: none;
  font-size: 14.5px; color: #0F172A; width: 100%;
  font-family: 'Inter',sans-serif;
}
.hero-search-input::placeholder { color: #94A3B8; }
.hero-search-select {
  border: none; outline: none; background: none;
  font-size: 14px; color: #475569; cursor: pointer;
  font-family: 'Inter',sans-serif; font-weight: 600;
}
.hero-search-divider {
  width: 1px; height: 32px;
  background: #E2E8F0; flex-shrink: 0;
}
.hero-search-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 0 28px; height: 62px;
  background: linear-gradient(135deg, #1E3A8A, #3B6FFF);
  color: #fff; border: none; cursor: pointer;
  font-size: 15px; font-weight: 700;
  font-family: 'Inter',sans-serif;
  transition: all .2s; flex-shrink: 0;
  letter-spacing: .01em;
}
.hero-search-btn:hover { background: linear-gradient(135deg, #1d4ed8, #4F7FFF); }
.hero-search-btn i { font-size: 13px; }

/* Tags */
.hero-tags {
  display: flex; align-items: center;
  gap: 8px; flex-wrap: wrap;
}
.hero-tags-label {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.5); margin-right: 2px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.85);
  border-radius: 99px; padding: 5px 14px;
  font-size: 12px; font-weight: 600;
  transition: all .2s; backdrop-filter: blur(6px);
}
.hero-tag:hover {
  background: rgba(255,255,255,.2);
  color: #fff; border-color: rgba(255,255,255,.35);
  transform: translateY(-1px);
}
.hero-tag i { font-size: 10px; opacity: .8; }

/* ── Right Visual ── */
.hero-visual {
  position: relative;
  flex: 0 0 420px; width: 420px;
  height: 480px;
}

/* Property card */
.hero-card {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  background: #fff; border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.35), 0 8px 24px rgba(0,0,0,.2);
  z-index: 2;
}
.hero-card-img { position: relative; height: 180px; overflow: hidden; background: #E2E8F0; }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.4) 0%, transparent 50%);
  display: flex; align-items: flex-start; justify-content: flex-end; padding: 12px;
}
.hero-card-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(22,163,74,.9); color: #fff;
  border-radius: 99px; padding: 4px 10px; font-size: 11px; font-weight: 700;
  backdrop-filter: blur(6px);
}
.hero-card-body { padding: 16px 18px 18px; }
.hero-card-type {
  font-size: 11px; font-weight: 700; color: #3B6FFF;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 5px;
}
.hero-card-name {
  font-family: 'Poppins',sans-serif; font-size: 15px;
  font-weight: 700; color: #0F172A; margin-bottom: 5px;
}
.hero-card-loc {
  font-size: 12.5px; color: #64748B;
  display: flex; align-items: center; gap: 5px;
  margin-bottom: 14px;
}
.hero-card-footer { display: flex; align-items: center; justify-content: space-between; }
.hero-card-price {
  font-family: 'Poppins',sans-serif; font-size: 17px;
  font-weight: 800; color: #1E3A8A;
}
.hero-card-price span { font-size: 12px; font-weight: 600; color: #64748B; margin-left: 3px; }
.hero-card-specs { display: flex; gap: 12px; }
.hero-card-specs span {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: #475569;
}
.hero-card-specs i { color: #94A3B8; font-size: 11px; }

/* Floating pills */
.hero-pill {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  white-space: nowrap;
}
.hero-pill-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff; flex-shrink: 0;
}
.hero-pill-val {
  font-family: 'Poppins',sans-serif;
  font-size: 17px; font-weight: 800; color: #fff;
  line-height: 1;
}
.hero-pill-lbl {
  font-size: 11px; color: rgba(255,255,255,.7);
  margin-top: 2px; font-weight: 600;
}

.hero-pill-tl { top: 16px; left: -28px; animation: pillFloat 6s ease-in-out infinite; }
.hero-pill-br { bottom: 28px; right: -20px; animation: pillFloat 7s ease-in-out infinite reverse; }
.hero-pill-mid { top: 50%; left: -40px; transform: translateY(-50%); animation: pillFloat 9s ease-in-out infinite; }
@keyframes pillFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.hero-pill-mid { animation: pillFloatMid 9s ease-in-out infinite; }
@keyframes pillFloatMid {
  0%,100% { transform: translateY(-50%); }
  50%      { transform: translateY(calc(-50% - 10px)); }
}

/* Wave */
.hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0;
  line-height: 0; z-index: 1;
}
.hero-wave svg { display: block; width: 100%; height: 90px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-visual { flex: 0 0 340px; width: 340px; height: 420px; }
  .hero-card { width: 280px; }
  .hero-pill-tl { left: -10px; }
  .hero-pill-mid { left: -20px; }
}
@media (max-width: 800px) {
  .hero { padding: 60px 5% 90px; min-height: auto; }
  .hero-inner { flex-direction: column; gap: 48px; align-items: flex-start; }
  .hero-visual { width: 100%; height: 320px; flex: none; align-self: stretch; }
  .hero-card { width: 260px; }
  .hero-pill-tl { left: 0; top: 8px; }
  .hero-pill-br { right: 0; bottom: 12px; }
  .hero-pill-mid { display: none; }
  .hero-br { display: none; }
  .hero-search-wrap { max-width: 100%; }
  .hero-search-btn span { display: none; }
  .hero-search-btn { padding: 0 18px; }
}

/* ── Section Layout ────────────────────────────────────────── */
.pub-section { padding: 64px 5%; }
.pub-section-alt { background: var(--bg2); }
.section-header { text-align: center; margin-bottom: 42px; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-title { font-size: clamp(22px, 3vw, 36px); font-weight: 800; color: var(--text); }
.section-sub { font-size: 15px; color: var(--text-mid); margin-top: 10px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════════════════════════════════
   PROPERTY MANAGEMENT PAGE (houses / cars / land)
   ══════════════════════════════════════════════════════════════ */

/* Stats row */
.prop-stats-row {
  display: flex; gap: 14px; margin-bottom: 22px; flex-wrap: wrap;
}
.prop-stat-pill {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 14px 20px;
  flex: 1; min-width: 140px;
}
.psp-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.psp-val  { display: block; font-size: 24px; font-weight: 800; font-family: 'Poppins',sans-serif; line-height: 1.1; color: var(--text); }
.psp-lbl  { font-size: 12px; color: var(--text-mid); margin-top: 1px; display: block; }

/* Filter + result count bar */
.prop-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 20px; flex-wrap: wrap;
}
.prop-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.prop-result-count { font-size: 13px; color: var(--text-light); white-space: nowrap; }

/* Card grid */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

/* Individual card */
.prop-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.prop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(15,23,42,.13);
  border-color: var(--primary);
}

/* Photo area */
.prop-card-img {
  position: relative; height: 195px;
  overflow: hidden; background: var(--bg2); flex-shrink: 0;
}
.prop-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.prop-card:hover .prop-card-img img { transform: scale(1.06); }
.prop-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.prop-no-img {
  display: flex; align-items: center; justify-content: center;
  height: 100%; font-size: 52px; color: var(--text-light); opacity: .18;
}

/* Badges on photo */
.prop-badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; gap: 5px; flex-wrap: wrap; z-index: 1;
}

/* Price chip on photo */
.prop-price-tag {
  position: absolute; bottom: 10px; right: 10px; z-index: 1;
  background: rgba(0,0,0,.62); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 5px 12px; border-radius: 99px;
  font-family: 'Poppins',sans-serif; font-size: 13px; font-weight: 700;
}
.prop-price-tag span { font-size: 11px; opacity: .75; font-weight: 400; }

/* Card body */
.prop-card-body { padding: 16px 18px 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.prop-card-title {
  font-family: 'Poppins',sans-serif; font-size: 14.5px; font-weight: 700;
  color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.prop-card-loc {
  font-size: 12px; color: var(--text-mid);
  display: flex; align-items: center; gap: 5px;
}
.prop-card-loc i { color: var(--primary); font-size: 11px; }
.prop-card-specs {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-mid);
  padding-top: 10px; border-top: 1px solid var(--border); margin-top: 4px;
}
.prop-card-specs span { display: flex; align-items: center; gap: 4px; }
.prop-card-specs i    { color: var(--primary); font-size: 10px; }
.prop-card-upi {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--text-light); font-family: 'Courier New', monospace;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 5px 9px; margin-top: 4px;
}
.prop-card-upi i { color: var(--primary); font-size: 11px; }

/* Action footer */
.prop-card-actions {
  display: flex; border-top: 1.5px solid var(--border); margin-top: auto;
}
.prop-action-btn {
  flex: 1; padding: 11px 6px; font-size: 12px; font-weight: 600;
  color: var(--text-mid); background: transparent; border: none;
  border-right: 1px solid var(--border);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: 5px; transition: all .15s; text-decoration: none;
}
.prop-action-btn:last-child { border-right: none; }
.prop-action-btn:hover { background: var(--primary-soft); color: var(--primary); }
.prop-action-del:hover  { background: #FEF2F2; color: #EF4444; }

/* ── All-properties tab bar ──────────────────────────────── */
.aptab-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 22px;
}
.aptab-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 5px;
}
.aptab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: var(--radius);
  border: none; background: transparent; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--text-mid);
  transition: all .2s;
}
.aptab:hover { color: var(--primary); background: var(--primary-soft); }
.aptab.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(59,111,255,.3); }
.aptab-count {
  min-width: 20px; height: 20px; border-radius: 99px;
  background: rgba(255,255,255,.25); color: inherit;
  font-size: 11px; font-weight: 700; display: inline-flex;
  align-items: center; justify-content: center; padding: 0 6px;
}
.aptab:not(.active) .aptab-count { background: var(--bg2); color: var(--text-light); }
.aptab-meta { font-size: 13px; color: var(--text-light); }

/* Type-gradient banner for cards without a photo */
.prop-type-banner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; color: rgba(255,255,255,.75);
}

/* Added-time line in all-properties cards */
.apc-meta {
  font-size: 11.5px; color: var(--text-light);
  display: flex; align-items: center; gap: 5px; margin-top: 6px;
}
.apc-meta i { font-size: 10px; }

/* Empty state */
.prop-empty {
  text-align: center; padding: 72px 20px;
  background: var(--card); border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
}
.prop-empty-icon { font-size: 60px; color: var(--text-light); opacity: .15; margin-bottom: 18px; }
.prop-empty h3   { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.prop-empty p    { font-size: 14px; color: var(--text-mid); }

/* ── Listing Cards ─────────────────────────────────────────── */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; max-width: 1200px; margin: 0 auto; }
.listing-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--t); cursor: pointer; }
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.listing-card-img { position: relative; height: 200px; overflow: hidden; background: var(--bg2); }
.listing-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.listing-card:hover .listing-card-img img { transform: scale(1.04); }
.listing-card-img .no-img { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--text-light); font-size: 36px; }
.listing-type-badge { position: absolute; top: 12px; left: 12px; }
.listing-service-badge { position: absolute; top: 12px; right: 12px; }
.listing-card-body { padding: 16px 18px 18px; }
.listing-card-title { font-family: 'Poppins',sans-serif; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listing-card-loc { font-size: 12px; color: var(--text-mid); display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.listing-card-specs { display: flex; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 10px; margin-bottom: 12px; }
.listing-spec { font-size: 12px; color: var(--text-mid); display: flex; align-items: center; gap: 4px; }
.listing-card-footer { display: flex; align-items: center; justify-content: space-between; }
.listing-price { font-family: 'Poppins',sans-serif; font-size: 17px; font-weight: 700; color: var(--primary); }
.listing-price span { font-size: 11px; font-weight: 400; color: var(--text-light); }

/* ── Browse Page ───────────────────────────────────────────── */
.browse-layout { max-width: 1200px; margin: 0 auto; padding: 98px 5% 30px; }
.browse-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.browse-filters-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; padding: 16px 18px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-xs); }
.browse-filters-bar select, .browse-filters-bar input { padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; background: var(--bg); color: var(--text); outline: none; }
.browse-filters-bar select:focus, .browse-filters-bar input:focus { border-color: var(--accent); }
.browse-count { font-size: 14px; color: var(--text-mid); }
.browse-count strong { color: var(--text); }
.no-results { text-align: center; padding: 60px 20px; color: var(--text-mid); }
.no-results i { font-size: 48px; color: var(--border); margin-bottom: 16px; display: block; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.page-btn { min-width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; cursor: pointer; transition: all var(--t); background: var(--card); color: var(--text); padding: 0 8px; }
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ── Listing Detail Page ───────────────────────────────────── */
.detail-layout { max-width: 1100px; margin: 0 auto; padding: 30px 5% 60px; display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.detail-gallery { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-bottom: 20px; }
.gallery-main { height: 380px; overflow: hidden; background: var(--bg2); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: 8px; padding: 10px; background: var(--bg2); overflow-x: auto; }
.gallery-thumb { width: 72px; height: 54px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; cursor: pointer; flex-shrink: 0; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.detail-spec-item { background: var(--bg2); border-radius: var(--radius-sm); padding: 12px 14px; }
.detail-spec-label { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.detail-spec-value { font-size: 15px; font-weight: 600; color: var(--text); }
.detail-side-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; position: sticky; top: 84px; }
.detail-price { font-family: 'Poppins',sans-serif; font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.detail-price small { font-size: 13px; font-weight: 400; color: var(--text-light); }
.owner-card { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--primary-soft); border-radius: var(--radius-sm); margin: 16px 0; }
.owner-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-purple); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.owner-name { font-weight: 600; font-size: 14px; }
.owner-meta { font-size: 12px; color: var(--text-mid); }
.apply-form { background: var(--bg); border-radius: var(--radius-sm); padding: 16px; border: 1px solid var(--border); margin-top: 16px; }
.apply-form h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.apply-form .form-group { margin-bottom: 12px; }

/* ── How It Works ──────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.step-card { text-align: center; padding: 30px 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all var(--t); }
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--grad-blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 22px; color: #fff; }
.step-num { font-size: 11px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.step-title { font-family: 'Poppins',sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

/* ── Client & Admin Sidebar Layouts ────────────────────────── */
.client-sidebar { background: linear-gradient(180deg,#0C1A3D 0%,#132860 100%); }
.admin-sidebar  { background: linear-gradient(180deg,#1a0a2e 0%,#2d1458 100%); }

/* ── Public Footer ─────────────────────────────────────────── */
.pub-footer { background: var(--primary-d); color: rgba(255,255,255,.75); padding: 48px 5% 24px; }
.pub-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; max-width: 1100px; margin: 0 auto 36px; }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-family: 'Poppins',sans-serif; font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; margin-bottom: 8px; transition: color var(--t); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; max-width: 1100px; margin: 0 auto; }
.footer-lang-toggle { display: flex; gap: 8px; }
.lang-btn { padding: 3px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; font-size: 12px; cursor: pointer; transition: all var(--t); }
.lang-btn:hover, .lang-btn.active { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.5); }

/* ── Client Dashboard Layout ───────────────────────────────── */
.client-nav-item i, .admin-nav-item i { width: 18px; text-align: center; }

/* ── Responsive: public pages ──────────────────────────────── */
@media (max-width: 768px) {
  .pub-nav-links { display: none; }
  .detail-layout { grid-template-columns: 1fr; }
  .pub-footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-search-box { flex-wrap: wrap; padding: 12px; }
  .hero-inner { flex-direction: column; }
  .hero-image { display: none; }
  .hero-search-box select { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 10px; width: 100%; }
}
@media (max-width: 480px) {
  .pub-footer-grid { grid-template-columns: 1fr; }
  .detail-specs-grid { grid-template-columns: 1fr; }
}
