/* ═══════════════════════════════════════════════════════════════
   Property Faisalabad — Complete Design System
   Mobile-first · Premium · Trust-first
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --primary: #1a56db;
  --primary-dark: #1341a0;
  --primary-light: #ebf0fe;
  --secondary: #0ea5e9;
  --success: #10b981;
  --success-light: #d1fae5;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.15);

  --transition: 0.2s ease;
  --container: 1280px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--gray-800); background: #fff; line-height: 1.6; font-size: 15px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; }

/* ── Container ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (max-width:768px) { .container { padding: 0 16px; } }

/* ── Typography ── */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; color: var(--gray-900); }

/* ── Utilities ── */
.hidden { display: none !important; }
.mb-16 { margin-bottom: 16px; }
.mt-8 { margin-top: 8px; }
.btn-full { width: 100%; }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 600;
  font-size: 14px; transition: all var(--transition); cursor: pointer;
  border: 2px solid transparent; white-space: nowrap; text-decoration: none;
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-xs { padding: 4px 10px; font-size: 12px; border-radius: 4px; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,86,219,.3); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }

.btn-ghost { background: transparent; color: var(--gray-700); }
.btn-ghost:hover { background: var(--gray-100); }
.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-white:hover { background: rgba(255,255,255,.1); }

.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--gray-50); transform: translateY(-1px); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,211,102,.3); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #dc2626; }

.btn-link { background: none; border: none; color: var(--gray-500); font-size: 13px; cursor: pointer; text-decoration: underline; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.nav-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; color: var(--gray-900); }
.brand-icon { font-size: 22px; }
.brand-accent { color: var(--primary); }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-link { padding: 6px 12px; border-radius: var(--radius-sm); font-weight: 500; font-size: 14px; color: var(--gray-600); transition: all var(--transition); }
.nav-link:hover, .nav-link.active { background: var(--primary-light); color: var(--primary); }
.nav-highlight { color: var(--success); font-weight: 600; }
.nav-highlight:hover { background: var(--success-light); color: var(--success); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* User menu */
.nav-user-menu { position: relative; }
.nav-user-btn { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--radius-sm); background: var(--gray-100); border: 1px solid var(--gray-200); font-size: 14px; font-weight: 500; transition: all var(--transition); }
.nav-user-btn:hover { background: var(--gray-200); }
.user-avatar-sm { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.user-avatar-placeholder { display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-weight: 700; font-size: 12px; }
.user-name-sm { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-dropdown { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 200px; padding: 8px 0; z-index: 200; }
.user-dropdown.open { display: block; }
.dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 14px; color: var(--gray-700); transition: background var(--transition); }
.dropdown-item:hover { background: var(--gray-50); color: var(--primary); }
.dropdown-item-danger { color: var(--danger); }
.dropdown-item-danger:hover { background: var(--danger-light); color: var(--danger); }
.dropdown-divider { border: none; border-top: 1px solid var(--gray-100); margin: 4px 0; }

/* Notifications */
.nav-notif { position: relative; cursor: pointer; padding: 8px; border-radius: var(--radius-sm); transition: background var(--transition); }
.nav-notif:hover { background: var(--gray-100); }
.notif-badge { position: absolute; top: 2px; right: 2px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 5px; border-radius: var(--radius-full); }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hamburger span { width: 22px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: all var(--transition); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 600px) {
  .nav-actions .btn:not(.nav-hamburger) { display: none; }
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero { position: relative; background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1a56db 100%); color: #fff; padding: 80px 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-inner { position: relative; z-index: 2; }
.hero-content { max-width: 800px; text-align: center; margin: 0 auto; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 6px 16px; border-radius: var(--radius-full); font-size: 13px; font-weight: 500; margin-bottom: 24px; }
.hero-badge-light { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); }
.pulse-dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }

.hero-title { font-size: clamp(32px, 5vw, 60px); color: #fff; margin-bottom: 16px; line-height: 1.15; font-weight: 800; }
.hero-accent { color: #fbbf24; }
.hero-subtitle { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 40px; }

/* Search */
.hero-search { background: #fff; border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow-xl); max-width: 820px; margin: 0 auto; }
.search-tabs { display: flex; gap: 4px; margin-bottom: 16px; }
.search-tab { padding: 8px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; color: var(--gray-500); transition: all var(--transition); cursor: pointer; }
.search-tab.active { background: var(--primary); color: #fff; }
.search-form { display: flex; flex-direction: column; gap: 12px; }
.search-fields { display: flex; gap: 10px; }
.search-field { position: relative; flex: 1; }
.search-field-main { flex: 2; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-400); }
.search-field input { width: 100%; padding: 12px 12px 12px 40px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 15px; transition: border-color var(--transition); }
.search-field input:focus { outline: none; border-color: var(--primary); }
.search-select { padding: 12px 16px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 14px; color: var(--gray-700); background: #fff; min-width: 130px; transition: border-color var(--transition); }
.search-select:focus { outline: none; border-color: var(--primary); }
.search-btn { padding: 12px 28px; flex-shrink: 0; }
.search-quick-filters { display: flex; gap: 16px; flex-wrap: wrap; }
.quick-filter { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gray-600); cursor: pointer; }
.quick-filter input { accent-color: var(--primary); }
.search-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); box-shadow: var(--shadow); z-index: 50; max-height: 200px; overflow-y: auto; }
.suggestion-item { padding: 10px 16px; cursor: pointer; font-size: 14px; }
.suggestion-item:hover { background: var(--gray-50); }

@media (max-width: 768px) {
  .search-fields { flex-direction: column; }
  .search-select { min-width: unset; }
}

/* Stats bar */
.hero-stats { background: rgba(0,0,0,.2); margin-top: 48px; border-top: 1px solid rgba(255,255,255,.1); }
.stats-row { display: flex; align-items: center; justify-content: center; padding: 20px 0; gap: 0; flex-wrap: wrap; }
.stat-item { text-align: center; padding: 12px 40px; }
.stat-num { display: block; font-size: 28px; font-weight: 800; color: #fff; font-family: var(--font-heading); }
.stat-label { font-size: 13px; color: rgba(255,255,255,.7); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }
@media (max-width: 600px) { .stat-item { padding: 12px 20px; } .stat-num { font-size: 22px; } .stat-divider { display: none; } }

/* ══════════════════════════════════════
   SECTIONS
══════════════════════════════════════ */
.section { padding: 72px 0; }
.section-white { background: #fff; }
.section-gray { background: var(--gray-50); }
.section-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 40px; gap: 20px; }
.section-header.center { justify-content: center; text-align: center; }
.section-title { font-size: clamp(24px, 3vw, 36px); color: var(--gray-900); margin-bottom: 8px; }
.section-subtitle { font-size: 16px; color: var(--gray-500); }

/* Trust Pillars */
.trust-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.trust-pillar { display: flex; align-items: flex-start; gap: 16px; padding: 24px; background: var(--gray-50); border-radius: var(--radius); border: 1px solid var(--gray-200); transition: all var(--transition); }
.trust-pillar:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.pillar-icon { padding: 12px; border-radius: var(--radius-sm); flex-shrink: 0; }
.pillar-icon-blue { background: var(--primary-light); color: var(--primary); }
.pillar-icon-green { background: var(--success-light); color: var(--success); }
.pillar-icon-purple { background: #ede9fe; color: #7c3aed; }
.pillar-icon-orange { background: var(--warning-light); color: var(--warning); }
.pillar-body h3 { font-size: 16px; margin-bottom: 6px; }
.pillar-body p { font-size: 14px; color: var(--gray-500); }

/* ══════════════════════════════════════
   PROPERTY CARDS
══════════════════════════════════════ */
.property-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.property-grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.property-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--gray-200); overflow: hidden; transition: all var(--transition); }
.property-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.card-image-link { display: block; }
.card-image { position: relative; height: 200px; overflow: hidden; background: var(--gray-100); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.property-card:hover .card-image img { transform: scale(1.04); }
.card-image-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--gray-300); gap: 8px; }

