@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --purple: #7c3aed;
  --purple-dark: #6d28d9;
  --purple-deep: #4c1d95;
  --purple-light: #f5f3ff;
  --purple-mid: #8b5cf6;
  --gold: #f59e0b;
  --gold-dark: #d97706;
  --gold-light: #fffbeb;
  --green: #10b981;
  --green-light: #ecfdf5;
  --red: #ef4444;
  --red-light: #fef2f2;
  --yellow: #f59e0b;
  --yellow-light: #fffbeb;
  --dark: #0f0a1e;
  --dark-2: #1a1033;
  --gray: #6b7280;
  --gray-light: #f9fafb;
  --gray-mid: #e5e7eb;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(124, 58, 237, 0.08);
  --shadow-md: 0 8px 40px rgba(124, 58, 237, 0.15);
  --t: 0.22s ease;
  --font-h: 'Poppins', sans-serif;
  --font-b: 'Inter', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}
body {
  font-family: var(--font-b);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}
input,
select,
textarea {
  font-family: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-h);
}

/* PAGES */
.page {
  display: none;
  min-height: 100vh;
}
.page.active {
  display: block;
}
#page-seller.active,
#page-admin.active,
#page-browse.active {
  display: flex;
  flex-direction: column;
}

/* TOAST */
.toast {
  position: fixed;
  top: 88px;
  right: 20px;
  z-index: 9999;
  background: var(--dark);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transform: translateX(130%);
  transition: transform 0.3s;
  max-width: 340px;
  box-shadow: var(--shadow-md);
}
.toast.show {
  transform: translateX(0);
}
.toast.success {
  background: var(--green);
}
.toast.error {
  background: var(--red);
}
.toast.warning {
  background: var(--gold);
  color: var(--dark);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-mid);
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 24px;
}
.nav-wrap {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--purple), var(--purple-mid));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.logo-mark span {
  color: var(--gold);
}
.logo-mark.lg {
  width: 54px;
  height: 54px;
  font-size: 20px;
  border-radius: 14px;
}
.logo-mark.sm {
  width: 30px;
  height: 30px;
  font-size: 11px;
  border-radius: 8px;
}
.logo-text {
  font-family: var(--font-h);
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
}
.logo-text strong {
  color: var(--purple);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-links > a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  transition: var(--t);
}
.nav-links > a:hover {
  color: var(--purple);
  background: var(--purple-light);
}
.nav-ctas {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.nav-cat-wrap {
  position: relative;
}
.nav-cat-btn {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  background: none;
  transition: var(--t);
}
.nav-cat-btn:hover {
  color: var(--purple);
  background: var(--purple-light);
}
.cat-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 210px;
  box-shadow: var(--shadow-md);
  z-index: 100;
}
.cat-dropdown.open {
  display: block;
}
.cat-dropdown a {
  display: block;
  padding: 10px 14px;
  color: var(--gray);
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: var(--t);
}
.cat-dropdown a:hover {
  color: var(--purple);
  background: var(--purple-light);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--t);
}

/* BUTTONS */
.btn-gold {
  background: var(--gold);
  color: #fff;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-h);
  transition: var(--t);
  white-space: nowrap;
  border: none;
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--purple);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--purple);
  transition: var(--t);
}
.btn-ghost:hover {
  background: var(--purple-light);
}
.btn-outline-purple {
  background: transparent;
  color: var(--purple);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--purple);
  transition: var(--t);
}
.btn-outline-purple:hover {
  background: var(--purple-light);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--gray);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--gray-mid);
  transition: var(--t);
}
.btn-ghost-dark:hover {
  background: var(--gray-light);
}
.btn-danger {
  background: var(--red);
  color: #fff;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  transition: var(--t);
}
.btn-danger:hover {
  background: #dc2626;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
}
.full-w {
  width: 100%;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: linear-gradient(
    150deg,
    #0f0a1e 0%,
    #1a1033 40%,
    #2d1b69 70%,
    #4c1d95 100%
  );
  display: flex;
  align-items: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.3) 0%,
    transparent 70%
  );
  top: -200px;
  right: -200px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.12) 0%,
    transparent 70%
  );
  bottom: -100px;
  left: -100px;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237C3AED' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
    repeat;
  pointer-events: none;
}
.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.hero-content h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.08;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}
.hero-accent {
  color: var(--gold);
}
.hero-content > p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 600px;
  line-height: 1.75;
}

