:root {
  --bg0: #ffffff;
  --bg1: #ffffff;
  --card: #ffffff;
  --card2: #ffffff;
  --text: rgba(15, 23, 42, 0.96);
  --muted: rgba(15, 23, 42, 0.72);
  --stroke: rgba(15, 23, 42, 0.12);
  --accent: #0ea5e9;
  --accent2: #d946ef;
  --danger: #e11d48;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
  --radius: 16px;
  --radius2: 22px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  background: var(--bg0);
}

body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background: #ffffff;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::placeholder {
  color: rgba(15, 23, 42, 0.52);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.statusBanner {
  max-width: 1180px;
  margin: 12px auto 0;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(14, 165, 233, 0.24);
  background: rgba(14, 165, 233, 0.1);
  color: rgba(15, 23, 42, 0.92);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
  white-space: pre-line;
}

.statusBanner a {
  color: var(--accent);
}

.brandTitle {
  font-weight: 800;
  letter-spacing: 0.3px;
}

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

@supports (-webkit-background-clip: text) {
  .brandTitle {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.brandSub {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.searchWrap {
  width: 100%;
}

.searchInput {
  width: 100%;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 999px;
  outline: none;
}

.searchInput:focus {
  border-color: rgba(14, 165, 233, 0.55);
  box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.14);
}

.appLogo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.82);
}

.topActions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 18px 34px;
  display: grid;
  gap: 16px;
  flex: 1 1 auto;
}

.panel {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
}

.categoriesPanel {
  padding: 14px;
}

.catsHeader {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.catsTitle {
  font-weight: 900;
  letter-spacing: 0.2px;
}

.catsHint {
  font-size: 12px;
  color: var(--muted);
}

.categoryRow {
  display: block;
}

.categoryDropdownWrap {
  display: grid;
  gap: 8px;
  max-width: 430px;
}

.categoryDropdown {
  font-weight: 800;
  padding-right: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
    rgba(255, 255, 255, 0.96);
}

.categoryMeta {
  font-size: 12px;
  color: var(--muted);
  padding-left: 2px;
}

.filters {
  padding: 14px;
}

.filtersRow {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.field {
  display: grid;
  gap: 6px;
}

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

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  outline: none;
}

.textarea {
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(14, 165, 233, 0.55);
  box-shadow: 0 0 0 5px rgba(14, 165, 233, 0.14);
}

.btn {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition:
    transform 120ms ease,
    background 120ms ease,
    border-color 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.97);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn:disabled:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.84);
}

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

.btnPrimary {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow:
    0 18px 45px rgba(14, 165, 233, 0.22),
    0 16px 40px rgba(217, 70, 239, 0.18);
}

.btnPrimary:hover {
  background: linear-gradient(135deg, #2ab6f2, #e25cff);
}

.btnWhats {
  border-color: rgba(34, 197, 94, 0.45);
  color: #ffffff;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 18px 45px rgba(34, 197, 94, 0.18);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btnWhats:hover {
  background: linear-gradient(135deg, #22c55e, #4ade80);
}

.contactActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btnGhost {
  background: rgba(255, 255, 255, 0.6);
}

.btnDanger {
  border-color: rgba(225, 29, 72, 0.45);
  background: rgba(225, 29, 72, 0.12);
}

.btnDanger:hover {
  border-color: rgba(225, 29, 72, 0.58);
  background: rgba(225, 29, 72, 0.18);
}

.listingsPanel {
  padding: 14px;
}

.listingsHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.card {
  border: 1px solid var(--stroke);
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px;
  cursor: pointer;
  transition:
    transform 140ms ease,
    border-color 140ms ease,
    background 140ms ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, 0.52);
  background: var(--card2);
}

.thumb {
  width: 100%;
  height: 142px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.32),
    rgba(217, 70, 239, 0.26)
  );
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
}

.photoPreview {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.photoPreview img {
  width: 100%;
  height: 62px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.7);
}

.photoGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.photoGrid a {
  display: block;
}

.photoGrid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.7);
}

.cardTitle {
  font-weight: 700;
  margin-bottom: 6px;
}

.cardMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.cardBottom {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

.whatsMini {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.32);
  background: rgba(16, 185, 129, 0.1);
  color: rgba(15, 23, 42, 0.9);
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.whatsMini:hover {
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.74);
}

