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;
}

/* Session flash (e.g. verify email) — fixed toast, auto-hide via Bootstrap */
.site-toast-container {
  top: 4.35rem;
  right: 0;
  left: auto;
  max-width: 100%;
  z-index: 1085;
  pointer-events: none;
}

.site-toast-container .toast {
  pointer-events: auto;
}

.site-login-toast {
  min-width: min(22rem, calc(100vw - 2rem));
  max-width: min(28rem, calc(100vw - 2rem));
  background: linear-gradient(165deg, #e0f2fe 0%, #f0f9ff 48%, #e2e8f0 100%);
  color: #0f172a;
  box-shadow:
    0 12px 40px rgba(15, 23, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

.site-login-toast__body {
  padding: 0.85rem 0.25rem 0.85rem 1rem !important;
  font-size: 0.9rem;
  line-height: 1.45;
}

.site-login-toast__icon {
  color: #0369a1;
  vertical-align: -0.08em;
}

/* —— 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 100% 140% at 50% -30%, rgba(59, 130, 246, 0.12) 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: single cohesive bar (no dot grid) — items align on one baseline */
.site-header-nav {
  position: relative;
  z-index: 1;
  --bs-navbar-padding-y: 0.35rem;
  min-height: 0;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.55);
  background-color: #0f172a;
  background-image: linear-gradient(180deg, #1e293b 0%, #0f172a 52%, #0b1220 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  align-items: center;
}

.site-header-nav > .container-fluid {
  align-items: center;
}

.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);
}

/* —— Header nav layout: primary strip + user toolbar —— */
.site-header-nav-rows {
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
}

@media (min-width: 992px) {
  .site-header-nav-rows {
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
    min-height: 2.75rem;
    flex-wrap: nowrap;
    gap: 0.55rem;
  }

  .site-header-nav-main {
    flex: 1 1 auto;
    padding-right: 0.45rem;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
    width: auto;
  }

  .site-header-user-rail {
    flex: 0 0 auto;
    margin-left: 0;
    padding: 0.22rem 0.5rem 0.22rem 0.55rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(15, 23, 42, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    max-width: none;
  }

  .site-header-user-rail .site-header-nav-user {
    flex-direction: row;
    align-items: center;
    gap: 0.18rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-header-user-rail .site-header-nav-user > .nav-item {
    display: flex;
    align-items: center;
  }

  .site-header-email-nav-item {
    margin-left: auto;
    padding-left: 0.65rem;
    flex: 0 0 auto;
  }
}

@media (max-width: 991.98px) {
  .site-header-user-rail {
    padding-top: 0.35rem;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
  }

  .site-header-user-rail .site-header-nav-user .nav-item {
    width: 100%;
  }

  .site-header-user-rail .nav-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .site-header-profile {
    width: 100%;
    justify-content: flex-start;
  }
}

.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;
}

.site-header-userchip--verified {
  color: #dcfce7;
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.22) 0%, rgba(22, 163, 74, 0.18) 100%);
  border: 1px solid rgba(134, 239, 172, 0.5);
}

.site-header-userchip--email {
  min-height: 2rem;
  max-width: min(17rem, 32vw);
  padding-top: 0.16rem;
  padding-bottom: 0.16rem;
}

.site-header-email-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 1.9rem;
  max-width: min(18rem, 32vw);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.42);
  color: rgba(248, 250, 252, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-decoration: none;
  line-height: 1;
}

button.site-header-email-pill {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.site-header-email-pill--verified {
  border-color: rgba(74, 222, 128, 0.38);
  background: rgba(20, 83, 45, 0.28);
}

.site-header-email-pill--pending {
  border-color: rgba(251, 191, 36, 0.38);
  background: rgba(120, 53, 15, 0.22);
}

.site-header-email-pill--pending:hover,
.site-header-email-pill--pending:focus {
  border-color: rgba(251, 191, 36, 0.62);
  background: rgba(120, 53, 15, 0.32);
}

.site-header-email-pill__icon {
  font-size: 0.95rem;
  flex-shrink: 0;
  opacity: 0.92;
}

.site-header-email-pill--verified .site-header-email-pill__icon {
  color: #86efac;
}

.site-header-email-pill--pending .site-header-email-pill__icon {
  color: #fbbf24;
}

.site-header-userchip__icon--verified {
  color: #86efac;
  filter: drop-shadow(0 0 8px rgba(134, 239, 172, 0.35));
}

/* Profile block (initials + name) */
.site-header-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.28rem 0.65rem 0.28rem 0.35rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.65) 0%, rgba(15, 23, 42, 0.5) 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  max-width: min(16rem, 42vw);
}

.site-header-profile__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fffbeb;
  background: linear-gradient(145deg, #d4a574 0%, #92400e 100%);
  border: 1px solid rgba(253, 224, 171, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.site-header-profile__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  min-width: 0;
}

.site-header-profile__greeting {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
}

.site-header-profile__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f8fafc;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header-email-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  min-width: 0;
}

.site-header-email-chip__address {
  color: rgba(226, 232, 240, 0.82);
  font-size: 0.7rem;
  font-weight: 600;
  max-width: 10.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header-email-status {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 0.06rem 0.34rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  border: 1px solid transparent;
}

.site-header-email-status--verified {
  color: #dcfce7;
  background: rgba(22, 163, 74, 0.32);
  border-color: rgba(134, 239, 172, 0.48);
}

.site-header-email-status--pending {
  color: #fef3c7;
  background: rgba(217, 119, 6, 0.3);
  border-color: rgba(253, 186, 116, 0.55);
}

.site-header .btn-link.nav-pill {
  text-decoration: none;
  display: inline-flex !important;
  align-items: center;
  vertical-align: middle;
  line-height: 1.2;
}

/* Nav pills: default “glass chip” */
.nav-pill {
  border-radius: 999px;
  padding: 0.35rem 0.75rem !important;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(248, 250, 252, 0.95) !important;
  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.38rem;
}

.nav-pill--icon-only {
  width: 2.15rem;
  height: 2.15rem;
  padding: 0 !important;
  justify-content: center;
}

.nav-pill__icon {
  font-size: 1rem;
  opacity: 0.88;
  flex-shrink: 0;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

/* Header nav icons — soft semantic tints (readable on dark bar) */
.site-header .site-header-icon-tone--home {
  color: #7dd3fc !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--post {
  color: #86efac !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--dashboard {
  color: #c4b5fd !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--payments {
  color: #fcd34d !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--essential {
  color: #6ee7b7 !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--users {
  color: #fdba74 !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--supportdesk {
  color: #67e8f9 !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--login {
  color: #cbd5e1 !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--support {
  color: #7dd3fc !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--chats {
  color: #a5b4fc !important;
  opacity: 1;
}

.site-header .site-header-icon-tone--verify {
  color: #92400e !important;
  opacity: 1;
}

.site-header .nav-pill--verify:hover .site-header-icon-tone--verify,
.site-header .nav-pill--verify:focus .site-header-icon-tone--verify {
  color: #78350f !important;
}

.site-header .site-header-icon-tone--logout {
  color: #fca5a5 !important;
  opacity: 1;
}

.site-header .nav-pill--ghost:hover .site-header-icon-tone--logout,
.site-header .nav-pill--ghost:focus .site-header-icon-tone--logout {
  color: #fecaca !important;
}

.nav-pill__label {
  line-height: 1.2;
  white-space: nowrap;
}

.site-header .nav-pill:hover:not(.nav-pill--accent):not(.nav-pill--verify):not(.nav-pill--ghost),
.site-header .nav-pill:focus:not(.nav-pill--accent):not(.nav-pill--verify):not(.nav-pill--ghost) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.site-header .nav-pill:hover:not(.nav-pill--accent):not(.nav-pill--verify):not(.nav-pill--ghost) .nav-pill__label,
.site-header .nav-pill:focus:not(.nav-pill--accent):not(.nav-pill--verify):not(.nav-pill--ghost) .nav-pill__label {
  color: #fff !important;
}

.site-header .nav-pill--icon:hover:not(.nav-pill--accent):not(.nav-pill--verify):not(.nav-pill--ghost) .nav-pill__icon,
.site-header .nav-pill--icon:focus:not(.nav-pill--accent):not(.nav-pill--verify):not(.nav-pill--ghost) .nav-pill__icon {
  opacity: 1;
  transform: translateY(-0.5px);
  filter: brightness(1.12);
}

.nav-pill:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.75);
  outline-offset: 2px;
}

/* “Verify user” — high-visibility CTA (email verification) */
@keyframes headerVerifyGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(251, 191, 36, 0.22),
      0 0 12px rgba(245, 158, 11, 0.22),
      0 2px 10px rgba(0, 0, 0, 0.18);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(253, 224, 171, 0.38),
      0 0 16px rgba(251, 191, 36, 0.32),
      0 3px 12px rgba(0, 0, 0, 0.2);
  }
}

.nav-pill--verify {
  position: relative;
  z-index: 1;
  background: linear-gradient(155deg, rgba(254, 243, 199, 0.28) 0%, rgba(251, 191, 36, 0.35) 42%, rgba(217, 119, 6, 0.28) 100%) !important;
  border: 1px solid rgba(253, 224, 171, 0.75) !important;
  color: #fffbeb !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  animation: headerVerifyGlow 2.2s ease-in-out infinite;
}