/* HERO SEARCH */
.hero-search-box {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 36px;
}
.hsb-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.hsb-tab {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  transition: var(--t);
  cursor: pointer;
}
.hsb-tab.active,
.hsb-tab:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.hsb-fields {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 16px;
}
.hsb-field {
  display: flex;
  flex-direction: column;
}
.hsb-field.flex2 {
  flex: 2;
}
.hsb-field input,
.hsb-field select {
  padding: 13px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  transition: var(--t);
  height: 100%;
}
.hsb-field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.hsb-field input:focus,
.hsb-field select:focus {
  border-color: var(--gold);
  background: rgba(245, 158, 11, 0.08);
}
.hsb-field select option {
  background: #1a1033;
  color: #fff;
}
.hsb-btn {
  background: var(--gold);
  color: #fff;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-h);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--t);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.hsb-btn:hover {
  background: var(--gold-dark);
}
.hsb-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hsb-cats span {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: var(--t);
}
.hsb-cats span:hover {
  background: rgba(124, 58, 237, 0.3);
  border-color: rgba(124, 58, 237, 0.5);
  color: #fff;
}

/* HERO NUMBERS */
.hero-nums {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hn-item {
  text-align: center;
}
.hn-item span {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-h);
}
.hn-item small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}
.hn-div {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}

/* SECTION LABELS */
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

/* CATEGORIES */
.cats-section {
  padding: 96px 0;
  background: var(--gray-light);
}
.cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.cat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--t);
  border: 1.5px solid var(--gray-mid);
  box-shadow: var(--shadow);
}
.cat-card:hover {
  border-color: var(--purple);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.cat-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
.cat-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 4px;
  font-family: var(--font-h);
}
.cat-sub {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 10px;
}
.cat-count {
  font-size: 12px;
  color: var(--purple);
  font-weight: 700;
  background: var(--purple-light);
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-block;
}

/* FEATURED */
.featured-section {
  padding: 96px 0;
}
.feat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

/* LISTING CARDS */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.listing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-mid);
  box-shadow: var(--shadow);
  transition: var(--t);
  cursor: pointer;
}
.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-mid);
}

/* Property illustration */
.card-illustration {
  position: relative;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-illustration-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
}
.card-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(124, 58, 237, 0.85);
  color: #fff;
  backdrop-filter: blur(4px);
}
.card-type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}
.type-rent {
  background: rgba(16, 185, 129, 0.85);
  color: #fff;
}
.type-sale {
  background: rgba(245, 158, 11, 0.9);
  color: #fff;
}
.type-shortlet {
  background: rgba(139, 92, 246, 0.85);
  color: #fff;
}
.card-avail-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
}
.avail-yes {
  background: var(--green);
  color: #fff;
}
.avail-no {
  background: var(--red);
  color: #fff;
}
.card-price {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 10, 30, 0.85);
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}
.card-body {
  padding: 18px;
}
.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  font-family: var(--font-h);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gray);
  font-size: 12px;
  margin-bottom: 10px;
}
.card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  background: var(--gray-light);
  color: var(--gray);
  border: 1px solid var(--gray-mid);
}
.chip.p-chip {
  background: var(--purple-light);
  color: var(--purple-dark);
  border-color: rgba(124, 58, 237, 0.2);
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--gray-mid);
}
.card-seller {
  display: flex;
  align-items: center;
  gap: 8px;
}
.seller-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-dark);
  flex-shrink: 0;
}
.seller-info span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
}
.seller-info small {
  font-size: 11px;
  color: var(--gray);
}
.wa-btn {
  background: #25d366;
  color: #fff;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--t);
  cursor: pointer;
  border: none;
}
.wa-btn:hover {
  background: #1ebe5d;
  transform: scale(1.04);
}

/* Loading / Empty */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px;
  gap: 16px;
  color: var(--gray);
  grid-column: 1/-1;
}
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--gray-mid);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--gray);
  grid-column: 1/-1;
}
.empty-state .ei {
  font-size: 56px;
  margin-bottom: 16px;
}
.empty-state h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  font-family: var(--font-h);
}

/* STATS RIBBON */
.stats-ribbon {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  padding: 36px 24px;
}
.sr-wrap {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.sr-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 40px;
}
.sr-icon {
  font-size: 28px;
}
.sr-item strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-h);
}
.sr-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.sr-div {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
}