.price {
  font-weight: 800;
  color: var(--accent);
}

.interestToggle {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(15, 23, 42, 0.8);
  display: grid;
  place-items: center;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}

.interestToggle.isOn {
  border-color: rgba(14, 165, 233, 0.6);
  background: rgba(14, 165, 233, 0.14);
  color: rgba(14, 165, 233, 0.95);
}

.interestToggle:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.35);
  outline-offset: 2px;
}

.detailCover {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  display: block;
  background: rgba(255, 255, 255, 0.7);
}

.detailActionsRow {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(10px);
  z-index: 20;
}

.modal.isOpen {
  display: flex;
}

.modalCard {
  width: min(560px, 100%);
  border: 1px solid var(--stroke);
  border-radius: var(--radius2);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  padding: 16px;
}

.modalCardWide {
  width: min(920px, 100%);
}

.modalHead {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  padding: 10px 8px 14px;
}

.authLogo {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.7);
}

.modalTitle {
  font-size: 18px;
  font-weight: 800;
}

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

.form {
  display: grid;
  gap: 12px;
}

.actionsRow {
  display: flex;
  gap: 10px;
  align-items: center;
}

.errorText {
  color: var(--danger);
  font-size: 13px;
  min-height: 16px;
}

.isHidden {
  display: none !important;
}

.modalTopRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.modalActions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detailTitle {
  font-weight: 900;
  font-size: 18px;
}

.detailBody {
  display: grid;
  gap: 12px;
  color: rgba(15, 23, 42, 0.88);
}

.detailGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detailItem {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.detailItemTitle {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.detailAddress {
  margin-top: 6px;
  color: var(--muted);
}

.link {
  color: var(--accent);
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
}

.gridForm {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fieldWide {
  grid-column: 1 / -1;
}

.payBody {
  display: grid;
  gap: 12px;
}

.payMeta {
  display: grid;
  gap: 6px;
}

.payNote {
  color: var(--muted);
  font-size: 12px;
}

.paypalWrap {
  min-height: 54px;
}

.footer {
  margin-top: 18px;
  padding: 18px 14px 22px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.footerInner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 6px;
}

.footerTitle {
  font-weight: 900;
  letter-spacing: 0.3px;
}

.footerLine {
  color: rgba(15, 23, 42, 0.75);
  font-size: 13px;
}

.footerDivider {
  height: 1px;
  background: rgba(15, 23, 42, 0.1);
  margin: 8px 0;
}

.footerFine {
  color: rgba(15, 23, 42, 0.6);
  font-size: 12px;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.32);
  backdrop-filter: blur(12px);
  animation: splashFade 5s ease forwards;
  pointer-events: auto;
}

.splashCard {
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 28px;
  padding: 26px 28px;
  box-shadow: var(--shadow);
  display: grid;
  justify-items: center;
  gap: 10px;
}

.splashLogo {
  width: 88px;
  height: 88px;
  border-radius: 30px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.7);
}

.splashTitle {
  font-weight: 950;
  letter-spacing: 0.4px;
  font-size: 20px;
}

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

@keyframes splashFade {
  0% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .topRight {
    justify-content: space-between;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filtersRow {
    grid-template-columns: 1fr 1fr;
  }
  .gridForm {
    grid-template-columns: 1fr;
  }
  .detailGrid {
    grid-template-columns: 1fr;
  }
  .photoPreview {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .photoGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .modal {
    align-items: flex-end;
  }
  .modalCard,
  .modalCardWide {
    width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    padding: 14px 14px calc(18px + env(safe-area-inset-bottom));
    overflow: auto;
  }
  .modalTopRow {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.96);
    padding: 6px 0 10px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }
  .detailTitle {
    font-size: 17px;
  }
  .detailBody {
    gap: 10px;
  }
  .detailGrid {
    gap: 10px;
  }
  .detailItem {
    padding: 14px;
  }
  .detailCover {
    height: 180px;
  }
}

@media (max-width: 560px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .photoPreview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .photoGrid {
    grid-template-columns: 1fr;
  }
}

:root {
  --bg0: #040b16;
  --bg1: #0a1222;
  --card: rgba(8, 15, 29, 0.92);
  --card2: rgba(13, 24, 43, 0.96);
  --text: rgba(241, 245, 249, 0.96);
  --muted: rgba(191, 211, 232, 0.74);
  --stroke: rgba(148, 163, 184, 0.18);
  --shadow: 0 28px 70px rgba(2, 6, 23, 0.46);
}

html {
  background: var(--bg0);
}

body {
  background:
    radial-gradient(900px 520px at 6% -10%, rgba(14, 165, 233, 0.18), transparent 58%),
    radial-gradient(840px 460px at 100% 0%, rgba(217, 70, 239, 0.14), transparent 54%),
    linear-gradient(180deg, #030712, #07111f 52%, #020617);
  color: var(--text);
}

::placeholder {
  color: rgba(191, 211, 232, 0.46);
}

.topbar {
  border-bottom-color: rgba(148, 163, 184, 0.14);
  background: rgba(3, 10, 22, 0.82);
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.2);
}

.statusBanner {
  border-color: rgba(56, 189, 248, 0.28);
  background: rgba(14, 165, 233, 0.12);
  color: rgba(226, 232, 240, 0.92);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.3);
}

.searchInput,
.input,
.select,
.textarea,
.categoryDropdown {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
}

.appLogo,
.authLogo,
.splashLogo {
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.34);
  background: rgba(15, 23, 42, 0.78);
}