.site-header .nav-pill--verify:hover,
.site-header .nav-pill--verify:focus {
  background: linear-gradient(155deg, rgba(254, 249, 195, 0.4) 0%, rgba(251, 191, 36, 0.5) 45%, rgba(245, 158, 11, 0.38) 100%) !important;
  border-color: #fde68a !important;
  color: #fff !important;
  box-shadow:
    0 0 0 1px rgba(254, 240, 138, 0.45),
    0 0 18px rgba(251, 191, 36, 0.4),
    0 4px 14px rgba(0, 0, 0, 0.22);
  animation: none;
  transform: translateY(-1px);
}

.nav-pill--verify:focus-visible {
  outline: 2px solid #fde047;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .nav-pill--verify {
    animation: none;
    box-shadow:
      0 0 0 1px rgba(251, 191, 36, 0.35),
      0 0 10px rgba(245, 158, 11, 0.28),
      0 2px 10px rgba(0, 0, 0, 0.18);
  }
}

/* Logout: quiet outline */
.nav-pill--ghost {
  background: transparent !important;
  border-color: rgba(248, 250, 252, 0.14) !important;
  color: rgba(248, 250, 252, 0.88) !important;
}

.site-header .nav-pill--ghost:hover,
.site-header .nav-pill--ghost:focus {
  background: rgba(248, 113, 113, 0.12) !important;
  border-color: rgba(252, 165, 165, 0.35) !important;
  color: #fecaca !important;
}

.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;
}

/* Chats link + badge in header */
.site-header .site-header-chat-link .message-badge-count {
  font-size: 0.62rem;
  font-weight: 700;
  min-width: 1.15rem;
  padding: 0.18em 0.42em;
  line-height: 1.2;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 4px rgba(220, 38, 38, 0.35);
}

.site-header .site-header-chat-link .message-badge-zero {
  font-size: 0.68rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(226, 232, 240, 0.55) !important;
}

.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;
}

.site-floating-actions {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1025;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.site-floating-action,
.site-floating-actions .site-header-chat-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.42rem;
  min-width: 8.25rem;
  justify-content: center;
  border-radius: 999px;
  padding: 0.62rem 0.9rem !important;
  color: #f8fafc !important;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.92));
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  text-decoration: none;
}

.site-floating-action--support {
  border-color: rgba(56, 189, 248, 0.34);
  background: linear-gradient(145deg, rgba(12, 74, 110, 0.96), rgba(15, 23, 42, 0.94));
}

.site-floating-action--support .site-floating-action__icon {
  color: #7dd3fc;
}

.site-floating-actions .site-header-chat-link {
  border-color: rgba(167, 139, 250, 0.38);
  background: linear-gradient(145deg, rgba(76, 29, 149, 0.94), rgba(15, 23, 42, 0.94));
}

.site-floating-actions .site-header-chat-link .site-header-icon-tone--chats {
  color: #c4b5fd !important;
}

.site-floating-action:hover,
.site-floating-action:focus,
.site-floating-actions .site-header-chat-link:hover,
.site-floating-actions .site-header-chat-link:focus {
  transform: translateY(-1px);
}

.site-floating-action--support:hover,
.site-floating-action--support:focus {
  border-color: rgba(125, 211, 252, 0.58);
  background: linear-gradient(145deg, rgba(14, 116, 144, 0.96), rgba(12, 74, 110, 0.96));
}

.site-floating-actions .site-header-chat-link:hover,
.site-floating-actions .site-header-chat-link:focus {
  border-color: rgba(196, 181, 253, 0.62);
  background: linear-gradient(145deg, rgba(91, 33, 182, 0.96), rgba(49, 46, 129, 0.96));
}

.site-floating-action__icon {
  color: #7dd3fc;
}

.site-floating-actions .site-header-chat-link .message-badge-count {
  font-size: 0.64rem;
  min-width: 1.25rem;
  padding: 0.2em 0.45em;
}

.site-floating-actions .site-header-chat-link .message-badge-zero {
  color: rgba(226, 232, 240, 0.68) !important;
}