.card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 4px; }
.badge { padding: 3px 10px; border-radius: var(--radius-full); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.badge-verified { background: var(--success); color: #fff; }
.badge-owner { background: var(--primary); color: #fff; }
.badge-commission { background: #7c3aed; color: #fff; }
.badge-featured { background: var(--warning); color: #fff; }
.badge-type { background: var(--gray-700); color: #fff; }
.badge-role { background: var(--primary-light); color: var(--primary); }
.badge-danger { background: var(--danger-light); color: var(--danger); }
.badge-unverified { background: var(--gray-100); color: var(--gray-500); }

.favorite-btn { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.9); border: none; padding: 8px; border-radius: 50%; cursor: pointer; color: var(--danger); transition: all var(--transition); line-height: 1; }
.favorite-btn:hover, .favorite-btn.favorited { background: #fff; box-shadow: var(--shadow-sm); }
.favorite-btn.favorited { color: var(--danger); }

.card-body { padding: 16px; }
.card-type-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.card-type { font-size: 12px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .4px; }
.card-purpose { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-full); }
.card-purpose.rent { background: var(--primary-light); color: var(--primary); }
.card-purpose.sale { background: var(--success-light); color: var(--success); }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a:hover { color: var(--primary); }
.card-location { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--gray-500); margin-bottom: 10px; }
.card-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.spec { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--gray-600); background: var(--gray-50); padding: 3px 8px; border-radius: 4px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-price { font-size: 18px; font-weight: 800; color: var(--primary); }
.price-period { font-size: 13px; font-weight: 400; color: var(--gray-500); }
.card-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray-400); margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--gray-100); }

/* Area Cards */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.area-card { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.area-card-inner { padding: 24px 20px; color: #fff; position: relative; }
.area-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.area-count { font-size: 13px; opacity: 0.8; }
.area-arrow { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; opacity: 0.6; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step-card { background: #fff; padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--gray-200); position: relative; }
.step-num { font-family: var(--font-heading); font-size: 48px; font-weight: 800; color: var(--primary-light); line-height: 1; margin-bottom: 16px; }
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--gray-500); }

/* Insights */
.insights-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.insight-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; transition: all var(--transition); }
.insight-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.insight-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.insight-header h3 { font-size: 16px; }
.security-badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-full); }
.security-high { background: var(--success-light); color: var(--success); }
.security-medium { background: var(--warning-light); color: var(--warning); }
.security-low { background: var(--danger-light); color: var(--danger); }
.insight-rows { display: flex; flex-direction: column; gap: 8px; }
.insight-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 4px 0; border-bottom: 1px solid var(--gray-50); }
.insight-val { font-weight: 600; }
.val-good { color: var(--success); }
.val-bad { color: var(--danger); }
.insight-rent { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--gray-100); font-size: 13px; color: var(--gray-600); }

