/* ==========================================================================
   ZILLOW MASTER DESIGN SYSTEM & COMPLETE STYLESHEET
   Based on Zillow 2026 Layout Specifications
   ========================================================================== */

:root {
  --brand: #006aff;
  --brand-hover: #0051c7;
  --brand-light: #e6f0ff;
  --brand-tint: #f0f6ff;
  --text-main: #2a2a33;
  --text-muted: #596b82;
  --text-light: #718096;
  --border-color: #d1d5db;
  --border-subtle: #e5e7eb;
  --bg-page: #ffffff;
  --bg-soft: #f7f9fa;
  --card-bg: #ffffff;
  --orange-badge: #d9531e;
  --green-badge: #008a00;
  --red-heart: #e81123;
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.09), 0 2px 4px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --font-family: 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   1. LEFT FIXED APP RAIL (SIDEBAR - Screenshot 1)
   ========================================================================== */

.app-rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 72px;
  background: #ffffff;
  border-right: 1px solid var(--border-subtle);
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;
  gap: 22px;
}

.rail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-main);
  text-decoration: none;
  width: 60px;
  padding: 8px 0;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.rail-item:hover {
  background: var(--bg-soft);
  color: var(--brand);
}

.rail-item.active {
  color: var(--brand);
}

.rail-icon {
  width: 22px;
  height: 22px;
}

.rail-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

/* Main Content Wrapper (Offsets content past the 72px Left Rail) */
.app-main-wrap {
  margin-left: 72px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   2. TOP SITE HEADER (Screenshot 1)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  width: 100%;
}

.header-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-z-icon {
  width: 30px;
  height: 30px;
}

.logo-wordmark {
  font-size: 26px;
  font-weight: 800;
  color: #0b1f3d;
  letter-spacing: -0.4px;
}

.header-right-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex: 1;
}

.btn-signin-pill {
  background: var(--brand);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.btn-signin-pill:hover {
  background: var(--brand-hover);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 4px;
}

.mobile-menu {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 24px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 0;
  border-bottom: 1px solid var(--bg-soft);
}

/* ==========================================================================
   3. HERO SECTION (Screenshot 1)
   ========================================================================== */

.zillow-exact-hero {
  position: relative;
  width: 100%;
}

.hero-image-backdrop {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 60px 0;
  overflow: hidden;
}

.hero-slides-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-position: center 40%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active {
  background: #ffffff;
  width: 26px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.hero-inner-container {
  position: relative;
  z-index: 5;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.hero-text-block {
  max-width: 680px;
}

.hero-main-heading {
  color: #ffffff;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 28px;
  letter-spacing: -0.6px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero-pill-search {
  background: #ffffff;
  border-radius: var(--radius-pill);
  height: 60px;
  display: flex;
  align-items: center;
  padding: 4px 8px 4px 24px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  max-width: 580px;
  width: 100%;
}

.hero-pill-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--text-main);
  background: transparent;
}

.hero-pill-search input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.hero-search-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px 14px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  transition: transform 0.15s ease, color 0.15s ease;
}

.hero-search-icon-btn:hover {
  color: var(--brand);
  transform: scale(1.1);
}

/* ==========================================================================
   4. SECTIONS & LAYOUT CONTAINERS
   ========================================================================== */

.site-content-flow {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.zillow-section {
  padding: 48px 0;
}

.zillow-section.bg-light-panel {
  background: var(--bg-soft);
  margin-left: -32px;
  margin-right: -32px;
  padding: 56px 32px;
}

.site-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 48px 32px;
}

.section-title-wrap {
  margin-bottom: 28px;
}

.section-title-wrap.flex-between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.module-title, .section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.module-subtitle, .section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.section-more-link {
  color: var(--brand);
  font-weight: 700;
  font-size: 15px;
}

.section-more-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   5. "New tools. Your way home." BANNER (Screenshot 2)
   ========================================================================== */

.new-tools-banner {
  background: #f7f9fa;
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tools-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.highlight-blue {
  color: var(--brand);
}

.tools-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

.btn-blue-solid, .btn.btn-primary {
  background: var(--brand);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.15s ease;
}

.btn-blue-solid:hover, .btn.btn-primary:hover {
  background: var(--brand-hover);
}

.btn-outline-pill, .btn.btn-outline {
  display: inline-block;
  border: 1px solid var(--brand);
  color: var(--brand);
  background: transparent;
  padding: 9px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-outline-pill:hover, .btn.btn-outline:hover {
  background: var(--brand-light);
}

/* ==========================================================================
   6. "Get home recommendations" SECTION (Screenshot 2)
   ========================================================================== */

.recommendations-box {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  gap: 48px;
  padding: 24px 0;
}

.rec-left-panel {
  max-width: 440px;
}

.rec-heading {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.rec-subheading {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.rec-right-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.rec-tag-bubble {
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 8px 18px 8px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
  z-index: 5;
  transition: transform 0.2s;
}

.budget-tag {
  align-self: flex-start;
  margin-left: 20px;
}

.location-tag {
  align-self: flex-start;
  margin-left: 10px;
}

.bubble-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.bubble-icon-circle.green {
  background: #008a00;
}

.bubble-icon-circle.orange {
  background: #d9531e;
}

.bubble-text {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 1.25;
}

.bubble-text strong {
  color: var(--text-main);
  font-weight: 700;
}

.bubble-text span {
  color: var(--text-muted);
  font-size: 12px;
}

/* Stacked preview card */
.stacked-cards-container {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-top: -20px;
}

.stacked-layer {
  position: absolute;
  inset: 0;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.layer-3 {
  transform: translateY(18px) scale(0.92);
  opacity: 0.5;
}

.layer-2 {
  transform: translateY(10px) scale(0.96);
  opacity: 0.8;
}

.stacked-card-main {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  z-index: 3;
}

.stacked-img-wrap {
  height: 190px;
  overflow: hidden;
}

.stacked-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stacked-body {
  padding: 16px 20px;
}

.stacked-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
}

.stacked-specs {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-top: 4px;
}

.stacked-specs .sep {
  color: var(--border-color);
  margin: 0 4px;
}

/* ==========================================================================
   7. "Find homes you can afford with BuyAbility™" (Screenshot 3)
   ========================================================================== */

.buyability-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  align-items: stretch;
}

.buyability-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 26px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.loan-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.loan-brand-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.loan-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
  margin-bottom: 26px;
}

.metric-block {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.3px;
}

.metric-val small {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.metric-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 3px;
}

.btn-buyability {
  background: var(--brand);
  color: #ffffff;
  border-radius: 8px;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 106, 255, 0.2);
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-buyability:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.buyability-homes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.badge-buyability {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #d9531e;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   8. DYNAMIC PROPERTY CARDS (SLEEK SMALL SHADOW DESIGN)
   ========================================================================== */

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09), 0 2px 4px rgba(0, 0, 0, 0.04);
  border-color: #cbd5e1;
}

.pic {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #f1f5f9;
}

.pic-link {
  display: block;
  width: 100%;
  height: 100%;
}

.pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .pic img {
  transform: scale(1.03);
}

.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(16, 24, 40, 0.78);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}

.badge-special {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 106, 255, 0.92);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.heart-form {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.heart-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.heart-btn:hover {
  transform: scale(1.1);
  background: #ffffff;
}

.heart-icon {
  width: 20px;
  height: 20px;
}

.cb {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-info-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: inherit;
}

.price {
  font-size: 1.45rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.15;
}

.price-period {
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
  margin-left: 2px;
}

.facts {
  font-size: 0.88rem;
  color: #334155;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  margin: 4px 0 2px;
}

.facts b {
  font-weight: 700;
  color: #0f172a;
}

.dot {
  color: #94a3b8;
  margin: 0 4px;
}

.ptype {
  color: #64748b;
}

.title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.address {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 2px;
}

.broker {
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
}

/* ==========================================================================
   9. 3 ACTION CARDS WITH ILLUSTRATIONS (Screenshot 4)
   ========================================================================== */

.zillow-action-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.action-card-item {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  padding: 38px 26px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.action-card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.action-card-illustration {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.action-card-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.action-card-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  min-height: 72px;
}

.recommendations-disclaimer {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding-top: 24px;
}

.recommendations-disclaimer h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.recommendations-disclaimer p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   10. FILTERS RIBBON (PROPERTIES PAGE)
   ========================================================================== */

.filters-ribbon-wrap {
  position: sticky;
  top: 68px;
  z-index: 90;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

.filters-ribbon {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  transition: border-color 0.15s ease;
}

.filter-pill:hover, .filter-pill:focus-within {
  border-color: var(--brand);
}

.filter-pill select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.pill-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.search-pill {
  flex: 1 1 220px;
  padding: 8px 14px;
}

.search-pill input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  color: var(--text-main);
}

.pill-btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
}

.btn-reset {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
  padding: 6px 10px;
}

.btn-reset:hover {
  color: var(--brand);
  text-decoration: underline;
}

.results-meta-header {
  margin-bottom: 24px;
}

.results-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.results-count {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   11. PROPERTY DETAIL PAGE
   ========================================================================== */

.property-detail-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px 60px;
}

.detail-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}

.back-link:hover {
  text-decoration: underline;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.action-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.action-btn.saved {
  color: var(--red-heart);
  border-color: var(--red-heart);
}

.inline-form {
  display: inline;
}

.zillow-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}

.gallery-main {
  position: relative;
  height: 100%;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(16, 24, 40, 0.8);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gallery-sub {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 100%;
}

.sub-img-wrap {
  overflow: hidden;
}

.sub-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-columns {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: start;
}

.detail-header-block {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.detail-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.detail-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.detail-mo {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-muted);
}

.badge-verified {
  background: #e6f7ec;
  color: var(--green-badge);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.detail-specs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.spec-item b {
  font-weight: 800;
}

.detail-type {
  color: var(--text-muted);
}

.detail-address {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.detail-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}

.card-heading {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--text-main);
}

.property-description {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #374151;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.amenity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.amenity-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Sidebar Inquiry Card */
.detail-sidebar {
  position: sticky;
  top: 100px;
}

.inquiry-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.inquiry-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.inquiry-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.form-group input, .form-group select, .form-group textarea {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 15px;
  background: #ffffff;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.15s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--brand);
}

.inquiry-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.full-width {
  width: 100%;
}

/* ==========================================================================
   12. CONTACT PAGE & SAVED PAGE
   ========================================================================== */

.contact-page-container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.contact-header {
  margin-bottom: 24px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.info-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
  max-width: 600px;
  margin: 30px auto;
}

.empty-icon {
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.alert-banner {
  background: var(--brand-light);
  border-bottom: 1px solid #bfdbfe;
  padding: 12px 24px;
  text-align: center;
}

.alert-content {
  max-width: 1280px;
  margin: 0 auto;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-hover);
}

/* ==========================================================================
   13. EXACT ZILLOW FOOTER (Screenshots 5 & 6)
   ========================================================================== */

.zillow-exact-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 48px 32px 40px;
  margin-top: auto;
}

.footer-links-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.footer-nav-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.footer-nav-row a {
  font-size: 14px;
  color: var(--text-main);
  transition: color 0.15s ease;
}

.footer-nav-row a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.footer-nav-row.sub-row a, .footer-nav-row.network-row a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-privacy-link {
  margin: 24px 0 32px;
}

.footer-privacy-link a {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
}

.footer-privacy-link a:hover {
  text-decoration: underline;
}

.footer-legal-text {
  max-width: 1000px;
  margin: 0 auto 36px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-legal-text a {
  color: var(--brand);
  text-decoration: underline;
}

.footer-legal-text p {
  margin-bottom: 14px;
}

.footer-legal-text .bold-link {
  font-weight: 700;
}

/* App store buttons */
.footer-app-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.app-store-pill {
  background: #000000;
  color: #ffffff;
  border-radius: 8px;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.app-store-pill:hover {
  opacity: 0.85;
}

.app-pill-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.app-pill-text span {
  font-size: 10px;
  letter-spacing: 0.2px;
}

.app-pill-text strong {
  font-size: 14px;
  font-weight: 700;
}

/* Final Bottom Brand Row */
.footer-final-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.follow-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icons a {
  display: flex;
  align-items: center;
  transition: transform 0.15s;
}

.social-icons a:hover {
  transform: scale(1.15);
}

.footer-brand-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.copyright-text {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   14. ADMIN STYLES
   ========================================================================== */

body.adm {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background: #f8fafc;
}

.adm aside.adm-sidebar {
  background: #0f172a;
  color: #f8fafc;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid #1e293b;
}

.adm-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 24px;
  padding: 0 4px;
}

.adm-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.adm aside a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13.5px;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.15s ease;
}

.adm aside a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.adm aside a.on {
  background: #006aff;
  color: #ffffff;
}

.adm aside a svg {
  flex-shrink: 0;
}

.adm aside form {
  margin-top: auto;
  padding-top: 16px;
}

.content {
  padding: 32px 36px;
  min-width: 0;
}

.content h1 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #0f172a;
}

/* Global Responsive & Anti-Zoom Adjustments */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.app-main-wrap {
  overflow-x: hidden;
  max-width: 100%;
}

@media screen and (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
  body.adm {
    grid-template-columns: 1fr;
  }
  .adm aside.adm-sidebar {
    padding: 16px;
  }
  .content {
    padding: 20px 16px;
  }
}

.stats {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.stats .panel {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  flex: 1 1 180px;
  box-shadow: var(--shadow-subtle);
}

.stats b {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
}

.stats span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.tw {
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

th {
  background: var(--bg-soft);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.act {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn.alt {
  background: var(--bg-soft);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 6px 12px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn.alt:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn.bad {
  background: transparent;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn.bad:hover {
  background: #fee2e2;
}

.panel.form {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-subtle);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 860px;
}

.panel.form .wide {
  grid-column: 1 / -1;
}

.panel.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.panel.form input, .panel.form select, .panel.form textarea {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 15px;
  outline: none;
}

.panel.form input:focus, .panel.form select:focus, .panel.form textarea:focus {
  border-color: var(--brand);
}

.panel.narrow {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  max-width: 440px;
  margin: 40px auto;
  box-shadow: var(--shadow-card);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.notice {
  background: var(--brand-light);
  border: 1px solid #bfdbfe;
  color: var(--brand-hover);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 20px;
}

/* ==========================================================================
   15. RESPONSIVENESS (TABLETS & PHONES)
   ========================================================================== */

@media (max-width: 1024px) {
  .app-rail {
    display: none;
  }
  .app-main-wrap {
    margin-left: 0;
  }
  .header-left-nav {
    display: none;
  }
  .header-right-nav .nav-link {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .buyability-layout {
    grid-template-columns: 1fr;
  }
  .recommendations-box {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .zillow-action-cards-grid {
    grid-template-columns: 1fr;
  }
  .detail-columns {
    grid-template-columns: 1fr;
  }
  .detail-sidebar {
    position: static;
  }
  .contact-page-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-content-flow {
    padding: 0 16px;
  }
  .header-inner {
    padding: 0 16px;
  }
  .hero-inner-container {
    padding: 0 20px;
  }
  .hero-main-heading {
    font-size: 2.2rem;
  }
  .new-tools-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .rec-right-visual {
    align-items: center;
  }
  .budget-tag, .location-tag {
    margin-left: 0;
    align-self: center;
  }
  .footer-final-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .zillow-gallery {
    grid-template-columns: 1fr;
    height: 280px;
  }
  .gallery-sub {
    display: none;
  }
  .filters-ribbon {
    padding: 10px 16px;
  }
  .search-pill {
    flex: 1 1 100%;
  }
  .property-grid {
    grid-template-columns: 1fr;
  }
  body.adm {
    grid-template-columns: 1fr;
  }
  .adm aside {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .content {
    padding: 24px 16px;
  }
}



/* ==========================================================================
   16. ZILLOW FOR RENT SPLIT SCREEN (MAP + LISTINGS + FILTERS)
   ========================================================================== */

/* Top Filter Ribbon Bar */
.zillow-filter-ribbon {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 24px;
  position: sticky;
  top: 80px;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.zillow-filters-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Search Box Pill */
.filter-search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 14px;
  min-width: 280px;
  flex: 0 1 320px;
  transition: all 0.15s ease;
  position: relative;
}

.filter-search-box:focus-within {
  border-color: #006aff;
  box-shadow: 0 0 0 3px rgba(0, 106, 255, 0.12);
}

.search-lens-icon {
  width: 17px;
  height: 17px;
  color: #64748b;
  margin-right: 10px;
  flex-shrink: 0;
}

.filter-search-box input {
  border: none !important;
  outline: none !important;
  font-family: inherit;
  font-size: 14px;
  width: 100%;
  color: #0f172a;
  background: transparent;
  padding: 2px 0;
}

.clear-search-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

/* Dropdown Pills */
.filter-dropdown-wrap {
  position: relative;
}

.filter-pill-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.filter-pill-trigger:hover {
  border-color: #006aff;
  background: #f8fafc;
}

.filter-pill-trigger.active {
  background: #eff6ff;
  border-color: #006aff;
  color: #006aff;
}

.pill-arrow {
  width: 13px;
  height: 13px;
  color: #64748b;
  transition: transform 0.15s ease;
}

.filter-pill-trigger.active .pill-arrow {
  color: #006aff;
}

/* Dropdown Menus (Floating Popups) */
.filter-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  z-index: 1000;
  min-width: 260px;
  overflow: hidden;
  animation: dropdownFade 0.15s ease-out;
}

@keyframes dropdownFade {
  0% { opacity: 0; transform: translateY(-4px); }
  100% { opacity: 1; transform: translateY(0); }
}

.dropdown-header-bar {
  background: #f1f5f9;
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e2e8f0;
}

.filter-section-padded {
  padding: 16px;
}

.dropdown-actions {
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
}

.btn-dropdown-apply {
  background: #006aff;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s ease;
}

.btn-dropdown-apply:hover {
  background: #0056cc;
}

/* Radio Choice Rows */
.dropdown-radio-group {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.radio-item input[type="radio"] {
  accent-color: #006aff;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Histogram Chart Representation (Screenshot 12) */
.menu-price {
  width: 320px;
}

.histogram-chart-wrap {
  padding: 18px 20px 10px;
}

.histogram-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 70px;
  border-bottom: 2px solid #006aff;
  padding-bottom: 2px;
}

.histogram-bars span {
  flex: 1;
  background: #006aff;
  border-radius: 2px 2px 0 0;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.histogram-bars span:hover {
  opacity: 1;
}

.histogram-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-top: 6px;
}

.price-inputs-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 16px;
}

.price-input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-input-group label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.price-input-group input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  width: 100%;
}

.price-input-group input:focus {
  border-color: #006aff;
}

.price-range-dash {
  color: #94a3b8;
  font-size: 18px;
  margin-top: 16px;
}

/* Beds & Baths Pills Group (Screenshot 6) */
.menu-beds {
  width: 340px;
}

.filter-pill-selector-row {
  display: flex;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
}

.btn-pill-choice {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  background: #ffffff;
  border-right: 1px solid #cbd5e1;
  user-select: none;
  transition: all 0.15s ease;
}

.btn-pill-choice:last-child {
  border-right: none;
}

.btn-pill-choice input {
  display: none;
}

.btn-pill-choice.selected {
  background: #eff6ff;
  color: #006aff;
  box-shadow: inset 0 0 0 1.5px #006aff;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #334155;
  cursor: pointer;
}

.checkbox-line input[type="checkbox"] {
  accent-color: #006aff;
  width: 17px;
  height: 17px;
  cursor: pointer;
}

/* Property Type Grid (Screenshot 7) */
.menu-property-type {
  width: 320px;
}

.type-2x2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.space-1x3-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.type-box-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  cursor: pointer;
  background: #ffffff;
  color: #1e293b;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  transition: all 0.15s ease;
}

.type-box-choice input {
  display: none;
}

.type-box-choice:hover {
  border-color: #006aff;
  background: #f8fafc;
}

.type-box-choice.selected {
  border-color: #006aff;
  background: #eff6ff;
  color: #006aff;
}

/* Save Search & Reset Buttons */
.btn-save-search-pill {
  background: #006aff;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.btn-save-search-pill:hover {
  background: #0056cc;
}

.btn-reset-filters-inline {
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 6px;
  cursor: pointer;
}

.btn-reset-filters-inline:hover {
  color: #0f172a;
}

/* ==========================================================================
   SPLIT SCREEN LAYOUT: LEFT MAP + RIGHT LISTINGS
   ========================================================================== */

.zillow-rentals-split-wrap {
  display: flex;
  height: calc(100vh - 140px);
  min-height: 600px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Left Map Column */
.rentals-map-col {
  flex: 1 1 50%;
  height: 100%;
  position: relative;
  background: #e5e7eb;
}

.zillow-map-viewport {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Floating Map Overlays (Screenshots 2 & 3) */
.map-floating-overlay {
  position: absolute;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-floating-overlay.top-left {
  top: 16px;
  left: 16px;
}

.map-floating-overlay.top-right {
  top: 16px;
  right: 16px;
}

.map-zoom-tip {
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.map-overlay-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}

.map-overlay-btn:hover {
  background: #f8fafc;
  border-color: #006aff;
}

/* Leaflet Custom Price Bubble Pins */
.custom-zillow-marker-wrap {
  background: transparent;
  border: none;
}

.zillow-price-marker {
  background: #5b21b6;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  white-space: nowrap;
  border: 1.5px solid #ffffff;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.zillow-price-marker:hover, .zillow-price-marker.marker-hovered {
  background: #006aff;
  transform: scale(1.18);
  z-index: 99999 !important;
}

/* Leaflet Popup */
.zillow-map-popup .leaflet-popup-content-wrapper {
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.zillow-map-popup .leaflet-popup-content {
  margin: 0;
  width: 220px !important;
}

.map-popup-card {
  display: flex;
  flex-direction: column;
}

.map-popup-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.map-popup-body {
  padding: 10px 14px;
}

.map-popup-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.map-popup-specs {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

.map-popup-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-popup-btn {
  display: block;
  background: #006aff;
  color: #ffffff;
  text-align: center;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 8px;
}

/* ==========================================================================
   RIGHT COLUMN: LISTINGS & CARDS (Screenshots 2 & 3)
   ========================================================================== */

.rentals-listings-col {
  flex: 1 1 50%;
  height: 100%;
  overflow-y: auto;
  background: #ffffff;
  padding: 20px 24px;
}

.listings-col-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.split-heading-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px;
}

.rentals-count-text {
  font-size: 0.95rem;
  color: #475569;
}

.listings-sort-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sort-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.sort-select {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  cursor: pointer;
  background: #ffffff;
}

/* 2-Column Rentals Grid */
.zillow-rentals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.zillow-rental-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.zillow-rental-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.zillow-rental-card.card-highlighted {
  border-color: #006aff;
  box-shadow: 0 0 0 2px #006aff;
}

.card-photo-container {
  position: relative;
  height: 170px;
  background: #f1f5f9;
  overflow: hidden;
}

.card-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.zillow-rental-card:hover .card-img-link img {
  transform: scale(1.04);
}

.photo-badges-left {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.photo-badge {
  background: #006aff;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.photo-badge.sub-badge {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(2px);
}

.card-heart-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
}

.card-heart-pill:hover {
  background: rgba(0, 0, 0, 0.55);
}

.carousel-dots-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.carousel-dots-indicator .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.carousel-dots-indicator .dot.active {
  background: #ffffff;
  width: 8px;
}

.card-details-container {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.card-main-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.total-monthly-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  margin-left: 4px;
}

.card-more-btn {
  background: transparent;
  border: none;
  font-size: 14px;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.card-title-line {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-address-line {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-facts-line {
  font-size: 0.85rem;
  color: #475569;
  margin-top: 6px;
}

.card-facts-line .sep {
  color: #cbd5e1;
  margin: 0 3px;
}

.card-actions-row {
  margin-top: 14px;
}

.btn-check-availability {
  display: block;
  width: 100%;
  background: #006aff;
  color: #ffffff;
  text-align: center;
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-check-availability:hover {
  background: #0056cc;
}

/* ==========================================================================
   NO RESULTS & SEARCH TIPS VIEW (Screenshot 3, 4, 5)
   ========================================================================== */

.no-results-view-wrap {
  padding: 10px 0;
}

.no-results-banner-block {
  margin-bottom: 24px;
}

.no-results-query-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e293b;
  margin: 4px 0 6px;
}

.no-results-msg {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.zillow-search-tips-card {
  border-top: 1px solid #e2e8f0;
  padding-top: 22px;
  margin-bottom: 32px;
}

.search-tips-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #0f172a;
  margin-bottom: 18px;
}

.tip-item-block {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.tip-icon-svg {
  width: 24px;
  height: 24px;
  color: #0f172a;
  flex-shrink: 0;
  margin-top: 2px;
}

.tip-text-body {
  flex: 1;
}

.tip-bold-heading {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.tip-bullets {
  margin: 0;
  padding-left: 20px;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
}

.tip-plain-p {
  margin: 0;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
}

.save-search-cta-banner {
  margin-top: 24px;
  padding: 14px 18px;
  background: #f0f7ff;
  border-radius: 8px;
  border-left: 4px solid #006aff;
}

.blue-save-link {
  color: #006aff;
  font-size: 0.92rem;
  text-decoration: none;
}

.blue-save-link:hover {
  text-decoration: underline;
}

/* Side Panel Footer (Screenshots 4 & 5) */
.side-panel-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
  color: #64748b;
}

.side-disclosure-text {
  font-size: 0.78rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.side-disclosure-text a {
  color: #006aff;
}

.side-footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.side-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-footer-col a {
  font-size: 0.88rem;
  color: #334155;
  text-decoration: none;
}

.side-footer-col a:hover {
  color: #006aff;
}

.side-privacy-notice {
  margin-bottom: 20px;
}

.side-privacy-notice a {
  font-size: 0.92rem;
  font-weight: 700;
  color: #006aff;
  text-decoration: none;
}

.side-legal-text p {
  font-size: 0.78rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   "MORE FILTERS" MODAL DIALOG (Screenshots 8, 9, 10)
   ========================================================================== */

.more-filters-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.more-filters-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.filters-dialog-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filters-dialog-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.dialog-close-btn {
  background: transparent;
  border: none;
  font-size: 32px;
  color: #94a3b8;
  cursor: pointer;
  line-height: 0.8;
}

.dialog-close-btn:hover {
  color: #0f172a;
}

.filters-dialog-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
}

.filter-modal-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.filter-modal-section:last-child {
  border-bottom: none;
}

.f-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px;
}

.section-title-between {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.inrix-tag {
  font-size: 11px;
  font-weight: 800;
  color: #006aff;
  letter-spacing: 0.5px;
}

.section-sub-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 12px;
}

.btn-outline-modal {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #006aff;
  color: #006aff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-outline-modal:hover {
  background: #eff6ff;
}

.modal-field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.modal-date-input, .modal-text-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.modal-date-input:focus, .modal-text-input:focus {
  border-color: #006aff;
}

.sub-amenity-block {
  margin-top: 14px;
}

.sub-amenity-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px;
}

.amenities-grid-modal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.amenity-chip-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.amenity-chip-btn:hover, .amenity-chip-btn.selected {
  border-color: #006aff;
  background: #eff6ff;
  color: #006aff;
}

.popular-amenities-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.popular-amenity-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 14px 8px;
  background: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  transition: all 0.15s ease;
}

.popular-amenity-box:hover, .popular-amenity-box.selected {
  border-color: #006aff;
  background: #eff6ff;
  color: #006aff;
}

.amenity-pills-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill-chip-modal {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pill-chip-modal:hover, .pill-chip-modal.selected {
  border-color: #006aff;
  background: #eff6ff;
  color: #006aff;
}

.views-row-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.view-chip-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 12px 6px;
  background: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  transition: all 0.15s ease;
}

.view-chip-box:hover, .view-chip-box.selected {
  border-color: #006aff;
  background: #eff6ff;
  color: #006aff;
}

.filters-dialog-footer {
  padding: 16px 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.btn-reset-modal {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #006aff;
  cursor: pointer;
}

.btn-reset-modal:hover {
  text-decoration: underline;
}

.btn-apply-modal {
  background: #006aff;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-apply-modal:hover {
  background: #0056cc;
}

/* ==========================================================================
   RESPONSIVENESS FOR SPLIT RENTALS VIEW
   ========================================================================== */

@media (max-width: 960px) {
  .zillow-rentals-split-wrap {
    flex-direction: column;
    height: auto;
  }
  .rentals-map-col {
    height: 380px;
    flex: none;
  }
  .rentals-listings-col {
    height: auto;
    overflow-y: visible;
  }
  .zillow-rentals-grid {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================================
   17. ZILLOW RENTAL MANAGER LANDING PAGE & LISTING CREATION
   ========================================================================== */

.rental-manager-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* Logged-in Landlord Bar */
.landlord-logged-bar {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 12px 20px;
  margin: 16px 0 24px;
}

.logged-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logged-bar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #1e3a8a;
}

.user-avatar-badge {
  font-size: 18px;
}

.logged-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-logged-action {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-logged-action:hover {
  background: #f1f5f9;
  border-color: #006aff;
}

.btn-logged-action.primary {
  background: #006aff;
  color: #ffffff;
  border-color: #006aff;
}

.btn-logged-action.primary:hover {
  background: #0056cc;
}

.btn-logged-action.text-bad {
  color: #dc2626;
}

/* Hero Section */
.rm-hero-section {
  padding: 48px 0 54px;
}

.rm-hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.rm-hero-badge {
  display: inline-block;
  background: #eff6ff;
  color: #006aff;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.rm-hero-title {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin: 0 0 16px 0;
}

.rm-hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 28px 0;
}

.rm-quick-start-box {
  display: flex;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 6px 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  max-width: 580px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rm-quick-start-box:focus-within {
  border-color: #006aff;
  box-shadow: 0 0 0 4px rgba(0, 106, 255, 0.12);
}

.rm-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding-left: 8px;
}

.rm-pin-icon {
  width: 20px;
  height: 20px;
  color: #006aff;
  flex-shrink: 0;
}

.rm-input-wrap input {
  border: none !important;
  outline: none !important;
  width: 100%;
  font-size: 15px;
  color: #0f172a;
  background: transparent;
  font-family: inherit;
}

.btn-rm-hero-submit {
  background: #006aff;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.btn-rm-hero-submit:hover {
  background: #0056cc;
}

.rm-hero-trust-row {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  font-size: 13.5px;
  color: #334155;
  font-weight: 600;
  flex-wrap: wrap;
}

.trust-item .check-icon {
  color: #16a34a;
  font-weight: 800;
  margin-right: 4px;
}

/* Hero Preview Dashboard Card */
.rm-preview-dashboard-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.rm-preview-dashboard-card:hover {
  transform: translateY(-3px);
}

.preview-card-header {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 13.5px;
  color: #0f172a;
}

.preview-status-pill {
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
}

.preview-card-img-wrap {
  position: relative;
  height: 200px;
  background: #f1f5f9;
}

.preview-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-img-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
}

.overlay-price {
  font-size: 1.2rem;
  font-weight: 800;
}

.overlay-specs {
  font-size: 11px;
  color: #cbd5e1;
}

.preview-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.stat-cell {
  text-align: center;
}

.stat-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: #006aff;
}

.stat-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Metrics Bar */
.rm-metrics-bar {
  background: #0f172a;
  color: #ffffff;
  padding: 40px 24px;
  border-radius: 16px;
  margin: 10px 0 60px;
}

.rm-metrics-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.metric-big {
  font-size: 2.1rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 6px;
}

.metric-caption {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* Features Section (4 Pillars) */
.rm-features-section {
  padding: 20px 0 60px;
}

.rm-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.rm-section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
}

.rm-section-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.rm-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.rm-feature-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.rm-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.feature-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon-circle.blue { background: #eff6ff; }
.feature-icon-circle.green { background: #f0fdf4; }
.feature-icon-circle.purple { background: #faf5ff; }
.feature-icon-circle.amber { background: #fffbeb; }

.rm-feature-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
}

.rm-feature-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1;
}

.feature-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-checklist li {
  padding-left: 18px;
  position: relative;
}

.feature-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #006aff;
  font-weight: 800;
  font-size: 11px;
}

/* Post Listing Form Section */
.rm-form-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 48px 36px;
  margin-bottom: 60px;
}

.rm-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.rm-form-header {
  margin-bottom: 30px;
  text-align: center;
}

.form-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.form-subtitle {
  font-size: 0.98rem;
  color: #64748b;
  margin: 0;
}

.rm-listing-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.form-col-12 { flex: 1 1 100%; }
.form-col-6 { flex: 1 1 calc(50% - 8px); }
.form-col-3 { flex: 1 1 calc(25% - 12px); }

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.field-label .req {
  color: #e81123;
}

.rm-listing-form input, 
.rm-listing-form select, 
.rm-listing-form textarea {
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  background: #ffffff;
  color: #0f172a;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.rm-listing-form input:focus, 
.rm-listing-form select:focus, 
.rm-listing-form textarea:focus {
  border-color: #006aff;
  box-shadow: 0 0 0 3px rgba(0, 106, 255, 0.12);
}

.input-with-prefix {
  display: flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.input-with-prefix:focus-within {
  border-color: #006aff;
  box-shadow: 0 0 0 3px rgba(0, 106, 255, 0.12);
}

.currency-prefix {
  background: #f1f5f9;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #475569;
  border-right: 1.5px solid #cbd5e1;
}

.input-with-prefix input {
  border: none !important;
  box-shadow: none !important;
}

.file-upload-box {
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color 0.15s ease;
}

.file-upload-box:hover {
  border-color: #006aff;
}

.file-upload-box input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-box span {
  font-size: 14px;
  font-weight: 700;
  color: #006aff;
}

.file-upload-box small {
  font-size: 12px;
  color: #64748b;
}

.form-actions-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
}

.btn-publish-listing {
  background: #006aff;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 13px 28px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-publish-listing:hover {
  background: #0056cc;
}

.free-notice {
  font-size: 13.5px;
  color: #64748b;
  font-weight: 600;
}

/* Pricing Grid */
.rm-pricing-section {
  padding: 20px 0 60px;
}

.rm-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}

.rm-price-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.rm-price-card.featured-border {
  border: 2px solid #006aff;
  box-shadow: 0 8px 30px rgba(0, 106, 255, 0.08);
}

.plan-pill {
  display: inline-block;
  background: #eff6ff;
  color: #006aff;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.plan-pill.premium {
  background: #fef3c7;
  color: #b45309;
}

.price-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 8px 0;
}

.price-val small {
  font-size: 14px;
  color: #64748b;
  font-weight: 600;
}

.price-desc {
  font-size: 0.92rem;
  color: #64748b;
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.92rem;
  color: #334155;
  flex: 1;
}

.price-features li {
  padding-left: 20px;
  position: relative;
}

.price-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #006aff;
  font-weight: 800;
  font-size: 12px;
}

.btn-plan-select {
  display: block;
  text-align: center;
  padding: 11px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-plan-select.primary {
  background: #006aff;
  color: #ffffff;
}

.btn-plan-select.primary:hover {
  background: #0056cc;
}

.btn-plan-select.secondary {
  background: #ffffff;
  border: 1.5px solid #006aff;
  color: #006aff;
}

.btn-plan-select.secondary:hover {
  background: #eff6ff;
}

/* FAQ Accordion */
.rm-faq-section {
  padding: 20px 0 60px;
  max-width: 760px;
  margin: 0 auto;
}

.rm-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rm-faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 22px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.rm-faq-item:hover {
  border-color: #cbd5e1;
}

.rm-faq-item summary {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rm-faq-item summary::-webkit-details-marker {
  display: none;
}

.rm-faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 700;
  color: #006aff;
}

.rm-faq-item[open] summary::after {
  content: "–";
}

.rm-faq-item p {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

/* Bottom CTA Banner */
.rm-bottom-cta {
  background: #006aff;
  color: #ffffff;
  border-radius: 20px;
  padding: 56px 32px;
  text-align: center;
  margin-bottom: 30px;
}

.rm-bottom-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.rm-bottom-cta p {
  font-size: 1.1rem;
  color: #e0f2fe;
  margin: 0 0 28px;
}

.btn-cta-large {
  background: #ffffff;
  color: #006aff;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  padding: 14px 32px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-cta-large:hover {
  background: #f0f9ff;
}

/* Responsive Styles for Rental Manager */
@media (max-width: 960px) {
  .rm-hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .rm-features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rm-metrics-inner {
    grid-template-columns: 1fr 1fr;
  }
  .form-col-6, .form-col-3 {
    flex: 1 1 100%;
  }
}

@media (max-width: 640px) {
  .rm-hero-title {
    font-size: 2rem;
  }
  .rm-quick-start-box {
    flex-direction: column;
  }
  .rm-features-grid {
    grid-template-columns: 1fr;
  }
  .rm-metrics-inner {
    grid-template-columns: 1fr;
  }
  .rm-pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   WhatsApp Multi-Country Support & Dynamic Desk Styles
   ========================================================== */
.wa-desk-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 6px;
  margin-bottom: 6px;
  transition: all 0.25s ease;
}

.wa-desk-badge.highlight {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.wa-icon-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}

.wa-desk-info strong {
  display: block;
  font-size: 0.9rem;
  color: #14532d;
  margin-bottom: 2px;
}

.wa-desk-info p {
  margin: 0;
  font-size: 0.8rem;
  color: #166534;
  line-height: 1.35;
}

.wa-desk-info .wa-number-tag {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  margin-top: 3px;
}

.btn-whatsapp {
  background: #25D366 !important;
  color: #fff !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3) !important;
  transition: transform 0.15s ease, background 0.15s ease !important;
}

.btn-whatsapp:hover {
  background: #20ba5a !important;
  transform: translateY(-1px);
  color: #fff !important;
}

.btn-whatsapp svg {
  flex-shrink: 0;
}

/* Floating WhatsApp Floating Trigger */
.floating-wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-wa-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: #fff;
}

.floating-wa-btn .pulse-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border: 2px solid #fff;
  border-radius: 50%;
  animation: waPulse 1.8s infinite;
}

@keyframes waPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* WhatsApp Desk Modal Popup */
.wa-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  z-index: 10000;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
}

.wa-modal-overlay.active {
  display: flex;
}

.wa-modal-card {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.25);
  overflow: hidden;
  animation: waSlideUp 0.25s ease-out;
}

@keyframes waSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.wa-modal-header {
  background: #075E54;
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-modal-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-modal-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.wa-modal-body {
  padding: 20px;
}

.wa-modal-desc {
  font-size: 0.86rem;
  color: #555;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.wa-country-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
}

.wa-country-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  color: #1f2937;
  font-size: 0.88rem;
  transition: all 0.15s ease;
}

.wa-country-pill:hover {
  background: #f0fdf4;
  border-color: #86efac;
  color: #14532d;
}

.wa-country-pill strong {
  color: #111827;
}

.wa-country-pill .wa-pill-phone {
  font-size: 0.78rem;
  color: #15803d;
  font-weight: 600;
}