.panel,
.card,
.modalCard,
.detailItem,
.splashCard {
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(8, 15, 29, 0.9);
  box-shadow: var(--shadow);
}

.btn:not(.btnPrimary):not(.btnWhats):not(.btnDanger) {
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.78);
  color: var(--text);
}

.btn:not(.btnPrimary):not(.btnWhats):not(.btnDanger):hover {
  background: rgba(30, 41, 59, 0.9);
}

.btn:not(.btnPrimary):not(.btnWhats):not(.btnDanger):disabled:hover {
  background: rgba(15, 23, 42, 0.78);
}

.btnGhost {
  background: rgba(15, 23, 42, 0.58);
}

.photoPreview img,
.photoGrid img,
.detailCover {
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.7);
}

.whatsMini {
  color: rgba(226, 232, 240, 0.94);
}

.pill,
.interestToggle {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.74);
  color: rgba(226, 232, 240, 0.92);
}

.modal {
  background: rgba(2, 6, 23, 0.62);
}

.detailBody {
  color: rgba(226, 232, 240, 0.9);
}

.footer {
  border-top-color: rgba(148, 163, 184, 0.14);
  background: rgba(3, 10, 22, 0.78);
}

.footerLine,
.footerFine {
  color: rgba(191, 211, 232, 0.76);
}

.footerDivider {
  background: rgba(148, 163, 184, 0.14);
}

.splash {
  background: rgba(2, 6, 23, 0.58);
}

.splashCard {
  background: rgba(6, 12, 24, 0.94);
}

@media (max-width: 720px) {
  .modalTopRow {
    background: rgba(8, 15, 29, 0.96);
    border-bottom-color: rgba(148, 163, 184, 0.12);
  }
}

/* RentFind launch additions */
.rentfindFooter{margin-top:48px;background:#0b1220;color:#e5e7eb;}
.rentfindFooter .footerInner{max-width:1180px;margin:0 auto;padding:42px 24px;}
.rentfindFooter .footerBrand{font-size:28px;font-weight:900;letter-spacing:-.02em;color:#fff;}
.rentfindFooter .footerTagline{margin-top:6px;color:#aab4c5;}
.rentfindFooter .footerGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:28px;}
.rentfindFooter .footerGrid>div{display:flex;flex-direction:column;gap:9px;}
.rentfindFooter .footerTitle{font-weight:800;color:#fff;margin-bottom:4px;}
.rentfindFooter .link{color:#cbd5e1;text-decoration:none;}
.rentfindFooter .link:hover{text-decoration:underline;}
.rentfindFooter .footerDivider{height:1px;background:rgba(255,255,255,.12);margin:28px 0 18px;}
.rentfindFooter .footerBottom{color:#94a3b8;font-size:13px;}
.authCard{max-width:520px;width:min(92vw,520px);}
.authIntro{color:#64748b;line-height:1.6;}
.authTabs{display:flex;gap:10px;margin:16px 0 20px;}
.paidFeature{display:none!important;}
@media(max-width:720px){.rentfindFooter .footerGrid{grid-template-columns:1fr;}.rentfindFooter .footerInner{padding:34px 18px;}}
