/* ==========================================================================
   FlatXHub Master Platform Stylesheet - Reaching the Right Tenants
   ========================================================================== */


:root {
  --bg-warm: #FFFBEB;
  --bg-white: #FFFFFF;
  --bg-page: #FDFBF7;
  --brand-yellow: #F5A623;
  --brand-dark: #1E293B;
  --green-primary: #F5A623; /* FlatXHub Primary Accent */
  --green-hover: #D97706;  /* FlatXHub Primary Hover */
  --green-light: #FEF3C7;  /* FlatXHub Soft Light Tint */
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-jakarta: 'Plus Jakarta Sans', sans-serif;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-drop: 0 12px 28px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: var(--font-jakarta);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

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

.container {
  width: calc(100% - 80px);
  max-width: 1450px;
  margin: auto;
}

/* ==========================================================================
   1. HEADER COMPONENT
   ========================================================================== */
.flatx-header {
  background: var(--bg-white);
  border-bottom: 1.5px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header-container {
  max-width: 1480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.brand-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  line-height: 0;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.02);
}

.pro-badge {
  background: #1E293B;
  color: #F5A623;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 10px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: #1E293B;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-item:hover, .nav-item.active {
  color: #F5A623;
  background: #FFFBEB;
}

.nav-icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  flex-shrink: 0;
}

.post-property-link {
  position: relative;
}

.free-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 10px;
  margin-right: 2px;
}

.header-right {
  display: flex;
  align-items: center;
}

.user-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 46px;
  padding: 0 22px;
  border-radius: 23px;
  background: #1E293B;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(30, 41, 59, 0.18);
  transition: all 0.15s ease;
}