@media (max-width: 575.98px) {
  .site-floating-actions {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .site-floating-action,
  .site-floating-actions .site-header-chat-link {
    min-width: 7.5rem;
    padding: 0.55rem 0.78rem !important;
  }
}

.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-pg {
  background: #f5f3ff;
  border-color: #c4b5fd;
  color: #5b21b6;
}

.chip-neutral {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.info-icon {
  display: inline-block;
  width: 1.2rem;
}

/* —— Simple admin review desk —— */
.admin-review-page {
  max-width: 1180px;
  margin-inline: auto;
}

.admin-review-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.admin-review-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -45% 42%;
  height: 15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  filter: blur(2px);
  transform: rotate(-10deg);
  z-index: -1;
}

.admin-review-hero__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-review-hero__copy {
  max-width: 46rem;
}

.admin-review-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.45rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-review-title {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.admin-review-subtitle {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.86);
}

.admin-review-hero__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-review-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.admin-review-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(219, 234, 254, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.admin-review-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 14px;
  font-size: 1.15rem;
}

.admin-review-stat__icon--total {
  color: #1d4ed8;
  background: #dbeafe;
}

.admin-review-stat__icon--pending {
  color: #92400e;
  background: #fef3c7;
}

.admin-review-stat__icon--approved {
  color: #166534;
  background: #dcfce7;
}

.admin-review-stat__icon--rejected {
  color: #991b1b;
  background: #fee2e2;
}

.admin-review-stat__meta {
  min-width: 0;
}

.admin-review-stat__value {
  display: block;
  color: #0f172a;
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1.05;
}

.admin-review-stat__label {
  display: block;
  margin-top: 0.2rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.admin-review-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.admin-review-bulk {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-review-select-all {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-review-select-all:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.6;
}

.admin-review-selected-count {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.admin-review-card {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(219, 234, 254, 0.95);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.admin-review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.62);
  box-shadow: 0 18px 38px rgba(30, 64, 175, 0.14);
}

.admin-review-card--selected {
  border-color: rgba(37, 99, 235, 0.8);
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.12),
    0 18px 38px rgba(30, 64, 175, 0.14);
}

.admin-review-card__media {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0, #dbeafe);
}

.admin-review-card__select {
  position: absolute;
  right: 0.8rem;
  top: 0.8rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  cursor: pointer;
}

.admin-review-card__select .form-check-input {
  margin: 0;
  width: 1.05rem;
  height: 1.05rem;
  cursor: pointer;
}

.admin-review-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-review-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #64748b;
  font-size: 2rem;
}

.admin-review-status {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.admin-review-status--pending {
  color: #713f12;
  background: #fef3c7;
}

.admin-review-status--approved {
  color: #14532d;
  background: #dcfce7;
}

.admin-review-status--rejected {
  color: #7f1d1d;
  background: #fee2e2;
}

.admin-review-status--neutral {
  color: #334155;
  background: #f8fafc;
}

.admin-review-card__body {
  display: flex;
  flex-direction: column;
  min-height: 18.5rem;
  padding: 1rem;
}

.admin-review-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.admin-review-card__title {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.admin-review-card__id {
  flex: 0 0 auto;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
}

.admin-review-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.admin-review-meta {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.admin-review-meta div {
  display: grid;
  grid-template-columns: minmax(5.3rem, 0.45fr) 1fr;
  gap: 0.6rem;
  align-items: baseline;
}

.admin-review-meta dt {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-review-meta dd {
  margin: 0;
  min-width: 0;
  color: #1e293b;
  font-size: 0.88rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.admin-review-card__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #e2e8f0;
}

.admin-review-card__actions form {
  margin: 0;
}

.admin-review-card__closed {
  display: inline-flex;
  align-items: center;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-review-empty {
  text-align: center;
  padding: 2.4rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed rgba(148, 163, 184, 0.7);
}

.admin-review-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 0.8rem;
  border-radius: 20px;
  color: #2563eb;
  background: #dbeafe;
  font-size: 1.8rem;
}

@media (max-width: 991.98px) {
  .admin-review-stats,
  .admin-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .admin-review-hero__actions {
    justify-content: stretch;
    width: 100%;
  }

  .admin-review-hero__actions .btn,
  .admin-review-hero__actions form {
    flex: 1 1 auto;
  }

  .admin-review-hero__actions .btn {
    width: 100%;
  }

  .admin-review-stats,
  .admin-review-grid {
    grid-template-columns: 1fr;
  }

  .admin-review-bulk {
    justify-content: stretch;
    width: 100%;
  }

  .admin-review-bulk .btn {
    flex: 1 1 auto;
  }

  .admin-review-card__media {
    height: 170px;
  }
}

.premium-footer {
  margin-top: 0.75rem;
  background: linear-gradient(90deg, #111827, #172033);
  border-top: none;
  padding: 0.45rem 0;
  font-size: 0.78rem;
}

.premium-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.85rem;
  min-height: 26px;
}

.premium-footer__copy {
  color: rgba(255, 255, 255, 0.82);
}

.premium-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
}

.premium-footer__links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.premium-footer__links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.builder-project-title {
  color: #0f4c81;
}

.builder-project-name-input {
  color: #0f4c81;
  font-weight: 700;
}

.builder-dashboard-page {
  --builder-navy: #0f172a;
  --builder-blue: #2563eb;
  --builder-teal: #0f766e;
  --builder-green: #059669;
  --builder-amber: #d97706;
  --builder-purple: #7c3aed;
  --builder-soft-border: #dbeafe;
}

.builder-dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  border-radius: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 15%, rgba(34, 211, 238, 0.22), transparent 32%),
    radial-gradient(circle at 86% 18%, rgba(59, 130, 246, 0.28), transparent 34%),
    linear-gradient(135deg, #0f172a 0%, #0f4c81 46%, #0f766e 100%);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

.builder-dashboard-hero__content {
  max-width: 720px;
}

.builder-dashboard-eyebrow {
  color: #bfdbfe;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.builder-dashboard-eyebrow--dark {
  color: #2563eb;
}

.builder-dashboard-hero__title {
  color: #ffffff;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.builder-dashboard-hero__subtitle {
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
}

.builder-dashboard-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.builder-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.builder-dashboard-stat {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  min-height: 122px;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(219, 234, 254, 0.95);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.builder-dashboard-stat__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #ffffff;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.builder-dashboard-stat__label {
  display: block;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.builder-dashboard-stat strong {
  display: block;
  color: #0f172a;
  font-size: 1.75rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.builder-dashboard-stat small {
  display: -webkit-box;
  color: #64748b;
  font-size: 0.78rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.builder-dashboard-stat--blue .builder-dashboard-stat__icon {
  background: linear-gradient(135deg, #2563eb, #0f4c81);
}

.builder-dashboard-stat--green .builder-dashboard-stat__icon {
  background: linear-gradient(135deg, #059669, #0f766e);
}

.builder-dashboard-stat--amber .builder-dashboard-stat__icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.builder-dashboard-stat--purple .builder-dashboard-stat__icon {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.builder-growth-card,
.builder-empty-card,
.builder-dashboard-project-card {
  border-radius: 22px;
}

.builder-secure-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #bbf7d0;
  font-size: 0.78rem;
  font-weight: 700;
}

.builder-growth-option {
  height: 100%;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.builder-growth-option__icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  border-radius: 13px;
  color: #ffffff;
}

.builder-growth-option--blue .builder-growth-option__icon {
  background: linear-gradient(135deg, #2563eb, #0f4c81);
}

.builder-growth-option--green .builder-growth-option__icon {
  background: linear-gradient(135deg, #059669, #0f766e);
}

.builder-growth-option--gold .builder-growth-option__icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.builder-promo-list {
  display: grid;
  gap: 0.55rem;
}

.builder-promo-row,
.builder-subscription-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.builder-promo-row span,
.builder-subscription-card .small {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
}

.builder-empty-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #0f766e);
  font-size: 1.75rem;
}

.builder-dashboard-project-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--builder-soft-border);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.builder-dashboard-project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(30, 64, 175, 0.14);
}

.builder-dashboard-project-card__media {
  position: relative;
  height: 178px;
  background: #e2e8f0;
}

.builder-dashboard-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.builder-dashboard-project-card__badges {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.builder-dashboard-project-card__body {
  padding: 1rem;
}

.builder-dashboard-project-card__title {
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
  font-weight: 850;
  line-height: 1.2;
}

.builder-dashboard-project-card__meta {
  color: #64748b;
  font-size: 0.82rem;
}

.builder-dashboard-project-card__desc {
  min-height: 2.65rem;
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.builder-dashboard-project-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.builder-dashboard-project-facts div {
  padding: 0.6rem 0.55rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.builder-dashboard-project-facts span {
  display: block;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.builder-dashboard-project-facts strong {
  color: #0f172a;
  font-size: 1.02rem;
}

.builder-dashboard-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: #0f4c81;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-weight: 700;
}

.builder-dashboard-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.builder-list-page {
  --builder-card-border: #dbeafe;
}

.builder-list-toolbar {
  border-radius: 16px;
}

.builder-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 0.65rem;
}

.builder-compact-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.65rem;
  border: 1px solid var(--builder-card-border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.055);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.builder-compact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(30, 64, 175, 0.12);
}

.builder-compact-card__image {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
  background: #e2e8f0;
}

.builder-compact-card__body {
  min-width: 0;
}

.builder-compact-card__title {
  margin: 0 0 0.15rem;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.18;
}

.builder-compact-card__meta {
  color: #64748b;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.builder-compact-card__desc {
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.32;
  margin: 0 0 0.45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.builder-compact-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem 0.6rem;
  color: #64748b;
  font-size: 0.74rem;
}

.builder-compact-card__action {
  display: flex;
  align-items: center;
  padding-left: 0.15rem;
}

.builder-detail-hero {
  border-radius: 20px;
}

.builder-detail-hero__media {
  position: relative;
  min-height: 320px;
  background: #0f172a;
}

.builder-detail-hero__image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.builder-detail-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.38), rgba(15, 23, 42, 0.08));
}

.builder-detail-hero__content {
  position: absolute;
  left: clamp(1.25rem, 4vw, 2.5rem);
  right: clamp(1.25rem, 4vw, 2.5rem);
  bottom: clamp(1.25rem, 4vw, 2.5rem);
  color: #fff;
  max-width: 760px;
}

.builder-detail-hero__title {
  color: #ffffff;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.builder-detail-hero__subtitle {
  color: rgba(255, 255, 255, 0.86);
}

.builder-detail-stat {
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 0.85rem;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.builder-detail-stat__icon {
  color: #2563eb;
  font-size: 1.1rem;
}

.builder-detail-stat__value {
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
}

.builder-detail-stat__label {
  color: #64748b;
  font-size: 0.78rem;
}

.builder-section-heading {
  color: #0f172a;
}

.builder-media-tile {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.builder-media-tile__image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.builder-media-tile figcaption {
  padding: 0.65rem 0.8rem;
  font-size: 0.82rem;
  color: #64748b;
}

.builder-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #dbeafe;
  background: #0f172a;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.builder-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.builder-progress-card {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.builder-enquiry-card {
  border-radius: 18px;
}

@media (max-width: 767.98px) {
  .builder-dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 20px;
  }

  .builder-dashboard-hero__actions {
    justify-content: flex-start;
    width: 100%;
  }

  .builder-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .builder-dashboard-stat {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }

  .builder-dashboard-project-card__media {
    height: 150px;
  }

  .builder-dashboard-project-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .builder-promo-row,
  .builder-subscription-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .builder-compact-grid {
    grid-template-columns: 1fr;
  }

  .builder-compact-card {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .builder-compact-card__image {
    width: 74px;
    height: 74px;
  }

  .builder-compact-card__action {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-left: 0;
  }

  .builder-detail-hero__image {
    height: 280px;
  }

  .builder-detail-hero__overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.86));
  }

  .essential-pay-btn {
    width: 100%;
    min-width: 0;
  }
}

.btn {
  border-radius: 10px;
}

/* —— Landing: full-bleed image banner (breaks out of .container) —— */
.landing-page-softbg {
  position: relative;
  isolation: isolate;
}

.landing-page-softbg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.94) 100%),
    url("/Images/hero-banner.jpg") center top / cover no-repeat;
  opacity: 0.2;
  filter: saturate(0.75) blur(1px);
}

.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;
  filter: saturate(1.05) contrast(1.05) brightness(0.88);
  transform: scale(1.015);
  transition: opacity 0.65s ease, transform 8s ease;
}

.landing-hero-bg-img--fade {
  opacity: 0.15;
}

.landing-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 95% 65% at 15% 22%, rgba(201, 162, 39, 0.22), transparent 55%),
    linear-gradient(108deg, rgba(7, 15, 28, 0.9) 0%, rgba(15, 23, 42, 0.62) 42%, rgba(30, 58, 95, 0.4) 100%),
    linear-gradient(0deg, rgba(7, 15, 28, 0.65) 0%, rgba(7, 15, 28, 0.18) 45%, transparent 78%);
  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;
}

.pac-container {
  z-index: 1100;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}

.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: 12px !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;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.portal-filter-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.8rem 0.9rem 0.65rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  border-left: 3px solid #0d9488;
  background: linear-gradient(90deg, rgba(240, 253, 250, 0.5) 0%, #ffffff 100%);
}

.portal-filter-head-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0d9488, #0f766e);
  color: #fff;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.portal-filter-head-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.portal-filter-head-sub {
  font-size: 0.72rem;
  line-height: 1.25;
}

.portal-filter-reset {
  font-size: 0.74rem !important;
  font-weight: 600;
  color: #64748b !important;
}

.portal-filter-reset:hover {
  color: #0d9488 !important;
}

.portal-filter-section {
  padding: 0.72rem 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.42rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

.portal-filter-label-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #0d9488;
  font-size: 0.82rem;
}

.portal-filter-help {
  margin-top: -0.05rem;
  margin-bottom: 0.35rem !important;
  font-size: 0.68rem;
}

.portal-bhk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
}