/* Overseas */
.overseas-section { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%); color: #fff; padding: 80px 0; }
.overseas-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.overseas-title { font-size: clamp(24px, 3vw, 40px); color: #fff; margin-bottom: 16px; line-height: 1.2; }
.overseas-desc { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 28px; }
.overseas-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 32px; }
.overseas-feature { font-size: 14px; color: rgba(255,255,255,.9); }
.overseas-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg); padding: 24px; backdrop-filter: blur(8px); }
.oc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 16px; font-weight: 600; color: #fff; font-size: 20px; }
.oc-body { display: flex; flex-direction: column; gap: 12px; }
.oc-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.9); }
.oc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.oc-green { background: #4ade80; }
.oc-blue { background: #60a5fa; }
.oc-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.trust-badge { background: rgba(255,255,255,.1); padding: 6px 14px; border-radius: var(--radius-full); font-size: 13px; }
@media (max-width: 768px) { .overseas-inner { grid-template-columns: 1fr; } .overseas-features { grid-template-columns: 1fr; } }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.cta-inner { text-align: center; padding: 72px 20px; color: #fff; }
.cta-inner h2 { font-size: clamp(28px, 4vw, 48px); color: #fff; margin-bottom: 16px; }
.cta-inner p { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════
   PROPERTY LISTING PAGE
══════════════════════════════════════ */
.listing-page { display: flex; min-height: calc(100vh - 64px); }

.filter-sidebar { width: 280px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--gray-200); padding: 24px; overflow-y: auto; }
.filter-sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.filter-sidebar-header h2 { font-size: 18px; }
.filter-close { font-size: 20px; color: var(--gray-400); display: none; }
.filter-section { margin-bottom: 24px; }
.filter-label { display: block; font-weight: 600; font-size: 13px; color: var(--gray-700); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .4px; }
.filter-select, .filter-input { width: 100%; padding: 10px 12px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 14px; transition: border-color var(--transition); }
.filter-select:focus, .filter-input:focus { outline: none; border-color: var(--primary); }
.filter-tabs { display: flex; gap: 4px; }
.filter-tab { flex: 1; text-align: center; padding: 8px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; cursor: pointer; border: 1.5px solid var(--gray-200); color: var(--gray-600); }
.filter-tab.active, .filter-tab input:checked + .filter-tab { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-tab input { display: none; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { flex: 1; }
.bed-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.bed-btn { padding: 7px 12px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 13px; cursor: pointer; font-weight: 500; }
.bed-btn.active, .bed-btn input:checked + .bed-btn { background: var(--primary); color: #fff; border-color: var(--primary); }
.bed-btn input { display: none; }
.filter-check { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; color: var(--gray-700); cursor: pointer; }
.filter-check input { accent-color: var(--primary); }

.listing-main { flex: 1; padding: 24px; min-width: 0; }
.listing-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.toolbar-left { display: flex; align-items: center; gap: 12px; }
.filter-toggle-btn { display: none; align-items: center; gap: 6px; padding: 8px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; }
.result-count { font-size: 14px; color: var(--gray-600); }
.toolbar-right { display: flex; align-items: center; gap: 10px; }
.sort-select { padding: 8px 12px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 14px; }
.view-toggle { display: flex; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
.view-btn { padding: 7px 12px; font-size: 16px; border: none; background: #fff; transition: background var(--transition); }
.view-btn.active { background: var(--primary); color: #fff; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filter { display: flex; align-items: center; gap: 6px; background: var(--primary-light); color: var(--primary); padding: 4px 12px; border-radius: var(--radius-full); font-size: 13px; font-weight: 500; }
.filter-remove { color: inherit; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.page-btn { padding: 8px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; transition: all var(--transition); }
.page-btn:hover, .page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination-info { text-align: center; color: var(--gray-500); font-size: 13px; margin-top: 12px; }

@media (max-width: 900px) {
  .filter-sidebar { position: fixed; left: -300px; top: 0; height: 100vh; z-index: 200; transition: left var(--transition); box-shadow: var(--shadow-xl); }
  .filter-sidebar.open { left: 0; }
  .filter-close { display: block; }
  .filter-toggle-btn { display: flex; }
}

/* ══════════════════════════════════════
   PROPERTY DETAIL
══════════════════════════════════════ */
.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding: 32px 20px; align-items: start; }
.detail-main { min-width: 0; }
.detail-sidebar { position: sticky; top: 80px; }

/* Gallery */
.gallery { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; background: var(--gray-100); }
.gallery-main { position: relative; height: 420px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.5); color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 24px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-nav:hover { background: rgba(0,0,0,.8); }
.gallery-count { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,.6); color: #fff; padding: 4px 12px; border-radius: var(--radius-full); font-size: 13px; }
.gallery-thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; }
.gallery-thumb { width: 80px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; opacity: 0.6; border: 2px solid transparent; transition: all var(--transition); flex-shrink: 0; }
.gallery-thumb.active, .gallery-thumb:hover { opacity: 1; border-color: var(--primary); }
.gallery-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 300px; color: var(--gray-300); gap: 8px; }

/* Detail header */
.detail-header { margin-bottom: 24px; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.detail-title { font-size: clamp(22px, 3vw, 32px); margin-bottom: 12px; }
.detail-location { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--gray-500); margin-bottom: 8px; }
.detail-meta-row { display: flex; gap: 16px; font-size: 13px; color: var(--gray-400); flex-wrap: wrap; }
.detail-section { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--gray-100); }
.detail-section-title { font-size: 20px; margin-bottom: 16px; }

/* Specs */
.detail-specs-card { background: var(--gray-50); border-radius: var(--radius); padding: 20px; margin-bottom: 28px; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.spec-item { display: flex; flex-direction: column; gap: 4px; }
.spec-icon { font-size: 20px; }
.spec-label { font-size: 12px; color: var(--gray-500); font-weight: 500; }
.spec-val { font-size: 16px; font-weight: 700; color: var(--gray-900); }

/* Amenities */
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.amenity { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; }
.amenity-yes { background: var(--success-light); color: #065f46; }
.amenity-no { background: var(--gray-100); color: var(--gray-400); text-decoration: line-through; }

/* Area insight detail */
.insight-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.insight-detail-item { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--gray-50); border-radius: var(--radius-sm); }
.insight-detail-icon { font-size: 22px; flex-shrink: 0; }
.insight-detail-label { display: block; font-size: 12px; color: var(--gray-500); }
.insight-detail-val { display: block; font-size: 14px; font-weight: 600; color: var(--gray-800); }

/* Reviews */
.review-card { padding: 16px 0; border-bottom: 1px solid var(--gray-100); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.review-author { font-weight: 600; font-size: 15px; }
.review-stars { display: flex; gap: 2px; }
.star { color: var(--gray-200); font-size: 16px; }
.star-filled { color: var(--warning); }
.review-date { font-size: 13px; color: var(--gray-400); margin-left: auto; }
.review-body { font-size: 14px; color: var(--gray-600); }

/* Sidebar Cards */
.sidebar-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.price-card { border-color: var(--primary); }
.sidebar-price { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.sidebar-price-period { font-size: 16px; font-weight: 400; color: var(--gray-500); }
.sidebar-deposit { font-size: 14px; color: var(--gray-500); margin-bottom: 16px; }
.inquiry-form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.favorite-detail-btn { margin-top: 12px; }
.favorite-detail-btn.favorited { color: var(--danger); border-color: var(--danger); }

/* Owner card */
.owner-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.owner-avatar { position: relative; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.owner-avatar img { width: 100%; height: 100%; object-fit: cover; }
.owner-avatar-placeholder { display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-size: 22px; font-weight: 700; height: 100%; }
.owner-verified-dot { position: absolute; bottom: 0; right: 0; background: var(--success); color: #fff; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; border: 2px solid #fff; }
.owner-name { font-size: 16px; font-weight: 700; }
.owner-role { font-size: 13px; color: var(--gray-500); }
.trust-meter { margin-top: 6px; }
.trust-bar { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--success), var(--primary)); }
.trust-meter span { font-size: 12px; color: var(--gray-500); }
.direct-owner-badge { background: var(--primary-light); color: var(--primary); padding: 8px 12px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.owner-since { font-size: 13px; color: var(--gray-400); }
.report-btn { color: var(--gray-400); font-size: 13px; }
.report-btn:hover { color: var(--danger); }

@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .gallery-main { height: 280px; }
}

/* ══════════════════════════════════════
   FORMS
══════════════════════════════════════ */
.form-input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 15px; color: var(--gray-800); background: #fff; transition: border-color var(--transition), box-shadow var(--transition); }
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,.12); }
textarea.form-input { resize: vertical; min-height: 100px; }
.form-label { display: flex; justify-content: space-between; font-weight: 600; font-size: 13px; color: var(--gray-700); margin-bottom: 6px; }
.form-label-link { font-weight: 400; color: var(--primary); }
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.form-check-label { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--gray-700); cursor: pointer; margin-bottom: 16px; }
.form-check-label a { color: var(--primary); }
.input-password-wrap { position: relative; }
.pw-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 16px; color: var(--gray-400); }
.password-strength { font-size: 12px; font-weight: 600; margin-top: 4px; }
.pw-weak { color: var(--danger); }
.pw-fair { color: var(--warning); }
.pw-good { color: var(--secondary); }
.pw-strong { color: var(--success); }
@media (max-width:600px) { .form-row { grid-template-columns: 1fr; } }

/* Auth page */
.auth-page { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; background: var(--gray-50); padding: 40px 20px; }
.auth-card { background: #fff; border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-xl); width: 100%; max-width: 440px; }
.auth-card-wide { max-width: 640px; }
.auth-logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; margin-bottom: 24px; }
.auth-title { font-size: 26px; margin-bottom: 6px; }
.auth-sub { color: var(--gray-500); margin-bottom: 28px; font-size: 15px; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 14px; color: var(--gray-500); }
.auth-switch a { color: var(--primary); font-weight: 600; }
.auth-trust { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--gray-100); font-size: 13px; color: var(--gray-400); }

/* Role grid */
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; border: 2px solid var(--gray-200); border-radius: var(--radius); cursor: pointer; transition: all var(--transition); }
.role-card input { display: none; }
.role-card:hover { border-color: var(--primary); }
.role-card.selected { border-color: var(--primary); background: var(--primary-light); }
.role-icon { font-size: 24px; }
.role-label { font-weight: 700; font-size: 14px; }
.role-desc { font-size: 12px; color: var(--gray-500); }

/* Property form */
.property-form { display: flex; flex-direction: column; gap: 20px; }
.form-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 24px; }
.form-card-title { font-size: 18px; margin-bottom: 20px; color: var(--gray-900); }
.amenities-check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 16px; }
.amenity-check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.amenity-check input { accent-color: var(--primary); }
.owner-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.owner-setting-card { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); cursor: pointer; transition: all var(--transition); }
.owner-setting-card input { flex-shrink: 0; accent-color: var(--primary); }
.owner-setting-card strong { font-size: 14px; }
.owner-setting-card p { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; }
.image-upload-area { border: 2px dashed var(--gray-300); border-radius: var(--radius); padding: 32px; text-align: center; transition: border-color var(--transition); }
.image-upload-area:hover { border-color: var(--primary); }
.image-input { display: none; }
.image-upload-label { cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--gray-500); }
.image-preview-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; justify-content: center; }
.preview-img-wrap { position: relative; width: 100px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; }
.preview-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.preview-label { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.5); color: #fff; font-size: 10px; font-weight: 700; text-align: center; padding: 2px; }