.user-pill-btn:hover {
  background: #0f172a;
  transform: translateY(-1px);
}
  right: 10px;
  background: var(--green-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.header-right {
  display: flex;
  align-items: center;
}

.user-pill-btn {
  background: var(--green-primary);
  color: #fff;
  text-decoration: none;
  border: none;
  padding: 0.5rem 1.4rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(30, 86, 65, 0.25);
  transition: background 0.2s ease;
}

.user-pill-btn:hover {
  background: var(--green-hover);
  color: #fff;
}

.user-icon {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   2. LANDING PAGE (Hero, Recent Listings, How It Works, Collage, Reviews)
   ========================================================================== */
.hero-section {
  background: var(--bg-warm);
  padding: 4rem 2rem 0;
  position: relative;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 3rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.highlight-pill {
  display: inline-block;
  border: 2px dashed #000;
  padding: 0.2rem 1.2rem;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.4);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.search-box-wrap {
  max-width: 440px;
}

.search-input-group {
  background: var(--bg-white);
  border: 1px solid #CBD5E1;
  border-radius: 30px;
  padding: 0.4rem 0.5rem 0.4rem 1.2rem;
  display: flex;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.search-icon {
  font-size: 1rem;
  margin-right: 0.6rem;
}

.search-field {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: transparent;
}

.search-btn {
  background: var(--green-primary);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.search-btn:hover {
  background: var(--green-hover);
}

.hero-graphic {
  display: flex;
  justify-content: center;
}

.arch-image-frame {
  position: relative;
  width: 380px;
  height: 280px;
  border-radius: 190px 190px 20px 20px;
  overflow: visible;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 190px 190px 20px 20px;
}

.vibe-bubble {
  position: absolute;
  background: #fff;
  border: 1px solid #E2E8F0;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.bubble-1 { top: 20px; left: 10px; }
.bubble-2 { top: 60px; right: 10px; }
.bubble-3 { top: 140px; left: -15px; }
.bubble-4 { bottom: 30px; right: 10px; }

.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 60px;
}

.recent-listings-section {
  background: #FFFFFF;
  padding: 3rem 2rem 5rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.section-heading {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
}

.btn-outline-pill {
  background: transparent;
  border: 1.5px solid #000;
  padding: 0.5rem 1.4rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline-pill:hover {
  background: #000;
  color: #fff;
}

.how-it-works-section {
  background: var(--bg-warm);
  padding: 4rem 2rem 6rem;
  position: relative;
}

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

.works-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 4rem;
}

.works-pill {
  display: inline-block;
  background: var(--green-primary);
  color: #fff;
  padding: 0.2rem 1.2rem;
  border-radius: 30px;
  transform: rotate(-3deg);
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--green-primary);
  transform: translateX(-50%);
}

.timeline-step {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  width: 100%;
}

.step-left { flex-direction: row; }
.step-right { flex-direction: row-reverse; }

.step-media {
  width: 45%;
  display: flex;
  justify-content: center;
}

.step-img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.step-dot {
  width: 14px;
  height: 14px;
  background: var(--green-primary);
  border-radius: 50%;
  z-index: 10;
  margin: 0 1rem;
}

.step-card {
  width: 45%;
  background: #FFF9F0;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.experience-section {
  background: #FFFFFF;
  padding: 5rem 2rem;
}

.experience-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 3rem;
}

.feature-collage-card {
  background: #FFF9F0;
  border-radius: 24px;
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto 5rem;
  position: relative;
  border: 1px solid #E2E8F0;
}

.collage-badge {
  display: inline-block;
  background: var(--green-primary);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0.4rem;
}

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

.col-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}

.testimonials-container {
  max-width: 1050px;
  margin: 0 auto;
}

.reviews-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 3rem;
}

.reviews-carousel-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.reviews-carousel {
  display: flex;
  gap: 1.8rem;
  align-items: stretch;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 20px 10px 30px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reviews-carousel::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 340px;
  max-width: 85vw;
  scroll-snap-align: center;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 2rem 1.8rem;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
}

.review-card.active, .review-card:hover {
  border: 2px solid #111111;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #111111;
  color: #111111;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 4px 0 #111111;
  transition: all 0.15s ease;
}

.carousel-nav-btn:hover {
  background: #1E5641;
  color: #ffffff;
  border-color: #1E5641;
  box-shadow: 2px 4px 0 #143D2E;
}

.carousel-nav-btn.prev-btn { left: -15px; }
.carousel-nav-btn.next-btn { right: -15px; }

@media (max-width: 768px) {
  .carousel-nav-btn.prev-btn { left: -5px; }
  .carousel-nav-btn.next-btn { right: -5px; }
  .review-card { flex: 0 0 290px; }
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1E5641;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.stars { color: #F59E0B; font-size: 0.9rem; margin-left: auto; }

.review-heading {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #111827;
}

.review-text {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.6;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dot.active {
  background: #111111;
  width: 26px;
  border-radius: 12px;
}
}

.dot.active {
  background: #000;
  width: 20px;
  border-radius: 10px;
}

/* ==========================================================================
   3. FLATS & FLATMATES SEARCH & CARDS (Flats Page)
   ========================================================================== */
.search-box {
  background: #f8efe4;
  border: 1px solid #e8decb;
  border-radius: 24px;
  padding: 26px 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.search-top {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
}

.search-input {
  height: 62px;
  background: #ffffff;
  border: 2px solid #111111;
  border-radius: 16px;
  box-shadow: 4px 5px 0 #111111;
  display: flex;
  align-items: center;
  padding: 0 22px;
  flex: 1;
}

.search-input span {
  font-size: 24px;
  color: #333333;
}

.search-input input {
  width: 100%;
  border: none;
  outline: none;
  margin-left: 14px;
  font-size: 19px;
  color: #111827;
  font-weight: 500;
  background: transparent;
}

.search-input input::placeholder {
  color: #718096;
}

.sort {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.sort span {
  font-weight: 700;
  font-size: 17px;
  color: #111827;
}

.sort select {
  height: 62px;
  border: 2px solid #111111;
  border-radius: 16px;
  padding: 0 42px 0 22px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: 4px 5px 0 #111111;
  font-size: 17px;
  font-weight: 600;
  color: #111827;
  outline: none;
  cursor: pointer;
}

.filters {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.filters select {
  height: 58px;
  border: 2px solid #111111;
  border-radius: 15px;
  padding: 0 42px 0 20px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: 4px 5px 0 #111111;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  outline: none;
  cursor: pointer;
}

.filter-button {
  height: 58px;
  border: 2px solid #111111;
  border-radius: 15px;
  padding: 0 24px;
  background: var(--green-primary);
  color: #ffffff;
  box-shadow: 4px 5px 0 #111111;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  outline: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.1s ease, background 0.2s ease;
}

.filter-button:hover {
  background: var(--green-hover);
}

.search-button {
  height: 58px;
  border: 2px solid #111111;
  border-radius: 30px;
  background: var(--green-primary);
  color: #ffffff;
  box-shadow: 4px 5px 0 #111111;
  padding: 0 28px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, transform 0.1s ease;
}

.search-button:hover {
  background: var(--green-hover);
}

.view-buttons {
  display: inline-flex;
  height: 56px;
  border: 2.5px solid #111111;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 4px 4px 0 #111111;
  background: #ffffff;
  margin-left: auto;
}

.view-buttons button {
  height: 100%;
  border: none;
  border-right: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #F5A623;
  font-size: 16px;
  font-weight: 800;
  padding: 0 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.view-buttons button:last-child {
  border-right: none;
}

.view-buttons button.active {
  background: #F5A623;
  color: #ffffff;
  font-weight: 900;
}

.view-buttons button:hover:not(.active) {
  background: #FFFBEB;
  color: #D97706;
}

.advanced {
  margin-top: 18px;
  padding: 22px 26px;
  background: #ffffff;
  border: 2px solid #111111;
  border-radius: 20px;
  box-shadow: 4px 5px 0 #111111;
  transition: all 0.25s ease;
}

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

.advanced-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.advanced-field label {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.advanced-field select {
  height: 52px;
  border: 2px solid #111111;
  border-radius: 14px;
  padding: 0 40px 0 16px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: 3px 3px 0 #111111;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  outline: none;
  cursor: pointer;
}

.advanced select {
  padding: 12px;
  border: 1px solid #aaa;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
}

.hidden {
  display: none !important;
}

.results {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 35px 0 25px;
}

.results p {
  color: #888;
  font-size: 1rem;
  font-weight: 500;
}

.btn-reset {
  background: #e2e8f0;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.property-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 10px 10px 0 #f1e7db;
  transition: transform .2s ease, box-shadow .2s ease;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 12px 12px 0 #ebdccb;
}

.property-image {
  height: 270px;
  position: relative;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heart {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.65);
  color: white;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.heart:hover {
  transform: scale(1.1);
}

.property-content {
  padding: 20px;
}

.property-title {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #111827;
}

.price {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.price div {
  padding-left: 12px;
  border-left: 1px solid #ddd;
}

.price div:first-child {
  border-left: none;
  padding-left: 0;
}

.price span {
  display: block;
  color: #888;
  margin-bottom: 7px;
  font-size: 14px;
}

.price strong {
  font-size: 20px;
  color: #111;
  font-weight: 800;
}

.tags {
  display: flex;
  gap: 7px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.tags span {
  background: #eef5f1;
  color: var(--green-primary);
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* ==========================================================================
   4. SAVED LISTINGS PAGE (saved.html)
   ========================================================================== */
.saved-page {
  padding: 50px 0 70px;
  min-height: 70vh;
}

.page-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  color: #050505;
  margin-bottom: 40px;
}

.empty-card {
  width: 100%;
  max-width: 560px;
  min-height: 472px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #d7dfe5;
  border-radius: 10px;
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 35px;
}

.heart-wrapper {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

.heart-icon-svg {
  width: 82px;
  height: 82px;
  fill: #f1dac2;
  stroke: #000000;
  stroke-width: 1.2;
  stroke-linejoin: round;
  filter: drop-shadow(4px 4px 0 #000000);
}

.empty-title {
  color: #123d63;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 12px;
}

.empty-description {
  color: #3f75ac;
  font-size: 17px;
  line-height: 1.5;
  max-width: 470px;
  margin-bottom: 29px;
}

.browse-button {
  height: 54px;
  min-width: 233px;
  padding: 0 28px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  border: none;
  border-radius: 15px;
  background: #286b53;
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 4px 4px 0 #000000;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.browse-button:hover {
  background: #205c46;
}

.browse-button:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 #000000;
}

.btn-search-ico {
  width: 20px;
  height: 20px;
  position: relative;
  display: inline-block;
}

.btn-search-ico::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  top: 0;
  left: 0;
}

.btn-search-ico::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: #ffffff;
  transform: rotate(45deg);
  left: 11px;
  top: 13px;
  border-radius: 2px;
}

/* ==========================================================================
   5. MESSAGES PAGE (messages.html)
   ========================================================================== */
.messages-page {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 20px 50px;
  min-height: 70vh;
}

.page-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.header-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-primary);
  border-radius: 10px;
  flex-shrink: 0;
}

.header-message-icon {
  width: 24px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 4px;
  position: relative;
}

.header-message-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  background: var(--green-primary);
  left: 2px;
  bottom: -5px;
  transform: skewY(-35deg);
}

.tabs-container {
  width: 100%;
  height: 57px;
  background: #ffffff;
  border: 1px solid #d7dfe5;
  border-radius: 10px;
  padding: 5px;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.tab {
  height: 45px;
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #40566b;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tab:hover {
  background: #f1f5f3;
}

.tab.active {
  background: var(--green-primary);
  color: #ffffff;
}

.tab-icon {
  width: 19px;
  height: 17px;
  position: relative;
  display: inline-block;
}

.message-tab-icon {
  border: 2px solid currentColor;
  border-radius: 3px;
}

.message-tab-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  left: 1px;
  bottom: -5px;
  background: transparent;
  transform: skewY(-35deg);
}

.activity-tab-icon {
  height: 20px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 15%,
    currentColor 15%,
    currentColor 25%,
    transparent 25%,
    transparent 42%,
    currentColor 42%,
    currentColor 52%,
    transparent 52%,
    transparent 67%,
    currentColor 67%,
    currentColor 77%,
    transparent 77%
  );
  clip-path: polygon(
    0 50%,
    15% 50%,
    25% 10%,
    42% 85%,
    55% 35%,
    67% 65%,
    80% 15%,
    100% 15%,
    100% 50%,
    80% 50%,
    67% 100%,
    55% 55%,
    42% 100%,
    25% 35%,
    18% 65%,
    0 65%
  );
}

.empty-message-card,
.activities-card {
  width: 100%;
  min-height: 227px;
  background: #ffffff;
  border: 1px solid #d7dfe5;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 35px 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.empty-icon {
  width: 51px;
  height: 42px;
  border: 5px solid #9da6b5;
  border-radius: 7px;
  position: relative;
  margin-bottom: 29px;
}

.empty-icon::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-left: 5px solid #9da6b5;
  border-bottom: 5px solid #9da6b5;
  left: -5px;
  bottom: -12px;
  transform: skewY(-40deg);
  background: #ffffff;
}

.empty-title,
.activity-title {
  font-size: 20px;
  font-weight: 500;
  color: #294b6b;
  margin-bottom: 14px;
}

.empty-description,
.activity-description {
  font-size: 17px;
  font-weight: 400;
  color: #5c7590;
  line-height: 1.5;
}

.note {
  text-align: center;
  color: #5c7590;
  font-size: 15px;
  line-height: 1.5;
  margin-top: 15px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.activity-large-icon {
  width: 48px;
  height: 48px;
  color: #9da6b5;
  margin-bottom: 20px;
  position: relative;
}

.activity-large-icon::before {
  content: "⌁";
  position: absolute;
  left: 0;
  top: -13px;
  font-size: 65px;
  line-height: 1;
  font-weight: 400;
}

/* ==========================================================================
   6. REFER PAGE (refer.html)
   ========================================================================== */
.refer-container {
  width: 100%;
  max-width: 1190px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  min-height: 70vh;
}

.refer-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 30px;
  font-weight: 500;
  color: #243f59;
  line-height: 1.2;
}

.gift-icon {
  width: 28px;
  height: 28px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gift-icon svg {
  width: 28px;
  height: 28px;
  stroke: #243f59;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.description {
  margin: 0 0 31px;
  max-width: 900px;
  font-size: 20px;
  line-height: 1.5;
  color: #243f59;
  font-weight: 400;
}

.referral-card {
  width: calc(100% - 159px);
  min-height: 138px;
  border: 1px solid #d8e0e6;
  border-radius: 16px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.06);
  padding: 27px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  background: #ffffff;
}

.referral-info {
  display: flex;
  flex-direction: column;
}

.label {
  font-size: 13px;
  color: #68798b;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.referral-code {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1;
  font-weight: 700;
  color: #071a2b;
  letter-spacing: 0.5px;
}

.helper-text {
  margin: 0;
  font-size: 15px;
  color: #63758a;
  line-height: 1.4;
}

.copy-button {
  border: none;
  outline: none;
  min-width: 128px;
  height: 50px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--green-primary);
  color: white;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.copy-button:hover {
  background: var(--green-hover);
}

.copy-button:active {
  transform: scale(0.98);
}

.whatsapp-button {
  height: 55px;
  padding: 0 27px;
  border: none;
  border-radius: 30px;
  background: var(--green-primary);
  color: white;
  font-size: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  transition: background 0.2s ease, transform 0.1s ease;
}

.whatsapp-button:hover {
  background: var(--green-hover);
}

.whatsapp-button:active {
  transform: scale(0.98);
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
}

.whatsapp-icon svg {
  width: 22px;
  height: 22px;
  stroke: #25D366;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toast-popup {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(20px);
  background: #243f59;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 3000;
}

.toast-popup.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   7. LOGIN PAGE (login.html)
   ========================================================================== */
.login-page {
  width: 100%;
  min-height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
}

.login-card {
  width: 100%;
  max-width: 546px;
  background: #ffffff;
  border-radius: 28px;
  padding: 32px 29px 29px;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
}

.login-header {
  text-align: center;
  margin-bottom: 41px;
}

.login-header h1 {
  color: #0b2947;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 14px;
}

.subtitle {
  color: #516579;
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.secure-text {
  color: #516579;
  font-size: 15px;
  line-height: 1.5;
}

.form-group {
  width: 100%;
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  color: #0c2947;
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 11px;
}

.phone-input {
  width: 100%;
  height: 49px;
  display: flex;
  background: #ffffff;
  border: 1px solid #d3d9df;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-input:focus-within {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(40, 107, 83, 0.10);
}

.country-code {
  width: 68px;
  min-width: 68px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #40566b;
  font-size: 16px;
  border-right: 1px solid #d3d9df;
  background: #ffffff;
}

.phone-input input {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #243b53;
  font-size: 16px;
  padding: 0 19px;
}

.phone-input input::placeholder {
  color: #a3abb4;
  opacity: 1;
}

.error-message {
  display: block;
  min-height: 18px;
  margin-top: 5px;
  color: #d14343;
  font-size: 13px;
  line-height: 1.4;
}

.otp-button {
  width: 100%;
  height: 59px;
  border: none;
  border-radius: 14px;
  background: var(--green-primary);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease, opacity 0.2s ease;
}

.otp-button:hover {
  background: var(--green-hover);
}

.otp-button:active {
  transform: scale(0.99);
}

.otp-button:disabled {
  background: #8aa99c;
  cursor: not-allowed;
  opacity: 0.9;
}

.signup-text {
  text-align: center;
  margin-top: 30px;
  color: #516579;
  font-size: 16px;
  line-height: 1.5;
}

.signup-text a {
  color: #0759d8;
  text-decoration: none;
  font-weight: 500;
  margin-left: 3px;
}

.signup-text a:hover {
  text-decoration: underline;
}

.success-message {
  width: 100%;
  margin-top: 15px;
  padding: 12px;
  border-radius: 10px;
  background: #e9f6ef;
  color: #246b4a;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

/* ==========================================================================
   8. RENTX POST PROPERTY PAGE (post-property.html)
   ========================================================================== */
.rentx-property-page {
  background: linear-gradient(
    to bottom,
    #f8ede1 0px,
    #f8ede1 255px,
    #ffffff 255px,
    #ffffff 100%
  );
  padding: 28px 0 80px;
  color: #182033;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  min-height: 80vh;
}

.rentx-property-page * {
  box-sizing: border-box;
}

.rentx-property-page button,
.rentx-property-page input,
.rentx-property-page select {
  font-family: inherit;
}

.rentx-progress-card {
  width: calc(100% - 120px);
  max-width: 1650px;
  margin: 0 auto;
  padding: 27px 34px 45px;
  background: #ffffff;
  border-radius: 34px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.rentx-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.rentx-progress-title h1 {
  margin: 0 0 26px;
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -1.5px;
}

.rentx-progress-title p {
  margin: 0;
  font-size: 21px;
  color: #5e6878;
}

.rentx-progress-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rentx-clear-button {
  background: #ffffff;
  border: 1px solid #ff9d9d;
  color: #ff3333;
  border-radius: 10px;
  padding: 11px 19px;
  font-size: 16px;
  cursor: pointer;
}

.rentx-clear-button:hover {
  background: #fff5f5;
}

.rentx-save-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #768093;
  font-size: 17px;
}

.rentx-save-check {
  color: #16a765;
  font-size: 19px;
}

.rentx-progress-track {
  width: 100%;
  height: 12px;
  margin-top: 14px;
  background: #e4e6e9;
  border-radius: 20px;
  overflow: hidden;
}

.rentx-progress-fill {
  width: 33.33%;
  height: 100%;
  background: #286c55;
  border-radius: 20px;
  transition: width .35s ease;
}

.rentx-step-wrapper {
  width: min(1420px, calc(100% - 120px));
  margin: 55px auto 35px;
  padding: 22px 32px;
  display: flex;
  gap: 10px;
  background: #f0dbc5;
  border-radius: 60px;
  border-bottom: 8px solid #000;
}

.rentx-step-button {
  flex: 1;
  height: 68px;
  border: none;
  border-radius: 40px;
  background: transparent;
  color: #526075;
  font-size: 20px;
  cursor: pointer;
  transition: .2s;
}

.rentx-step-button.active {
  background: #ffffff;
  color: #182033;
  box-shadow: 0 5px 9px rgba(0, 0, 0, .12);
}

.rentx-property-form {
  width: min(1420px, calc(100% - 120px));
  margin: 0 auto;
}

.rentx-form-panel {
  background: #faf7f4;
  border: 1px solid #111111;
  border-radius: 25px;
  padding: 39px 42px 40px;
}

.rentx-form-panel h2 {
  margin: 0 0 23px;
  font-size: 25px;
  font-weight: 700;
}

.rentx-listing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.rentx-listing-card {
  min-height: 125px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 23px 25px;
  background: #ffffff;
  border: 2px solid #dfe3e8;
  border-radius: 16px;
  cursor: pointer;
  transition: .2s;
}

.rentx-listing-card.selected {
  background: #f0ddc7;
  border-color: #286c55;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .09);
}

.rentx-listing-card input {
  display: none;
}

.rentx-radio-circle {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 3px solid #d1d6de;
  position: relative;
}

.rentx-listing-card.selected .rentx-radio-circle {
  border-color: #286c55;
}

.rentx-listing-card.selected .rentx-radio-circle::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #286c55;
}

.rentx-listing-content h3 {
  margin: 0 0 7px;
  font-size: 21px;
  font-weight: 500;
}

.rentx-listing-content p {
  margin: 0;
  color: #7a8493;
  font-size: 16px;
}

.rentx-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.rentx-form-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rentx-form-field label {
  font-size: 20px;
  font-weight: 500;
}

.rentx-required {
  color: #ed3636;
}

.rentx-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  margin-left: 4px;
  border: 2px solid #aab2bd;
  border-radius: 50%;
  color: #8993a2;
  font-size: 11px;
}

.rentx-form-field input,
.rentx-form-field select {
  width: 100%;
  height: 62px;
  padding: 0 20px;
  border: 2px solid #dfe3e8;
  border-radius: 15px;
  outline: none;
  background: #ffffff;
  color: #34465b;
  font-size: 18px;
  transition: border-color .2s;
}

.rentx-form-field input:focus,
.rentx-form-field select:focus {
  border-color: #286c55;
}

.rentx-form-field input::placeholder {
  color: #a5a8ac;
}

.rentx-chip-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.rentx-chip-option {
  padding: 14px 22px;
  border: 2px solid #dfe3e8;
  border-radius: 14px;
  background: #ffffff;
  font-size: 17px;
  font-weight: 500;
  color: #465365;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rentx-chip-option.selected {
  background: #f0ddc7;
  border-color: #286c55;
  color: #1c5945;
  font-weight: 600;
}

.rentx-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.amenity-checkbox-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #dfe3e8;
  padding: 14px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  color: #243b53;
  transition: border-color 0.2s ease;
}

.amenity-checkbox-card:hover {
  border-color: #286c55;
}

.amenity-checkbox-card input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #286c55;
  cursor: pointer;
}

.rentx-textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #dfe3e8;
  border-radius: 15px;
  outline: none;
  background: #ffffff;
  color: #34465b;
  font-size: 17px;
  line-height: 1.5;
  resize: vertical;
}

.rentx-textarea:focus {
  border-color: #286c55;
}

.rentx-currency {
  position: relative;
}

.rentx-currency span {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #647184;
  font-size: 18px;
}

.rentx-currency input {
  padding-left: 43px;
}

.rentx-date {
  position: relative;
}

.rentx-date-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #3470a5;
  font-size: 19px;
  pointer-events: none;
}

.rentx-date input {
  padding-left: 50px;
  color: #497cad;
}

.rentx-broker-box {
  background: #ffffff;
  border: 1px solid #dfe3e8;
  border-radius: 17px;
  padding: 36px 34px 22px;
  margin: 8px 0 38px;
}

.rentx-broker-title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 600;
}

.rentx-broker-option {
  height: 79px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  margin-bottom: 17px;
  background: #ffffff;
  border: 2px solid #dfe3e8;
  border-radius: 15px;
  cursor: pointer;
}

.rentx-broker-option.selected {
  border-color: #286c55;
  background: #f5fbf8;
}

.rentx-broker-option input {
  display: none;
}

.rentx-broker-radio {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  border: 3px solid #d1d6de;
  position: relative;
  flex-shrink: 0;
}

.rentx-broker-option.selected .rentx-broker-radio {
  border-color: #286c55;
}

.rentx-broker-option.selected .rentx-broker-radio::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  background: #286c55;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.rentx-broker-option span:last-child {
  font-size: 19px;
}

.rentx-broker-note {
  margin: 3px 0 0;
  color: #7a8493;
  font-size: 16px;
}

.rentx-bhk-title {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 500;
}

.rentx-bhk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.rentx-bhk-option {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #dfe3e8;
  border-radius: 16px;
  color: #465365;
  font-size: 19px;
  cursor: pointer;
  transition: .2s;
}

.rentx-bhk-option:hover {
  border-color: #286c55;
}

.rentx-bhk-option.selected {
  background: #f0ddc7;
  border: 2px solid #286c55;
  color: #1c5945;
  font-weight: 600;
}

.rentx-bottom-actions {
  display: flex;
  gap: 14px;
  margin-top: 48px;
}

.rentx-cancel-button,
.rentx-proceed-button {
  min-width: 140px;
  height: 68px;
  border-radius: 18px;
  font-size: 19px;
  cursor: pointer;
  transition: .2s;
}

.rentx-cancel-button {
  background: #ffffff;
  border: 1px solid #111111;
  color: #5b6676;
  box-shadow: 4px 5px 0 #000000;
}

.rentx-proceed-button {
  background: #286c55;
  border: 1px solid #111111;
  color: #ffffff;
  box-shadow: 4px 5px 0 #000000;
}

.rentx-cancel-button:hover,
.rentx-proceed-button:hover {
  transform: translateY(-1px);
}