@media (min-width: 1200px) {
  .portal-bhk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.portal-bhk-label {
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
  padding: 0.34rem 0.3rem !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: 8px;
  border-color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 500;
  min-height: calc(1.5em + 0.55rem + 2px);
}

.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.18rem;
}

.portal-input-group .input-group-text {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #64748b;
  font-size: 0.78rem;
  padding: 0.28rem 0.5rem;
}

.portal-input-group .form-control {
  border-color: #cbd5e1;
  font-size: 0.8rem;
  padding: 0.28rem 0.45rem;
}

.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.15rem;
  padding-top: 0.72rem !important;
}

.portal-btn-apply {
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.8rem;
  border: none;
  border-radius: 8px;
  font-size: 0.8rem;
  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: 8px;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.45rem 0.8rem;
}

/* Results strip — compact so listings dominate the viewport */
.portal-results-section {
  padding-top: 0.1rem;
}

.portal-results-section .row.g-3 {
  --bs-gutter-x: 0.8rem;
  --bs-gutter-y: 0.8rem;
}

.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-page-size-form {
  padding: 0.25rem 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.portal-page-size-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #64748b;
}

.portal-page-size-select-wrap {
  position: relative;
}

.portal-page-size-select {
  min-width: 4.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  padding-right: 1.8rem;
}

.portal-page-size-select:focus {
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 0 0 0.15rem rgba(13, 148, 136, 0.14);
}

.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 {
  border-radius: 12px !important;
  overflow: hidden;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06) !important;
}

.portal-listing-card .card-body {
  padding: 0.75rem 0.8rem 0.7rem !important;
}

.portal-listing-card .property-card-media {
  border-radius: 12px 12px 0 0;
}

.portal-listing-card .property-card-img {
  height: 168px;
  object-fit: cover;
}

.portal-listing-card .property-card-title {
  font-size: 0.9rem !important;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.35rem !important;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portal-listing-desc {
  line-height: 1.35;
  font-size: 0.76rem;
  margin-bottom: 0.55rem !important;
  color: #64748b !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portal-pill-bhk {
  font-weight: 600;
  font-size: 0.68rem;
  padding: 0.22rem 0.5rem !important;
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !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: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.28rem 0.55rem;
  margin-bottom: 0.55rem !important;
}

.portal-fact-line {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #475569;
  font-size: 0.74rem;
  min-width: 0;
  line-height: 1.3;
}

.portal-fact-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-fact-line i {
  margin-top: 0;
  flex-shrink: 0;
  font-size: 0.78rem;
}

.portal-listing-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 0.45rem !important;
}

.portal-lock-note {
  font-size: 0.72rem !important;
  line-height: 1.35;
}

.portal-rating-pill {
  font-weight: 700;
  font-size: 0.68rem;
  padding: 0.2rem 0.45rem !important;
  background: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}

.property-card-cta {
  font-size: 0.75rem !important;
}

.property-card-cta-arrow-icon {
  font-size: 1rem;
  line-height: 1;
  vertical-align: -0.15em;
  transition: transform 0.2s ease;
}

.property-card-link:hover .property-card-cta-arrow-icon {
  transform: translateX(4px);
}

.portal-pagination-bar {
  margin-top: 0.95rem !important;
  padding: 0.7rem 0.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.portal-pagination-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.portal-pagination-page-pill,
.portal-pagination-count-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 0.72rem;
  font-weight: 600;
}

.portal-pagination-page-pill {
  color: #0f172a;
  background: #ffffff;
}

.portal-pagination-count-pill {
  color: #334155;
  background: #f8fafc;
}

.portal-pagination-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.portal-page-nav-btn {
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
}

.portal-page-nav-btn:disabled {
  opacity: 0.52;
}

@media (max-width: 575.98px) {
  .portal-results-section .row.g-3 {
    --bs-gutter-y: 0.6rem;
  }

  .portal-listing-card .property-card-img {
    height: 152px;
  }

  .portal-listing-card .card-body {
    padding: 0.66rem 0.68rem 0.62rem !important;
  }

  .portal-listing-facts {
    grid-template-columns: 1fr;
    gap: 0.22rem;
  }

  .portal-listing-desc {
    -webkit-line-clamp: 1;
  }

  .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-page-size-form {
    padding: 0.2rem 0.35rem;
  }

  .portal-page-size-label {
    font-size: 0.68rem;
  }

  .portal-page-size-select {
    min-width: 3.95rem;
    font-size: 0.76rem;
  }

  .portal-filter-card {
    top: 5.5rem;
  }

  .portal-pagination-bar {
    padding: 0.6rem 0.65rem;
  }

  .portal-pagination-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* —— 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-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-about-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.detail-about-text {
  color: #334155;
  line-height: 1.65;
}

.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-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;
  }
}

/* —— Property Create page (professional redesign) —— */
.create-property-page {
  --create-border: #dbe4f0;
  --create-bg-soft: #f5f8fd;
  --create-title: #0f172a;
  --create-text: #475569;
  --create-primary: #0d6efd;
  --create-gold: #f59e0b;
}

.create-property-page .owner-dash-animate {
  opacity: 0;
  animation: essentialFadeInUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.create-property-page .create-section {
  border: 1px solid var(--create-border);
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #fcfdff);
  padding: 1.1rem 1.1rem 1.25rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  animation: createFadeInUp .42s ease both;
}

.create-property-page .section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: .95rem;
  color: var(--create-title);
}

.create-property-page .section-heading-main {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.create-property-page .section-heading i {
  width: 2rem;
  height: 2rem;
  border-radius: .7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--create-bg-soft);
  color: var(--create-primary);
  font-size: 1rem;
}

.create-property-page .section-heading h5 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.create-property-page .section-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  font-size: .8rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-weight: 700;
  padding: 0 .5rem;
}

.create-property-page .create-step-panel:not(.is-active) {
  display: none !important;
}

.create-property-page .create-step-panel.is-active {
  display: block !important;
}

.create-milestone {
  border: 1px solid #d7e2ef;
  background: #fff;
  border-radius: 0.95rem;
  padding: 0.65rem 0.5rem 0.75rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.create-milestone__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.15rem;
}