/* ══════════════════════════════════════
   DASHBOARD
══════════════════════════════════════ */
.dashboard-layout { display: flex; min-height: calc(100vh - 64px); }
.dash-sidebar { width: 240px; flex-shrink: 0; background: var(--gray-900); padding: 24px 0; }
.dash-sidebar-user { display: flex; align-items: center; gap: 12px; padding: 0 20px 20px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 8px; }
.dash-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.dash-avatar-placeholder { display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-size: 18px; font-weight: 700; }
.dash-user-name { font-weight: 600; color: #fff; font-size: 14px; }
.dash-user-role { font-size: 12px; color: rgba(255,255,255,.5); text-transform: capitalize; }
.dash-nav { padding: 0 12px; }
.dash-nav-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: rgba(255,255,255,.6); transition: all var(--transition); margin-bottom: 2px; }
.dash-nav-link:hover, .dash-nav-link.active { background: rgba(255,255,255,.08); color: #fff; }
.dash-nav-icon { font-size: 16px; width: 20px; text-align: center; }
.dash-nav-logout { color: rgba(239,68,68,.7); }
.dash-nav-logout:hover { color: var(--danger); background: rgba(239,68,68,.08); }
.dash-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 8px 0; }

.dashboard-main { flex: 1; padding: 32px; background: var(--gray-50); overflow-x: auto; }
.dash-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.dash-title { font-size: 26px; }
.dash-sub { color: var(--gray-500); font-size: 14px; margin-top: 4px; }
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.dash-stat { background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--gray-200); display: flex; align-items: center; gap: 16px; }
.dash-stat-icon { width: 48px; height: 48px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.dash-stat-blue { background: var(--primary-light); }
.dash-stat-green { background: var(--success-light); }
.dash-stat-purple { background: #ede9fe; }
.dash-stat-orange { background: var(--warning-light); }
.dash-stat-num { font-size: 26px; font-weight: 800; color: var(--gray-900); line-height: 1; }
.dash-stat-label { font-size: 13px; color: var(--gray-500); margin-top: 4px; }
.dash-banner { display: flex; align-items: center; justify-content: space-between; background: var(--warning-light); border: 1px solid var(--warning); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 24px; font-size: 14px; gap: 16px; flex-wrap: wrap; }
.dash-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.dash-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--gray-200); padding: 24px; margin-bottom: 20px; }
.dash-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dash-card-header h2 { font-size: 17px; }
.link-sm { font-size: 13px; color: var(--primary); font-weight: 600; }
.empty-dash { text-align: center; padding: 32px 20px; color: var(--gray-500); }
.empty-state { text-align: center; padding: 64px 20px; }
.empty-icon { font-size: 52px; margin-bottom: 16px; }
.empty-state h3 { font-size: 22px; margin-bottom: 8px; }
.empty-state p { color: var(--gray-500); margin-bottom: 24px; }