/* HOW IT WORKS */
.how-section {
  padding: 96px 0;
  background: var(--gray-light);
}
.how-grid {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.how-card {
  flex: 1;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-mid);
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--t);
}
.how-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple);
}
.how-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 52px;
  font-weight: 900;
  color: rgba(124, 58, 237, 0.06);
  font-family: var(--font-h);
  line-height: 1;
}
.how-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.how-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-h);
}
.how-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}
.how-arrow {
  font-size: 28px;
  color: var(--gray-mid);
  flex-shrink: 0;
}

/* CONTACT */
.contact-section {
  padding: 96px 0;
  background: var(--dark-2);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-left h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
  font-family: var(--font-h);
}
.contact-left p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.7;
}
.agent-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.agent-av {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--purple), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 14px;
  font-family: var(--font-h);
  flex-shrink: 0;
}
.agent-card strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 3px;
}
.agent-card small {
  color: #25d366;
  font-size: 12px;
}
.wa-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-h);
  transition: var(--t);
}
.wa-cta:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}
.contact-right {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-right h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  font-family: var(--font-h);
}
.contact-right .fg {
  margin-bottom: 14px;
}
.contact-right label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.contact-right input,
.contact-right select,
.contact-right textarea {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  outline: none;
  width: 100%;
  transition: var(--t);
}
.contact-right input::placeholder,
.contact-right textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}
.contact-right input:focus,
.contact-right select:focus,
.contact-right textarea:focus {
  border-color: var(--gold);
  background: rgba(245, 158, 11, 0.06);
}
.contact-right select option {
  background: var(--dark-2);
}
.contact-right textarea {
  resize: vertical;
}

/* FOOTER */
.footer {
  background: #060311;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-h);
  font-size: 16px;
  color: #fff;
}
.footer-brand .footer-logo strong {
  color: var(--purple-mid);
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.38);
  font-size: 13px;
  line-height: 1.7;
}
.footer-col h4 {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
  margin-bottom: 10px;
  transition: var(--t);
  cursor: pointer;
}
.footer-col a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.28);
  font-size: 12px;
}

/* BROWSE */
#page-browse.active {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  padding-top: 68px;
}
.browse-layout {
  display: flex;
  width: 100%;
}
.filter-sidebar {
  width: 280px;
  background: #fff;
  border-right: 1px solid var(--gray-mid);
  padding: 24px;
  overflow-y: auto;
  flex-shrink: 0;
  height: calc(100vh - 68px);
  position: sticky;
  top: 68px;
}
.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.filter-header h3 {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-h);
}
.filter-reset {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
}
.filter-close-mobile {
  display: none;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--gray);
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 768px) {
  .filter-close-mobile {
    display: block;
  }
}
.browse-main {
  flex: 1;
  padding: 24px;
  background: var(--gray-light);
  overflow-y: auto;
  min-width: 0;
}
.browse-topbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.filter-toggle-btn {
  background: var(--purple);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  display: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.browse-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  flex: 1;
}
.browse-search-wrap input {
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
  width: 100%;
  color: var(--dark);
}
.sort-sel {
  padding: 10px 12px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: #fff;
  color: var(--dark);
  outline: none;
  cursor: pointer;
}
.browse-info {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 20px;
  font-weight: 500;
}
.fcheck-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}
.fc-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
  cursor: pointer;
  line-height: 1.5;
  flex-shrink: 0;
  min-width: 0;
}
.fc-item span {
  display: inline-block;
  color: var(--gray);
  font-size: 13px;
}
.fc-item input {
  accent-color: var(--purple);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* AUTH */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-left {
  background: linear-gradient(
    160deg,
    var(--dark) 0%,
    var(--dark-2) 40%,
    var(--purple-deep) 100%
  );
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.15);
  border-radius: 50%;
  top: -150px;
  right: -100px;
}
.auth-left::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 50%;
  bottom: -80px;
  left: -60px;
}
.auth-brand {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}
.auth-brand h2 {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  margin: 16px 0 12px;
  font-family: var(--font-h);
}
.auth-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.7;
}
.auth-perks {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.perk span {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.perk p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}
.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--gray-light);
  overflow-y: auto;
}
.auth-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-md);
}
.auth-card h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
  font-family: var(--font-h);
}
.auth-sub {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 28px;
}
.auth-switch {
  text-align: center;
  font-size: 14px;
  color: var(--gray);
  margin-top: 14px;
}
.auth-switch a {
  color: var(--purple);
  font-weight: 600;
}
.admin-note {
  text-align: center;
  margin-top: 12px;
  padding: 10px;
  background: var(--gray-light);
  border-radius: var(--radius-sm);
}
.admin-note small {
  color: var(--gray);
  font-size: 12px;
}

/* FORMS */
.fg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.fg label {
  font-size: 11px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.fg input,
.fg select,
.fg textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--dark);
  background: #fff;
  outline: none;
  transition: var(--t);
  width: 100%;
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.08);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.pw-wrap {
  position: relative;
}
.pw-wrap input {
  padding-right: 48px;
}
.pw-wrap button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  color: var(--gray);
}
.form-section {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-dark);
  background: var(--purple-light);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin: 8px 0 16px;
  border-left: 3px solid var(--purple);
  font-family: var(--font-h);
  letter-spacing: 0.3px;
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.terms-box {
  background: var(--gold-light);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--dark);
  line-height: 1.6;
  cursor: pointer;
}
.terms-check input {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* AGENCY FEE BOX */
.agency-fee-box {
  background: linear-gradient(135deg, var(--purple-light), #ede9fe);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 16px;
}
.afb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.afb-row span {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}
.afb-amount {
  font-size: 20px;
  font-weight: 800;
  color: var(--purple);
  font-family: var(--font-h);
}
.agency-fee-box small {
  font-size: 12px;
  color: var(--gray);
}

/* DASHBOARD */
.dash-layout {
  display: flex;
  min-height: 100vh;
}
.dash-sidebar {
  width: 260px;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform 0.3s;
}
.ds-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.ds-header span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  flex: 1;
}
.ds-close {
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: auto;
}
.ds-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
}
.ds-av {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--purple), var(--purple-mid));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 15px;
  font-family: var(--font-h);
  flex-shrink: 0;
}
.ds-av.sm {
  width: 32px;
  height: 32px;
  font-size: 11px;
}
.ds-av.admin-av {
  background: linear-gradient(135deg, var(--gold), #f97316);
}
.ds-profile strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.ds-profile small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}
.ds-nav {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.ds-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--t);
}
.ds-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.ds-link.active {
  background: linear-gradient(135deg, var(--purple), var(--purple-mid));
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}
.ds-logout {
  margin-top: auto;
  color: rgba(255, 100, 100, 0.65);
}
.ds-logout:hover {
  background: rgba(220, 38, 38, 0.1);
  color: #ef4444;
}
.dash-main {
  flex: 1;
  margin-left: 260px;
  background: var(--gray-light);
  min-height: 100vh;
}
.dash-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 32px;
  background: #fff;
  border-bottom: 1px solid var(--gray-mid);
  position: sticky;
  top: 0;
  z-index: 10;
}
.ds-toggle {
  font-size: 20px;
  cursor: pointer;
  display: none;
  padding: 4px;
  background: none;
  border: none;
}
.dash-topbar h2 {
  font-size: 20px;
  font-weight: 700;
  flex: 1;
  font-family: var(--font-h);
}
.admin-badge-tag {
  background: linear-gradient(135deg, var(--purple), var(--gold));
  color: #fff;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--font-h);
}
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  padding: 24px 32px 0;
}
.dstat {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  border: 1px solid var(--gray-mid);
  border-top: 3px solid var(--purple);
}
.dstat.purple {
  border-top-color: var(--purple);
}
.dstat.gold {
  border-top-color: var(--gold);
}
.dstat.green {
  border-top-color: var(--green);
}
.dstat.yellow {
  border-top-color: var(--yellow);
}
.dstat.red {
  border-top-color: var(--red);
}
.dstat span {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--purple);
  font-family: var(--font-h);
}
.dstat.gold span {
  color: var(--gold);
}
.dstat.green span {
  color: var(--green);
}
.dstat.yellow span {
  color: var(--yellow);
}
.dstat.red span {
  color: var(--red);
}
.dstat small {
  font-size: 12px;
  color: var(--gray);
  margin-top: 4px;
  display: block;
}
.seller-tab,
.admin-tab {
  display: none;
  padding: 24px 32px;
}
.seller-tab.active,
.admin-tab.active {
  display: block;
}
.my-listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.dash-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-mid);
  max-width: 900px;
  margin-top: 24px;
}
.dfh {
  margin-bottom: 28px;
}
.dfh h3 {
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-h);
  margin-bottom: 6px;
}
.dfh p {
  font-size: 14px;
  color: var(--gray);
}
.form-btns {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}

/* MANAGE CARD */
.manage-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-mid);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.mc-thumb {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  position: relative;
  overflow: hidden;
}
.mc-body {
  padding: 14px;
}
.mc-title {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 3px;
  font-family: var(--font-h);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mc-meta {
  font-size: 11px;
  color: var(--gray);
  margin-bottom: 10px;
}
.mc-footer {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* STATUS PILLS */
.status-pill {
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.pill-pending {
  background: #fef3c7;
  color: #92400e;
}
.pill-approved {
  background: #d1fae5;
  color: #065f46;
}
.pill-rejected {
  background: #fee2e2;
  color: #991b1b;
}
.pill-available {
  background: #d1fae5;
  color: #065f46;
}
.pill-taken {
  background: #fee2e2;
  color: #991b1b;
}

/* ADMIN */
.admin-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.admin-search-input {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
  background: #fff;
  color: var(--dark);
  transition: var(--t);
}
.admin-search-input:focus {
  border-color: var(--purple);
}
.admin-table {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--gray-mid);
  overflow: hidden;
  margin-top: 8px;
}
.admin-row {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-mid);
  transition: var(--t);
}
.admin-row:last-child {
  border-bottom: none;
}
.admin-row:hover {
  background: var(--gray-light);
}
.ar-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.ar-info {
  flex: 1;
  min-width: 0;
}
.ar-title {
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-h);
  margin-bottom: 3px;
}
.ar-meta {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 3px;
}
.ar-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.ar-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: flex-start;
  flex-shrink: 0;
}
.detail-btn {
  background: var(--purple-light);
  color: var(--purple-dark);
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
  white-space: nowrap;
}
.detail-btn:hover {
  background: #ede9fe;
}
.seller-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid var(--gray-mid);
  margin-bottom: 10px;
}
.sr-info {
  flex: 1;
}
.sr-info strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-h);
  margin-bottom: 3px;
}
.sr-info span {
  font-size: 12px;
  color: var(--gray);
}
.sr-contact {
  text-align: right;
}
.sr-contact a {
  display: block;
  font-size: 13px;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 3px;
}
.inq-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 20px;
  border: 1px solid var(--gray-mid);
  margin-bottom: 10px;
}
.inq-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 8px;
}
.inq-head strong {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-h);
}
.inq-time {
  font-size: 11px;
  color: var(--gray);
}