.rentx-hidden {
  display: none !important;
}

.rentx-placeholder {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.rentx-placeholder-icon {
  font-size: 55px;
  margin-bottom: 15px;
}

.rentx-placeholder p {
  max-width: 600px;
  color: #748093;
  font-size: 17px;
  line-height: 1.7;
}

.rentx-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 100px);
  background: #182033;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 10px;
  opacity: 0;
  transition: .25s;
  z-index: 9999;
}

.rentx-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   9. FOOTER COMPONENT (Footer Image 2)
   ========================================================================== */
.flatx-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 4rem 2rem 2rem;
  position: relative;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1450px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.8fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
}

.brand-slogan {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.8rem;
}

.address-text {
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.contact-details p {
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 0.2rem;
}

.email-link {
  color: #2563EB;
  text-decoration: underline;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}

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

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

.footer-links a {
  color: #475569;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--green-primary);
}

.social-icons {
  display: flex;
  gap: 0.8rem;
}

.social-icons a {
  color: #334155;
  transition: color 0.2s ease;
}

.social-icons a:hover {
  color: var(--green-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--green-primary);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(30, 86, 65, 0.4);
  transition: background 0.2s ease;
  z-index: 999;
}

.back-to-top:hover {
  background: var(--green-hover);
}

/* ==========================================================================
   10. MODALS & OVERLAYS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 580px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  border: none; background: #F1F5F9;
  width: 32px; height: 32px;
  border-radius: 50%; font-size: 1.2rem;
  cursor: pointer;
}

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; }
.form-control { width: 100%; padding: 0.7rem 0.9rem; border: 1px solid #CBD5E1; border-radius: 8px; outline: none; font-size: 0.95rem; }

.btn-primary-green {
  background: var(--green-primary);
  color: #fff;
  border: none;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media(max-width: 1024px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: repeat(3, 1fr); }
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .reviews-carousel { flex-direction: column; }
  .rentx-progress-card, .rentx-step-wrapper, .rentx-property-form { width: calc(100% - 40px); }
  .rentx-progress-top { flex-direction: column; gap: 20px; }
  .rentx-listing-grid { grid-template-columns: 1fr; }
}

@media(max-width: 700px) {
  .container { width: calc(100% - 25px); }
  h1.main-heading { font-size: 38px; }
  .search-top { flex-direction: column; align-items: stretch; }
  .filters { display: grid; grid-template-columns: 1fr; }
  .view-buttons { min-width: 100%; }
  .property-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .timeline-line { left: 20px; }
  .timeline-step { flex-direction: column !important; text-align: left; }
  .step-media, .step-card { width: 100%; }
  .referral-card { flex-direction: column; align-items: flex-start; gap: 22px; width: 100%; }
  .copy-button, .whatsapp-button { width: 100%; justify-content: center; }
  .rentx-progress-card, .rentx-step-wrapper, .rentx-property-form { width: calc(100% - 24px); }
  .rentx-progress-card { padding: 24px 20px 35px; border-radius: 24px; }
  .rentx-progress-title h1 { font-size: 30px; }
  .rentx-step-wrapper { margin-top: 30px; padding: 10px; border-radius: 28px; overflow-x: auto; }
  .rentx-step-button { min-width: 180px; height: 55px; font-size: 15px; }
  .rentx-form-panel { padding: 28px 18px; }
  .rentx-form-grid { grid-template-columns: 1fr; }
  .rentx-bhk-grid { grid-template-columns: repeat(2, 1fr); }
  .rentx-bottom-actions { flex-direction: column; }
  .rentx-cancel-button, .rentx-proceed-button { width: 100%; }
  .rentx-amenities-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   12. FLATX PRO PLAN MODAL
   ========================================================================== */
.pro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2500;
  background: rgba(0, 0, 0, 0.80);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.25s ease;
}

