html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 0;
  padding: 0;
  margin-bottom: 100px;
  background: radial-gradient(circle at top right, #dbeafe 0%, #eef2ff 32%, #ffffff 70%);
}

/* —— Global page loading bar (shown on form submit & in-app navigation) —— */
.page-loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10050;
  pointer-events: none;
  overflow: hidden;
  background: rgba(37, 99, 235, 0.12);
}

.page-loading-bar[hidden] {
  display: none !important;
}

.page-loading-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: min(42%, 280px);
  background: linear-gradient(90deg, #1d4ed8, #7c3aed, #2563eb);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.55);
  animation: pageLoadingIndeterminate 0.95s ease-in-out infinite;
}

@keyframes pageLoadingIndeterminate {
  0% {
    transform: translateX(-102%);
  }
  100% {
    transform: translateX(calc(100vw + 102%));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loading-bar::after {
    animation: none;
    width: 100%;
    transform: none;
    opacity: 0.85;
    background: linear-gradient(90deg, #1d4ed8, #7c3aed);
  }
}

/* Forms that are posting: dim slightly while the loading bar runs */
form.form-busy {
  cursor: wait;
  pointer-events: none;
}

form.form-busy button:not([type="button"]):not([type="reset"]),
form.form-busy input[type="submit"] {
  cursor: wait;
}

/* —— Site header: layered accent + premium nav (distinct from page body) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  margin: 0;
  padding: 0;
  isolation: isolate;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.18),
    0 20px 50px rgba(15, 23, 42, 0.38);
}

/* Soft ambient glow — sits behind nav content */
.site-header::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 180% at 0% -20%, rgba(99, 102, 241, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 100% 160% at 100% -10%, rgba(56, 189, 248, 0.08) 0%, transparent 50%);
}

/* Top accent: muted brass band + hairline shine (not loud gold) */
.site-header-accent {
  position: relative;
  z-index: 1;
  height: 2px;
  background: linear-gradient(
    90deg,
    #16131a 0%,
    #2a231c 18%,
    #4a3f34 42%,
    #5c4d40 50%,
    #4a3f34 58%,
    #2a231c 82%,
    #16131a 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}

.site-header-accent::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 184, 138, 0.25) 35%,
    rgba(232, 208, 168, 0.45) 50%,
    rgba(212, 184, 138, 0.25) 65%,
    transparent 100%
  );
  pointer-events: none;
}

/* Main nav: depth, subtle grid, inner highlight — compact vertical rhythm */
.site-header-nav {
  position: relative;
  z-index: 1;
  --bs-navbar-padding-y: 0.28rem;
  min-height: 0;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(71, 85, 105, 0.35);
  background-color: #0c1220;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(
      168deg,
      rgba(15, 23, 42, 0.97) 0%,
      rgba(17, 28, 46, 0.98) 38%,
      rgba(12, 22, 38, 1) 72%,
      rgba(8, 14, 26, 1) 100%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 42%);
  background-size:
    22px 22px,
    100% 100%,
    100% 100%;
  background-position: 0 0, 0 0, 0 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header-toggler {
  padding: 0.2rem 0.45rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-header-toggler:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.site-header .navbar-brand,
.site-header-brand {
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
  margin-top: 0;
  margin-bottom: 0;
}

.site-header-brand-title {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.site-header-brand-tagline {
  font-size: 0.68rem;
  line-height: 1.2;
  margin-top: 0.1rem;
  opacity: 0.85;
}

.site-header .brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  font-size: 0.62rem;
  border-radius: 0.4rem !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff8e8;
  background:
    linear-gradient(155deg, rgba(251, 191, 36, 0.42) 0%, rgba(15, 23, 42, 0.15) 48%, rgba(15, 23, 42, 0.55) 100%);
  border: 1px solid rgba(251, 191, 36, 0.38);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  vertical-align: middle;
}

.site-header .brand-text {
  vertical-align: middle;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

@media (min-width: 992px) {
  .site-header-nav-user {
    border-left: 1px solid rgba(148, 163, 184, 0.2);
    padding-left: 0.55rem;
    margin-left: 0.25rem;
  }
}

.site-header-userchip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header-userchip__icon {
  font-size: 1.05rem;
  color: rgba(253, 224, 138, 0.88);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.2));
}