/* PROFILE */
.profile-display {
  margin-top: 8px;
}
.profile-av-lg {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 24px;
  font-family: var(--font-h);
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pg-item label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.pg-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

/* MODAL */
.modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 10, 30, 0.8);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-bg.open {
  display: flex;
}
.modal-box {
  background: #fff;
  border-radius: 28px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(124, 58, 237, 0.25);
}
.modal-banner {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px 28px 0 0;
  position: relative;
  overflow: hidden;
}
.modal-body {
  padding: 28px;
}
.modal-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.modal-title {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-h);
  margin-bottom: 8px;
}
.modal-loc {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--gray);
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.modal-price-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  background: var(--purple-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(124, 58, 237, 0.15);
}
.mpb-price {
  font-size: 28px;
  font-weight: 900;
  color: var(--purple);
  font-family: var(--font-h);
  word-break: break-word;
  min-width: 0;
}
.mpb-price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
}
.mpb-right {
  text-align: right;
  min-width: 0;
  flex-shrink: 0;
}
.mpb-right span {
  display: block;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 3px;
}
.mpb-right strong {
  color: var(--gold);
  font-size: 14px;
}
.modal-sec {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  margin: 20px 0 10px;
}
.modal-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}
.mdi {
  background: var(--gray-light);
  border-radius: 10px;
  padding: 10px 14px;
}
.mdi label {
  display: block;
  font-size: 10px;
  color: var(--gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.mdi span {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}
.modal-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.modal-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-h);
  flex: 1;
  transition: var(--t);
  cursor: pointer;
  border: none;
}
.modal-wa:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}
.modal-close {
  padding: 14px 20px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: var(--t);
  background: #fff;
}
.modal-close:hover {
  background: var(--gray-light);
}
.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ADMIN DETAIL */
.detail-section {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  margin: 18px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--gray-mid);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}
.detail-item label {
  display: block;
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.detail-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .how-grid {
    flex-direction: column;
  }
  .how-arrow {
    transform: rotate(90deg);
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50vh;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    z-index: 999;
    overflow-y: auto;
    border-top: 1px solid var(--gray-mid);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links > a {
    padding: 16px 18px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 10px;
    color: var(--dark);
    border-bottom: 1px solid #f1f5f9;
  }
  .nav-links > a:hover {
    background: var(--purple-light);
    color: var(--purple);
  }
  .nav-ctas {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    padding: 12px 0 4px;
    margin-top: 8px;
    border-top: 1px solid var(--gray-mid);
  }
  .nav-ctas button {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border-radius: 10px;
  }
  .nav-cat-wrap {
    width: 100%;
  }
  .nav-cat-btn {
    width: 100%;
    text-align: left;
    padding: 16px 18px;
    font-size: 16px;
  }
  .cat-dropdown {
    position: static;
    margin-top: 4px;
    border: 1px solid var(--gray-mid);
  }
  .hamburger {
    display: flex;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .hsb-fields {
    flex-direction: column;
  }
  .hsb-btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }
  .cats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .auth-left {
    padding: 40px 28px;
    min-height: auto;
  }
  .auth-right {
    padding: 24px;
  }
  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-sidebar {
    transform: translateX(-100%);
  }
  .dash-sidebar.open {
    transform: translateX(0);
  }
  .ds-close {
    display: block;
  }
  .ds-toggle {
    display: block;
  }
  .dash-main {
    margin-left: 0;
  }
  .dash-topbar {
    padding: 16px 20px;
  }
  .seller-tab,
  .admin-tab {
    padding: 16px 20px;
  }
  .dash-stats-row {
    padding: 16px 20px 0;
  }
  .filter-sidebar {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    bottom: 0;
    z-index: 200;
    width: 280px;
    background: #fff;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s;
    border-right: 1px solid var(--gray-mid);
    padding: 24px;
  }
  .filter-sidebar.open {
    display: flex;
    flex-direction: column;
    transform: translateX(0);
  }
  .filter-toggle-btn {
    display: block;
  }
  #page-browse.active {
    flex-direction: column;
  }
  .browse-main {
    padding: 16px;
  }
  .browse-layout {
    flex-direction: column;
  }
  .listings-grid {
    grid-template-columns: 1fr;
  }
  .modal-details-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .ar-top {
    flex-direction: column;
  }
  .contact-section .contact-grid {
    gap: 32px;
  }
  .sr-wrap {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .sr-item {
    padding: 0 24px;
    min-width: 140px;
    flex-shrink: 0;
  }
  .dash-form-wrap {
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .cats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hsb-cats {
    display: none;
  }
  .hero-nums {
    gap: 16px;
  }
}

/* FIXes */
/* ===== FIX: Modal banner badges — proper centering, no overlap ===== */
.modal-banner {
  position: relative;
}
.modal-banner .card-type-badge,
.modal-banner .card-avail-badge,
.modal-banner .status-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
}
.modal-banner .card-type-badge {
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  font-size: 11px;
}
.modal-banner .card-avail-badge {
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  font-size: 11px;
}
.modal-banner .status-pill {
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  font-size: 11px;
}
/* When both avail badge and status pill stack on the left (admin detail modal) */
.modal-banner .status-pill ~ .card-avail-badge {
  top: 54px;
}

/* Forgotten Password */

.fp-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.fp-modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-md, 0 10px 40px rgba(0, 0, 0, 0.15));
}
.fp-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.fp-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-h);
  color: var(--dark);
}
.fp-modal-close {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--gray);
  padding: 4px;
}
.fp-modal-close:hover {
  color: var(--dark);
}

/* ============================================================
   NEW STYLES — Free listing banner, payment box, WhatsApp ads
   Append this entire block to the END of your existing style.css
   ============================================================ */

/* Free listing countdown banner (hero) */
.free-listing-banner {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.free-listing-banner.ended {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* WhatsApp ads CTA button (homepage contact section) */
.wa-ads-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  margin-top: 14px;
  transition: var(--t);
  cursor: pointer;
}
.wa-ads-cta:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

/* Payment info box (seller dashboard, Add Listing form) */
.payment-info-box {
  background: var(--purple-light);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.pib-title {
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 8px;
  font-family: var(--font-h);
  font-size: 15px;
}
.pib-countdown {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 10px;
}
.pib-details {
  font-size: 14px;
  line-height: 1.8;
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
}
.pib-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
}
.pib-checkbox input {
  width: 17px;
  height: 17px;
  accent-color: var(--purple);
}

/* Admin listing row — paid/unpaid indicator */
.pill-paid {
  background: #d1fae5;
  color: #065f46;
}
.pill-unpaid {
  background: #fef3c7;
  color: #92400e;
}

/* copy btn */
.copy-acct-btn {
  background: var(--purple-light);
  color: var(--purple-dark);
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 8px;
}
.copy-acct-btn:hover {
  background: #ede9fe;
}