.pro-overlay.hidden {
  display: none !important;
}

.pro-modal {
  width: 560px;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  background: #fff5e8;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  font-family: Arial, Helvetica, sans-serif;
}

.pro-modal-scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 28px 38px 35px;
  scrollbar-color: #898989 #eee;
  scrollbar-width: auto;
}

.pro-modal-scroll::-webkit-scrollbar {
  width: 14px;
}

.pro-modal-scroll::-webkit-scrollbar-track {
  background: #eee;
}

.pro-modal-scroll::-webkit-scrollbar-thumb {
  background: #898989;
  border-radius: 10px;
  border: 2px solid #eee;
}

.pro-close-btn {
  position: absolute;
  z-index: 20;
  top: 25px;
  right: 28px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #286b55;
  font-size: 34px;
  font-weight: 300;
  line-height: 20px;
  padding: 0;
  cursor: pointer;
}

.pro-close-btn:hover {
  color: #123f31;
}

.pro-modal-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 44px;
}

.pro-modal-logo {
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -2px;
  color: #111111;
}

.pro-modal-logo span {
  color: #064b3a;
}

.pro-modal-badge {
  background: linear-gradient(135deg, #464646, #111111);
  color: #f4ad2c;
  padding: 9px 16px;
  border-radius: 22px;
  font-size: 18px;
  font-weight: 700;
}

.pro-title {
  margin: 0;
  max-width: 400px;
  font-size: 25px;
  line-height: 1.55;
  font-weight: 700;
  color: #111111;
}

.pro-subtitle {
  margin: 12px 0 0;
  color: #666666;
  font-size: 15px;
  line-height: 1.5;
}

.pro-trial {
  display: inline-block;
  margin-top: 32px;
  color: #286b55;
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 3px;
  border-bottom: 1px solid #286b55;
}

.pro-card-container {
  width: 395px;
  max-width: 100%;
  margin: 50px auto 0;
  padding-right: 8px;
  padding-bottom: 8px;
}

.pro-price-card {
  position: relative;
  width: 100%;
  padding: 28px 21px 18px;
  border-radius: 15px;
  background: linear-gradient(145deg, #414141, #2e2e2e);
  color: #ffffff;
  box-shadow: 8px 8px 0 #efae64;
}

.pro-price-card::after {
  content: "";
  position: absolute;
  top: 10px;
  right: -8px;
  width: 8px;
  height: calc(100% - 20px);
  background: #efae64;
  border-radius: 0 10px 10px 0;
}

.pro-access-label {
  color: #ffb62f;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 17px;
}

.pro-price {
  margin: 0;
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  color: #ffffff;
}

.pro-access-description {
  margin-top: 17px;
  margin-bottom: 25px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.pro-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 25px;
  row-gap: 13px;
  margin-bottom: 24px;
}

.pro-feature {
  display: grid;
  grid-template-columns: 17px 1fr;
  column-gap: 7px;
  color: #e8e8e8;
  font-size: 14px;
  line-height: 1.45;
}

.pro-check {
  font-size: 16px;
  color: #ffffff;
}

.pro-unlock-btn {
  width: 100%;
  height: 49px;
  border: none;
  border-radius: 7px;
  background: #ffffff;
  color: #286b55;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 5px 5px 0 #0ca16e;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.pro-unlock-btn:hover {
  transform: translateY(-1px);
}

.pro-unlock-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #0ca16e;
}

.pro-unlock-btn.unlocked {
  background: #286b55;
  color: #ffffff;
}

.pro-payment-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 50px;
  padding-bottom: 25px;
  color: #6b9989;
  font-size: 14px;
}

