@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  /* Branding Colors */
  --brand-red: #FF0000;
  --brand-black: #000000;
  --brand-white: #FFFFFF;

  /* Global fixed styles for Brand identity */
  --header-bg: var(--brand-white);
  --header-text: var(--brand-black);
  --footer-bg: var(--brand-black);
  --footer-text: var(--brand-white);

  /* Light Theme (Switches) */
  --bg: var(--brand-white);
  --text: var(--brand-black);
  --card-bg: var(--brand-white);
  --secondary-bg: #f5f5f5;
  --border: #999999; /* HIGH-CONTRAST BORDER FOR ULTIMATE DEFINITION */
  --accent: var(--brand-red);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --hero-gradient: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  --hero-text: var(--brand-white);
}

[data-theme="dark"] {
  --bg: #121212;
  --text: #ffffff;
  --card-bg: #222222;
  --secondary-bg: #1e1e1e;
  --border: #555555; /* HIGH-CONTRAST DARK MODE BORDER */
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .form-subtitle {
  color: #fff !important;
  opacity: 0.6;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  transition: background 0.3s, color 0.3s;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
header {
  background-color: var(--header-bg);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: var(--header-text);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links li a:hover {
  color: var(--accent);
}

.btn-primary {
  background: var(--accent);
  color: #fff !important;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
}

/* Hamburger & Mobile Menu */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--header-text);
  background: none;
  border: none;
  z-index: 1100;
}

@media (max-width: 992px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--header-bg);
    flex-direction: column;
    padding: 6rem 2rem;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    align-items: center;
    z-index: 1050;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    justify-content: center;
    font-size: 1.1rem;
  }

  .theme-switch-wrapper {
    justify-content: center;
    margin: 1.5rem 0 0 0;
    width: 100%;
  }
}

/* Theme Switcher Toggle */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}

.theme-icon {
  width: 18px;
  height: 18px;
  color: #333; /* Fixed dark color for white header */
  opacity: 0.4;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* Default (Light) Mode - Sun is Active */
.sun-icon {
  opacity: 1;
  color: var(--brand-red);
}

/* Dark Mode Active - Moon is Highlighted */
[data-theme="dark"] .sun-icon {
  opacity: 0.4;
  color: #333;
}

[data-theme="dark"] .moon-icon {
  opacity: 1;
  color: var(--brand-red);
}

.theme-switch {
  display: inline-block;
  height: 24px;
  position: relative;
  width: 44px;
}

.theme-switch input {
  display: none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 16px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 16px;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: var(--accent);
}

input:checked+.slider:before {
  transform: translateX(20px);
}

/* Hero Section */
.brand-hero {
  padding: 3rem 0;
  background: var(--hero-gradient);
  color: var(--hero-text);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2.5rem;
}

.hero-text .highlight {
  color: var(--accent);
}

.hero-text p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 4rem;
  max-width: 540px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.stat i {
  color: var(--accent);
}

/* Hero Form */
.hero-form .form-wrapper {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 2rem;
  box-shadow: var(--shadow);
  color: var(--text);
  max-width: 380px;
  margin-left: auto;
}

.form-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  background: var(--secondary-bg);
  padding: 0.75rem 1.5rem;
  border-radius: 5rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.toggle-label {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.toggle-label.active {
  opacity: 1;
  color: var(--accent);
}

.form-switch {
  display: inline-block;
  height: 28px;
  position: relative;
  width: 54px;
}

.form-switch input {
  display: none;
}

.form-slider {
  background-color: var(--accent);
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
  border-radius: 34px;
}

.form-slider:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 20px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 20px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.form-slider {
  background-color: var(--accent);
}

input:checked+.form-slider:before {
  transform: translateX(26px);
}

.form-content {
  display: none;
}

.form-content.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

.form-subtitle {
  text-align: center;
  font-size: 0.85rem;
  color: var(--accent);
  margin-top: -1.5rem;
  margin-bottom: 2rem;
  line-height: 1.3;
  font-style: italic;
  font-weight: 600;
}

.form-subtitle::before,
.form-subtitle::after {
  content: '"';
}

.form-wrapper h3 {
  text-align: center;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
  font-weight: 800;
}

.form-wrapper input,
.form-wrapper select,
.form-wrapper textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.2rem;
  border-radius: 0.75rem;
  border: 1.5px solid #888;
  background: var(--bg);
  color: var(--text);
  transition: all 0.3s;
}

.form-wrapper input:focus,
.form-wrapper select:focus,
.form-wrapper textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.1);
}