.create-milestone__li {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.create-milestone__li--rail {
  flex: 0 0 auto;
  width: 0.5rem;
  max-width: 1.25rem;
  align-self: center;
  padding-top: 0.85rem;
}

.create-milestone__rail {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #cbd5e1, #e2e8f0);
}

.create-milestone__btn {
  width: 100%;
  max-width: 6.5rem;
  margin: 0 auto;
  border: none;
  background: transparent;
  padding: 0.2rem 0.15rem 0;
  cursor: pointer;
  text-align: center;
  border-radius: 0.75rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.create-milestone__btn:hover {
  background: #f1f5f9;
}

.create-milestone__btn:focus-visible {
  outline: 3px solid rgba(13, 110, 253, 0.35);
  outline-offset: 2px;
}

.create-milestone__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  margin: 0 auto 0.25rem;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  color: #64748b;
  background: #e2e8f0;
  border: 2px solid #cbd5e1;
  transition: all 0.22s ease;
}

.create-milestone__lbl {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  line-height: 1.2;
}

.create-milestone__btn.is-pending .create-milestone__num {
  opacity: 0.75;
}

.create-milestone__btn.is-active .create-milestone__num {
  background: linear-gradient(135deg, #2563eb, #0d6efd);
  color: #fff;
  border-color: #1d4ed8;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

.create-milestone__btn.is-active .create-milestone__lbl {
  color: #1d4ed8;
}

.create-milestone__btn.is-done .create-milestone__num {
  background: #ecfdf5;
  color: #047857;
  border-color: #6ee7b7;
}

.create-milestone__btn.is-done .create-milestone__lbl {
  color: #047857;
}

.create-milestone-meta {
  padding-left: 0.15rem;
}

.create-property-page .create-wizard-footer .btn-success {
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.25);
}

@media (max-width: 575.98px) {
  .create-milestone__lbl {
    font-size: 0.55rem;
  }

  .create-milestone__num {
    width: 1.65rem;
    height: 1.65rem;
    font-size: 0.78rem;
  }
}

.create-property-page .create-progress {
  border: 1px solid #d7e2ef;
  background: #fff;
  border-radius: .95rem;
  padding: .65rem .75rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.create-property-page .create-progress-chip {
  font-size: .78rem;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  padding: .3rem .6rem;
  font-weight: 600;
  transition: all .2s ease;
}

.create-property-page .create-progress-chip:hover {
  background: #eaf1ff;
  border-color: #c0d6ff;
  color: #1e3a8a;
}

.create-property-page .section-note {
  color: var(--create-text);
  font-size: .9rem;
  margin-bottom: .9rem;
}

.create-property-page .form-hint {
  margin-top: .28rem;
  color: #64748b;
  font-size: .78rem;
}

.create-property-page .create-alert {
  border: 1px solid transparent;
  border-radius: .9rem;
  padding: .72rem .85rem;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}

.create-property-page .create-alert i {
  margin-top: .05rem;
  font-size: 1rem;
}

.create-property-page .create-alert--success {
  background: linear-gradient(180deg, #ecfdf3, #ffffff);
  border-color: #a7f3d0;
  color: #065f46;
}

.create-property-page .create-alert--error {
  background: linear-gradient(180deg, #fff1f2, #ffffff);
  border-color: #fecdd3;
  color: #9f1239;
}

.create-property-page .input-group-text {
  background: #f8fafc;
  border-color: #d7e2ef;
  color: #334155;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.create-property-page .form-label {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: .35rem;
}

.create-property-page .form-control,
.create-property-page .form-select {
  border-color: #d6e0ed;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.create-property-page .form-control:focus,
.create-property-page .form-select:focus {
  border-color: #8cb4ff;
  box-shadow: 0 0 0 .24rem rgba(13, 110, 253, 0.16);
}

.create-property-page .form-control:focus + .input-group-text,
.create-property-page .form-select:focus + .input-group-text {
  border-color: #8cb4ff;
}

.create-property-page .input-group:focus-within .input-group-text {
  border-color: #8cb4ff;
  color: #1d4ed8;
  background: #eef4ff;
}

.create-property-page .listing-plan-card {
  position: relative;
  transition: all .2s ease;
  border: 1px solid #d7e2ef !important;
  background: #fff;
  border-radius: .9rem !important;
}

.create-property-page .listing-plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.10);
}

.create-property-page .listing-plan-card:has(.plan-radio:checked) {
  border: 2px solid var(--create-primary) !important;
  background: #f8fbff;
  box-shadow: 0 14px 28px rgba(13, 110, 253, 0.12);
}

.create-property-page .payment-summary-card {
  border: 1px solid #bfdbfe;
  background: linear-gradient(160deg, #eff6ff 0%, #ffffff 100%);
  border-radius: .9rem;
  padding: .9rem 1rem;
}

.create-property-page .payment-amount-input {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.create-property-page .property-create-sticky-actions {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid #cfe0f5;
  border-radius: .95rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  padding: .75rem .85rem;
}

.create-property-page .btn:focus-visible,
.create-property-page .plan-radio:focus-visible {
  outline: none;
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, 0.22);
}

.create-property-page .create-section:nth-of-type(1) { animation-delay: .02s; }
.create-property-page .create-section:nth-of-type(2) { animation-delay: .06s; }
.create-property-page .create-section:nth-of-type(3) { animation-delay: .10s; }
.create-property-page .create-section:nth-of-type(4) { animation-delay: .14s; }
.create-property-page .create-section:nth-of-type(5) { animation-delay: .18s; }
.create-property-page .create-section:nth-of-type(6) { animation-delay: .22s; }

@keyframes createFadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .create-property-page .create-section,
  .create-property-page .listing-plan-card,
  .create-property-page .create-progress-chip,
  .create-milestone__btn,
  .create-milestone__num {
    animation: none !important;
    transition: none !important;
  }

  .create-property-page .owner-dash-animate {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 991.98px) {
  .create-property-page .create-progress {
    padding: .55rem .6rem;
    gap: .35rem !important;
  }

  .create-property-page .create-progress-chip {
    font-size: .72rem;
    padding: .22rem .5rem;
  }

  .create-property-page .create-section {
    padding: .95rem .9rem 1rem;
    border-radius: .9rem;
  }

  .create-property-page .section-heading h5 {
    font-size: .98rem;
  }

  .create-property-page .section-step {
    height: 1.8rem;
    min-width: 1.8rem;
    font-size: .74rem;
  }
}

@media (max-width: 767.98px) {
  .create-property-page {
    padding-bottom: 6.1rem;
  }

  .create-property-page .property-create-form {
    gap: .7rem 0 !important;
  }

  .create-property-page .create-section {
    padding: .85rem .8rem .9rem;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
  }

  .create-property-page .section-heading {
    margin-bottom: .7rem;
  }

  .create-property-page .section-note {
    font-size: .84rem;
    margin-bottom: .75rem;
  }

  .create-property-page .form-label {
    font-size: .88rem;
    margin-bottom: .3rem;
  }

  .create-property-page .property-create-sticky-actions {
    position: fixed;
    left: .7rem;
    right: .7rem;
    bottom: .65rem;
    z-index: 1040;
    margin: 0 !important;
    border-radius: 1rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.96);
  }

  .create-property-page .property-create-sticky-actions > span {
    display: none !important;
  }

  .create-property-page .property-create-sticky-actions .d-flex.flex-wrap.gap-2.ms-sm-auto {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr 1.45fr;
    gap: .5rem !important;
    margin-left: 0 !important;
  }

  .create-property-page .property-create-sticky-actions .btn {
    width: 100%;
    font-size: .9rem;
    padding: .6rem .55rem !important;
    white-space: nowrap;
  }

  .create-property-page .create-alert {
    padding: .62rem .72rem;
    margin-bottom: .75rem;
  }
}

/* —— Plan payment (compact, icon-led, animated) —— */
.essential-service-page {
  max-width: 920px;
  margin-inline: auto;
}

@keyframes essentialFadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes essentialShimmer {
  0% { background-position: 120% 50%; }
  100% { background-position: -20% 50%; }
}

.essential-service-page .essential-animate {
  opacity: 0;
  animation: essentialFadeInUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.essential-service-page .essential-animate:nth-of-type(1) { animation-delay: 0.02s; }
.essential-service-page .essential-animate:nth-of-type(2) { animation-delay: 0.07s; }
.essential-service-page .essential-animate:nth-of-type(3) { animation-delay: 0.12s; }
.essential-service-page .essential-animate:nth-of-type(4) { animation-delay: 0.17s; }
.essential-service-page .essential-animate:nth-of-type(5) { animation-delay: 0.22s; }

.essential-hero {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(125deg, #0369a1 0%, #2563eb 48%, #4f46e5 100%);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.22);
  margin-bottom: 0.65rem;
}

.essential-hero__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.25rem;
}

.essential-hero__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  letter-spacing: -0.02em;
}

.essential-hero__subtitle {
  font-size: 0.8rem;
  line-height: 1.35;
  opacity: 0.94;
}

.essential-perks {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0.4rem 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(191, 219, 254, 0.85);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.essential-perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
}

.essential-perks li i {
  color: #2563eb;
  font-size: 0.85rem;
}

.essential-alert {
  border-radius: 12px !important;
}

.essential-status-card {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #fff;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.65rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.essential-status-card:hover {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.essential-status--ok {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(165deg, rgba(240, 253, 244, 0.65) 0%, #ffffff 55%);
}

.essential-status--warn {
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(165deg, rgba(254, 252, 232, 0.75) 0%, #ffffff 55%);
}

.essential-status--expired {
  border-color: rgba(248, 113, 113, 0.45);
  background: linear-gradient(165deg, rgba(254, 242, 242, 0.75) 0%, #ffffff 55%);
}

.essential-status-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.essential-status-card__title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.essential-status-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25em 0.65em;
}

.essential-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

@media (min-width: 768px) {
  .essential-status-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.essential-stat {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.45rem;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.95);
  min-height: 2.65rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.essential-stat:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.45);
}

.essential-stat__icon {
  flex-shrink: 0;
  font-size: 1rem;
  color: #3b82f6;
  opacity: 0.92;
}

.essential-stat__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.essential-stat__label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.essential-stat__value {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.essential-stat__muted {
  font-weight: 600;
  color: #94a3b8;
}

.essential-purchase {
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 16px;
  background: #fff;
  padding: 0.75rem 0.85rem 0.85rem;
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.06);
}

.essential-plans-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.essential-plans-head__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
}

.essential-plans-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

@media (min-width: 576px) {
  .essential-plans-row {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

.essential-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 0.55rem 0.65rem 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.essential-plan-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 62%
  );
  background-size: 220% 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.essential-plan-card:hover:not(.essential-plan-card--current):not(.essential-plan-card--locked) .essential-plan-card__shine {
  opacity: 1;
  animation: essentialShimmer 0.9s ease forwards;
}

.essential-plan-card:hover:not(.essential-plan-card--current):not(.essential-plan-card--locked) {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
  border-color: rgba(59, 130, 246, 0.45);
}

.essential-plan-card:focus-within {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
  border-color: rgba(37, 99, 235, 0.55);
}

.essential-plan-card--selected:not(.essential-plan-card--current) {
  border: 2px solid #2563eb;
  background: linear-gradient(165deg, #eff6ff 0%, #ffffff 72%);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.14);
}

.essential-plan-card--current {
  opacity: 1;
  cursor: not-allowed;
  border: 2px solid #16a34a;
  background: linear-gradient(165deg, #ecfdf5 0%, #ffffff 74%);
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.15);
}

.essential-plan-card--locked {
  opacity: 0.56;
  cursor: not-allowed;
  background: linear-gradient(165deg, #f8fafc 0%, #eef2f7 100%);
}

.essential-plan-card__price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1d4ed8;
  letter-spacing: -0.02em;
}

.essential-plan-card__name {
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.25;
  margin-top: 0.1rem;
}

.essential-plan-card__meta,
.essential-plan-card__days {
  font-size: 0.65rem;
  color: #64748b;
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
}

.essential-plan-card__badge {
  margin-top: 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.2em 0.45em;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

.essential-plan-card--current .essential-plan-card__badge {
  background: #dcfce7;
  color: #15803d;
}

.essential-plan-card__active-check {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #16a34a, #0f766e);
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.28);
  font-size: 1.05rem;
  z-index: 1;
}

.essential-plan-card__badge--locked {
  background: rgba(15, 23, 42, 0.08);
  color: #64748b;
}

.essential-pay-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.55rem 0.75rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.essential-pay-panel__amount {
  flex: 0 0 auto;
  min-width: 6.5rem;
}

.essential-pay-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.essential-pay-input {
  font-weight: 700;
  max-width: 8rem;
  border-radius: 10px;
  border-color: #cbd5e1;
  background: #f8fafc;
}

.essential-pay-panel__note {
  flex: 1 1 160px;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.35;
  padding-bottom: 0.15rem;
}

.essential-pay-panel__actions {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

@media (min-width: 768px) {
  .essential-pay-panel__actions {
    flex: 1 1 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .essential-pay-panel__note {
    flex: 1 1 200px;
    max-width: 280px;
  }
}

.essential-pay-btn {
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  min-width: 12.5rem;
  padding: 0.85rem 1.6rem;
}

.essential-pay-btn--secure {
  border: 0;
  background: linear-gradient(135deg, #059669 0%, #0f766e 52%, #2563eb 100%);
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.28);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.essential-pay-btn--secure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.24) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}

.essential-pay-btn--secure:hover:not(:disabled) {
  background: linear-gradient(135deg, #047857 0%, #0f766e 52%, #1d4ed8 100%);
  box-shadow: 0 18px 36px rgba(5, 150, 105, 0.34);
  transform: translateY(-1px);
}

.essential-pay-btn--secure:hover:not(:disabled)::after {
  transform: translateX(120%);
}

.essential-pay-btn--secure:disabled {
  background: #94a3b8;
  box-shadow: none;
}

.essential-pay-link {
  color: #2563eb !important;
  font-weight: 600;
}

.essential-success-page {
  max-width: 920px;
  margin-inline: auto;
}

.essential-success-card {
  border-radius: 24px;
}

.essential-success-card__hero {
  position: relative;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: linear-gradient(135deg, #064e3b 0%, #0f766e 50%, #2563eb 100%);
  color: #ffffff;
}

.essential-success-card__icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1.9rem;
}

.essential-success-stat {
  height: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.essential-success-stat__label {
  display: block;
  margin-bottom: 0.35rem;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.essential-success-stat strong {
  display: block;
  color: #0f172a;
  font-size: 1.02rem;
}

.essential-success-stat small {
  display: block;
  margin-top: 0.2rem;
  color: #64748b;
}

.essential-success-reference {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
}

.essential-success-reference code {
  color: #0f766e;
  word-break: break-all;
}

@media (prefers-reduced-motion: reduce) {
  .essential-service-page .essential-animate,
  .essential-plan-card,
  .essential-stat,
  .essential-plan-card__shine {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .essential-plan-card:hover:not(.essential-plan-card--current):not(.essential-plan-card--locked) .essential-plan-card__shine {
    animation: none;
    opacity: 0.12;
  }

  .essential-plan-card:hover:not(.essential-plan-card--current):not(.essential-plan-card--locked) {
    transform: none;
  }

  .essential-stat:hover {
    transform: none;
  }

  .owner-dashboard-page .owner-dash-animate,
  .owner-dash-listing,
  .owner-dash-listing__shine,
  .owner-plan-stat {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .owner-dash-listing:hover .owner-dash-listing__shine {
    animation: none;
    opacity: 0.1;
  }

  .owner-dash-listing:hover {
    transform: none;
  }

  .owner-plan-stat:hover {
    transform: none;
  }

  .my-chats-page .my-chats-animate,
  .my-chats-thread,
  .my-chats-thread__shine {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .my-chats-thread-link:hover .my-chats-thread {
    transform: none;
  }

  .my-chats-thread-link:hover .my-chats-thread__shine {
    animation: none;
    opacity: 0.1;
  }

  .property-chat-page.property-chat-animate,
  .property-chat-row--pop {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .property-inquiries-page .owner-dash-animate,
  .property-mypayments-page .owner-dash-animate {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* —— Owner dashboard (aligned with plan payment polish) —— */
.owner-dashboard-page {
  max-width: 960px;
  margin-inline: auto;
}

.owner-dashboard-page .owner-dash-animate {
  opacity: 0;
  animation: essentialFadeInUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.owner-dash-hero {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(125deg, #0f766e 0%, #0d9488 42%, #2563eb 100%);
  box-shadow: 0 8px 22px rgba(13, 148, 136, 0.22);
  margin-bottom: 0.65rem;
}

.owner-dash-hero__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.25rem;
}

.owner-dash-hero__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  letter-spacing: -0.02em;
}

.owner-dash-hero__subtitle {
  font-size: 0.8rem;
  line-height: 1.35;
  opacity: 0.94;
}

.owner-dash-perks {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0.4rem 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(167, 243, 208, 0.65);
  background: linear-gradient(180deg, #f0fdf9 0%, #ffffff 100%);
}

.owner-dash-perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
}

.owner-dash-perks li i {
  color: #0d9488;
  font-size: 0.85rem;
}

.owner-dash-alert {
  border-radius: 12px !important;
}

.owner-plan-card {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #fff;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.65rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.owner-plan-card:hover {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.owner-plan-card--ok {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(165deg, rgba(240, 253, 244, 0.55) 0%, #ffffff 55%);
}

.owner-plan-card--warn {
  border-color: rgba(245, 158, 11, 0.45);
  background: linear-gradient(165deg, rgba(254, 252, 232, 0.75) 0%, #ffffff 55%);
}

.owner-plan-card--expired {
  border-color: rgba(248, 113, 113, 0.45);
  background: linear-gradient(165deg, rgba(254, 242, 242, 0.75) 0%, #ffffff 55%);
}

.owner-plan-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.owner-plan-card__title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.owner-plan-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25em 0.65em;
}

.owner-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.owner-plan-stat--wide {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .owner-plan-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .owner-plan-stat--wide {
    grid-column: span 1;
  }
}

.owner-plan-stat {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.45rem;
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  min-height: 2.65rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.owner-plan-stat:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 191, 0.45);
}

.owner-plan-stat__icon {
  flex-shrink: 0;
  font-size: 1rem;
  color: #0d9488;
  opacity: 0.92;
}

.owner-plan-stat__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.owner-plan-stat__label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.owner-plan-stat__value {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.owner-plan-stat__muted {
  font-weight: 600;
  color: #94a3b8;
}

.detail-tabs--premium .nav-link {
  border-radius: 10px 10px 0 0 !important;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.detail-tabs--premium .nav-link:hover {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.07);
}

.detail-tabs--premium .nav-link.active {
  color: #1e3a8a;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
  border-bottom-color: transparent !important;
  box-shadow:
    inset 0 -3px 0 0 #2563eb,
    0 6px 18px rgba(37, 99, 235, 0.12);
}

.detail-tabs--premium .nav-link.detail-tab-overview:hover:not(.active) {
  color: #1d4ed8;
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.7) 0%, rgba(204, 251, 241, 0.4) 100%);
}

.detail-tabs--premium .nav-link.detail-tab-overview.active {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
  background: linear-gradient(135deg, #0d9488 0%, #2563eb 45%, #7c3aed 100%) !important;
  border-color: transparent !important;
  box-shadow:
    inset 0 -3px 0 0 rgba(255, 255, 255, 0.38),
    0 10px 30px rgba(37, 99, 235, 0.32) !important;
}

.owner-dash-empty {
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.65);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.owner-dash-empty__icon {
  font-size: 2rem;
  color: #94a3b8;
}

.detail-overview-pane {
  position: relative;
  isolation: isolate;
}

.detail-overview-pane::before {
  content: "";
  position: absolute;
  inset: -0.75rem -0.85rem 0.5rem;
  z-index: -1;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 72% 52% at 10% 6%, rgba(13, 148, 136, 0.22), transparent 52%),
    radial-gradient(ellipse 58% 48% at 92% 10%, rgba(37, 99, 235, 0.2), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(124, 58, 237, 0.12), transparent 58%);
  pointer-events: none;
}

.detail-overview-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  padding: 1.05rem 1.3rem 1.15rem;
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.94) 100%) padding-box,
    linear-gradient(125deg, #14b8a6 0%, #3b82f6 50%, #a855f7 100%) border-box;
  border: 2px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 12px 40px rgba(37, 99, 235, 0.14),
    0 4px 16px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.detail-overview-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.5) 50%, transparent 62%);
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .detail-overview-head::after {
    animation: detail-overview-head-sheen 10s ease-in-out infinite;
  }
}

@keyframes detail-overview-head-sheen {
  0%,
  82%,
  100% {
    opacity: 0;
    transform: translateX(-30%);
  }

  88% {
    opacity: 1;
    transform: translateX(30%);
  }
}

.detail-overview-head__icon {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  background: linear-gradient(145deg, #0d9488 0%, #2563eb 42%, #7c3aed 100%);
  box-shadow:
    0 8px 24px rgba(37, 99, 235, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

.detail-overview-head__title {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0;
}

.detail-overview-head__lead {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

.detail-overview-head__text {
  flex: 1 1 12rem;
  min-width: 0;
}

.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-card--vivid {
  border: solid 2px transparent;
  background:
    linear-gradient(165deg, #ffffff 0%, #f8fafc 45%, #f1f5ff 100%) padding-box,
    linear-gradient(135deg, #0d9488 0%, #2563eb 50%, #9333ea 100%) border-box;
  border-radius: 16px;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 16px 44px rgba(37, 99, 235, 0.14),
    0 6px 18px rgba(13, 148, 136, 0.1);
}

.detail-gallery-card--vivid .detail-gallery-count {
  background: linear-gradient(135deg, #0d9488 0%, #2563eb 55%, #6d28d9 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}

.detail-gallery-card--vivid .detail-thumb:hover {
  border-color: #4f46e5;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.detail-spec-card--vivid {
  padding: 0;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(185deg, #ffffff 0%, #f8fafc 55%, #faf5ff 100%);
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.22),
    0 22px 52px rgba(124, 58, 237, 0.14),
    0 10px 26px rgba(13, 148, 136, 0.12);
}

.detail-spec-heading {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 1rem 1.25rem;
  color: #0f172a;
  background: linear-gradient(105deg, #ecfdf5 0%, #e0f2fe 42%, #ede9fe 100%);
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}

.detail-spec-heading i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  color: #fff !important;
  background: linear-gradient(145deg, #0d9488 0%, #2563eb 52%, #6d28d9 100%);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.38);
}

.detail-spec-card--vivid .detail-spec-heading {
  position: relative;
  overflow: hidden;
  padding-bottom: 1.2rem;
  background: linear-gradient(112deg, #ccfbf1 0%, #bae6fd 30%, #ddd6fe 58%, #fef9c3 100%);
  border-bottom: none;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}

.detail-spec-card--vivid .detail-spec-heading::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, #0d9488, #2563eb, #7c3aed, #ea580c);
}

.detail-spec-card--vivid .detail-spec-heading i {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  font-size: 1.2rem;
  box-shadow:
    0 8px 22px rgba(37, 99, 235, 0.45),
    0 0 0 3px rgba(255, 255, 255, 0.55);
}

.detail-spec-grid--vivid.detail-spec-grid {
  padding: 1rem 1.25rem 1.35rem;
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row {
  grid-template-columns: minmax(5.5rem, 7.75rem) 1fr;
  gap: 0.65rem 1rem;
  align-items: center;
  padding: 0.55rem 0.9rem;
  margin-bottom: 0.4rem;
  border-radius: 12px;
  border-bottom: none;
  background: linear-gradient(90deg, rgba(241, 245, 249, 0.98) 0%, rgba(255, 255, 255, 0.88) 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:nth-child(odd) {
  background: linear-gradient(90deg, rgba(239, 246, 255, 0.65) 0%, rgba(255, 255, 255, 0.92) 100%);
  border-color: rgba(191, 219, 254, 0.55);
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:nth-child(3n + 1) {
  box-shadow: inset 4px 0 0 0 #0f766e;
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:nth-child(3n + 2) {
  box-shadow: inset 4px 0 0 0 #1d4ed8;
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:nth-child(3n) {
  box-shadow: inset 4px 0 0 0 #6d28d9;
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow:
    inset 4px 0 0 0 rgba(37, 99, 235, 0.85),
    0 12px 30px rgba(15, 23, 42, 0.1);
}

.detail-spec-grid--vivid.detail-spec-grid dt {
  color: #3730a3;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  font-weight: 700;
  padding: 0.28rem 0.5rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef2ff, #e0f2fe);
  border: 1px solid rgba(129, 140, 248, 0.4);
  line-height: 1.25;
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:nth-child(3n + 1) dt {
  color: #0f766e;
  background: linear-gradient(135deg, #ecfdf5, #ccfbf1);
  border-color: rgba(45, 212, 191, 0.55);
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:nth-child(3n + 2) dt {
  color: #1e40af;
  background: linear-gradient(135deg, #eff6ff, #bfdbfe);
  border-color: rgba(59, 130, 246, 0.55);
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:nth-child(3n) dt {
  color: #5b21b6;
  background: linear-gradient(135deg, #faf5ff, #e9d5ff);
  border-color: rgba(167, 139, 250, 0.55);
}

.detail-spec-grid--vivid.detail-spec-grid .detail-spec-row:last-child {
  margin-bottom: 0;
}

.detail-spec-grid--vivid.detail-spec-grid dd {
  font-weight: 700;
  color: #0f172a;
  min-width: 0;
  overflow-wrap: anywhere;
}

.owner-dash-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

@media (min-width: 768px) {
  .owner-dash-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.owner-dash-listing {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0.85rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(191, 219, 254, 0.95);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.24s ease,
    border-color 0.2s ease;
}

.owner-dash-listing__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 62%
  );
  background-size: 220% 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.owner-dash-listing:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.12);
  border-color: rgba(59, 130, 246, 0.45);
}

.owner-dash-listing:hover .owner-dash-listing__shine {
  opacity: 1;
  animation: essentialShimmer 0.9s ease forwards;
}

.owner-dash-listing__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.owner-dash-listing__title {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.02em;
  flex: 1 1 auto;
  min-width: 0;
}

.owner-dash-listing__status {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.35em 0.55em;
}

.owner-dash-listing__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.45rem;
}

.owner-dash-meta {
  margin: 0 0 0.5rem;
  flex: 1 1 auto;
}

.owner-dash-meta__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.65rem;
  align-items: start;
  font-size: 0.75rem;
  margin-bottom: 0.28rem;
}

.owner-dash-meta__dt {
  margin: 0;
  font-weight: 700;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.owner-dash-meta__dt i {
  color: #3b82f6;
  opacity: 0.9;
}

.owner-dash-meta__dd {
  margin: 0;
  color: #1e293b;
  font-weight: 500;
  min-width: 0;
}

.owner-dash-meta__metrics {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.15rem;
  margin-bottom: 0;
}

.owner-dash-metric {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.35rem;
  border-radius: 10px;
  background: rgba(239, 246, 255, 0.9);
  border: 1px solid rgba(191, 219, 254, 0.8);
  gap: 0.08rem;
}

.owner-dash-metric i {
  font-size: 0.95rem;
  color: #2563eb;
}

.owner-dash-metric--pending {
  background: rgba(254, 252, 232, 0.95);
  border-color: rgba(253, 224, 71, 0.65);
}

.owner-dash-metric--pending i {
  color: #ca8a04;
}

.owner-dash-metric__val {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.owner-dash-metric__lbl {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.owner-dash-listing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.15rem;
}

.owner-dash-listing__actions .btn {
  border-radius: 10px;
  font-weight: 600;
}

.owner-dash-closeout {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.owner-dash-closeout__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.35rem;
}

.owner-dash-closeout__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.owner-dash-closeout .form-select {
  max-width: 11rem;
  border-radius: 10px;
  font-size: 0.8rem;
}

.owner-dash-closeout__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-top: 0.35rem;
}

.owner-dash-hide-switch .form-check-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
}

.owner-dash-closeout__hint {
  font-size: 0.68rem;
  color: #64748b;
  margin: 0.4rem 0 0;
  line-height: 1.35;
}

/* —— My conversations —— */
.my-chats-page {
  max-width: 720px;
  margin-inline: auto;
}

.my-chats-page .my-chats-animate {
  opacity: 0;
  animation: essentialFadeInUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.my-chats-hero {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(125deg, #4f46e5 0%, #6366f1 40%, #7c3aed 100%);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.22);
  margin-bottom: 0.65rem;
}

.my-chats-hero__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.25rem;
}

.my-chats-hero__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  letter-spacing: -0.02em;
}

.my-chats-hero__subtitle {
  font-size: 0.8rem;
  line-height: 1.35;
  opacity: 0.94;
}

.my-chats-perks {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0.4rem 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(199, 210, 254, 0.85);
  background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%);
}

.my-chats-perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
}

.my-chats-perks li i {
  color: #4f46e5;
  font-size: 0.85rem;
}

.my-chats-empty {
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.65);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.my-chats-empty__icon {
  font-size: 2rem;
  color: #94a3b8;
}

.my-chats-toolbar {
  border-radius: 14px;
  border: 1px solid rgba(199, 210, 254, 0.9);
  background: #fff;
  padding: 0.55rem 0.65rem 0.65rem;
  margin-bottom: 0.55rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.my-chats-toolbar__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.my-chats-toolbar__count {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.my-chats-toolbar__new {
  border-radius: 10px;
  font-weight: 600;
}

.my-chats-toolbar__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: stretch;
}

.my-chats-search {
  flex: 1 1 180px;
  min-width: 0;
}

.my-chats-search .input-group-text {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #64748b;
}

.my-chats-search .form-control {
  border-color: #e2e8f0;
  border-radius: 0 10px 10px 0;
  font-size: 0.82rem;
}

.my-chats-role-group {
  flex: 0 1 auto;
}

.my-chats-role-group .btn {
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.78rem;
}

.my-chats-role-group .btn.active {
  background: #eef2ff;
  border-color: #a5b4fc;
  color: #3730a3;
}

.my-chats-grid {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.my-chats-thread-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
}

.my-chats-thread-link:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.45);
  outline-offset: 2px;
}

.my-chats-thread {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    border-color 0.2s ease;
}

.my-chats-thread__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 62%
  );
  background-size: 220% 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.my-chats-thread-link:hover .my-chats-thread {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(79, 70, 229, 0.12);
  border-color: rgba(129, 140, 248, 0.55);
}

.my-chats-thread-link:hover .my-chats-thread__shine {
  opacity: 1;
  animation: essentialShimmer 0.85s ease forwards;
}

.my-chats-thread__main {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.my-chats-thread__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.my-chats-thread__role {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.3em 0.55em;
}

.my-chats-thread__role--buyer {
  background: #dbeafe !important;
  color: #1e40af !important;
}

.my-chats-thread__role--owner {
  background: #fef3c7 !important;
  color: #92400e !important;
}

.my-chats-thread__id {
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
}

.my-chats-thread__new {
  font-size: 0.62rem;
  font-weight: 700;
}

.my-chats-thread__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.my-chats-thread__meta {
  font-size: 0.72rem;
  color: #64748b;
  display: flex;
  align-items: center;
}

.my-chats-thread__cta {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease;
}

.my-chats-thread-link:hover .my-chats-thread__cta {
  transform: translateX(2px);
}

.my-chats-no-match {
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: 12px;
  border: 1px dashed rgba(203, 213, 225, 0.95);
  background: #fafafa;
  margin-top: 0.45rem;
  color: #94a3b8;
}

/* —— Property negotiation chat (portal polish, mirrors My conversations) —— */
.property-chat-page {
  max-width: 760px;
  margin-inline: auto;
}

.property-chat-page.property-chat-animate {
  opacity: 0;
  animation: essentialFadeInUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.property-chat-hero {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(125deg, #0d9488 0%, #14b8a6 38%, #0ea5e9 100%);
  box-shadow: 0 8px 22px rgba(13, 148, 136, 0.22);
  margin-bottom: 0.65rem;
}

.property-chat-hero__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1.25rem;
}

.property-chat-hero__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.15rem;
  letter-spacing: -0.02em;
}

.property-chat-hero__subtitle {
  font-size: 0.8rem;
  line-height: 1.35;
  opacity: 0.94;
}

.property-chat-perks {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0.4rem 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(165, 243, 252, 0.9);
  background: linear-gradient(180deg, #ecfeff 0%, #ffffff 100%);
}

.property-chat-perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
}

.property-chat-perks li i {
  color: #0d9488;
  font-size: 0.85rem;
}

.property-chat-toolbar {
  border-radius: 14px;
  border: 1px solid rgba(165, 243, 252, 0.95);
  background: #fff;
  padding: 0.5rem 0.65rem;
  margin-bottom: 0.55rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.property-chat-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.property-chat-toolbar__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.property-chat-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.property-chat-toolbar__btn {
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.78rem;
}

.property-chat-page .property-chat-panel {
  position: relative;
  max-height: min(52vh, 520px);
  min-height: 220px;
  border-radius: 16px;
  border: 1px solid rgba(165, 243, 252, 0.75);
  background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 45%, #ffffff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 6px 18px rgba(15, 23, 42, 0.06);
  scroll-behavior: smooth;
}

.property-chat-page .property-chat-panel::before {
  content: "";
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  top: 0.5rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(20, 184, 166, 0.35), rgba(14, 165, 233, 0.45), rgba(20, 184, 166, 0.2));
  pointer-events: none;
  opacity: 0.85;
}

.property-chat-page .property-chat-panel > * {
  position: relative;
  z-index: 1;
}

.property-chat-empty {
  text-align: center;
  padding: 2rem 1rem 1.75rem;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  background: rgba(255, 255, 255, 0.65);
}

.property-chat-empty__icon {
  font-size: 2rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 0.5rem;
}

.property-chat-empty__text {
  font-size: 0.82rem;
  color: #64748b;
  max-width: 18rem;
  margin-inline: auto;
  line-height: 1.45;
}

.property-chat-composer {
  margin: 0;
}

.property-chat-composer__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 14px;
  border: 1px solid rgba(165, 243, 252, 0.95);
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.property-chat-composer__prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.65rem;
  color: #0d9488;
  background: linear-gradient(180deg, #f0fdfa, #ffffff);
  border-right: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 1rem;
}

.property-chat-composer__input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 48px;
  font-size: 0.9rem;
}

.property-chat-composer__input:focus {
  box-shadow: none !important;
}

.property-chat-composer__send {
  border-radius: 0;
  padding-inline: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #0d9488, #0ea5e9);
  border: none;
}

.property-chat-composer__send:hover,
.property-chat-composer__send:focus {
  background: linear-gradient(135deg, #0f766e, #0284c7);
}

.property-chat-composer__send-label {
  font-size: 0.88rem;
}

@media (max-width: 575.98px) {
  .property-chat-composer__send-label {
    display: none;
  }

  .property-chat-composer__send {
    padding-inline: 0.85rem;
  }
}

@keyframes propertyChatRowPop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.property-chat-row--pop {
  animation: propertyChatRowPop 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@media (max-width: 767.98px) {
  .property-chat-page .property-chat-panel {
    max-height: min(44vh, 380px);
    min-height: 180px;
  }
}

/* —— Property inquiries (owner request list; hero aligned with dashboard / Create) —— */
.property-inquiries-page {
  max-width: 960px;
  margin-inline: auto;
}

.property-inquiries-page .owner-dash-animate {
  opacity: 0;
  animation: essentialFadeInUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.property-inquiries-toolbar {
  border-radius: 14px;
  border: 1px solid rgba(199, 210, 254, 0.9);
  background: #fff;
  padding: 0.5rem 0.65rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.property-inquiries-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.property-inquiries-toolbar__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.property-inquiries-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.property-inquiries-toolbar__btn {
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.78rem;
}

.property-inquiries-empty {
  text-align: center;
  padding: 2rem 1rem 1.75rem;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.property-inquiries-empty__icon {
  font-size: 2rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 0.5rem;
}

.property-inquiries-empty__text {
  font-size: 0.88rem;
  color: #64748b;
  max-width: 22rem;
  margin-inline: auto;
  line-height: 1.45;
}

.property-inquiries-table-wrap {
  border-radius: 14px;
  border: 1px solid rgba(199, 210, 254, 0.85);
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.property-inquiries-table thead th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 700;
  border-bottom-color: rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  white-space: nowrap;
}

.property-inquiries-table td {
  font-size: 0.875rem;
  vertical-align: middle;
}

.property-inquiries-table tbody tr:last-child td {
  border-bottom: 0;
}

/* —— My payments (ledger; hero aligned with owner dashboard / Inquiries) —— */
.property-mypayments-page {
  max-width: 960px;
  margin-inline: auto;
}

.property-mypayments-page .owner-dash-animate {
  opacity: 0;
  animation: essentialFadeInUp 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.property-mypayments-toolbar {
  border-radius: 14px;
  border: 1px solid rgba(199, 210, 254, 0.9);
  background: #fff;
  padding: 0.5rem 0.65rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.property-mypayments-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.property-mypayments-toolbar__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #64748b;
}

.property-mypayments-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.property-mypayments-toolbar__btn {
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.78rem;
}

.property-mypayments-empty {
  text-align: center;
  padding: 2rem 1rem 1.75rem;
  border-radius: 14px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.property-mypayments-empty__icon {
  font-size: 2rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 0.5rem;
}

.property-mypayments-empty__text {
  font-size: 0.88rem;
  color: #64748b;
  max-width: 24rem;
  margin-inline: auto;
  line-height: 1.45;
}

.property-mypayments-table-wrap {
  border-radius: 14px;
  border: 1px solid rgba(199, 210, 254, 0.85);
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.property-mypayments-table thead th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 700;
  border-bottom-color: rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  white-space: nowrap;
}

.property-mypayments-table td {
  font-size: 0.8125rem;
  vertical-align: middle;
}

.property-mypayments-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Email verification result */
.verify-email-page {
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verify-email-card {
  width: min(100%, 760px);
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.verify-email-hero {
  position: relative;
  padding: 2.4rem;
  color: #ffffff;
  overflow: hidden;
}

.verify-email-hero::after {
  content: "";
  position: absolute;
  right: -5rem;
  top: -5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.verify-email-hero--success {
  background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 48%, #06b6d4 100%);
}

.verify-email-hero--error {
  background: linear-gradient(135deg, #450a0a 0%, #b91c1c 52%, #f97316 100%);
}

.verify-email-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
}

.verify-email-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.96);
  color: #1d4ed8;
}

.verify-email-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.75rem;
  height: 4.75rem;
  margin-top: 2rem;
  border-radius: 1.5rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-size: 2.45rem;
}

.verify-email-hero h1 {
  position: relative;
  margin: 1.25rem 0 0.65rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.verify-email-hero p {
  position: relative;
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
  line-height: 1.65;
}

.verify-email-body {
  padding: 2rem 2.4rem 2.3rem;
}

.verify-email-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.verify-email-status--success {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.verify-email-status--error {
  color: #9f1239;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

.verify-email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.verify-email-help {
  padding-top: 1.2rem;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
}

.verify-email-help span {
  color: #1d4ed8;
  font-weight: 700;
}