.pro-security-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e8e5d4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #286b55;
  font-size: 18px;
}

.pro-success-message {
  display: none;
  margin-top: 10px;
  padding: 12px;
  background: #dff3e9;
  color: #286b55;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.pro-success-message.show {
  display: block;
}

@media (max-width: 600px) {
  .pro-modal-scroll {
    padding-left: 24px;
    padding-right: 24px;
  }

  .pro-card-container {
    width: 100%;
  }

  .pro-title {
    font-size: 22px;
  }
}

/* ==========================================================================
   RESPONSIVE LAYOUT ENGINE (Mobile, Tablet & Laptop Breakpoints)
   ========================================================================== */

/* Mobile Hamburger Menu Toggle Styling */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid #1E293B;
  color: #1E293B;
  font-size: 24px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 10px;
  cursor: pointer;
  line-height: 1;
}

/* TABLET & MOBILE RESPONSIVE (max-width: 1024px) */
@media (max-width: 1024px) {
  .flatx-header {
    padding: 0.6rem 1.2rem;
  }

  .brand-logo-img {
    height: 48px;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: 12px;
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 2px solid #111111;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  }

  .header-nav.mobile-active {
    display: flex;
  }

  .header-nav .nav-item {
    padding: 12px 16px;
    font-size: 1rem;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 8px;
    justify-content: flex-start;
  }

  .header-nav .nav-item:last-child {
    border-bottom: none;
  }

  .container {
    width: calc(100% - 32px);
  }

  /* Hero Section */
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .search-box-wrap {
    max-width: 100%;
  }

  .hero-graphic {
    max-width: 320px;
    margin: 0 auto;
  }

  /* Property Search Grid */
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .search-top {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }

  .search-input {
    width: 100%;
  }

  .filters {
    flex-direction: column;
    align-items: stretch;
  }

  .filters select, .filter-button, .search-button, .view-buttons {
    width: 100%;
    margin-left: 0;
    justify-content: center;
  }

  .view-buttons {
    height: 52px;
  }

  .view-buttons button {
    flex: 1;
    justify-content: center;
    padding: 0 10px;
  }
}

/* MOBILE PHONES RESPONSIVE (max-width: 640px) */
@media (max-width: 640px) {
  .brand-logo-img {
    height: 42px;
  }

  .pro-badge {
    display: none;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .property-grid {
    grid-template-columns: 1fr;
  }

  .reviews-title {
    font-size: 1.6rem;
  }

  .review-card {
    flex: 0 0 280px;
    padding: 1.2rem;
  }

  .carousel-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-header-bar {
    padding: 14px 16px;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .admin-user-info {
    width: 100%;
    justify-content: space-between;
  }
}

/* Google Login Button Styles */
.login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 22px 0;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
}

.login-divider::before, .login-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1.5px solid #e2e8f0;
}

.login-divider span {
  padding: 0 14px;
}

.google-login-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  color: #0f172a;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.google-login-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Interest Modal Styling */
.interest-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 4000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.interest-modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.interest-close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    background: #f1f5f9;
    border: none;
    font-size: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
}

.interest-badge {
    background: #FFFBEB;
    color: #D97706;
    border: 1px solid #FDE68A;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 10px;
}

.interest-form-group {
    margin-bottom: 16px;
}

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

.interest-form-group input,
.interest-form-group select,
.interest-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
}

.interest-form-group input:focus,
.interest-form-group select:focus,
.interest-form-group textarea:focus {
    border-color: #F5A623;
}

.interest-submit-btn {
    width: 100%;
    background: #0f172a;
    color: #F5A623;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s ease;
}

.interest-submit-btn:hover {
    background: #d97706;
    color: #ffffff;
}

/* ==========================================================================
   SPLIT SCREEN MAP VIEW & INTERACTIVE PILL MARKERS (Screenshot UI Match)
   ========================================================================== */

.flats-split-layout {
  display: flex;
  gap: 20px;
  position: relative;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.flats-split-layout .property-grid-wrap {
  flex: 1;
  min-width: 0;
}

.flats-split-layout.split-active .property-grid-wrap {
  flex: 0 0 52%;
}

.flats-split-layout.split-active .property-grid {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1rem;
}

.map-view-column {
  display: none;
  flex: 0 0 48%;
  height: calc(100vh - 120px);
  position: sticky;
  top: 90px;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  background: #f8fafc;
}

.flats-split-layout.split-active .map-view-column {
  display: block;
}

#leafletMapContainer {
  width: 100%;
  height: 100%;
  min-height: 450px;
  z-index: 1;
  display: block;
}

/* Custom Dark Pill Markers (Matching Screenshot) */
.leaflet-pill-marker {
  background: #0f172a;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans', sans-serif;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.leaflet-pill-marker:hover, .leaflet-pill-marker.active {
  background: #F5A623;
  color: #0f172a;
  transform: scale(1.1);
  z-index: 1000 !important;
}

.leaflet-pill-marker.blue-pin {
  background: #2563eb;
  color: #ffffff;
}

.map-floating-bar {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1000;
  display: flex;
  gap: 8px;
}

.map-floating-btn {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.map-floating-btn:hover {
  background: #0f172a;
  color: #ffffff;
}

/* Mobile Responsiveness for Split Map */
@media (max-width: 992px) {
  .flats-split-layout.split-active {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px;
  }

  .flats-split-layout.split-active .property-grid-wrap {
    display: none; /* Hide property list initially on mobile when Map tab is active */
  }

  .flats-split-layout.split-active.show-properties .property-grid-wrap {
    display: block !important; /* Show property cards when user touches a location pin! */
    animation: fadeInGrid 0.3s ease;
  }

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

  .flats-split-layout.split-active .property-grid-wrap,
  .flats-split-layout.split-active .map-view-column {
    flex: 1 0 100%;
    width: 100%;
  }

  .flats-split-layout.split-active .map-view-column {
    display: block !important;
    height: 480px !important;
    min-height: 480px !important;
    position: relative;
    top: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    border: 2px solid #F5A623;
    margin-bottom: 16px;
    background: #e2e8f0;
  }

  .map-view-column.mobile-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    border-radius: 0 !important;
    margin: 0 !important;
  }

  .flats-split-layout.split-active .property-grid {
    grid-template-columns: 1fr !important;
  }

  .map-floating-bar {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }
}

/* ==========================================================================
   AI CHAT ASSISTANT & PROPERTY COMPARISON MATRIX
   ========================================================================== */

/* ==========================================================================
   GLOBAL PREMIUM MODAL SYSTEM (.admin-modal & OVERLAYS)
   ========================================================================== */

.admin-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-modal.active {
  display: flex !important;
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.admin-modal-box {
  background: #ffffff;
  color: #0f172a;
  width: 100%;
  max-width: 640px;
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
}

.admin-form-group {
  margin-bottom: 20px;
  text-align: left;
}

.admin-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #334155;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-form-group input,
.admin-form-group select,
.admin-form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0f172a;
  background: #f8fafc;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
  border-color: #F5A623;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.15);
}