/* Property Categories */
.property-categories {
  padding: 8rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.category-card {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border: 1px solid var(--border);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.cat-icon {
  width: 60px;
  height: 60px;
  background: #ff00001a;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border-radius: 1rem;
  margin: 0 auto 1.5rem auto;
}

.category-card h3 {
  margin-bottom: 1rem;
}

.category-card p {
  color: var(--text);
  opacity: 0.8;
  margin-bottom: 2rem;
}

.view-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* How It Works */
.how-it-works {
  background: var(--secondary-bg);
  padding: 8rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.step {
  text-align: center;
}

.step-num {
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.1;
  margin-bottom: -2.5rem;
}

.step h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  position: relative;
}

.stat-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
}

/* Footer Styling - Premium & Multi-column */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-info .footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--brand-white);
  letter-spacing: -0.5px;
}

.footer-info p {
  opacity: 0.7;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-column h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--brand-white);
  position: relative;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links li a {
  text-decoration: none;
  color: var(--brand-white);
  opacity: 0.7;
  font-size: 0.9rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links li a:hover {
  opacity: 1;
  color: var(--accent);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--brand-white);
  font-size: 1.1rem;
  transition: all 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  opacity: 0.5;
  font-size: 0.85rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  color: var(--brand-white);
  opacity: 0.5;
  font-size: 0.85rem;
  text-decoration: none;
  transition: opacity 0.3s;
}

.legal-links a:hover {
  opacity: 1;
}