.site-header-userchip__text {
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-pill {
  border-radius: 999px;
  padding: 0.28rem 0.65rem !important;
  font-size: 0.875rem;
  border: 1px solid transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-pill--icon {
  display: inline-flex !important;
  align-items: center;
  gap: 0.32rem;
}

.nav-pill__icon {
  font-size: 0.95rem;
  opacity: 0.9;
  flex-shrink: 0;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-pill__label {
  line-height: 1.2;
  white-space: nowrap;
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.nav-pill--icon:hover .nav-pill__icon {
  opacity: 1;
  transform: translateY(-0.5px);
}

.nav-pill:focus-visible {
  outline: 2px solid rgba(251, 191, 36, 0.65);
  outline-offset: 2px;
}

.nav-pill--accent {
  background: linear-gradient(135deg, #c9a227 0%, #e8c87a 50%, #d4a84b 100%) !important;
  border: 1px solid rgba(30, 41, 59, 0.12) !important;
  color: #1e293b !important;
  font-weight: 600;
}

.nav-pill--accent .nav-pill__icon {
  color: #0f172a;
  opacity: 1;
}

.nav-pill--accent:hover {
  background: linear-gradient(135deg, #ddb83a 0%, #f0d48f 45%, #e0b44f 100%) !important;
  color: #0f172a !important;
  transform: translateY(-1px);
}

.nav-pill--accent:hover .nav-pill__icon {
  color: #0f172a;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 260px;
  color: white;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(30,64,175,.9), rgba(79,70,229,.75), rgba(16,185,129,.75));
  background-size: 200% 200%;
  animation: shift 12s ease infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

@keyframes shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.auth-hero {
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #2563eb 55%, #7c3aed);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.auth-hero-content {
  padding: 1.4rem 1.5rem;
}

.auth-form {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
}

.create-section {
  border-radius: 16px;
  border: 1px solid #dbeafe;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.06);
}

.create-section h5 {
  font-weight: 700;
  margin-bottom: .9rem;
}

.create-section .input-group-text {
  min-width: 44px;
  justify-content: center;
  background: #ffffff;
  border-color: #cbd5e1;
}

.section-basic {
  background: linear-gradient(180deg, #eff6ff, #ffffff);
}

/* Property Create: sticky submit row + richer basic block */
.property-create-sticky-actions {
  position: sticky;
  z-index: 1015;
  top: 3.65rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem !important;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 575.98px) {
  .property-create-sticky-actions {
    top: 0.35rem;
  }
}

.property-create-basic {
  background: linear-gradient(125deg, #e0f0fb 0%, #eef6ff 38%, #f8fbff 72%, #ffffff 100%) !important;
  border: 1px solid rgba(59, 130, 246, 0.28) !important;
  box-shadow: 0 12px 40px rgba(30, 64, 175, 0.08) !important;
}

.property-create-basic .form-select {
  border-color: #cbd5e1;
}

.section-price {
  background: linear-gradient(180deg, #f0fdf4, #ffffff);
}

.section-media {
  background: linear-gradient(180deg, #faf5ff, #ffffff);
}

.section-location {
  background: linear-gradient(180deg, #fff7ed, #ffffff);
}

.section-actions {
  background: linear-gradient(180deg, #e0f2fe, #ffffff);
}

.icon-input .input-group-text {
  min-width: 46px;
  justify-content: center;
  background: #eef2ff;
  border-color: #dbeafe;
}

.icon-input .form-control,
.icon-input .form-select {
  border-color: #dbeafe;
}

.owner-card {
  border-radius: 14px;
  border: 1px solid #dbeafe;
  transition: transform .2s ease, box-shadow .2s ease;
}

.owner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15) !important;
}

.chat-panel {
  max-height: 440px;
  overflow: auto;
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  border: 1px solid #dbeafe;
  border-radius: 16px;
}

.chat-row {
  display: flex;
  width: 100%;
  margin-bottom: .65rem;
}

.chat-row--other {
  justify-content: flex-start;
}

.chat-row--self {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: min(88%, 26rem);
  border-radius: 14px;
  padding: .55rem .75rem .5rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.chat-bubble--other {
  border-color: #e2e8f0;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.chat-bubble--self {
  border-color: #c7d2fe;
  background: linear-gradient(145deg, #eef2ff, #e0e7ff);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.12);
}

.chat-text {
  word-break: break-word;
}

.chat-meta strong {
  font-size: .9rem;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15);
}

.chat-avatar--0 { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.chat-avatar--1 { background: linear-gradient(135deg, #34d399, #059669); }
.chat-avatar--2 { background: linear-gradient(135deg, #fbbf24, #d97706); }
.chat-avatar--3 { background: linear-gradient(135deg, #f472b6, #db2777); }
.chat-avatar--4 { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.chat-avatar--5 { background: linear-gradient(135deg, #2dd4bf, #0d9488); }
.chat-avatar--6 { background: linear-gradient(135deg, #fb923c, #ea580c); }
.chat-avatar--7 { background: linear-gradient(135deg, #94a3b8, #475569); }

.message-badge-icon svg {
  opacity: 0.95;
}

.message-badge-count {
  font-size: 0.65rem;
  min-width: 1.25rem;
  padding: 0.2em 0.45em;
}

.message-badge-zero {
  font-size: 0.75rem;
}

.listing-plan-card {
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.listing-plan-card:hover {
  border-color: rgba(37, 99, 235, 0.45) !important;
}

.chat-form .form-control {
  border-color: #c7d2fe;
  min-height: 44px;
}

.property-card-link {
  cursor: pointer;
  border-radius: 16px;
}

.property-card-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.55);
  outline-offset: 3px;
}

.property-card {
  border-radius: 14px;
  border: 1px solid rgba(219, 234, 254, 0.9);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
  will-change: transform;
}

.property-card-media {
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: #e2e8f0;
}

.property-card-img {
  height: 240px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.property-card-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 35%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 65%
  );
  background-size: 220% 220%;
  background-position: 100% 50%;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.property-card-title {
  transition: color 0.25s ease;
}

.property-card-cta {
  color: #2563eb;
  transition: color 0.25s ease, transform 0.3s ease;
}

.property-card-cta-arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.property-card-link:hover .property-card {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(30, 64, 175, 0.18),
    0 8px 16px rgba(15, 23, 42, 0.08) !important;
  border-color: rgba(96, 165, 250, 0.65);
}

.property-card-link:hover .property-card-img {
  transform: scale(1.1);
}

.property-card-link:hover .property-card-shine {
  opacity: 1;
  animation: property-card-shimmer 1.2s ease forwards;
}

.property-card-link:hover .property-card-title {
  color: #1d4ed8;
}

.property-card-link:hover .property-card-cta {
  color: #1d4ed8;
}

.property-card-link:hover .property-card-cta-arrow {
  transform: translateX(6px);
}

@keyframes property-card-shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: -100% 50%;
  }
}

/* Cards not wrapped in .property-card-link (e.g. admin review) */
.card.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(30, 64, 175, 0.12) !important;
  border-color: rgba(96, 165, 250, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .property-card,
  .property-card-img,
  .property-card-cta,
  .property-card-cta-arrow,
  .property-card-cta-arrow-icon {
    transition: none;
  }

  .property-card-link:hover .property-card {
    transform: none;
  }

  .property-card-link:hover .property-card-img {
    transform: none;
  }

  .property-card-link:hover .property-card-shine {
    animation: none;
    opacity: 0.2;
  }

  .card.property-card:hover {
    transform: none;
  }
}

.detail-panel {
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #fff;
}

.detail-main-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

.detail-thumb {
  height: 80px;
  width: 120px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}

.detail-grid p {
  margin-bottom: .5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.chip-rent {
  background: #ecfdf5;
  border-color: #86efac;
  color: #166534;
}

.chip-sale {
  background: #fff7ed;
  border-color: #fdba74;
  color: #9a3412;
}

.chip-neutral {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.info-icon {
  display: inline-block;
  width: 1.2rem;
}

.premium-footer {
  margin-top: 1.25rem;
  background: linear-gradient(90deg, #111827, #1f2937);
  border-top: none;
  padding: .9rem 0;
}

.btn {
  border-radius: 10px;
}

/* —— Landing: full-bleed image banner (breaks out of .container) —— */
.landing-hero-fullbleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.landing-hero-banner {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

.landing-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.landing-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.55) 42%, rgba(30, 58, 95, 0.35) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.5) 0%, transparent 45%);
  pointer-events: none;
}

.landing-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.landing-hero-panel {
  max-width: 52rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.landing-hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e8c87a;
  margin-bottom: 0.35rem;
}

.landing-hero-title {
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.landing-hero-lead {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.78);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.landing-hero-field-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.55);
  margin-bottom: 0.4rem;
}

.landing-search-form {
  max-width: 100%;
}

.landing-hero-search-bar {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.landing-hero-search-icon {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #e8c87a !important;
  padding-left: 1rem;
  padding-right: 0.75rem;
  font-size: 1.15rem;
}

.landing-hero-input {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f8fafc !important;
  font-size: 0.9375rem;
}

.landing-hero-input::placeholder {
  color: rgba(248, 250, 252, 0.45);
}

.landing-hero-input:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(232, 200, 122, 0.45) !important;
  color: #fff !important;
  box-shadow: 0 0 0 0.2rem rgba(232, 200, 122, 0.12) !important;
}

.landing-hero-search-btn {
  background: linear-gradient(135deg, #c9a227 0%, #e8c87a 50%, #d4a84b 100%);
  color: #1e293b !important;
  border: none;
  border-radius: 0 11px 11px 0;
}

.landing-hero-search-btn:hover {
  background: linear-gradient(135deg, #ddb83a 0%, #f0d48f 45%, #e0b44f 100%);
  color: #0f172a !important;
}

.landing-howto-rich {
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.landing-howto-title {
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.landing-howto-pill {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.08);
  color: #1d4ed8;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-howto-list {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.6;
}

.landing-howto-footnote {
  font-size: 0.75rem;
  color: #94a3b8;
  letter-spacing: 0.02em;
}

.landing-hero-trust {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.72);
}

.landing-hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.landing-hero-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8c87a, #c9a227);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(232, 200, 122, 0.25);
}

.landing-hero-microcopy {
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.52);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.landing-value-strip {
  margin-top: 0.25rem;
}

.landing-value-card {
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  height: 100%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-value-card:hover {
  border-color: rgba(30, 64, 175, 0.2);
  box-shadow: 0 14px 40px rgba(30, 64, 175, 0.08);
}

.landing-value-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.landing-value-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
}

.landing-bottom-suite {
  border-radius: 20px;
  padding: 2rem 1.5rem 2.25rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.98) 48%, rgba(226, 232, 240, 0.55) 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.landing-bottom-heading {
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 0.85rem;
}

.landing-bottom-subheading {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.landing-bottom-lead {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1rem;
}

.landing-contact-card {
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.landing-contact-list li + li {
  margin-top: 0.85rem;
}

.landing-contact-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}

.landing-contact-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
}

.landing-contact-link:hover {
  text-decoration: underline;
  color: #1e40af;
}

.landing-contact-static {
  font-size: 0.9rem;
  color: #334155;
  font-weight: 500;
}

.landing-cta-card {
  border-radius: 16px;
  padding: 1.35rem 1.25rem 1.4rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

.landing-cta-icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.65rem;
  opacity: 0.9;
}

.landing-cta-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.landing-cta-text {
  font-size: 0.84rem;
  line-height: 1.55;
  color: #64748b;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.landing-cta-btn {
  border-radius: 11px;
  font-weight: 600;
  padding: 0.55rem 1rem;
  background: linear-gradient(135deg, #c9a227 0%, #e8c87a 50%, #d4a84b 100%);
  color: #1e293b !important;
  border: 1px solid rgba(30, 41, 59, 0.1);
}

.landing-cta-btn:hover {
  filter: brightness(1.05);
  color: #0f172a !important;
}

.landing-cta-btn-outline {
  border-radius: 11px;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(29, 78, 216, 0.35);
  color: #1d4ed8 !important;
  background: rgba(239, 246, 255, 0.85);
}

.landing-cta-btn-outline:hover {
  background: rgba(219, 234, 254, 0.95);
  color: #1e40af !important;
}

.landing-cta-btn-ghost {
  border-radius: 11px;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #334155 !important;
  background: rgba(248, 250, 252, 0.9);
}

.landing-cta-btn-ghost:hover {
  background: #f1f5f9;
  color: #0f172a !important;
}

/* —— Property search page (compact top bar ~10vh — results are primary) —— */
.property-search-page {
  padding-top: 0.15rem;
}

.portal-search-hero--compact {
  position: sticky;
  top: 3.45rem;
  z-index: 1018;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  margin-bottom: 0.65rem !important;
  padding: 0.4rem 0.6rem 0.45rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

@media (min-width: 576px) {
  .portal-search-hero--compact {
    margin-left: 0;
    margin-right: 0;
    padding: 0.45rem 0.85rem 0.5rem;
    border-radius: 10px;
  }
}

.portal-search-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
}

@media (min-width: 768px) {
  .portal-search-toolbar {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }
}

.portal-breadcrumb {
  --bs-breadcrumb-divider: "›";
  font-size: 0.8125rem;
}

.portal-breadcrumb--compact {
  font-size: 0.6875rem;
  line-height: 1.2;
  padding: 0.15rem 0;
}

.portal-breadcrumb--compact .breadcrumb-item {
  padding-top: 0;
  padding-bottom: 0;
}

.portal-breadcrumb-link {
  color: #0d9488;
  font-weight: 600;
}

.portal-breadcrumb-link:hover {
  color: #0f766e;
}

.portal-search-input-shell {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: #fff;
  min-height: 2.25rem;
}

.portal-search-input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  flex-shrink: 0;
  background: #f8fafc;
  color: #0d9488;
  font-size: 1rem;
  border-right: 1px solid rgba(148, 163, 184, 0.2);
}

.portal-search-input {
  border: none !important;
  box-shadow: none !important;
  font-size: 0.875rem;
  padding: 0.35rem 0.65rem;
  line-height: 1.35;
  min-height: 0;
}

.portal-search-input:focus {
  box-shadow: none !important;
}

.portal-search-submit {
  border: none;
  border-radius: 0 !important;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #0d9488 0%, #0f766e 100%);
  color: #fff !important;
  padding: 0.35rem 0.85rem;
  white-space: nowrap;
}

.portal-search-submit:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

.property-search-results {
  /* Lift results toward top of viewport */
  margin-top: 0;
}

/* Filter sidebar */
.portal-filter-card {
  border-radius: 14px !important;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  /* Below sticky nav + compact search bar */
  top: 6rem;
  z-index: 1000;
  background: #fff;
}

.portal-filter-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.15rem 0.85rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  border-left: 4px solid #0d9488;
  background: linear-gradient(90deg, rgba(240, 253, 250, 0.5) 0%, #ffffff 100%);
}

.portal-filter-head-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0d9488, #0f766e);
  color: #fff;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.portal-filter-head-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.portal-filter-head-sub {
  font-size: 0.78rem;
}

.portal-filter-reset {
  font-size: 0.8rem !important;
  font-weight: 600;
  color: #64748b !important;
}

.portal-filter-reset:hover {
  color: #0d9488 !important;
}

.portal-filter-section {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

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

.portal-filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.portal-filter-label-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #0d9488;
  font-size: 0.95rem;
}

.portal-filter-help {
  margin-top: -0.1rem;
}

.portal-bhk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

@media (min-width: 1200px) {
  .portal-bhk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.portal-bhk-label {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  padding: 0.45rem 0.35rem !important;
  line-height: 1.2 !important;
}

.portal-bhk-item .btn-check:checked + .portal-bhk-label {
  background: rgba(13, 148, 136, 0.12) !important;
  border-color: #0d9488 !important;
  color: #0f766e !important;
}

.portal-select-wrap {
  position: relative;
}

.portal-select-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #0d9488;
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 2;
}

.portal-select {
  padding-left: 2.35rem;
  border-radius: 10px;
  border-color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
}

.portal-select:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.15);
}

.portal-range-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.25rem;
}

.portal-input-group .input-group-text {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #64748b;
  font-size: 0.85rem;
}

.portal-input-group .form-control {
  border-color: #cbd5e1;
  font-size: 0.875rem;
}

.portal-input-group .form-control:focus {
  border-color: #0d9488;
  box-shadow: none;
}

.portal-filter-actions {
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  margin-top: 0.25rem;
  padding-top: 1rem !important;
}

.portal-btn-apply {
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.55rem 1rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #0d9488 0%, #0f766e 100%);
  color: #fff !important;
}

.portal-btn-apply:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

.portal-btn-secondary {
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
}

/* Results strip — compact so listings dominate the viewport */
.portal-results-section {
  padding-top: 0.1rem;
}

.portal-results-header .card-body {
  padding: 0.55rem 1rem;
}

.portal-results-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.portal-results-pill {
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(30, 64, 175, 0.08);
  color: #1d4ed8;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.portal-empty-icon-wrap {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #94a3b8;
}

/* Listing cards on search page */
.portal-listing-card .property-card-title {
  font-size: 0.95rem !important;
  line-height: 1.35;
}

.portal-listing-desc {
  line-height: 1.45;
}

.portal-pill-bhk {
  font-weight: 600;
  font-size: 0.72rem;
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
}

.portal-badge-sample {
  font-weight: 600;
  font-size: 0.65rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.88) !important;
}

.portal-badge-live {
  font-weight: 700;
  font-size: 0.65rem;
  border-radius: 8px;
  background: rgba(5, 150, 105, 0.95) !important;
}

.portal-listing-facts {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.portal-fact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: #475569;
}

.portal-fact-line i {
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.portal-listing-footer {
  border-top: 1px solid #f1f5f9;
}

.portal-rating-pill {
  font-weight: 700;
  font-size: 0.75rem;
  background: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}

.property-card-cta-arrow-icon {
  font-size: 1.25rem;
  line-height: 1;
  vertical-align: -0.15em;
  transition: transform 0.2s ease;
}

.property-card-link:hover .property-card-cta-arrow-icon {
  transform: translateX(4px);
}

@media (max-width: 575.98px) {
  .portal-search-hero--compact {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
    top: 3.35rem;
  }

  .portal-search-input {
    font-size: 0.85rem;
    min-width: 0;
  }

  .portal-search-submit {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    font-size: 0.8rem;
  }

  .portal-filter-card {
    top: 5.5rem;
  }
}

/* —— Legacy filter class (sticky offset) —— */
.property-search-filters {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  top: 4.5rem;
  z-index: 1000;
}

.property-search-filters .card-header {
  border-radius: 16px 16px 0 0 !important;
}

.property-search-filters .form-check-label {
  font-size: 0.9rem;
}

/* —— Property details (portal-style) —— */
.detail-page-breakout {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.detail-page-bg {
  position: relative;
  min-height: 100%;
  --detail-hero-image: none;
}

.detail-page-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: var(--detail-hero-image);
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  filter: saturate(1.05) brightness(0.55);
}

.detail-page-bg::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.91) 0%, rgba(248, 250, 252, 0.96) 35%, #f1f5f9 100%);
  pointer-events: none;
}

.detail-page-inner {
  position: relative;
  z-index: 2;
}

.detail-breadcrumb .breadcrumb {
  background: rgba(255, 255, 255, 0.75);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.detail-hero-card {
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}

.detail-price-lg {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.detail-title {
  color: #0f172a;
}

.detail-rera-banner {
  background: linear-gradient(90deg, #ecfdf5, #f0fdfa);
  border: 1px solid #6ee7b7;
  color: #065f46;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.detail-tabs .nav-link {
  color: #64748b;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 0.65rem 1rem;
}

.detail-tabs .nav-link:hover {
  color: #2563eb;
}

.detail-tabs .nav-link.active {
  color: #1d4ed8;
  border-bottom-color: #2563eb;
  background: transparent;
}

.detail-tab-panels {
  border-color: #e2e8f0 !important;
  border-radius: 0 0 12px 12px !important;
}

.detail-spec-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.detail-spec-grid .detail-spec-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.5rem 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

.detail-spec-grid .detail-spec-row:last-child {
  border-bottom: none;
}

.detail-spec-grid dt {
  color: #64748b;
  font-weight: 600;
  margin: 0;
}

.detail-spec-grid dd {
  margin: 0;
  color: #0f172a;
}

.detail-place-pill {
  background: #eff6ff !important;
  color: #1e40af !important;
  font-weight: 500;
  padding: 0.4rem 0.75rem !important;
  border: 1px solid #bfdbfe;
}

.detail-highlights {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
}

.detail-check-item {
  font-size: 0.875rem;
  color: #1e3a5f;
}

.detail-furn-yes {
  color: #166534;
}

.detail-furn-no {
  color: #94a3b8;
}

.detail-feature-cell {
  padding: 0.35rem 0;
  color: #334155;
}

.detail-mini-stat {
  background: #f8fafc;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
}

.detail-actions {
  border-radius: 14px !important;
}

.detail-chat-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1080;
  padding: 0.65rem 1.35rem !important;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35) !important;
}

/* —— Property details (premium UI refresh) —— */
.detail-breadcrumb-pill {
  background: rgba(255, 255, 255, 0.88);
  padding: 0.45rem 1rem !important;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.detail-hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 24px 48px rgba(15, 23, 42, 0.1) !important;
}

.detail-hero-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #0d9488 0%, #2563eb 55%, #c9a227 100%);
  border-radius: 16px 0 0 16px;
}

.detail-price-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.detail-price-lg--rent {
  color: #0f766e !important;
}

.detail-emi-note {
  color: #475569;
  border-left: 3px solid #c9a227;
  padding-left: 0.65rem;
  margin-top: 0.5rem !important;
}

.detail-page-h1 {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.25;
}

.detail-address {
  display: flex;
  align-items: flex-start;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.45;
}

.detail-badge-sample {
  background: linear-gradient(135deg, #64748b, #475569) !important;
  font-weight: 600;
  padding: 0.4rem 0.65rem !important;
}

.detail-badge-bhk {
  background: #f1f5f9 !important;
  color: #334155 !important;
  font-weight: 600;
  border: 1px solid #e2e8f0 !important;
}

.detail-badge-soft {
  background: #fffbeb !important;
  color: #92400e !important;
  border: 1px solid #fde68a !important;
  font-weight: 600;
}

.detail-quick-stats {
  margin-left: -0.15rem;
  margin-right: -0.15rem;
}

.detail-stat-tile {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.detail-stat-tile--wide .detail-stat-value {
  display: block;
  font-size: 0.9rem;
}

.detail-stat-icon {
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.detail-stat-value {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.detail-stat-label {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.3;
}

.detail-rera-banner {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #ecfdf5, #f0fdfa);
  border: 1px solid #6ee7b7;
  color: #065f46;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-weight: 500;
}

.detail-tabs--premium {
  border: none !important;
  gap: 0.25rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0;
}

.detail-tabs--premium .nav-link {
  border-radius: 10px 10px 0 0 !important;
  margin-bottom: -1px;
  white-space: nowrap;
}

.detail-tab-panels--premium {
  border-radius: 0 14px 14px 14px !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06) !important;
}

.detail-gallery-card {
  background: #fff;
  border-radius: 16px;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}

.detail-gallery-main-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
}

.detail-gallery-count {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: rgba(15, 23, 42, 0.72) !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.4rem 0.75rem !important;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.detail-gallery-main-wrap .detail-main-image {
  border-radius: 0;
  display: block;
  width: 100%;
  max-height: min(52vh, 480px);
  object-fit: cover;
}

.detail-thumb {
  width: 76px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
  opacity: 0.92;
}

.detail-thumb:hover {
  border-color: #0d9488;
  opacity: 1;
  transform: translateY(-2px);
}

.detail-section-heading {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  display: flex;
  align-items: center;
}

.detail-alert {
  border-radius: 12px !important;
}

.detail-sample-banner {
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.detail-sample-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #64748b, #475569);
}

.detail-actions-head {
  background: linear-gradient(120deg, #0f172a 0%, #1e3a5f 45%, #1d4ed8 100%);
}

.detail-cta-grid .btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 0.5rem 1rem;
}

.detail-btn-cta--success {
  background: linear-gradient(180deg, #059669, #047857) !important;
  border: none !important;
  color: #fff !important;
}

.detail-btn-cta--primary {
  background: linear-gradient(180deg, #2563eb, #1d4ed8) !important;
  border: none !important;
  color: #fff !important;
}

.detail-btn-cta--warning {
  background: linear-gradient(180deg, #f59e0b, #d97706) !important;
  border: none !important;
  color: #1e293b !important;
}

.detail-btn-cta--outline {
  border: 2px solid #cbd5e1 !important;
  color: #334155 !important;
  background: #fff !important;
}

.detail-btn-cta--dark {
  background: linear-gradient(180deg, #1e293b, #0f172a) !important;
  border: none !important;
  color: #fff !important;
}

.detail-btn-cta:hover {
  filter: brightness(1.06);
  color: inherit;
}

.detail-rating-card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #fffefb, #ffffff);
}

.detail-rating-input {
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
}

/* —— Login (property / Thane theme) —— */
.login-page-root {
  padding-bottom: 1.5rem;
}

.login-page-breakout {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: stretch;
  border-radius: 0 0 22px 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8, 20, 40, 0.14);
}

.login-hero-side {
  flex: 1.15;
  min-height: 520px;
  position: relative;
  isolation: isolate;
}

.login-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.login-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: loginHeroSlide 12s ease-in-out infinite;
}

/* Slide A: optional photo + navy overlay (fallback if image missing) */
.login-hero-slide--1 {
  background-image:
    linear-gradient(145deg, rgba(12, 25, 48, 0.88), rgba(30, 64, 120, 0.55)),
    url("/Images/hero-banner.jpg");
  background-color: #0c1829;
}

.login-hero-slide--2 {
  background-image: linear-gradient(160deg, #0f2847 0%, #1a4d6e 48%, #0c4c6e 100%);
  animation-delay: -4s;
}

.login-hero-slide--3 {
  background-image: linear-gradient(155deg, #1c1917 0%, #334155 42%, #0e7490 100%);
  animation-delay: -8s;
}

@keyframes loginHeroSlide {
  0% {
    opacity: 0;
    transform: scale(1.06);
  }
  6% {
    opacity: 1;
    transform: scale(1);
  }
  30% {
    opacity: 1;
  }
  38% {
    opacity: 0;
    transform: scale(1.03);
  }
  100% {
    opacity: 0;
  }
}

.login-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 55% at 15% 25%, rgba(201, 162, 39, 0.14), transparent 52%),
    linear-gradient(180deg, rgba(7, 15, 28, 0.2) 0%, rgba(7, 15, 28, 0.88) 100%);
}

.login-hero-inner {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2.25rem 2rem;
  max-width: 560px;
  color: #f8fafc;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
  animation: loginFadeUp 0.75s ease-out both;
}

.login-hero-badge-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(145deg, #e8c96b, #c9a227);
  color: #0c1829;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.login-hero-badge-text {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.92;
}

.login-hero-title {
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
  animation: loginFadeUp 0.78s ease-out 0.08s both;
}

.login-hero-accent {
  color: #fcd34d;
  text-shadow: 0 2px 28px rgba(252, 211, 77, 0.35);
}

.login-hero-lead {
  font-size: 0.9rem;
  line-height: 1.65;
  opacity: 0.9;
  margin-bottom: 1.25rem;
  animation: loginFadeUp 0.78s ease-out 0.14s both;
}

.login-hero-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.45;
  animation: loginFadeUp 0.78s ease-out 0.2s both;
}

.login-hero-features li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.5rem 0.6rem;
  border-radius: 11px;
  background: rgba(15, 23, 42, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
}

.login-hero-icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  margin-top: 0.08rem;
}

.login-hero-location {
  margin-top: auto;
  padding-top: 1.2rem;
  margin-bottom: 0;
  font-size: 0.74rem;
  opacity: 0.88;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  align-items: baseline;
}

.login-hero-location-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #fde68a;
}

.login-hero-location-value {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}

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

.login-form-side {
  flex: 1;
  min-width: min(100%, 440px);
  background: linear-gradient(168deg, #faf8f5 0%, #f1f5f9 50%, #e8edf4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.75rem;
  position: relative;
}

.login-form-side::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 0;
  width: 4px;
  height: 42%;
  border-radius: 4px;
  background: linear-gradient(180deg, #c9a227, rgba(201, 162, 39, 0.15));
}

.login-form-card {
  width: 100%;
  max-width: 420px;
  padding: 2.15rem 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 22px 48px rgba(15, 23, 42, 0.09);
  animation: loginCardIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.login-form-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #64748b;
}

.login-form-title {
  color: #0f172a;
  letter-spacing: -0.02em;
}

.login-form-card--register {
  max-width: 480px;
}

@media (min-width: 992px) {
  .login-form-card--register {
    max-width: 520px;
  }
}

.login-form-section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #64748b;
}

.login-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
}

.login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-icon {
  position: absolute;
  left: 0.85rem;
  font-size: 0.95rem;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.login-input {
  padding-left: 2.55rem !important;
  border-radius: 12px !important;
  border: 1px solid #cbd5e1 !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-input:focus {
  border-color: #c9a227 !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2) !important;
}

.btn-login-primary {
  position: relative;
  overflow: hidden;
  border: none !important;
  background: linear-gradient(135deg, #1e3a5f 0%, #1d4ed8 52%, #0f172a 100%) !important;
  color: #fff !important;
  padding-top: 0.72rem !important;
  padding-bottom: 0.72rem !important;
  box-shadow: 0 10px 28px rgba(30, 64, 175, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(30, 64, 175, 0.45);
  color: #fff !important;
}

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

.login-btn-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.14) 50%, transparent 65%);
  animation: loginBtnShine 3.8s ease-in-out infinite;
}

@keyframes loginBtnShine {
  0%,
  45% {
    transform: translateX(-130%);
  }
  60% {
    transform: translateX(130%);
  }
  100% {
    transform: translateX(130%);
  }
}

.login-link-register {
  color: #1d4ed8 !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 78, 216, 0.35);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.login-link-register:hover {
  border-bottom-color: #c9a227;
  color: #1e3a8a !important;
}

.login-alert-shimmer {
  animation: loginAlertPulse 2.2s ease-in-out infinite;
}

@keyframes loginAlertPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.12);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(59, 130, 246, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-hero-slide {
    animation: none !important;
    opacity: 0.35;
  }

  .login-hero-slide--1 {
    opacity: 1;
  }

  .login-hero-slide--2,
  .login-hero-slide--3 {
    display: none;
  }

  .login-form-card,
  .login-hero-badge,
  .login-hero-title,
  .login-hero-lead,
  .login-hero-features {
    animation: none !important;
  }

  .login-btn-shine {
    display: none;
  }

  .login-alert-shimmer {
    animation: none;
  }
}

@media (max-width: 768px) {
  .landing-hero-banner {
    min-height: min(58vh, 520px);
    border-radius: 0 0 14px 14px;
  }

  .landing-hero-inner {
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
    align-items: flex-end;
  }

  .landing-hero-panel {
    max-width: none;
    width: 100%;
    padding: 1.25rem 1rem;
  }

  .landing-hero-lead {
    font-size: 0.78rem;
  }

  .hero-content {
    padding: 1.2rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .auth-hero-content {
    padding: 1rem;
  }

  .chat-panel {
    max-height: 340px;
  }

  .detail-thumb {
    width: 92px;
    height: 68px;
  }

  .login-page-breakout {
    flex-direction: column;
    min-height: auto;
  }

  .login-hero-side {
    min-height: min(52vh, 420px);
    flex: none;
  }

  .login-hero-inner {
    padding: 1.35rem 1.15rem 1.25rem;
    max-width: none;
  }

  .login-hero-title {
    font-size: 1.28rem;
  }

  .login-hero-lead {
    font-size: 0.82rem;
    margin-bottom: 1rem;
  }

  .login-hero-features {
    font-size: 0.78rem;
    gap: 0.45rem;
  }

  .login-hero-features li {
    padding: 0.4rem 0.45rem;
  }

  .login-form-side::before {
    display: none;
  }

  .login-form-card {
    padding: 1.65rem 1.35rem;
  }

  .detail-page-bg::before {
    background-attachment: scroll;
  }

  .detail-chat-fab {
    bottom: 5.5rem;
    right: 1rem;
    font-size: 0.875rem;
    padding: 0.5rem 1rem !important;
  }
}