.admin-upload-box {
  border: 2px dashed #cbd5e1;
  padding: 25px;
  border-radius: 16px;
  background: #f8fafc;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-upload-box:hover {
  border-color: #F5A623;
  background: #fffdf5;
}

/* AI Chat Floating Bubble */
.ai-chat-bubble {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 5000;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #F5A623;
  border: 2px solid #F5A623;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-chat-bubble-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ai-chat-bubble:hover {
  transform: scale(1.05);
  box-shadow: 0 14px 30px rgba(0,0,0,0.4);
}

.ai-chat-window {
  display: none;
  position: fixed;
  bottom: 155px;
  right: 24px;
  width: 380px;
  height: 520px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  border: 1.5px solid #cbd5e1;
  z-index: 5000;
  flex-direction: column;
  overflow: hidden;
}

.ai-chat-window.active {
  display: flex;
}

.ai-chat-header {
  background: #0f172a;
  color: #ffffff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.ai-msg-bot {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  align-self: flex-start;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.ai-msg-user {
  background: #0f172a;
  color: #ffffff;
  align-self: flex-end;
}

.ai-chat-input-area {
  padding: 12px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 8px;
}

.ai-chat-input-area input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  outline: none;
  font-size: 13px;
}

.ai-chat-input-area button {
  background: #F5A623;
  color: #0f172a;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

/* Property Comparison Floating Bar */
.compare-floating-bar {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4500;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  border: 2px solid #F5A623;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  align-items: center;
  gap: 16px;
}

.compare-floating-bar.active {
  display: flex;
}

.compare-btn-action {
  background: #F5A623;
  color: #0f172a;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

/* NOTIFICATION BELL ICON & DRAWER SYSTEM */
.notification-bell-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  color: #0f172a;
}

.notification-bell-btn:hover {
  background: #0f172a;
  color: #F5A623;
  border-color: #0f172a;
}

.notification-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 10px;
  padding: 2px 6px;
  border: 2px solid #ffffff;
  line-height: 1;
}

.notification-drawer {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  width: 320px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
  border: 1.5px solid #cbd5e1;
  z-index: 9999;
  overflow: hidden;
  animation: notifFadeIn 0.2s ease;
}

.notification-drawer.active {
  display: block !important;
}

@keyframes notifFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.notif-header {
  padding: 14px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notif-list {
  max-height: 320px;
  overflow-y: auto;
}

.notif-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: background 0.2s ease;
}

.notif-item:hover {
  background: #f8fafc;
}

.notif-item.unread {
  background: #fffdf5;
}

.notif-icon {
  font-size: 18px;
}

.notif-content strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
  margin-bottom: 2px;
}

.notif-content p {
  margin: 0;
  font-size: 12px;
  color: #475569;
}

.notif-time {
  display: block;
  font-size: 10px;
  color: #94a3b8;
  margin-top: 4px;
  font-weight: 700;
}

/* ============================================================
   MOBILE RESPONSIVE FIXES - All Pages (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {

  /* Header: shrink user pill so it doesn't overflow */
  .flatx-header .header-inner {
    padding: 0.5rem 0.8rem;
    gap: 8px;
  }

  .user-pill-btn {
    padding: 0.4rem 0.7rem !important;
    font-size: 0.7rem !important;
    height: 38px !important;
    max-width: 140px;
    overflow: hidden;
  }

  /* Truncate long phone numbers inside pill */
  #user-btn-text {
    max-width: 90px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
  }

  /* Sub-label like "PROPERTY MANAGER" below name */
  .user-pill-sub {
    display: none !important;
  }

  /* Brand logo smaller */
  .brand-logo-img {
    height: 36px !important;
  }

  /* Nav hamburger */
  .nav-toggle {
    width: 36px;
    height: 36px;
  }

  /* Hero section */
  .hero-title {
    font-size: 1.6rem !important;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 0.9rem !important;
  }

  /* Search bar full width */
  .search-bar-wrapper, .search-form {
    width: 100% !important;
    padding: 0 8px;
  }

  /* Property cards single column */
  .property-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 0 8px;
  }

  /* Floating buttons: stack vertically, no overlap */
  /* WhatsApp */
  a[href*="wa.me"] {
    bottom: 20px !important;
    right: 20px !important;
    width: 52px !important;
    height: 52px !important;
  }

  /* Chatbot (sits above WhatsApp) */
  #chatbot-widget, .chatbot-float, [id*="chatbot"], [class*="chatbot"] {
    bottom: 82px !important;
    right: 20px !important;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  /* Filter chips */
  .filter-chips, .type-chips {
    flex-wrap: wrap;
    gap: 6px;
  }

  /* Modals full width on mobile */
  .admin-modal-box, .edit-modal-inner {
    width: 95vw !important;
    max-width: 95vw !important;
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  /* Pro plans modal */
  .pro-modal-scroll {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }

  /* Post property form */
  .rentx-property-form {
    width: calc(100% - 20px) !important;
    padding: 16px !important;
  }

  /* Property detail page price grid */
  .price-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
  }

  /* Listing cards on browse page */
  .listing-card, .flat-card {
    border-radius: 16px;
  }

  .container {
    width: calc(100% - 20px) !important;
  }
}

/* ============================================================
   PROFILE PILL MOBILE FIX
   ============================================================ */
@media (max-width: 480px) {
  /* Hide role sublabel (PROPERTY MANAGER) on mobile */
  .profile-role {
    display: none !important;
  }

  /* Truncate long name/phone in pill */
  .profile-name {
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px !important;
  }

  /* Compact the pill itself */
  .profile-pill {
    padding: 4px 8px !important;
    gap: 5px !important;
    height: 38px !important;
    max-width: 130px;
  }

  /* Smaller avatar */
  .profile-avatar {
    width: 26px !important;
    height: 26px !important;
    font-size: 11px !important;
    min-width: 26px !important;
  }

  /* Hide dropdown arrow on very small screens */
  .profile-arrow {
    display: none !important;
  }

  /* Dropdown menu full width on mobile */
  .profile-dropdown-menu {
    right: 0 !important;
    left: auto !important;
    width: 260px !important;
  }
}