@media (max-width: 992px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.btn-block {
  background: var(--accent);
  color: #fff;
  width: 100%;
  padding: 1.1rem;
  border-radius: 0.75rem;
  border: none;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

.btn-block:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

.btn-block:active {
  transform: translateY(0);
}

/* Utilities */
/* Mobile Responsive Overrides */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-text h1 {
    font-size: 2.8rem;
    text-align: center;
  }

  .hero-text p {
    text-align: center;
    margin: 0 auto 2rem auto;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-form .form-wrapper {
    margin: 0 auto;
  }

  .category-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .property-categories,
  .how-it-works {
    padding: 4rem 0;
  }

  .admin-stats {
    flex-direction: column;
  }
}

/* Authentication Pages */
.auth-page {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: var(--secondary-bg);
}

.login-card,
.register-card {
  background: var(--card-bg);
  padding: 3.5rem;
  border-radius: 2.5rem;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.card-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.card-header h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.card-header p {
  opacity: 0.7;
  font-size: 0.95rem;
}

.alert {
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-danger {
  background: #FF00001a;
  color: #FF0000;
  border: 1px solid #FF000033;
}

.alert-success {
  background: #00FF001a;
  color: #2ecc71;
  border: 1px solid #2ecc7133;
}

.auth-footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.auth-footer a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

/* Information Pages Styling */
.info-page {
  padding: 8rem 0 4rem 0;
}

.page-header {
  text-align: center;
  margin-bottom: 4rem;
}

.page-header h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.25rem;
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto;
}

.content-block {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.content-block h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 2.5rem 0 1.5rem 0;
  color: var(--accent);
}

.content-block p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.content-block ul {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.content-block ul li {
  margin-bottom: 1rem;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  max-width: 1100px !important;
}

.contact-details {
  list-style: none;
  padding: 0 !important;
  margin-top: 2rem;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.contact-details li i {
  width: 40px;
  height: 40px;
  background: var(--secondary-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.brand-form .form-group {
  margin-bottom: 1.5rem;
}

.brand-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.brand-form input,
.brand-form textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.3s;
}

.brand-form input:focus,
.brand-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* FAQ Styling */
.faq-item {
  background: var(--secondary-bg);
  padding: 2.5rem;
  border-radius: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}

.faq-item h2 {
  margin-top: 0 !important;
  font-size: 1.4rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

/* Dashboard & Admin Layouts - Moved to admin.css */
@media (max-width: 1200px) {
  .dashboard-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Full Width Layout Support */
.container-fluid {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 3rem;
}

@media (max-width: 768px) {
  .container-fluid {
    padding: 0 1.5rem;
  }
}

/* Property Listing & Search Styles - Pro-Elite Compact Refinement */
.listing-layout {
  display: flex; /* SWITCHED TO FLEX FOR BETTER SIDEBAR CONTROL */
  gap: 2rem;
  padding: 2.5rem 0;
  max-width: 1800px;
  margin: 0 auto;
}

.listing-content {
    flex: 1;
}

@media (max-width: 1024px) {
  .listing-layout {
    flex-direction: column;
    padding: 1.5rem 1rem;
  }
}

.filter-sidebar {
  width: 210px;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 90px;
  height: fit-content;
  color: var(--text);
  border: none;
  box-shadow: none;
  z-index: 1001; /* MOBILE DRAWER */
}

@media (max-width: 1024px) {
    .filter-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        background: var(--card-bg);
        padding: 3rem 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-right: 1px solid var(--border);
        overflow-y: auto;
    }

    .filter-sidebar.active {
        transform: translateX(0);
    }

    .sidebar-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: transparent;
        border: none;
        color: var(--text);
        font-size: 1.5rem;
        cursor: pointer;
        display: block !important;
    }
}

.filter-sidebar h3 {
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.filter-group {
  margin-bottom: 1.25rem;
}

.filter-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-section-label {
    padding: 0.5rem 0 0.4rem 0;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #94a3b8;
    font-weight: 800;
}

.filter-input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.filter-input:focus {
  border-color: var(--accent);
}

.price-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

/* Property Grid - Ultra-High Density Pro */
.results-header {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card-bg);
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.results-header div {
    font-size: 0.8rem;
    font-weight: 600;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

@media (max-width: 1440px) {
  .property-grid {
    gap: 1rem;
  }
}

@media (max-width: 1200px) {
  .property-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 580px) {
  .property-grid {
    grid-template-columns: 1fr;
  }
}

.property-card {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-color: var(--accent);
}

.property-thumb {
  width: 100%;
  aspect-ratio: 4 / 3; /* FORCED ASPECT RATIO */
  background: var(--secondary-bg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  overflow: hidden;
}

.property-thumb i.fa-image {
  font-size: 2rem;
  opacity: 0.1;
}

.property-type-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: transparent; /* REMOVED BATCH STYLE */
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.property-price-tag {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: transparent; /* REMOVED BATCH STYLE */
  color: var(--text);
  font-weight: 800;
  font-size: 1rem;
  text-shadow: 0 0 10px rgba(255,255,255,0.8); /* SUBTLE TEXT READABILITY */
}

.property-details {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-details h4 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.property-loc {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  opacity: 0.5;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.property-loc i {
    color: var(--accent);
}

.property-desc {
  font-size: 0.8rem;
  opacity: 0.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.property-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.poster-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  opacity: 0.7;
}

.poster-avatar {
  width: 20px;
  height: 20px;
  background: rgba(255,0,0,0.05);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pagination System - Compact */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.page-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.8rem;
  transition: all 0.2s;
}

.page-link.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.search-overlay.active {
    opacity: 1;
    pointer-events: auto;
}