/* Mini property list */
.mini-property-list { display: flex; flex-direction: column; gap: 12px; }
.mini-property { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-50); }
.mini-property:last-child { border-bottom: none; }
.mini-property-img { width: 56px; height: 44px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.mini-property-placeholder { display: flex; align-items: center; justify-content: center; background: var(--gray-100); font-size: 20px; }
.mini-property-body { flex: 1; min-width: 0; }
.mini-property-title { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-property-meta { font-size: 12px; color: var(--gray-500); }
.status-pill { padding: 3px 10px; border-radius: var(--radius-full); font-size: 11px; font-weight: 700; flex-shrink: 0; }
.status-active { background: var(--success-light); color: var(--success); }
.status-pending { background: var(--warning-light); color: var(--warning); }
.status-rejected { background: var(--danger-light); color: var(--danger); }
.status-draft { background: var(--gray-100); color: var(--gray-500); }
.status-expired { background: var(--gray-100); color: var(--gray-500); }
.status-pending-admin, .status-pending-review { background: var(--warning-light); color: var(--warning); }
.status-approved { background: var(--success-light); color: var(--success); }
.status-suspended { background: var(--warning-light); color: var(--warning); }
.status-banned { background: var(--danger-light); color: var(--danger); }

/* Inquiries */
.inquiry-list { display: flex; flex-direction: column; gap: 10px; }
.inquiry-item { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 8px; align-items: center; padding: 10px; background: var(--gray-50); border-radius: var(--radius-sm); font-size: 13px; }
.inquiry-sender { font-weight: 600; }
.inquiry-property { color: var(--gray-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inquiry-time { color: var(--gray-400); font-size: 12px; }

/* Notifications */
.notif-list { display: flex; flex-direction: column; }
.notif-item { padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.notif-unread .notif-title { font-weight: 700; }
.notif-title { font-size: 14px; margin-bottom: 4px; }
.notif-body { font-size: 13px; color: var(--gray-500); margin-bottom: 4px; }
.notif-time { font-size: 12px; color: var(--gray-400); }

/* Profile */
.profile-card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--gray-200); max-width: 640px; }
.profile-avatar-section { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.profile-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.profile-avatar-placeholder { display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-size: 32px; font-weight: 700; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

@media (max-width: 900px) {
  .dash-sidebar { width: 200px; }
  .dash-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .dashboard-layout { flex-direction: column; }
  .dash-sidebar { width: 100%; }
  .dashboard-main { padding: 16px; }
}

/* ══════════════════════════════════════
   ADMIN PANEL
══════════════════════════════════════ */
.admin-layout { display: flex; min-height: calc(100vh - 64px); }
.admin-sidebar { width: 220px; flex-shrink: 0; background: #1e2332; }
.admin-sidebar-brand { padding: 20px 16px; font-weight: 700; font-size: 15px; color: rgba(255,255,255,.7); border-bottom: 1px solid rgba(255,255,255,.06); }
.admin-main { flex: 1; padding: 32px; background: var(--gray-50); overflow-x: auto; }
.admin-date { font-size: 14px; color: var(--gray-500); }
.admin-stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.admin-stat-card { background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid var(--gray-200); }
.admin-stat-warning { border-left: 4px solid var(--warning); }
.admin-stat-danger { border-left: 4px solid var(--danger); }
.admin-stat-green { border-left: 4px solid var(--success); }
.admin-stat-label { font-size: 13px; color: var(--gray-500); margin-bottom: 8px; font-weight: 500; }
.admin-stat-num { font-size: 28px; font-weight: 800; color: var(--gray-900); }
.admin-stat-link { font-size: 12px; color: var(--primary); margin-top: 4px; display: block; }
.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.admin-property-list { display: flex; flex-direction: column; gap: 12px; }
.admin-property-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius-sm); background: var(--gray-50); flex-wrap: wrap; }
.admin-prop-info { flex: 1; }
.admin-prop-title { font-size: 14px; font-weight: 600; }
.admin-prop-meta { font-size: 12px; color: var(--gray-500); }
.admin-quick-actions { display: flex; gap: 6px; }
.report-list { display: flex; flex-direction: column; gap: 10px; }
.report-item { display: flex; align-items: center; gap: 10px; padding: 8px; background: var(--gray-50); border-radius: var(--radius-sm); font-size: 13px; }
.report-reason { background: var(--danger-light); color: var(--danger); padding: 2px 8px; border-radius: var(--radius-full); font-size: 11px; font-weight: 700; flex-shrink: 0; }
.report-property { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-time { color: var(--gray-400); flex-shrink: 0; }
.status-filter-tabs, .role-filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.status-tab { padding: 6px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-full); font-size: 13px; font-weight: 500; transition: all var(--transition); }
.status-tab:hover, .status-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
@media (max-width: 900px) { .admin-grid-2 { grid-template-columns: 1fr; } }

/* Table */
.admin-table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--gray-200); background: #fff; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { padding: 12px 16px; background: var(--gray-50); text-align: left; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--gray-500); border-bottom: 1px solid var(--gray-200); white-space: nowrap; }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray-50); }
.table-thumb { width: 52px; height: 40px; object-fit: cover; border-radius: var(--radius-sm); }
.table-property-cell { display: flex; align-items: center; gap: 10px; }
.table-property-title { font-weight: 600; font-size: 14px; }
.table-property-type { font-size: 12px; color: var(--gray-500); }
.table-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.action-btn { padding: 5px 12px; border-radius: 4px; font-size: 13px; font-weight: 600; border: 1.5px solid var(--gray-200); background: #fff; color: var(--gray-700); transition: all var(--transition); cursor: pointer; }
.action-btn:hover { border-color: var(--primary); color: var(--primary); }
.action-btn-success { border-color: var(--success); color: var(--success); }
.action-btn-success:hover { background: var(--success); color: #fff; }
.action-btn-danger { border-color: var(--danger); color: var(--danger); }
.action-btn-danger:hover { background: var(--danger); color: #fff; }

/* ══════════════════════════════════════
   ALERTS
══════════════════════════════════════ */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 20px; font-weight: 500; }
.alert-error { background: var(--danger-light); color: #991b1b; border: 1px solid #fca5a5; }
.alert-success { background: var(--success-light); color: #065f46; border: 1px solid #6ee7b7; }
.alert-warning { background: var(--warning-light); color: #92400e; border: 1px solid #fcd34d; }
.alert-info { background: var(--primary-light); color: var(--primary-dark); border: 1px solid #93c5fd; }

/* ══════════════════════════════════════
   MODAL
══════════════════════════════════════ */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 500; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: #fff; border-radius: var(--radius-lg); padding: 28px; max-width: 440px; width: 100%; }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.modal-header h3 { font-size: 18px; }
.modal-header button { color: var(--gray-400); font-size: 20px; }
.modal form { display: flex; flex-direction: column; gap: 12px; }

/* ══════════════════════════════════════
   TOAST
══════════════════════════════════════ */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 1000; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--gray-900); color: #fff; padding: 14px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 500; min-width: 280px; box-shadow: var(--shadow-lg); animation: slideInUp 0.3s ease; display: flex; align-items: center; gap: 10px; }
.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
.toast-info { background: var(--primary); }
@keyframes slideInUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: var(--gray-900); color: rgba(255,255,255,.7); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { max-width: 280px; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 20px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); transition: all var(--transition); }
.social-btn:hover { background: var(--primary); color: #fff; }
.footer-heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: rgba(255,255,255,.9); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-col {}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.4); }
.footer-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-badge { background: rgba(255,255,255,.06); padding: 4px 12px; border-radius: var(--radius-full); font-size: 12px; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { max-width: 100%; } }

/* ══════════════════════════════════════
   ERROR PAGES
══════════════════════════════════════ */
.error-page { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 64px); padding: 40px 20px; background: var(--gray-50); }
.error-inner { text-align: center; max-width: 500px; }
.error-code { font-size: 120px; font-weight: 900; color: var(--primary-light); font-family: var(--font-heading); line-height: 1; margin-bottom: 16px; }
.error-inner h1 { font-size: 28px; margin-bottom: 12px; }
.error-inner p { color: var(--gray-500); margin-bottom: 28px; }
.error-inner .btn { margin: 0 8px; }

/* ══════════════════════════════════════
   RESPONSIVE FINAL
══════════════════════════════════════ */
@media (max-width: 600px) {
  .hero { padding: 48px 0 0; }
  .section { padding: 48px 0; }
  .hero-search { padding: 16px; border-radius: var(--radius-lg); }
  .property-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }
