/* =====================================================
   NashikFlatFinder v2 — Housing.com Style
   css/style.css
   ===================================================== */

:root {
  --primary: #6c3be2;
  --primary-dark: #5a2fd0;
  --primary-light: #f0ebff;
  --accent: #ff6b35;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #d97706;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --gray-bg: #f8f7ff;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(108,59,226,0.08);
  --shadow-lg: 0 8px 40px rgba(108,59,226,0.14);
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

h1,h2,h3 { font-family: 'Poppins', sans-serif; }

/* ===== HEADER ===== */
#main-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: white;
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }

.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-tab {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav-tab:hover { color: var(--primary); }
.nav-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.header-right { display: flex; gap: 10px; flex-shrink: 0; }

.btn-header-ghost {
  padding: 8px 18px;
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  background: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  transition: all 0.2s;
}
.btn-header-ghost:hover { background: var(--primary-light); }

.btn-header-primary {
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  transition: all 0.2s;
}
.btn-header-primary:hover { background: var(--primary-dark); }

/* ===== PAGES ===== */
.page { display: none; min-height: calc(100vh - var(--header-h)); }
.page.active { display: block; }

/* ===== HERO ===== */
.hero-section {
  background: linear-gradient(135deg, #1a0a3e 0%, #2d1472 50%, #6c3be2 100%);
  padding: 64px 24px 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; max-width: 620px; }
.hero-content h1 {
  font-size: clamp(28px, 4vw, 48px);
  color: white;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero-highlight { color: #fbbf24; }
.hero-sub { color: rgba(255,255,255,0.75); font-size: 16px; margin-bottom: 28px; }

/* Search box */
.search-box {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.search-tabs {
  display: flex;
  background: #f3f4f6;
  padding: 6px 6px 0;
  gap: 2px;
}
.stab {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  background: none;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  color: var(--text-muted);
  font-family: 'Nunito', sans-serif;
  transition: all 0.2s;
}
.stab.active { background: white; color: var(--primary); }
.search-input-row {
  display: flex;
  gap: 0;
  padding: 12px;
}
.search-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon { position: absolute; left: 12px; font-size: 18px; }
.search-input-wrap input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: 1.5px solid var(--border);
  border-radius: 8px 0 0 8px;
  font-size: 14px;
  font-family: 'Nunito', sans-serif;
  outline: none;
  border-right: none;
}
.search-input-wrap input:focus { border-color: var(--primary); }
.search-btn {
  padding: 12px 28px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  transition: background 0.2s;
}
.search-btn:hover { background: var(--primary-dark); }

/* Search suggestions */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  max-height: 200px;
  overflow-y: auto;
  display: none;
}
.search-suggestions.open { display: block; }
.sug-item {
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sug-item:hover { background: var(--primary-light); color: var(--primary); }

/* Hero chips */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.hero-chips span {
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-chips span:hover { background: rgba(255,255,255,0.25); }

/* Hero image side */
.hero-image-side { position: relative; z-index: 1; }
.hero-img-card {
  background: white;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  min-width: 240px;
  position: relative;
}
.hic-emoji { font-size: 28px; }
.hic-title { font-size: 13px; font-weight: 600; color: var(--text); }
.hic-price { font-size: 15px; font-weight: 700; color: var(--primary); margin-top: 2px; }
.hic-badge {
  position: absolute;
  top: -8px; right: 12px;
  background: var(--success);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--primary);
  color: white;
  padding: 20px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 14px;
}
.stat-s strong { font-size: 22px; font-weight: 800; margin-right: 4px; }
.stat-div { width: 1px; height: 30px; background: rgba(255,255,255,0.25); }

/* ===== SECTIONS ===== */
.section { padding: 56px 24px; max-width: 1280px; margin: 0 auto; }
.section-gray { background: var(--gray-bg); max-width: 100%; padding: 56px 0; }
.section-gray .section { margin: 0 auto; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-header h2 { font-size: 22px; font-weight: 700; }
.section-header p { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.see-all-btn {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s;
}
.see-all-btn:hover { background: var(--primary-light); }

/* Horizontal scroll for newly added */
.prop-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.prop-scroll::-webkit-scrollbar { display: none; }

/* ===== PROPERTY CARD ===== */
.prop-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 280px;
}
.prop-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.prop-card.grid-card { width: auto; flex-shrink: 1; }

.prop-img {
  height: 170px;
  background: linear-gradient(135deg, var(--primary-light), #e8e0ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  position: relative;
}
.prop-img-tags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
}
.prop-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tag-verified { background: #dcfce7; color: #166534; }
.tag-new { background: #dbeafe; color: #1e40af; }
.tag-type { background: var(--primary); color: white; }
.prop-save-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.2s;
}
.prop-save-btn:hover { transform: scale(1.15); }

.prop-info { padding: 14px 16px; }
.prop-price {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}
.prop-price span { font-size: 12px; color: var(--text-muted); font-family: 'Nunito'; font-weight: 400; }
.prop-title { font-weight: 700; font-size: 14px; margin: 4px 0 2px; color: var(--text); }
.prop-loc { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.prop-specs {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.prop-contact-btn {
  width: 100%;
  margin-top: 10px;
  padding: 9px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  transition: background 0.2s;
}
.prop-contact-btn:hover { background: var(--primary-dark); }
.prop-contact-revealed {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
}

/* ===== TYPE GRID ===== */
.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.type-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}
.type-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.type-icon { font-size: 32px; margin-bottom: 10px; }
.type-name { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.type-count { font-size: 12px; color: var(--text-muted); }

/* ===== LOCALITY GRID ===== */
.locality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.loc-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.loc-card:hover { border-color: var(--primary); background: var(--primary-light); }
.loc-emoji { font-size: 28px; }
.loc-name { font-weight: 700; font-size: 14px; }
.loc-count { font-size: 12px; color: var(--text-muted); }

/* ===== BROKER BANNER ===== */
.broker-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #4c1d95 100%);
  padding: 56px 24px;
}
.broker-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.broker-banner h2 { font-size: 28px; color: white; margin-bottom: 8px; }
.broker-banner p { color: rgba(255,255,255,0.75); font-size: 15px; }
.btn-white {
  padding: 12px 24px;
  background: white;
  color: var(--primary);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  transition: all 0.2s;
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.btn-white-outline {
  padding: 12px 24px;
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  transition: all 0.2s;
}
.btn-white-outline:hover { border-color: white; }
.broker-banner-stats { display: flex; gap: 40px; }
.bbs { text-align: center; }
.bbs-num { font-family: 'Poppins', sans-serif; font-size: 36px; font-weight: 700; color: white; }
.bbs-lbl { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ===== FOOTER ===== */
.main-footer { background: #1a0a3e; color: rgba(255,255,255,0.7); padding: 40px 24px 20px; }
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-logo { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; color: white; margin-bottom: 8px; }
.footer-logo span { color: var(--accent); }
.footer-col h4 { color: white; font-size: 13px; margin-bottom: 10px; font-weight: 700; }
.footer-col a { display: block; font-size: 12px; margin-bottom: 6px; color: rgba(255,255,255,0.6); text-decoration: none; cursor: pointer; }
.footer-col a:hover { color: white; }
.footer-col p { font-size: 12px; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; text-align: center; font-size: 12px; max-width: 1280px; margin: 0 auto; }

/* ===== LISTINGS PAGE ===== */
.listings-layout {
  display: flex;
  min-height: calc(100vh - var(--header-h));
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  gap: 24px;
}
.filters-panel {
  width: 260px;
  flex-shrink: 0;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.filters-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.filters-header h3 { font-size: 16px; }
.filter-group { margin-bottom: 20px; }
.filter-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 8px; display: block; }
.filter-group select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  outline: none;
}
.filter-group select:focus { border-color: var(--primary); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.15s;
  background: white;
}
.fchip.active { background: var(--primary); color: white; border-color: var(--primary); }
.fchip:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

.listings-main { flex: 1; }
.listings-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.listings-topbar h2 { font-size: 20px; }
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* ===== DETAIL PAGE ===== */
.detail-container { max-width: 1100px; margin: 0 auto; padding: 24px; }
.detail-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-breadcrumb a { color: var(--primary); cursor: pointer; text-decoration: none; }
.detail-breadcrumb a:hover { text-decoration: underline; }

.detail-hero {
  background: linear-gradient(135deg, var(--primary-light), #e8e0ff);
  border-radius: 16px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.detail-body { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.detail-main h1 { font-size: 26px; margin-bottom: 8px; }
.detail-price {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.detail-price span { font-size: 14px; color: var(--text-muted); font-family: 'Nunito'; font-weight: 400; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.dtag {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
}
.dtag-type { background: var(--primary-light); color: var(--primary); }
.dtag-furnish { background: #fff3ee; color: var(--accent); }
.dtag-live { background: #dcfce7; color: var(--success); }

.detail-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
  background: var(--gray-bg);
  border-radius: 12px;
  padding: 16px;
}
.dspec { font-size: 13px; }
.dspec-label { color: var(--text-muted); margin-bottom: 2px; font-size: 11px; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.dspec-val { font-weight: 700; font-size: 14px; }

.detail-desc { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 20px; }

.contact-side { position: sticky; top: calc(var(--header-h) + 20px); }
.contact-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 16px; margin-bottom: 16px; }
.agent-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.agent-av { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.agent-name { font-weight: 700; font-size: 14px; }
.agent-type { font-size: 12px; color: var(--success); font-weight: 600; }

.deposit-box { background: var(--gray-bg); border-radius: 10px; padding: 14px; margin-bottom: 16px; }
.deposit-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.5px; }
.deposit-val { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 700; margin-top: 2px; }

/* ===== DASHBOARD ===== */
.dashboard-layout { display: flex; min-height: calc(100vh - var(--header-h)); }
.dash-sidebar {
  width: 240px;
  background: white;
  border-right: 1px solid var(--border);
  padding: 24px 0;
  flex-shrink: 0;
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.dash-user-card { padding: 16px 20px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.dash-nav { flex: 1; padding: 0 12px; }
.dash-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  text-align: left;
  margin-bottom: 4px;
  transition: all 0.15s;
}
.dash-item:hover { background: var(--primary-light); color: var(--primary); }
.dash-item.active { background: var(--primary-light); color: var(--primary); }
.dash-badge {
  margin-left: auto;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
}
.btn-logout {
  margin: 12px;
  padding: 10px;
  background: #fee2e2;
  color: var(--danger);
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
}
.dash-main { flex: 1; padding: 32px; }
.dash-tab { display: none; }
.dash-tab.active { display: block; }
.dash-tab h2 { font-size: 24px; margin-bottom: 4px; }

/* Stats row */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
}
.stat-card.accent { background: var(--primary); border-color: var(--primary); color: white; }
.sc-label { font-size: 12px; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
.stat-card.accent .sc-label { color: rgba(255,255,255,0.8); }
.sc-val { font-family: 'Poppins', sans-serif; font-size: 28px; font-weight: 700; }
.sc-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.stat-card.accent .sc-sub { color: rgba(255,255,255,0.7); }

/* Listing manager card */
.lm-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.lm-info { flex: 1; }
.lm-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.lm-info p { font-size: 13px; color: var(--text-muted); }
.lm-status {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.status-live { background: #dcfce7; color: var(--success); }
.status-pending { background: #fef9c3; color: var(--warning); }
.status-rejected { background: #fee2e2; color: var(--danger); }

/* Data table */
.dtable { width: 100%; border-collapse: collapse; font-size: 13px; background: white; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.dtable th { text-align: left; padding: 12px 16px; font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; background: var(--gray-bg); border-bottom: 1px solid var(--border); }
.dtable td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.dtable tr:last-child td { border-bottom: none; }
.dtable tr:hover td { background: var(--gray-bg); }

/* Map box */
.map-box {
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  border: 2px dashed #93c5fd;
  color: #1d4ed8;
  margin-top: 16px;
}

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 32px;
  position: relative;
  animation: slideUp 0.2s ease;
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-x {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-muted);
}
.modal-logo { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.modal-logo span { color: var(--accent); }
.modal h2 { font-size: 22px; margin-bottom: 4px; }
.modal-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  background: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { min-height: 80px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* Auth tabs */
.auth-tabs { display: flex; background: var(--gray-bg); padding: 4px; border-radius: 10px; margin-bottom: 22px; gap: 4px; }
.atab {
  flex: 1;
  padding: 8px;
  text-align: center;
  border: none;
  background: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  font-family: 'Nunito', sans-serif;
  transition: all 0.2s;
}
.atab.active { background: white; color: var(--primary); box-shadow: 0 1px 4px rgba(0,0,0,0.08); }

/* Payment info box */
.pay-info-box {
  background: var(--primary-light);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}
.pib-amount { font-family: 'Poppins', sans-serif; font-size: 32px; font-weight: 700; color: var(--primary); }
.pib-amount span { font-size: 14px; color: var(--text-muted); font-family: 'Nunito'; font-weight: 400; }
.pay-info-box p { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* Buttons */
.btn-primary-full {
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  transition: background 0.2s;
  margin-top: 4px;
}
.btn-primary-full:hover { background: var(--primary-dark); }
.btn-broker-full {
  width: 100%;
  padding: 13px;
  background: #7c3aed;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  transition: background 0.2s;
  margin-top: 4px;
}
.btn-broker-full:hover { background: #6d28d9; }

/* Notice / alert */
.notice-box {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.notice-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.notice-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.pending-banner {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: white;
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}
.pending-banner h3 { font-size: 16px; margin-bottom: 4px; }
.pending-banner p { font-size: 13px; opacity: 0.9; }

/* Toast */
#toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--text);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.3s ease;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.ok { background: var(--success); }
.toast.err { background: var(--danger); }
@keyframes toastIn { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Upload image area */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.upload-area:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* Page entrance animations */
.page.active { animation: fadeIn 0.3s ease; }
.hero-content { animation: fadeInUp 0.6s ease 0.1s both; }
.hero-image-side { animation: fadeInUp 0.6s ease 0.3s both; }
.stats-strip .stat-s { animation: fadeInUp 0.5s ease both; }
.stats-strip .stat-s:nth-child(1) { animation-delay: 0.1s; }
.stats-strip .stat-s:nth-child(3) { animation-delay: 0.2s; }
.stats-strip .stat-s:nth-child(5) { animation-delay: 0.3s; }
.stats-strip .stat-s:nth-child(7) { animation-delay: 0.4s; }

.prop-card { animation: scaleIn 0.3s ease both; }
.prop-card:nth-child(1) { animation-delay: 0.05s; }
.prop-card:nth-child(2) { animation-delay: 0.1s; }
.prop-card:nth-child(3) { animation-delay: 0.15s; }
.prop-card:nth-child(4) { animation-delay: 0.2s; }
.prop-card:nth-child(5) { animation-delay: 0.25s; }
.prop-card:nth-child(6) { animation-delay: 0.3s; }

.type-card { transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.type-card:hover { transform: translateY(-6px) scale(1.03); }

.loc-card { transition: all 0.2s ease; }
.hero-img-card { animation: fadeInUp 0.5s ease both; }
.hero-img-card:nth-child(2) { animation-delay: 0.2s; }

/* Button animations */
.btn-header-primary:active { transform: scale(0.96); }
.btn-header-ghost:active { transform: scale(0.96); }
.search-btn { transition: all 0.2s; }
.search-btn:hover { transform: translateX(2px); }
.prop-save-btn { transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.prop-save-btn:active { transform: scale(1.3); }

/* Card hover lift */
.prop-card:hover .prop-img { filter: brightness(1.04); }

/* ===== ALL MOBILE UI — hidden by default on desktop ===== */
.mobile-filter-drawer {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-radius: 20px 20px 0 0;
  padding: 24px 20px;
  z-index: 500;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
  max-height: 80vh;
  overflow-y: auto;
}
.mobile-filter-drawer.open { display: block; animation: slideUp 0.3s ease; }

.filter-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 499;
}
.filter-drawer-overlay.open { display: block; }

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: white;
  border-bottom: 2px solid var(--primary);
  z-index: 199;
  padding: 12px 16px;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.mobile-nav-drawer.open { display: flex; animation: slideInLeft 0.2s ease; }
.mobile-nav-drawer .nav-tab {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  border-radius: 8px;
  border-bottom: none !important;
  width: 100%;
  text-align: left;
}
.mobile-nav-drawer .nav-tab.active { background: var(--primary-light); }

.mobile-bottom-nav { display: none; }
.mobile-menu-btn { display: none; }
.mobile-filter-btn { display: none; }

.mbn-inner { display: flex; justify-content: space-around; align-items: center; }
.mbn-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: none; border: none; cursor: pointer;
  font-family: 'Nunito', sans-serif; color: var(--text-muted);
  font-size: 10px; font-weight: 600; padding: 4px 12px;
  border-radius: 8px; transition: all 0.15s;
}
.mbn-item .mbn-icon { font-size: 20px; }
.mbn-item.active, .mbn-item:active { color: var(--primary); }

/* ===== RESPONSIVE: TABLET (≤900px) ===== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }

  .header-inner { gap: 12px; }
  .btn-header-primary { display: none; }

  /* Hero */
  .hero-section { padding: 40px 20px 60px; gap: 24px; }
  .hero-image-side { display: none; }
  .hero-content h1 { font-size: 28px; }

  /* Stats */
  .stats-strip { gap: 20px; padding: 16px; }
  .stat-div { display: none; }

  /* Sections */
  .section { padding: 36px 16px; }
  .section-gray { padding: 36px 0; }

  /* Type grid */
  .type-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }

  /* Locality */
  .locality-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Listings */
  .listings-layout { padding: 16px; gap: 0; }
  .filters-panel { display: none; }
  .listings-topbar h2 { font-size: 17px; }

  /* Detail */
  .detail-body { grid-template-columns: 1fr; gap: 16px; }
  .contact-side { position: static; }
  .detail-container { padding: 16px; }
  .detail-hero { height: 200px; font-size: 56px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .broker-banner-stats { display: none; }
  .broker-banner-inner { padding: 0 16px; }

  /* Dashboard */
  .dashboard-layout { flex-direction: column; }
  .dash-sidebar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: column;
    padding: 16px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .dash-nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .dash-item { padding: 8px 12px; font-size: 13px; }
  .dash-main { padding: 20px 16px; }

  /* Modal */
  .modal { padding: 28px 20px; }
}

/* ===== RESPONSIVE: MOBILE (≤600px) ===== */
@media (max-width: 600px) {
  :root { --header-h: 56px; }

  /* Header */
  .header-inner { padding: 0 16px; }
  .logo img { height: 36px; }
  .btn-header-ghost { padding: 7px 14px; font-size: 12px; }

  /* Show bottom nav on mobile */
  .mobile-bottom-nav {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: white;
    border-top: 1px solid var(--border);
    z-index: 300;
    padding: 8px 0 12px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  }
  body { padding-bottom: 68px; }

  /* Show hamburger on mobile */
  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    color: var(--text);
  }

  /* Show filter button on mobile listings page */
  .mobile-filter-btn {
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: white;
    border: 1.5px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
  }
}

  /* Hero */
  .hero-section { padding: 32px 16px 48px; }
  .hero-content h1 { font-size: 24px; line-height: 1.2; }
  .hero-sub { font-size: 14px; }
  .search-box { border-radius: 12px; }
  .search-tabs { overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; white-space: nowrap; padding: 4px 4px 0; }
  .search-tabs::-webkit-scrollbar { display: none; }
  .stab { padding: 7px 12px; font-size: 12px; }
  .search-input-row { padding: 10px; gap: 0; flex-direction: column; gap: 8px; }
  .search-input-wrap input { border-radius: 8px; border-right: 1.5px solid var(--border); }
  .search-btn { border-radius: 8px; width: 100%; padding: 11px; }
  .hero-chips { gap: 6px; }
  .hero-chips span { font-size: 11px; padding: 5px 10px; }

  /* Stats */
  .stats-strip { padding: 14px 16px; gap: 12px; font-size: 13px; }
  .stat-s strong { font-size: 18px; }

  /* Section */
  .section { padding: 28px 16px; }
  .section-header h2 { font-size: 18px; }
  .see-all-btn { font-size: 13px; }

  /* Cards scroll */
  .prop-scroll { gap: 12px; padding-bottom: 8px; }
  .prop-card { width: 240px; }
  .prop-img { height: 150px; }

  /* Type grid */
  .type-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .type-card { padding: 16px 10px; }
  .type-icon { font-size: 24px; margin-bottom: 6px; }
  .type-name { font-size: 12px; }
  .type-count { font-size: 10px; }

  /* Locality grid */
  .locality-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .loc-card { padding: 14px; }
  .loc-emoji { font-size: 22px; }
  .loc-name { font-size: 13px; }

  /* Broker banner */
  .broker-banner { padding: 36px 16px; }
  .broker-banner h2 { font-size: 20px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 12px; }
  .main-footer { padding: 24px 16px 14px; }

  /* Listings page */
  .listings-layout { padding: 12px; }
  .listings-topbar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .listings-grid { grid-template-columns: 1fr; gap: 14px; }
  .prop-card.grid-card { width: auto; }

  /* Property detail */
  .detail-container { padding: 12px; }
  .detail-hero { height: 160px; font-size: 48px; border-radius: 10px; }
  .detail-body { gap: 12px; }
  .detail-price { font-size: 24px; }
  .contact-card { padding: 16px; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .modal { padding: 24px 16px; border-radius: 16px; }
  .modal h2 { font-size: 20px; }

  /* Dashboard */
  .dash-main { padding: 16px 12px; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sc-val { font-size: 22px; }

  /* Toast */
  #toast-container { bottom: 80px; right: 12px; left: 12px; }
  .toast { max-width: 100%; }
}

/* ===== EXTRA SMALL (≤380px) ===== */
@media (max-width: 380px) {
  .hero-content h1 { font-size: 21px; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: 1fr; }
}

/* Smooth page transitions */
.page { transition: opacity 0.2s ease; }
.page:not(.active) { display: none; }

/* Scroll behavior */
html { scroll-behavior: smooth; }

/* Focus styles for accessibility */
button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}


/* ===== OTP MODAL ===== */
.otp-input-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}
.otp-box {
  width: 44px;
  height: 52px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: all 0.2s;
  -moz-appearance: textfield;
}
.otp-box::-webkit-inner-spin-button,
.otp-box::-webkit-outer-spin-button { -webkit-appearance: none; }
.otp-box:focus { border-color: var(--primary); background: var(--primary-light); }
.otp-box.filled { border-color: var(--primary); color: var(--primary); }

/* ===== IMAGE UPLOAD ===== */
.img-upload-zone {
  border: 2px dashed var(--primary);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--primary-light);
}
.img-upload-zone:hover, .img-upload-zone.drag-over {
  background: #e0d5ff;
  border-color: var(--primary-dark);
  transform: scale(1.01);
}
.iuz-icon { font-size: 36px; margin-bottom: 8px; }
.iuz-text { font-weight: 700; font-size: 15px; color: var(--primary); }
.iuz-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.img-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.img-preview-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  border: 2px solid var(--border);
}
.img-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-remove-btn {
  position: absolute;
  top: 4px; right: 4px;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 22px; height: 22px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-main-badge {
  position: absolute;
  bottom: 4px; left: 4px;
  background: var(--primary);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Flat image in cards */
.prop-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prop-img-slider {
  position: relative;
  height: 170px;
  overflow: hidden;
}
.prop-img-slide {
  display: none;
  height: 100%;
}
.prop-img-slide.active {
  display: block;
}
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 28px; height: 28px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.slide-prev { left: 8px; }
.slide-next { right: 8px; }
.img-count-badge {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
}

/* Detail page image gallery */
.detail-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  height: 320px;
}
.detail-gallery-main {
  position: relative;
  overflow: hidden;
}
.detail-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}
.detail-gallery-main img:hover { transform: scale(1.03); }
.detail-gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}
.detail-gallery-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}
.detail-gallery-side img:hover { transform: scale(1.03); }
.see-all-photos-btn {
  position: absolute;
  bottom: 12px; right: 12px;
  background: white;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-family: 'Nunito', sans-serif;
  color: var(--text);
}

@media (max-width: 600px) {
  .otp-box { width: 38px; height: 46px; font-size: 18px; }
  .detail-gallery { grid-template-columns: 1fr; height: 220px; }
  .detail-gallery-side { display: none; }
}

/* =====================================================
   NashikFlatFinder v3 — Additional Styles (FIXED)
   ===================================================== */

/* Sold / Available badge on property cards */
.tag-sold {
  background: #dc2626 !important;
  color: white !important;
  font-weight: 700;
  animation: pulseSold 2s infinite;
}
@keyframes pulseSold {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.tag-available {
  background: #16a34a !important;
  color: white !important;
}
.prop-sold {
  opacity: 0.82;
  position: relative;
}
.prop-sold::after {
  content: 'SOLD';
  position: absolute;
  top: 12px;
  left: 12px;
  background: #dc2626;
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  pointer-events: none;
  z-index: 10;
}
.btn-disabled {
  background: #e5e7eb !important;
  color: #9ca3af !important;
  cursor: not-allowed !important;
}
.dtag-sold {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

/* Admin — reject/delete status */
.status-rejected {
  background: #fee2e2;
  color: #dc2626;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

/* Admin add broker/client forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Settings extras */
.settings-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.settings-section h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.setting-row:last-child { border-bottom: none; }
.setting-label { font-size: 14px; font-weight: 600; }
.setting-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.setting-input { max-width: 160px; }

/* Broker listing image preview */
.lm-card img { flex-shrink: 0; }

/* =====================================================
   SEO FOOTER
   ===================================================== */
#seo-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0 0;
  margin-top: 60px;
  font-size: 13px;
}
.seo-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.seo-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.seo-col h3 {
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #1e293b;
}
.seo-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.seo-col ul li a {
  color: #64748b;
  text-decoration: none;
  font-size: 12.5px;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1.4;
}
.seo-col ul li a:hover { color: #a78bfa; }
.seo-footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
@media (max-width: 900px) {
  .seo-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .seo-footer-grid { grid-template-columns: 1fr; gap: 20px; }
  #seo-footer { padding: 32px 0 0; }
}
