:root {
  --primary: #1E40AF;
  --primary-light: #3B82F6;
  --primary-dark: #102A72;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --bg-main: #F8FAFC;
  --bg-soft: #EEF4FF;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --border-soft: #E2E8F0;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 18px 45px rgba(30, 64, 175, 0.12);
  --shadow-hover: 0 24px 70px rgba(30, 64, 175, 0.18);
  --radius-lg: 24px;
  --radius-xl: 34px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: relative;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 800;
  color: var(--text-muted);
}

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

.menu-btn {
  display: none;
  border: none;
  background: var(--primary);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 1.4rem;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.25s ease;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: #111827;
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border-color: #BFDBFE;
}

/* TEXT */

.eyebrow {
  display: inline-flex;
  color: var(--primary);
  background: #DBEAFE;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  margin: 0 0 20px;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
}

h3 {
  margin: 0 0 10px;
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* HOMEPAGE HERO */

.hero-image {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.34), rgba(15, 23, 42, 0.16)),
    url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-dark-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(15,23,42,0.12), rgba(15,23,42,0.34));
  pointer-events: none;
}

.hero-content-wide {
  position: relative;
  z-index: 2;
  padding: 90px 0 70px;
}

.hero-content-wide h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(2.8rem, 5.6vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-shadow: 0 12px 40px rgba(0,0,0,0.28);
}

.hero-content-wide p {
  max-width: 610px;
  color: rgba(255,255,255,0.88);
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 30px;
}

.hero-eyebrow {
  background: rgba(255,255,255,0.16);
  color: #fff;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.22);
}

.hero-search-panel,
.filters {
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  padding: 14px;
  display: grid;
  gap: 10px;
  align-items: center;
}

.hero-search-panel {
  width: min(100%, 1100px);
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  box-shadow: 0 30px 90px rgba(0,0,0,0.26);
}

.hero-search-panel input,
.hero-search-panel select,
.filters input,
.filters select {
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  background: #fff;
  color: var(--text-main);
}

.hero-search-panel input:focus,
.hero-search-panel select:focus,
.filters input:focus,
.filters select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
}

.hero-trust-row {
  margin-top: 34px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-trust-row div {
  min-width: 160px;
  background: rgba(15, 23, 42, 0.42);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  padding: 16px 18px;
  color: #fff;
}

.hero-trust-row strong {
  display: block;
  font-size: 1.5rem;
  color: #fff;
}

.hero-trust-row span {
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

/* SECTIONS */

.section {
  padding: 84px 0;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 38px;
}

.city-grid,
.property-grid,
.process-grid,
.steps-grid {
  display: grid;
  gap: 22px;
}

.city-grid {
  grid-template-columns: repeat(5, 1fr);
}

/* CITY CARDS */

.city-card {
  min-height: 225px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
  transition: 0.25s ease;
}

.city-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.06), rgba(15,23,42,0.68));
  z-index: 1;
}

.city-card:hover,
.property-card:hover,
.process-card:hover,
.step-card:hover,
.how-deep-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.city-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 18px;
  color: #fff;
}

.city-overlay h3 {
  color: #fff;
  margin-bottom: 4px;
}

.city-overlay p {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
}

.city-abuja {
  background-image: url("https://images.unsplash.com/photo-1570129477492-45c003edd2be?auto=format&fit=crop&w=1200&q=80");
}

.city-lagos {
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1200&q=80");
}

.city-port {
  background-image: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1200&q=80");
}

.city-enugu {
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1200&q=80");
}

.city-kano {
  background-image: url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1200&q=80");
}

/* LISTINGS PAGE */

.page-hero {
  padding: 74px 0 34px;
  background:
    radial-gradient(circle at top right, #DBEAFE 0, transparent 30%),
    linear-gradient(180deg, #fff 0%, #F8FAFC 100%);
  text-align: center;
}

.page-hero p {
  max-width: 720px;
  margin: 0 auto;
}

.listings-section {
  padding-top: 40px;
}

.filters {
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  margin-bottom: 34px;
  border-radius: var(--radius-xl);
}

.listings-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 26px;
}

.count-pill {
  background: #DBEAFE;
  color: var(--primary);
  font-weight: 900;
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

/* PROPERTY CARDS */

.soft-section {
  background: var(--bg-soft);
}

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

.property-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: 0.3s ease;
  color: var(--text-main);
}

.property-img {
  height: 230px;
  background-size: cover;
  background-position: center;
}

.img-one {
  background-image: url("https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?auto=format&fit=crop&w=1000&q=80");
}

.img-two {
  background-image: url("images/room1.jpg");
}

.img-three {
  background-image: url("images/room2.jpg");
}

.img-four {
  background-image: url("https://images.unsplash.com/photo-1560185893-a55cbc8c57e8?auto=format&fit=crop&w=1000&q=80");
}

.img-five {
  background-image: url("https://images.unsplash.com/photo-1560185127-6ed189bf02f4?auto=format&fit=crop&w=1000&q=80");
}

.img-six {
  background-image: url("https://images.unsplash.com/photo-1560448204-603b3fc33ddc?auto=format&fit=crop&w=1000&q=80");
}

.property-content {
  padding: 22px;
}

.property-content strong {
  color: var(--primary);
  font-size: 1.15rem;
}

.badge {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.verified {
  background: #DCFCE7;
  color: #166534;
}

.featured {
  background: #FEF3C7;
  color: #92400E;
}

.available {
  background: #DBEAFE;
  color: #1E40AF;
}

.mini-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 14px 0;
}

.mini-features li {
  background: #F1F5F9;
  color: #475569;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

/* HOME HOW PREVIEW */

.home-how-preview {
  background: #fff;
}

.home-how-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: linear-gradient(135deg, #EEF4FF, #FFFFFF);
  border: 1px solid var(--border-soft);
  border-radius: 34px;
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.home-how-box div {
  max-width: 760px;
}

/* PREMIUM PROPERTY PAGE */

.property-detail {
  padding: 46px 0 90px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--primary);
  font-weight: 900;
}

.premium-property-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 24px;
}

.premium-property-header h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin-bottom: 10px;
}

.detail-location {
  font-weight: 800;
}

.property-header-price {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 16px 20px;
  box-shadow: var(--shadow-soft);
  min-width: 230px;
}

.property-header-price span {
  display: block;
  color: var(--text-muted);
  font-weight: 800;
  margin-bottom: 4px;
}

.property-header-price strong {
  color: var(--primary);
  font-size: 1.25rem;
}

.premium-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 12px;
  height: 520px;
  margin-bottom: 30px;
}

.gallery-main,
.detail-image {
  height: 100%;
  border-radius: 34px 0 0 34px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-card);
}

.gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.gallery-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-soft);
}

.gallery-side img:first-child {
  border-radius: 0 34px 0 0;
}

.gallery-side img:last-child {
  border-radius: 0 0 34px 0;
}

.gallery-btn {
  position: absolute;
  right: 18px;
  bottom: 18px;
  border: none;
  background: rgba(255,255,255,0.94);
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.detail-content {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

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

.property-summary-row div {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 16px;
}

.summary-label {
  display: block;
  color: var(--text-muted);
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.premium-features {
  grid-template-columns: 1fr 1fr;
}

.features li {
  background: #F8FAFC;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 12px 14px;
  color: #334155;
  font-weight: 800;
}

.property-note-box {
  margin-top: 28px;
  background: linear-gradient(135deg, #EEF4FF, #FFFFFF);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 22px;
}

.inquiry-card {
  position: relative;
  top: auto;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.price-box {
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 16px;
  margin: 18px 0;
}

.price-box span {
  display: block;
  color: var(--text-muted);
  font-weight: 800;
  margin-bottom: 6px;
}

.price-box strong {
  color: var(--primary);
  font-size: 1.25rem;
}

.full-btn {
  width: 100%;
  margin-top: 12px;
}

.small-note {
  font-size: 0.82rem;
  margin-top: 16px;
}

.booking-trust-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.booking-trust-list div {
  background: #F8FAFC;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 12px 14px;
  color: #334155;
  font-weight: 800;
  font-size: 0.92rem;
}

/* HOW IT WORKS PAGE */

.how-page-hero {
  padding: 90px 0 60px;
}

.how-page-hero h1 {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.how-page-hero p {
  max-width: 760px;
}

.how-deep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.how-deep-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 30px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
  transition: 0.3s ease;
}

.how-deep-card h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  margin-top: 10px;
}

.how-deep-card ul {
  padding-left: 20px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 0;
}

.owner-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.owner-step {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.owner-step h3 {
  color: var(--primary);
}

.process-number {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
}

.trust-strip {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.trust-strip div {
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 18px;
}

.trust-strip strong {
  display: block;
  color: var(--primary);
  margin-bottom: 5px;
  font-weight: 900;
}

.trust-strip span {
  color: var(--text-muted);
  font-weight: 700;
}

/* FORMS / LOGIN / DASHBOARD */

.submit-grid,
.booking-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.submit-info,
.booking-summary,
.premium-form,
.login-choice-card,
.admin-panel,
.stat-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.submit-info,
.booking-summary,
.premium-form {
  border-radius: 28px;
  padding: 30px;
}

.trust-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.trust-list div {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 16px;
}

.trust-list strong {
  display: block;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.trust-list span {
  color: var(--text-main);
  font-weight: 900;
}

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

.form-group label {
  display: block;
  font-weight: 900;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea,
.mini-login-form input {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.auth-section {
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: center;
  padding: 60px 16px;
  background:
    radial-gradient(circle at top right, #DBEAFE 0, transparent 34%),
    linear-gradient(180deg, #fff 0%, #F8FAFC 100%);
}

.login-choice-wrap {
  width: min(100%, 980px);
}

.login-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.login-choice-card {
  border-radius: 32px;
  padding: 32px;
  box-shadow: var(--shadow-hover);
}

.login-choice-card a {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 13px;
  color: #1e40af;
  text-decoration: none;
}

.login-choice-card a:hover {
  text-decoration: underline;
}

.choice-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--bg-soft);
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.mini-login-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.secondary-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 900;
}

.dashboard {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
  background: var(--bg-main);
}

.sidebar {
  background: #0F172A;
  color: #fff;
  padding: 24px;
}

.sidebar img {
  width: 130px;
  background: #fff;
  border-radius: 18px;
  padding: 8px;
  margin-bottom: 28px;
}

.sidebar a {
  display: block;
  color: #CBD5E1;
  padding: 13px 14px;
  border-radius: 14px;
  margin-bottom: 8px;
  font-weight: 800;
}

.sidebar a.active,
.sidebar a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.dashboard-main {
  padding: 34px;
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.stat-card {
  border-radius: 24px;
  padding: 22px;
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 2rem;
  color: var(--primary);
}

.admin-panel {
  border-radius: 28px;
  padding: 24px;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

th,
td {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid var(--border-soft);
}

.table-badge {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
}

.table-badge.pending {
  background: #FEF3C7;
  color: #92400E;
}

.table-badge.approved {
  background: #DCFCE7;
  color: #166534;
}

/* CTA / FOOTER */

.cta {
  padding: 40px 0 90px;
}

.cta-box {
  background:
    radial-gradient(circle at top right, rgba(245,158,11,0.25), transparent 28%),
    linear-gradient(135deg, #1E40AF, #102A72);
  color: #fff;
  border-radius: 36px;
  padding: 58px;
  text-align: center;
}

.cta-box p {
  color: #DBEAFE;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

footer {
  border-top: 1px solid var(--border-soft);
  background: #fff;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-pro {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand img {
  width: 78px;
  margin-bottom: 16px;
}

.footer-email {
  display: inline-block;
  margin-top: 10px;
  font-weight: 800;
  color: var(--accent);
}

.footer-links-grid {
  display: flex;
  gap: 60px;
}

.footer-links h3 {
  margin-bottom: 14px;
  font-size: 16px;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-weight: 700;
}

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

/* RESPONSIVE */

@media (max-width: 1100px) {
  .city-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .property-grid,
  .process-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-search-panel,
  .filters {
    grid-template-columns: 1fr 1fr;
    border-radius: 34px;
  }

  .detail-grid,
  .submit-grid,
  .booking-grid,
  .how-deep-grid {
    grid-template-columns: 1fr;
  }

  .inquiry-card {
    position: static;
  }

  .trust-strip,
  .owner-process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }

  .logo img {
    height: 48px;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    box-shadow: var(--shadow-hover);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hero-image {
    min-height: auto;
    background-position: center;
  }

  .hero-content-wide {
    padding: 70px 0 54px;
  }

  .hero-content-wide h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .hero-search-panel,
  .filters,
  .city-grid,
  .property-grid,
  .process-grid,
  .stats-grid,
  .form-row,
  .login-choice-grid,
  .dashboard,
  .property-summary-row,
  .premium-features {
    grid-template-columns: 1fr;
  }

  .hero-search-panel,
  .filters {
    border-radius: 28px;
  }

  .hero-trust-row {
    flex-direction: column;
  }

  .city-card {
    min-height: 240px;
  }

  .home-how-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .premium-property-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .property-header-price {
    width: 100%;
  }

  .premium-gallery {
    grid-template-columns: 1fr;
    height: auto;
  }

  .gallery-main {
    height: 330px;
    border-radius: 28px;
  }

  .gallery-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-side img {
    height: 160px;
    border-radius: 22px !important;
  }

  .gallery-btn {
    right: 14px;
    bottom: 190px;
  }

  .dashboard-main {
    padding: 20px;
  }

  .dashboard-head {
    flex-direction: column;
    align-items: start;
    gap: 16px;
  }

  .cta-box {
    padding: 36px 22px;
  }

  .cta-actions,
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* PAGE HERO IMAGES FOR INNER PAGES */

.page-image-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,23,42,0.78), rgba(15,23,42,0.42), rgba(15,23,42,0.18)),
    radial-gradient(circle at top right, rgba(59,130,246,0.25), transparent 30%);
}

.page-image-content {
  position: relative;
  z-index: 2;
  padding: 90px 0;
}

.page-image-content h1 {
  max-width: 850px;
  color: #fff;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
  margin-bottom: 20px;
  text-shadow: 0 12px 40px rgba(0,0,0,0.28);
}

.page-image-content p {
  max-width: 680px;
  color: rgba(255,255,255,0.88);
  font-size: 1.12rem;
}

/* STARTUP TIMELINE HOW IT WORKS */

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

.timeline::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: 0.28;
  border-radius: 999px;
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 22px;
  margin-bottom: 34px;
  align-items: stretch;
}

.timeline-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 20px;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 16px 36px rgba(30,64,175,0.28);
  position: relative;
  z-index: 2;
  transition: 0.3s ease;
}

.timeline-content {
  flex: 1;
  background: #fff;
  padding: 26px;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  transition: 0.3s ease;
}

.timeline-content span {
  display: inline-flex;
  color: var(--primary);
  background: #DBEAFE;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.timeline-content h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.timeline-content p {
  margin: 0;
}

.timeline-item:hover .timeline-icon {
  transform: scale(1.08) rotate(-3deg);
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.timeline-item:hover .timeline-content {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* REVEAL ANIMATION */

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* INNER PAGE HERO MOBILE */

@media (max-width: 900px) {
  .page-image-hero {
    min-height: 440px;
  }

  .page-image-content {
    padding: 64px 0;
  }

  .page-image-content h1 {
    font-size: clamp(2.3rem, 11vw, 3.7rem);
  }

  .timeline::before {
    left: 25px;
  }

  .timeline-item {
    gap: 16px;
  }

  .timeline-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 22px;
  }

  .timeline-content {
    padding: 20px;
  }
}
/* SCROLL TO TOP BUTTON - PREMIUM */

.scroll-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;

  background: linear-gradient(135deg, #2563EB, #1E40AF);
  color: #fff;
  font-size: 24px;

  cursor: pointer;

  box-shadow: 0 12px 35px rgba(0,0,0,0.25);

  opacity: 0;
  visibility: hidden;

  transform: translateY(20px) scale(0.9);
  transition: all 0.3s ease;

  z-index: 999;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
  transform: scale(1.12);
  background: linear-gradient(135deg, #F59E0B, #D97706);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.45);
}

html {
  scroll-behavior: smooth;
}

/* ADMIN + UPLOAD + PAYMENT POLISH */

.upload-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 24px;
}

.upload-preview img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.booking-side-note {
  margin-top: 22px;
  background: linear-gradient(135deg, #EEF4FF, #FFFFFF);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 20px;
}

.booking-form-card h2,
.submit-info h2,
.premium-form h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: 20px;
}

.admin-thumb {
  width: 72px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
}

.no-image {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: #F1F5F9;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 900;
}

.payment-panel {
  margin-top: 28px;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.payment-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 24px;
}

html {
  scroll-behavior: smooth;
}

.scroll-top-btn.show {
  animation: scrollPulse 2.4s ease-in-out infinite;
}

.scroll-top-btn:hover {
  transform: scale(1.15);
  background: linear-gradient(135deg, #F59E0B, #D97706);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.45);
  animation: none;
}

@keyframes scrollPulse {
  0% {
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.25);
  }
  50% {
    box-shadow: 0 18px 55px rgba(30, 64, 175, 0.45);
  }
  100% {
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.25);
  }
}

@media (max-width: 900px) {
  .upload-preview,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .admin-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-thumb {
    width: 90px;
    height: 70px;
  }
}

/* PREMIUM HERO COPY + TRUST BADGES */

.hero-proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 18px;
}

.hero-proof-line span {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.46);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(14px);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.hero-trust-badges span {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.property-proof-line span {
  background: #EEF4FF;
  color: var(--primary);
  border: 1px solid var(--border-soft);
}

.property-trust-badges span {
  background: #fff;
  color: var(--text-muted);
  border: 1px solid var(--border-soft);
}

.animated-hero-text,
.animated-hero-title,
.animated-hero-subtitle,
.animated-hero-proof,
.animated-hero-badges {
  opacity: 0;
  transform: translateY(22px);
  animation: heroFadeUp 0.8s ease forwards;
}

.animated-hero-title {
  animation-delay: 0.12s;
}

.hero-secondary-title {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-top: -10px;
  margin-bottom: 18px;
  max-width: 900px;
  text-shadow:
    0 4px 20px rgba(0,0,0,0.45),
    0 2px 10px rgba(0,0,0,0.35);
}

@media (max-width: 768px) {
  .hero-secondary-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 14px;
  }
}

.animated-hero-subtitle {
  animation-delay: 0.24s;
}

.animated-hero-proof {
  animation-delay: 0.36s;
}

.animated-hero-badges {
  animation-delay: 0.48s;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-search-panel,
.page-image-content .btn,
.hero-content-wide .btn {
  animation: heroSoftAppear 0.9s ease forwards;
  animation-delay: 0.58s;
}

@keyframes heroSoftAppear {
  from {
    opacity: 0.75;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-proof-line,
  .hero-trust-badges {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-proof-line span,
  .hero-trust-badges span {
    width: 100%;
    justify-content: flex-start;
  }
}

/* REAL SEARCH + SAVE PROPERTY + AIRBNB GALLERY UPGRADES */

.property-card-wrap {
  position: relative;
}

.property-card-wrap .property-card {
  display: block;
  height: 100%;
}

.save-property-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.92);
  color: #0F172A;
  font-size: 1.45rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: var(--shadow-soft);
  transition: 0.25s ease;
}

.save-property-btn:hover,
.save-property-btn.saved {
  background: #F59E0B;
  color: #fff;
  transform: scale(1.08);
}

.save-detail-btn {
  width: 100%;
  border: 1px solid var(--border-soft);
  background: #fff;
  color: var(--primary);
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 900;
  cursor: pointer;
  margin-bottom: 16px;
  transition: 0.25s ease;
}

.save-detail-btn:hover,
.save-detail-btn.saved {
  background: #F59E0B;
  color: #fff;
  border-color: #F59E0B;
}

.gallery-main,
.gallery-side img {
  cursor: pointer;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.94);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal-content {
  width: min(100%, 1050px);
  text-align: center;
}

.gallery-modal-content img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.5);
}

.gallery-modal-content p {
  color: #fff;
  font-weight: 900;
  margin-top: 14px;
}

.gallery-close {
  position: fixed;
  top: 24px;
  right: 28px;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  font-size: 2rem;
  cursor: pointer;
}

.gallery-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255,255,255,0.14);
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-prev {
  left: 28px;
}

.gallery-next {
  right: 28px;
}

.gallery-close:hover,
.gallery-nav:hover {
  background: #F59E0B;
}

@media (max-width: 900px) {
  .gallery-nav {
    width: 46px;
    height: 46px;
    font-size: 2.2rem;
  }

  .gallery-prev {
    left: 12px;
  }

  .gallery-next {
    right: 12px;
  }

  .gallery-close {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
  }

  .save-property-btn {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}
/* FINAL SAFE TIMELINE + SCROLL BUTTON FIX */

.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding-left: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: 0.35;
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(30, 64, 175, 0.18);
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 22px;
  margin-bottom: 34px;
  align-items: stretch;
}

.timeline-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 20px;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 16px 36px rgba(30, 64, 175, 0.28);
  position: relative;
  z-index: 2;
  transition: 0.3s ease;
}

.timeline-icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 26px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.24), transparent 70%);
  opacity: 0;
  transition: 0.3s ease;
}

.timeline-content {
  flex: 1;
  background: #fff;
  padding: 26px;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  transition: 0.3s ease;
  position: relative;
}

.timeline-content::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 28px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-left: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  transform: rotate(45deg);
}

.timeline-content span {
  display: inline-flex;
  color: var(--primary);
  background: #DBEAFE;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.timeline-content h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.timeline-content p {
  margin: 0;
}

.timeline-item:hover .timeline-icon {
  transform: scale(1.08) rotate(-3deg);
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.timeline-item:hover .timeline-icon::after {
  opacity: 1;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-hover);
}

.scroll-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #2563EB, #1E40AF);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 12px 35px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s ease;
  z-index: 9999;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

.scroll-top-btn:hover {
  transform: scale(1.15);
  background: linear-gradient(135deg, #F59E0B, #D97706);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.45);
  animation: none;
}

@media (max-width: 900px) {
  .timeline::before {
    left: 25px;
  }

  .timeline-item {
    gap: 16px;
  }

  .timeline-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 22px;
  }

  .timeline-content {
    padding: 20px;
  }

  .timeline-content::before {
    top: 23px;
  }
}

.auth-page,
.student-dashboard {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #071827, #0b2d44);
}

.auth-card,
.dashboard-card {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);
}

.auth-card h1,
.dashboard-card h1 {
  margin: 0 0 10px;
  color: #061827;
}

.auth-card p,
.dashboard-card p {
  color: #5f6b76;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0;
}

.auth-tab {
  border: none;
  padding: 13px;
  border-radius: 14px;
  background: #eef3f7;
  cursor: pointer;
  font-weight: 700;
}

.auth-tab.active {
  background: #0b5f8a;
  color: white;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form input {
  padding: 14px;
  border: 1px solid #d8e0e7;
  border-radius: 14px;
  font-size: 15px;
}

.auth-form button,
.logout-btn {
  border: none;
  padding: 14px;
  border-radius: 14px;
  background: #0b5f8a;
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.auth-message {
  margin-top: 16px;
  font-weight: 700;
}

.dashboard-label {
  color: #0b5f8a !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-grid {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.dashboard-grid div {
  padding: 18px;
  border-radius: 18px;
  background: #f4f8fb;
}

.dashboard-grid h3 {
  margin: 0 0 6px;
}
.booking-notification {
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 800;
  border: 1px solid #a7f3d0;
}

.booking-notification.rejected {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

/* =========================
   FINAL LISTINGS DESIGN OVERRIDE (SAFE)
========================= */

/* Page background */
.listings-section {
  background: #f6f8fb;
  padding: 40px 0 80px;
}

/* Layout */
.listings-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* =========================
   FILTER SIDEBAR
========================= */

.filters-sidebar {
  position: relative !important;
  width: 280px !important;

  background: #ffffff;
  border: 1px solid #e5eaf2;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  z-index: 30;
}

@media (min-width: 1101px) {
  .filters-sidebar.filter-fixed {
    position: fixed !important;
    top: 120px !important;
    left: max(16px, calc((100vw - 1180px) / 2)) !important;
    width: 280px !important;
    max-height: calc(100vh - 140px) !important;
    overflow-y: auto !important;
  }
}

.listings-content {
  grid-column: 2;
  min-width: 0;
}

.filters-sidebar h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

/* Inputs */
.filters-sidebar input[type="text"],
.filters-sidebar select {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
  outline: none;
}

.filters-sidebar input:focus,
.filters-sidebar select:focus {
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Filter groups */
.filter-group {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf2f7;
}

.filter-group h4 {
  font-size: 12px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 10px;
  font-weight: 900;
}

/* FIX CHECKBOX ALIGNMENT (IMPORTANT) */
.filter-group label {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  padding: 6px 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f172a;
}

.filter-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #1e40af;
  margin: 0;
}

/* Reset button */
.filters-sidebar .btn {
  width: 100%;
  height: 46px;
  margin-top: 18px;
  border-radius: 12px;
}

/* =========================
   TOP BAR
========================= */

.listings-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.listings-top h2 {
  font-size: 32px;
}

.count-pill {
  background: #dbeafe;
  color: #1e40af;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
}

/* =========================
   PROPERTY GRID
========================= */

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

/* =========================
   PROPERTY CARD
========================= */

.property-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5eaf2;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: 0.25s ease;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

/* Image */
.property-card .property-img {
  height: 200px;
}

/* Content */
.property-content {
  padding: 18px;
}

.property-content h3 {
  font-size: 20px;
  margin: 10px 0 6px;
  line-height: 1.2;
}

.property-content p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 10px;
}

/* Tags */
.premium-card-tags,
.mini-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
  padding: 0;
  list-style: none;
}

.premium-card-tags li,
.mini-features li {
  background: #f1f5f9;
  color: #475569;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 900;
}

/* Price */
.property-content strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  color: #1e40af;
  font-weight: 900;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .listings-layout {
    grid-template-columns: 1fr;
  }

  .filters-sidebar {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .listings-content {
    grid-column: auto;
  }

  .listings-content .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 700px) {
  .listings-content .property-grid {
    grid-template-columns: 1fr;
  }

  .listings-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   MICRO-INTERACTIONS
========================= */

.filter-group label {
  transition: color 0.2s ease, transform 0.2s ease;
}

.filter-group label:hover {
  color: #1E40AF !important;
  transform: translateX(2px);
}

.filters-sidebar input[type="text"],
.filters-sidebar select {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.property-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
}

.save-property-btn {
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.save-property-btn:hover {
  transform: scale(1.08);
}

.count-pill {
  transition: transform 0.2s ease;
}

.count-pill:hover {
  transform: scale(1.04);
}

/* =========================
   COLLAPSIBLE FILTERS UX
========================= */

.filter-section {
  border-top: 1px solid #edf2f7;
  padding-top: 14px;
  margin-top: 14px;
}

.filter-toggle {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #0f172a;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.filter-arrow {
  font-size: 18px;
  line-height: 1;
  color: #1e40af;
  transition: transform 0.2s ease;
}

.filter-section.is-open .filter-arrow {
  transform: rotate(180deg);
}

.filter-panel {
  display: none;
  padding-bottom: 4px;
}

.filter-section.is-open .filter-panel {
  display: block;
}

.filter-panel label {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 7px 0 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}

.filter-panel label input {
  margin-right: 8px !important;
}

.filter-panel label small {
  margin-left: auto;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.show-more-filter {
  border: none;
  background: transparent;
  color: #1e40af;
  font-weight: 900;
  cursor: pointer;
  padding: 8px 0 0;
}

.hidden {
  display: none !important;
}
/* =========================
   CLEAN BOOKING-STYLE FILTER UI
   (FINAL VERSION - SAFE)
========================= */

/* Sidebar spacing */
.filters-sidebar {
  padding: 16px !important;
}

/* Section titles */
.filter-toggle span:first-child {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.06em;
}

/* Reduce spacing */
.filter-panel label {
  padding: 6px 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Clean checkbox (NOT oversized) */
.filter-panel input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #1e40af;
  cursor: pointer;
}

/* Align text */
.filter-panel label span {
  flex: 1;
  margin-left: 8px;
  font-size: 14px;
  font-weight: 600;
}

/* Count numbers */
.filter-panel label small {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

/* Show more */
.show-more-filter {
  font-size: 13px;
  color: #1e40af;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
}

/* Reset button */
#resetFilters {
  margin-top: 12px;
  width: 100%;
  border-radius: 8px;
}

/* =========================
   CARD POLISH (LIGHT)
========================= */

.property-card {
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.10);
}

/* Price emphasis */
.property-price {
  font-weight: 800;
  color: #1e40af;
}

/* Tags cleaner */
.property-tags span {
  font-size: 11px;
  padding: 4px 8px;
}
/* REMOVE UNWANTED TRIANGLE / SHAPE */
.filter-panel label::before,
.filter-panel label::after {
  content: none !important;
  display: none !important;
}
/* =========================
   FINAL CHECKBOX ARTIFACT FIX
========================= */

.filter-panel label::before,
.filter-panel label::after,
.filter-section label::before,
.filter-section label::after {
  content: none !important;
  display: none !important;
}

.filter-panel input[type="checkbox"],
.filter-section input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  width: 14px !important;
  height: 14px !important;
  margin: 0 8px 0 0 !important;
  padding: 0 !important;
  border: initial !important;
  box-shadow: none !important;
  background: initial !important;
  flex: 0 0 auto !important;
  accent-color: #1e40af;
}

.filter-panel label {
  justify-content: flex-start !important;
}

/* =========================
   TOP SEARCH BAR - BOOKING STYLE
========================= */

.listing-search-strip {
  background: #1e40af;
  padding: 18px 0;
}

.top-search-bar {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 4px;
  background: #f59e0b;
  padding: 4px;
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

.top-search-field {
  min-height: 58px;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}

.top-search-field:first-child {
  border-radius: 10px 0 0 10px;
}

.top-search-field span {
  font-size: 1.2rem;
}

.top-search-field input,
.top-search-field select {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-weight: 800;
  color: #0f172a;
}

.top-search-btn {
  min-width: 135px;
  border: none;
  background: #0057d9;
  color: #ffffff;
  border-radius: 0 10px 10px 0;
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
}

.top-search-btn:hover {
  background: #003b95;
}

@media (max-width: 900px) {
  .top-search-bar {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .top-search-field,
  .top-search-field:first-child,
  .top-search-btn {
    border-radius: 10px;
  }

  .top-search-btn {
    min-height: 56px;
  }
}

/* =========================
   MOBILE LISTINGS UX FIX
========================= */

.mobile-filter-btn {
  display: none;
}

/* Mobile layout */
@media (max-width: 700px) {
  .listings-layout {
    display: block;
  }

  .mobile-filter-btn {
    display: flex;
    width: 100%;
    height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    border: none;
    border-radius: 14px;
    background: #1e40af;
    color: #ffffff;
    font-weight: 900;
    font-size: 15px;
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.22);
  }

  .filters-sidebar {
    display: none;
    position: static !important;
    margin-bottom: 22px;
    border-radius: 18px;
    padding: 18px;
  }

  .filters-sidebar.mobile-open {
    display: block;
  }

  .listings-top {
    margin-top: 6px;
  }

  .listings-top h2 {
    font-size: 1.75rem;
  }

  .listings-top p {
    font-size: 0.9rem;
  }

  .count-pill {
    font-size: 0.82rem;
  }

  .listings-content .property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

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

  .property-card .property-img {
    height: 135px !important;
  }

  .property-content {
    padding: 12px !important;
  }

  .property-content h3 {
    font-size: 0.95rem !important;
    line-height: 1.2;
  }

  .property-content p {
    font-size: 0.78rem !important;
    line-height: 1.35;
  }

  .mini-features,
  .premium-card-tags {
    gap: 5px;
    margin: 8px 0;
  }

  .mini-features li,
  .premium-card-tags li {
    font-size: 0.66rem !important;
    padding: 4px 7px !important;
  }

  .property-content strong {
    font-size: 0.9rem !important;
  }

  .badge {
    font-size: 0.62rem;
    padding: 5px 8px;
    margin-bottom: 8px;
  }

  .save-property-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 1rem !important;
    top: 10px !important;
    right: 10px !important;
  }
}

/* =========================
   STUDENT LOGIN CENTER FIX
========================= */

.login-choice-grid {
  display: flex !important;
  justify-content: center !important;
}

.login-choice-card {
  width: min(100%, 520px);
}

/* =========================
   LOGIN FULL CENTER LAYOUT
========================= */

.login-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   LOGIN CARD PREMIUM
========================= */

.login-choice-card {
  width: min(100%, 520px);
  padding: 28px 24px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
  transition: 0.3s ease;
}

.login-choice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.2);
}

/* =========================
   LOGIN BUTTONS
========================= */

.login-choice-card .btn {
  height: 48px;
  font-weight: 900;
  border-radius: 12px;
}

.login-choice-card .btn-primary {
  background: #f59e0b;
  color: #fff;
}

.login-choice-card .btn-primary:hover {
  background: #d97706;
}

.login-choice-card .btn-outline {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

.login-choice-card .btn-outline:hover {
  background: #f8fafc;
}

/* =========================
   LOGIN INPUTS
========================= */

.login-choice-card input {
  height: 46px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 0 14px;
  font-size: 14px;
}

.login-choice-card input:focus {
  border-color: #1e40af;
  box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
}

/* =========================
   FOOTER PORTFOLIO LINK
========================= */

.footer-link {
  color: #1e40af;
  font-weight: 900;
  text-decoration: none;
  position: relative;
  transition: 0.25s ease;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #1e40af;
  transition: 0.25s ease;
}

.footer-link:hover {
  color: #f59e0b;
}

.footer-link:hover::after {
  width: 100%;
  background: #f59e0b;
}

.payment-success-banner {
  margin: 20px 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

.payment-success-banner strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.payment-success-banner p {
  margin: 0;
  color: #047857;
  font-weight: 700;
}

.admin-action-select {
  margin-top: 10px;
  width: 140px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #dbe3ef;
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
}

.admin-revenue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 30px 0;
}

.admin-revenue-grid .stat-card span {
  color: #64748b;
  font-weight: 800;
}

.admin-revenue-grid .stat-card strong {
  color: #1e40af;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
  display: block;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .admin-revenue-grid {
    grid-template-columns: 1fr;
  }
}

.admin-doc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e40af;
  font-weight: 900;
  font-size: 0.8rem;
}

.admin-doc-link:hover {
  background: #1e40af;
  color: #fff;
}

/* =========================
   PROPERTY PAGE PREMIUM FIX
   Safe CSS-only layout upgrade
========================= */

.property-detail-section,
.property-page-section {
  padding-top: 48px;
}

.property-hero,
.property-detail-hero,
.property-header {
  max-width: 1240px;
  margin: 0 auto 34px;
}

.property-price-card,
.side-price-card,
.price-floating,
.property-side-price {
  position: static !important;
  margin-top: 18px;
  max-width: 260px;
}

.gallery-layout,
.property-gallery-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: 14px;
  align-items: stretch;
}

.gallery-main,
.property-main-image {
  min-height: 440px;
  max-height: 520px;
}

.gallery-side,
.property-gallery-side {
  display: grid;
  gap: 14px;
}

.gallery-side .gallery-thumb,
.property-gallery-side .gallery-thumb,
.gallery-thumb {
  min-height: 210px;
}

.property-content-grid,
.property-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: start;
}

.property-info-card,
.property-booking-card,
.booking-card,
.property-sidebar-card {
  border-radius: 24px;
}

.property-booking-card,
.booking-card,
.reserve-card {
  padding: 24px !important;
}

.property-booking-card .btn,
.booking-card .btn,
.reserve-card .btn {
  min-height: 48px;
  margin-bottom: 10px;
}

.property-map-card,
.map-card {
  width: 100%;
}

.property-map-card iframe,
.map-card iframe {
  min-height: 280px;
  border-radius: 18px;
}

.property-info-card p,
.property-booking-card p,
.booking-card p,
.map-card p {
  color: #5d6b82;
  line-height: 1.65;
}

.property-features,
.features-grid {
  gap: 12px;
}

@media (max-width: 900px) {
  .gallery-layout,
  .property-gallery-grid,
  .property-content-grid,
  .property-detail-grid {
    grid-template-columns: 1fr;
  }

  .gallery-main,
  .property-main-image {
    min-height: 320px;
  }

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

  .gallery-side .gallery-thumb,
  .property-gallery-side .gallery-thumb,
  .gallery-thumb {
    min-height: 150px;
  }

  .property-price-card,
  .side-price-card,
  .price-floating,
  .property-side-price {
    max-width: 100%;
  }
}

/* Property detail final premium layout fix */
.premium-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: start;
}

.property-main-column,
.property-sidebar-column {
  min-width: 0;
}

.property-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.property-sidebar-column .premium-booking-card,
.property-sidebar-column .property-map-box {
  width: 100%;
}

.property-sidebar-column .property-map-frame {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 18px;
}

@media (max-width: 900px) {
  .premium-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   FINAL SAFE PROPERTY PAGE ONLY FIX
========================= */

.property-detail .premium-gallery {
  margin-bottom: 42px !important;
}

.property-detail .detail-grid,
.property-detail .premium-detail-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 340px !important;
  gap: 32px !important;
  align-items: start !important;
}

.property-detail .property-sidebar-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 32px !important;
  margin-top: 0 !important;
}

.property-detail .premium-booking-card {
  position: static !important;
  top: auto !important;
  transform: none !important;
  margin: 0 !important;
}

.property-detail .property-map-box {
  margin-top: 0 !important;
}

@media (max-width: 1100px) {
  .property-detail .detail-grid,
  .property-detail .premium-detail-grid {
    grid-template-columns: 1fr !important;
  }

  .property-detail .property-sidebar-column {
    margin-top: 32px !important;
  }
}

/* =========================
   FINAL REAL FIX - STOP GALLERY OVERLAP
========================= */

.property-detail .premium-gallery {
  position: relative !important;
  z-index: 1 !important;
  height: 520px !important;
  overflow: hidden !important;
  margin-bottom: 52px !important;
}

.property-detail .gallery-main,
.property-detail .gallery-side,
.property-detail .gallery-side img {
  height: 100% !important;
  max-height: 520px !important;
  overflow: hidden !important;
}

.property-detail .gallery-side {
  display: grid !important;
  grid-template-rows: 1fr 1fr !important;
}

.property-detail .gallery-side img {
  width: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.property-detail .detail-grid,
.property-detail .premium-detail-grid {
  position: relative !important;
  z-index: 5 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 340px !important;
  gap: 32px !important;
  align-items: start !important;
  margin-top: 0 !important;
}

.property-detail .property-sidebar-column {
  position: relative !important;
  z-index: 6 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 32px !important;
  margin-top: 0 !important;
}

.property-detail .premium-booking-card {
  position: relative !important;
  z-index: 7 !important;
  margin: 0 !important;
  transform: none !important;
}

@media (max-width: 1100px) {
  .property-detail .detail-grid,
  .property-detail .premium-detail-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {
  .property-detail .premium-gallery {
    height: auto !important;
    overflow: visible !important;
  }

  .property-detail .gallery-main {
    height: 330px !important;
  }

  .property-detail .gallery-side img {
    height: 160px !important;
  }
}

/* =========================
   MOBILE PROPERTY PAGE CLEAN FIX
========================= */

@media (max-width: 900px) {
  .property-detail {
    padding: 26px 0 50px !important;
  }

  .premium-property-header {
    gap: 16px !important;
    margin-bottom: 22px !important;
  }

  .premium-property-header h1 {
    font-size: 28px !important;
    line-height: 1.05 !important;
    margin-bottom: 10px !important;
  }

  .hero-proof-line,
  .hero-trust-badges {
    gap: 8px !important;
    margin: 12px 0 !important;
  }

  .hero-proof-line span,
  .hero-trust-badges span {
    width: auto !important;
    font-size: 11px !important;
    padding: 7px 10px !important;
  }

  .property-header-price {
    width: 100% !important;
    padding: 14px 16px !important;
    border-radius: 18px !important;
  }

  .property-detail .premium-gallery {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    height: auto !important;
    margin-bottom: 28px !important;
    overflow: visible !important;
  }

  .property-detail .gallery-main {
    height: 260px !important;
    border-radius: 22px !important;
  }

  .property-detail .gallery-side {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .property-detail .gallery-side img {
    height: 120px !important;
    border-radius: 18px !important;
  }

  .gallery-btn {
    right: 12px !important;
    bottom: 16px !important;
    padding: 9px 13px !important;
    font-size: 12px !important;
  }

  .detail-content,
  .premium-detail-content,
  .inquiry-card,
  .premium-booking-card {
    border-radius: 22px !important;
    padding: 20px !important;
  }

  .property-summary-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 22px !important;
  }

  .property-summary-row div {
    padding: 14px !important;
    border-radius: 16px !important;
  }

  .detail-content h2 {
    font-size: 26px !important;
    line-height: 1.08 !important;
  }

  .premium-features {
    grid-template-columns: 1fr !important;
  }

  .features li,
  .booking-trust-list div {
    padding: 11px 12px !important;
    font-size: 13px !important;
  }

  .property-note-box {
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .property-sidebar-column {
    gap: 24px !important;
    margin-top: 24px !important;
  }

  .property-map-box {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .property-map-frame {
    height: 260px !important;
    border-radius: 18px !important;
  }

  footer {
    padding: 24px 0 !important;
  }
}

/* =========================
   FINAL MOBILE PROPERTY PROFESSIONAL FIX
========================= */

@media (max-width: 900px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .property-detail {
    padding: 20px 0 38px !important;
  }

  .back-link {
    margin-bottom: 14px !important;
    font-size: 13px !important;
  }

  .premium-property-header {
    display: block !important;
    margin-bottom: 18px !important;
  }

  .premium-property-header h1 {
    font-size: 24px !important;
    line-height: 1.08 !important;
    margin-bottom: 8px !important;
  }

  .detail-location {
    font-size: 13px !important;
    margin-bottom: 10px !important;
  }

  .hero-proof-line,
  .hero-trust-badges {
    display: none !important;
  }

  .property-header-price {
    margin-top: 16px !important;
    padding: 14px 16px !important;
  }

  .property-detail .premium-gallery {
    gap: 8px !important;
    margin-bottom: 22px !important;
  }

  .property-detail .gallery-main {
    height: 245px !important;
    border-radius: 20px !important;
  }

  .property-detail .gallery-side {
    gap: 8px !important;
  }

  .property-detail .gallery-side img {
    height: 92px !important;
    border-radius: 16px !important;
  }

  .gallery-btn {
    position: static !important;
    width: fit-content !important;
    margin: 8px 0 0 auto !important;
    padding: 8px 13px !important;
    font-size: 11px !important;
  }

  .detail-grid,
  .premium-detail-grid {
    display: block !important;
  }

  .detail-content,
  .premium-detail-content,
  .inquiry-card,
  .premium-booking-card {
    padding: 18px !important;
    border-radius: 20px !important;
    margin: 0 0 18px !important;
  }

  .property-summary-row {
    gap: 8px !important;
    margin-bottom: 18px !important;
  }

  .property-summary-row div {
    padding: 12px !important;
  }

  .detail-content h2 {
    font-size: 23px !important;
    margin-bottom: 10px !important;
  }

  .detail-content p,
  .inquiry-card p,
  .property-map-box p {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .features,
  .premium-features,
  .booking-trust-list {
    gap: 8px !important;
  }

  .property-note-box {
    margin-top: 16px !important;
    padding: 16px !important;
  }

  .property-sidebar-column {
    gap: 18px !important;
    margin-top: 18px !important;
  }

  .save-detail-btn {
    padding: 10px 14px !important;
    margin-bottom: 14px !important;
  }

  .price-box {
    margin: 14px 0 !important;
    padding: 14px !important;
  }

  .full-btn {
    min-height: 44px !important;
    margin-top: 10px !important;
  }

  .property-map-box {
    margin-top: 0 !important;
  }

  .property-map-frame {
    width: 100% !important;
    height: 230px !important;
  }
}

/* MOBILE SHORTER PROPERTY PAGE */
@media (max-width: 900px) {
  .property-detail .property-summary-row {
    display: none !important;
  }

  .property-detail .property-note-box {
    display: none !important;
  }

  .property-detail .booking-trust-list,
  .property-detail .small-note {
    display: none !important;
  }

  .property-detail .premium-booking-card h3,
  .property-detail .premium-booking-card p,
  .property-detail .price-box {
    display: none !important;
  }

  .property-detail .premium-booking-card {
    padding: 16px !important;
  }

  .property-detail .premium-booking-card .full-btn {
    margin-top: 8px !important;
  }

  .property-detail .property-map-frame {
    height: 210px !important;
  }

  .property-detail .gallery-main {
    height: 220px !important;
  }

  .property-detail .gallery-side img {
    height: 80px !important;
  }
}

/* FINAL MOBILE GAP REMOVAL */

@media (max-width: 900px) {
  .property-detail .premium-gallery {
    margin-bottom: 12px !important;
    padding-bottom: 0 !important;
    gap: 8px !important;
  }

  .property-detail .gallery-btn {
    position: absolute !important;
    right: 14px !important;
    bottom: 12px !important;
    margin: 0 !important;
    z-index: 20 !important;
  }

  .property-detail .detail-grid,
  .property-detail .premium-detail-grid {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .property-detail .detail-content,
  .property-detail .premium-detail-content {
    margin-top: 0 !important;
  }

  .property-detail .property-sidebar-column {
    margin-top: 18px !important;
  }
}

/* =========================
   MOBILE UX REFINEMENT PACK
========================= */

@media (max-width: 900px) {
  body {
    overflow-x: hidden !important;
  }

  .section {
    padding: 46px 0 !important;
  }

  .page-image-hero,
  .hero-image {
    min-height: 430px !important;
  }

  .page-image-content,
  .hero-content-wide {
    padding: 50px 0 !important;
  }

  .page-image-content h1,
  .hero-content-wide h1 {
    font-size: 34px !important;
    line-height: 1.05 !important;
  }

  .page-image-content p,
  .hero-content-wide p {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .city-card {
    min-height: 165px !important;
  }

  .property-card {
    border-radius: 18px !important;
  }

  .property-card .property-img {
    height: 150px !important;
  }

  .property-content {
    padding: 14px !important;
  }

  .property-content h3 {
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }

  .property-content strong {
    font-size: 16px !important;
  }

  .mobile-card-hidden {
    display: none !important;
  }

  .property-card.mobile-expanded .mobile-card-hidden {
    display: block !important;
  }

  .mobile-details-toggle {
    width: 100%;
    margin-top: 10px;
    border: 1px solid #dbe4f0;
    background: #f8fafc;
    color: #1e40af;
    border-radius: 999px;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
  }

  .property-card.mobile-expanded .mobile-details-toggle {
    background: #1e40af;
    color: #ffffff;
  }

  .steps-grid,
  .process-grid,
  .owner-process-grid,
  .how-deep-grid {
    gap: 14px !important;
  }

  .timeline-item {
    margin-bottom: 18px !important;
  }

  .timeline-content {
    padding: 16px !important;
  }

  .timeline-content h3 {
    font-size: 16px !important;
  }

  .timeline-content p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .cta {
    padding: 26px 0 46px !important;
  }

  .cta-box {
    padding: 28px 18px !important;
    border-radius: 24px !important;
  }

  .auth-section {
    padding: 34px 16px !important;
  }

  .login-choice-card {
    padding: 24px !important;
    border-radius: 24px !important;
  }
}

/* =========================
   FINAL MOBILE UX COMPACT PACK
   Hero + Home 2 Columns + How It Works 2 Columns
========================= */

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .section {
    padding: 38px 0 !important;
  }

  .section-head {
    margin-bottom: 22px !important;
  }

  .section-head h2 {
    font-size: 24px !important;
    line-height: 1.08 !important;
  }

  .section-head p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  /* SHORT CLEAN HERO FOR ALL PAGES */
  .hero-image,
  .page-image-hero {
    min-height: 360px !important;
    align-items: flex-end !important;
    background-position: center !important;
  }

  .hero-content-wide,
  .page-image-content {
    padding: 34px 0 28px !important;
  }

  .hero-content-wide h1,
  .page-image-content h1 {
    font-size: 30px !important;
    line-height: 1.04 !important;
    letter-spacing: -0.04em !important;
    max-width: 96% !important;
    margin-bottom: 12px !important;
  }

  .hero-content-wide p,
  .page-image-content p {
    font-size: 14px !important;
    line-height: 1.45 !important;
    max-width: 96% !important;
    margin-bottom: 16px !important;
  }

  .hero-eyebrow,
  .eyebrow {
    font-size: 11px !important;
    padding: 7px 10px !important;
    margin-bottom: 12px !important;
  }

  /* HOME SEARCH PANEL COMPACT */
  .hero-search-panel {
    grid-template-columns: 1fr !important;
    border-radius: 22px !important;
    padding: 10px !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  .hero-search-panel input,
  .hero-search-panel select {
    min-height: 40px !important;
    padding: 10px 13px !important;
    font-size: 12px !important;
  }

  .hero-search-panel .btn {
    min-height: 40px !important;
    font-size: 12px !important;
  }

  .hero-proof-line,
  .hero-trust-badges,
  .hero-trust-row {
    display: none !important;
  }

  /* HOMEPAGE CITY CARDS IN TWO COLUMNS */
  .city-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .city-card {
    min-height: 150px !important;
    border-radius: 18px !important;
  }

  .city-overlay {
    padding: 12px !important;
  }

  .city-overlay h3 {
    font-size: 14px !important;
    margin-bottom: 2px !important;
  }

  .city-overlay p {
    font-size: 10px !important;
    line-height: 1.35 !important;
  }

  /* HOMEPAGE FEATURED PROPERTIES IN TWO COLUMNS */
  .property-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .property-card {
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  .property-card .property-img,
  .property-img {
    height: 130px !important;
  }

  .property-content {
    padding: 12px !important;
  }

  .property-content h3 {
    font-size: 13px !important;
    line-height: 1.15 !important;
    margin: 6px 0 !important;
  }

  .property-content p {
    font-size: 10px !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
  }

  .property-content strong {
    font-size: 13px !important;
    margin-top: 6px !important;
  }

  .badge {
    font-size: 9px !important;
    padding: 5px 8px !important;
    margin-bottom: 6px !important;
  }

  .mini-features,
  .premium-card-tags,
  .property-meta-row {
    gap: 5px !important;
    margin: 7px 0 !important;
  }

  .mini-features li,
  .premium-card-tags li,
  .property-meta-row span {
    font-size: 9px !important;
    padding: 4px 7px !important;
  }

  .save-property-btn {
    width: 32px !important;
    height: 32px !important;
    top: 8px !important;
    right: 8px !important;
    font-size: 16px !important;
  }

  .mobile-details-toggle {
    padding: 7px 9px !important;
    font-size: 10px !important;
    margin-top: 7px !important;
  }

  /* HOW IT WORKS TIMELINE IN TWO COLUMNS */
  .timeline {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    max-width: 100% !important;
  }

  .timeline::before {
    display: none !important;
  }

  .timeline-item {
    display: block !important;
    margin: 0 !important;
  }

  .timeline-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 11px !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
  }

  .timeline-content {
    padding: 13px !important;
    border-radius: 18px !important;
    min-height: 160px !important;
  }

  .timeline-content::before {
    display: none !important;
  }

  .timeline-content span {
    font-size: 9px !important;
    padding: 5px 7px !important;
    margin-bottom: 8px !important;
  }

  .timeline-content h3 {
    font-size: 13px !important;
    line-height: 1.18 !important;
    margin-bottom: 6px !important;
  }

  .timeline-content p {
    font-size: 10px !important;
    line-height: 1.45 !important;
  }

  /* PROPERTY OWNER STEPS IN TWO COLUMNS */
  .owner-process-grid,
  .process-grid,
  .steps-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .owner-step,
  .process-card,
  .step-card {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .owner-step h3,
  .process-card h3,
  .step-card h3 {
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  .owner-step p,
  .process-card p,
  .step-card p {
    font-size: 10px !important;
    line-height: 1.45 !important;
  }

  .process-number {
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    margin-bottom: 8px !important;
    font-size: 12px !important;
  }

  /* CTA SHORTER */
  .cta {
    padding: 24px 0 40px !important;
  }

  .cta-box {
    padding: 26px 16px !important;
    border-radius: 24px !important;
  }

  .cta-box h2 {
    font-size: 22px !important;
  }

  .cta-box p {
    font-size: 12px !important;
  }

  .cta-actions {
    gap: 8px !important;
  }

  .cta-actions .btn {
    min-height: 40px !important;
    font-size: 12px !important;
  }
}

/* =========================
   MOBILE HERO LEFT PADDING + SUBMIT FORM 2 COLUMNS
========================= */

@media (max-width: 900px) {
  .hero-content-wide,
  .page-image-content {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .hero-content-wide h1,
  .hero-content-wide p,
  .page-image-content h1,
  .page-image-content p {
    max-width: 92% !important;
  }

  .submit-grid {
    display: block !important;
  }

  .submit-info {
    margin-bottom: 22px !important;
  }

  .premium-form {
    padding: 20px !important;
  }

  .premium-form .form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .premium-form .form-group {
    margin-bottom: 14px !important;
  }

  .premium-form .form-group label {
    font-size: 13px !important;
  }

  .premium-form .form-group input,
  .premium-form .form-group select,
  .premium-form .form-group textarea {
    min-height: 44px !important;
    padding: 11px 12px !important;
    font-size: 12px !important;
    border-radius: 14px !important;
  }

  .premium-form .form-group textarea {
    min-height: 110px !important;
  }

  .premium-form .btn {
    min-height: 44px !important;
    font-size: 12px !important;
  }
}

/* REPAIR SUBMIT PROPERTY MOBILE FORM */

@media (max-width: 900px) {
  #submitPropertyForm {
    display: block !important;
  }

  #submitPropertyForm .form-group {
    margin-bottom: 14px !important;
  }

  #submitPropertyForm input,
  #submitPropertyForm select,
  #submitPropertyForm textarea {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.property-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* =========================
   FINAL PREMIUM FOOTER
========================= */

.site-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding-top: 70px;
}

.footer-pro {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1fr 1fr !important;
  gap: 38px !important;
  align-items: start !important;
}

.footer-brand img {
  width: 130px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: #64748b;
  line-height: 1.8;
  max-width: 340px;
}

.footer-email {
  display: inline-block;
  margin-top: 16px;
  color: #F59E0B;
  font-weight: 900;
  font-size: 1.1rem;
}

.footer-links h3 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: #0f172a;
}

.footer-links a {
  display: block;
  margin-bottom: 14px;
  color: #64748b;
  font-weight: 700;
  transition: 0.25s ease;
}

.footer-links a:hover {
  color: #1E40AF;
  transform: translateX(4px);
}

.footer-bottom {
  margin-top: 50px;
  padding: 24px 0;
  border-top: 1px solid #e2e8f0;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  color: #64748b;
}

.footer-bottom a {
  color: #1E40AF;
  font-weight: 900;
}

@media (max-width: 900px) {
  .footer-pro {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links a:hover {
    transform: none;
  }
}

/* PREMIUM LEGAL PAGES */

.legal-shell {
  padding: 90px 0;
  background:
    radial-gradient(circle at top right, rgba(30,64,175,0.12), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #eef4ff 100%);
}

.legal-card {
  max-width: 980px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 34px;
  padding: 56px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.legal-card h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  margin-bottom: 18px;
}

.legal-card h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin-top: 34px;
  margin-bottom: 10px;
}

.legal-card p {
  font-size: 1.05rem;
  max-width: 820px;
}

.legal-contact-box {
  margin-top: 34px;
  padding: 22px;
  border-radius: 22px;
  background: #eef4ff;
  border: 1px solid #dbeafe;
}

.legal-contact-box a {
  color: #1e40af;
  font-weight: 900;
}

@media (max-width: 700px) {
  .legal-shell {
    padding: 50px 0;
  }

  .legal-card {
    padding: 30px 22px;
    border-radius: 26px;
  }
}

/* ===== FINAL FOOTER HEIGHT FIX ===== */

.site-footer {
  padding: 38px 0 18px !important;
}

.footer-pro {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1fr 1fr !important;
  gap: 36px !important;
  align-items: start !important;
}

.footer-brand img {
  width: 95px !important;
  margin-bottom: 14px !important;
}

.footer-brand p {
  margin: 0 0 14px !important;
  line-height: 1.65 !important;
  max-width: 300px !important;
  font-size: 0.92rem !important;
}

.footer-email {
  margin-top: 8px !important;
  font-size: 0.98rem !important;
}

.footer-links h3 {
  margin-bottom: 12px !important;
  font-size: 1rem !important;
}

.footer-links a {
  margin-bottom: 9px !important;
  font-size: 0.9rem !important;
}

.footer-bottom {
  margin-top: 28px !important;
  padding: 16px 0 0 !important;
}

.footer-bottom p {
  font-size: 0.88rem !important;
}

/* =========================
   ADMIN PROPERTY CMS
========================= */

.admin-property-form {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 32px;
  margin-top: 30px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.05);
}

.admin-property-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
  margin-bottom: 20px;
  align-items: start;
}

.admin-property-grid-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-property-grid-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.admin-property-form input,
.admin-property-form select,
.admin-property-form textarea {
  width: 100%;
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: #111827;
}

.admin-property-form textarea {
  min-height: 140px;
  resize: vertical;
}

.admin-property-form input:focus,
.admin-property-form select:focus,
.admin-property-form textarea:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.08);
}

.admin-upload-preview {
  width: 100%;
  max-width: 260px;
  border-radius: 20px;
  margin-top: 20px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
}

.admin-property-actions {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Fix admin CMS file upload size */
.admin-property-form input[type="file"] {
  height: auto !important;
  min-height: 48px !important;
  max-height: 56px !important;
  padding: 12px 14px !important;
  background: #ffffff;
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  box-shadow: none !important;
}

.admin-property-grid-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-property-actions .btn {
  width: auto;
  min-width: 180px;
  height: 52px;
  border-radius: 999px;
}

/* =========================
   FINAL PROFESSIONAL MOBILE FOOTER
========================= */

@media (max-width: 768px) {
  .site-footer {
    padding: 42px 0 24px !important;
    background: #ffffff;
    overflow: hidden;
  }

  .footer-pro {
    width: min(100% - 32px, 420px);
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center !important;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand img {
    width: 82px !important;
    height: auto;
    margin: 0 auto 14px !important;
  }

  .footer-brand p {
    max-width: 300px;
    margin: 0 auto 14px !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }

  .footer-email {
    font-size: 14px !important;
    line-height: 1.4 !important;
    max-width: 260px;
    display: inline-block;
    word-break: break-word;
  }

  .footer-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-links h3 {
    font-size: 16px !important;
    margin-bottom: 10px !important;
  }

  .footer-links a {
    font-size: 14px !important;
    margin-bottom: 8px !important;
    line-height: 1.35 !important;
  }

  .footer-bottom {
    width: min(100% - 32px, 420px);
    margin: 30px auto 0 !important;
    padding-top: 18px !important;
    border-top: 1px solid #e5e7eb;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
  }

  .footer-bottom p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
  }

  .scroll-top-btn {
    right: 18px !important;
    bottom: 18px !important;
  }
}

/* ================================
   Admin Booking Approval Actions
================================ */

.admin-booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.admin-approve-btn,
.admin-reject-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s ease;
}

.admin-approve-btn {
  background: #16a34a;
  color: #fff;
}

.admin-approve-btn:hover {
  background: #15803d;
}

.admin-reject-btn {
  background: #dc2626;
  color: #fff;
}

.admin-reject-btn:hover {
  background: #b91c1c;
}

.booking-status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
  margin-top: 10px;
}

.booking-status-pending {
  background: #fff7ed;
  color: #c2410c;
}

.booking-status-approved {
  background: #dcfce7;
  color: #166534;
}

.booking-status-rejected {
  background: #fee2e2;
  color: #991b1b;
}

.admin-note-box {
  width: 100%;
  margin-top: 12px;
  min-height: 80px;
  border-radius: 14px;
  border: 1px solid #d1d5db;
  padding: 12px;
  font-family: inherit;
  resize: vertical;
}

@media (max-width: 640px) {
  .admin-booking-actions {
    flex-direction: column;
  }

  .admin-approve-btn,
  .admin-reject-btn {
    width: 100%;
  }
}

.property-tags,
.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.property-tags span {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  letter-spacing: 0.2px;
}

.property-features span {
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
}

.admin-submissions-table td:last-child {
  min-width: 160px;
}

.admin-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-submissions-table .btn {
  width: 100%;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
  border: none;
  cursor: pointer;
}

.admin-submissions-table .btn-primary {
  background: #1d4ed8;
  color: white;
}

.admin-submissions-table .btn-primary:hover {
  background: #163db1;
}

.admin-submissions-table .btn-secondary {
  background: #f3f4f6;
  color: #111827;
}

.admin-submissions-table .btn-secondary:hover {
  background: #e5e7eb;
}

.admin-submissions-table .btn-accent {
  background: #f59e0b;
  color: #111827;
}

.admin-submissions-table .btn-accent:hover {
  background: #d97706;
}

.admin-action-select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: white;
  font-weight: 600;
  color: #111827;
}

.table-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.table-badge.pending {
  background: #fef3c7;
  color: #92400e;
}

.table-badge.approved {
  background: #dcfce7;
  color: #166534;
}

.table-badge.rejected {
  background: #fee2e2;
  color: #991b1b;
}

/* PROFESSIONAL ADMIN ACTIONS */

.admin-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 140px;
}

.admin-actions .btn {
  width: 100%;
  min-height: 42px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 10px 14px;
  box-shadow: none;
  transform: none !important;
}

.admin-actions .btn:hover {
  transform: translateY(-1px) !important;
}

.admin-actions .btn-primary {
  background: #1E40AF;
  color: #fff;
}

.admin-actions .btn-secondary {
  background: #F1F5F9;
  color: #0F172A;
  border: 1px solid #E2E8F0;
}

.admin-actions .btn-accent {
  background: #F59E0B;
  color: #111827;
}

.admin-actions .btn-accent:hover {
  background: #D97706;
  color: white;
}

/* PROFESSIONAL ADMIN DROPDOWNS */

.admin-select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;

  border: 1px solid #DCE3F0;
  border-radius: 14px;

  background: #FFFFFF;
  color: #0F172A;

  font-size: 0.9rem;
  font-weight: 700;

  outline: none;
  cursor: pointer;

  transition: 0.25s ease;
}

.admin-select:hover {
  border-color: #1E40AF;
}

.admin-select:focus {
  border-color: #1E40AF;
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.12);
}

/* ACTION DROPDOWN */

.action-dropdown {
  width: 100%;
}

.action-dropdown select {
  width: 100%;
  min-height: 44px;

  border-radius: 14px;
  border: 1px solid #DCE3F0;

  padding: 0 14px;

  background: #fff;
  color: #0F172A;

  font-size: 0.9rem;
  font-weight: 800;

  cursor: pointer;
  outline: none;
}

.action-dropdown select:hover {
  border-color: #1E40AF;
}

.action-dropdown select:focus {
  border-color: #1E40AF;
  box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.12);
}

/* PROFESSIONAL ADMIN DROPDOWNS */

.admin-select {
  width: 100%;
  min-height: 48px;

  padding: 0 16px;

  border-radius: 14px;
  border: 1px solid #DCE3F0;

  background: #FFFFFF;

  color: #0F172A;

  font-size: 0.92rem;
  font-weight: 700;

  cursor: pointer;
  outline: none;

  transition: 0.25s ease;
}

.admin-select:hover {
  border-color: #1D4ED8;
}

.admin-select:focus {
  border-color: #1D4ED8;

  box-shadow:
    0 0 0 4px rgba(29, 78, 216, 0.12);
}

.action-dropdown {
  min-width: 220px;
}

/* FINAL ADMIN TABLE POLISH */

.admin-review-note {
  display: inline-flex;
  align-items: center;
  max-width: 130px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.admin-verification-select {
  width: 170px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.admin-action-select {
  width: 170px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.action-dropdown {
  min-width: 170px;
}

/* FINAL PREMIUM ADMIN TABLE UI */

.admin-panel table {
  min-width: 1180px;
}

.admin-panel th {
  font-size: 13px;
  font-weight: 900;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 14px 16px;
}

.admin-panel td {
  padding: 18px 16px;
  vertical-align: middle;
  font-size: 14px;
}

.admin-review-note {
  display: block;
  width: 150px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.admin-verification-select {
  width: 155px;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.action-dropdown {
  width: 145px;
}

.action-dropdown .admin-select {
  width: 145px;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.admin-verification-select:focus,
.action-dropdown .admin-select:focus {
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.12);
}

@media (max-width: 768px) {
  .submit-info .trust-list,
  .submit-info .property-note-box {
    display: none;
  }

  .submit-info {
    padding-bottom: 10px;
  }

  .submit-info p {
    margin-bottom: 0;
  }

  .premium-form {
    margin-top: 10px;
  }

  .page-image-hero {
    min-height: 360px;
  }
}

.verification-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .verification-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .footer-pro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
    text-align: center;
    padding-top: 34px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 320px;
    margin: 0 auto 6px;
    text-align: center;
  }

  .footer-brand img {
    width: 70px;
    margin: 0 auto 14px;
  }

  .footer-brand p {
    max-width: 280px;
    margin: 0 auto 12px;
    line-height: 1.7;
  }

  .footer-email {
    display: inline-block;
    font-weight: 800;
  }

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

  .footer-links h3 {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .footer-links a {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
  }

  .footer-links:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    text-align: center;
    padding-top: 22px;
    gap: 8px;
  }
}

@media (max-width: 768px) {

.footer-pro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand img {
  width: 78px;
  margin-bottom: 14px;
}

.footer-brand p {
  line-height: 1.8;
}

.footer-email {
  display: inline-block;
  margin-top: 12px;
  font-weight: 800;
  color: #f4a300;
}

.footer-links-grid {
  display: flex;
  gap: 60px;
}

.footer-links h3 {
  margin-bottom: 14px;
  font-size: 16px;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: #5f6b85;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #1d4ed8;
}
}

/* FINAL MOBILE FOOTER FIX */
.footer-pro {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand img {
  width: 78px;
  margin-bottom: 14px;
}

.footer-brand p {
  line-height: 1.8;
}

.footer-email {
  display: inline-block;
  margin-top: 12px;
  font-weight: 800;
  color: #f4a300;
}

.footer-links-grid {
  display: flex;
  gap: 60px;
}

.footer-links h3 {
  margin-bottom: 14px;
  font-size: 16px;
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: #5f6b85;
  font-size: 14px;
}

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

@media (max-width: 768px) {
  .footer-pro {
    display: block !important;
    text-align: center !important;
  }

  .footer-brand {
    max-width: 300px !important;
    margin: 0 auto 26px !important;
    text-align: center !important;
  }

  .footer-brand img {
    display: block !important;
    margin: 0 auto 12px !important;
    width: 72px !important;
  }

  .footer-links-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 18px !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
  }

  .footer-links {
    text-align: center !important;
  }

  .footer-links:last-child {
    grid-column: 1 / -1 !important;
  }

  .footer-links h3 {
    font-size: 14px !important;
    margin-bottom: 8px !important;
  }

  .footer-links a {
    font-size: 12px !important;
    margin-bottom: 6px !important;
    display: block !important;
  }

  .footer-bottom {
    text-align: center !important;
    font-size: 11px !important;
    padding-top: 18px !important;
  }

  .scroll-top-btn {
    width: 44px !important;
    height: 44px !important;
    right: 14px !important;
    bottom: 14px !important;
    font-size: 18px !important;
  }
}

/* FINAL FOOTER FIX - DO NOT ADD ANYTHING AFTER THIS */
@media (max-width: 768px) {
  .site-footer {
    padding: 34px 0 24px !important;
  }

  .footer-pro {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 28px !important;
  }

  .footer-brand {
    max-width: 300px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .footer-brand img {
    width: 78px !important;
    display: block !important;
    margin: 0 auto 12px !important;
  }

  .footer-brand p {
    margin: 0 auto 12px !important;
    line-height: 1.65 !important;
    font-size: 13px !important;
  }

  .footer-email {
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    color: #f59e0b !important;
    word-break: break-word !important;
  }

  .footer-links-grid {
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 22px 18px !important;
    align-items: start !important;
  }

  .footer-links {
    text-align: center !important;
  }

  .footer-links:nth-child(3) {
    grid-column: 1 / -1 !important;
    padding-top: 4px !important;
  }

  .footer-links h3 {
    font-size: 14px !important;
    font-weight: 900 !important;
    margin: 0 0 9px !important;
    color: #0f172a !important;
  }

  .footer-links a {
    display: block !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin-bottom: 6px !important;
    color: #475569 !important;
    font-weight: 700 !important;
  }

  .footer-bottom {
    margin-top: 24px !important;
    padding-top: 16px !important;
    border-top: 1px solid #e2e8f0 !important;
    text-align: center !important;
    font-size: 11px !important;
  }

  .footer-bottom p {
    margin: 4px 0 !important;
  }

  .scroll-top-btn {
    width: 42px !important;
    height: 42px !important;
    right: 14px !important;
    bottom: 14px !important;
    font-size: 18px !important;
  }
}

/* SUBMIT PROPERTY PAGE ONLY - FOOTER FIX */
body.submit-property-page .footer-links-grid {
  grid-template-columns: repeat(3, minmax(160px, 1fr)) !important;
  gap: 70px !important;
}

body.submit-property-page .footer-links {
  min-width: 160px !important;
}

/* FINAL FIX — SUBMIT PROPERTY PAGE FOOTER ONLY */
body.submit-property-page footer.site-footer .container.footer-pro {
  width: min(100% - 32px, 1180px) !important;
  max-width: 1180px !important;
  display: grid !important;
  grid-template-columns: 320px 1fr !important;
  gap: 90px !important;
  align-items: start !important;
}

body.submit-property-page footer.site-footer .footer-brand {
  max-width: 320px !important;
}

body.submit-property-page footer.site-footer .footer-links-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(160px, 1fr)) !important;
  gap: 60px !important;
  width: 100% !important;
}

body.submit-property-page footer.site-footer .footer-links a {
  white-space: normal !important;
  line-height: 1.35 !important;
}

@media (max-width: 768px) {
  body.submit-property-page footer.site-footer .container.footer-pro {
    display: flex !important;
    flex-direction: column !important;
    gap: 26px !important;
    text-align: center !important;
  }

  body.submit-property-page footer.site-footer .footer-brand {
    margin: 0 auto !important;
  }

  body.submit-property-page footer.site-footer .footer-links-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px 18px !important;
  }

  body.submit-property-page footer.site-footer .footer-links:last-child {
    grid-column: 1 / -1 !important;
  }
}

/* =========================
   ADMIN DASHBOARD SPACING
========================= */

#adminLandlordTable {
  margin-bottom: 40px;
}

#adminLandlordTable tr:last-child td {
  padding-bottom: 40px;
}

.student-bookings-section,
.booking-requests-section,
.booking-section {
  margin-top: 40px;
}

.eyebrow {
  margin-top: 28px;
}

.booking-card-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.booking-safety-note {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: #fff7e6;
  border: 1px solid #ffd27a;
  color: #4b3a10;
  font-size: 13px;
  line-height: 1.6;
}

.booking-safety-note strong {
  color: #0f172a;
}

.dashboard-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.dashboard-section-head h2 {
  margin-bottom: 5px;
}

.dashboard-section-head p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.saved-properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.saved-dashboard-card {
  background: #ffffff;
  border: 1px solid #e5eaf2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.saved-dashboard-img {
  height: 150px;
  background-size: cover;
  background-position: center;
  background-color: #eef2f7;
}

.saved-dashboard-content {
  padding: 16px;
}

.saved-dashboard-content h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 18px;
}

.saved-dashboard-content p {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.saved-dashboard-content strong {
  display: block;
  margin-bottom: 14px;
  color: #1d4ed8;
  font-size: 16px;
}

.saved-dashboard-actions {
  display: grid;
  gap: 8px;
}

.remove-saved-btn {
  width: 100%;
  border: 1px solid #dbe4f0;
  background: #ffffff;
  color: #0f172a;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}

.remove-saved-btn:hover {
  background: #f8fafc;
}

@media (max-width: 900px) {
  .saved-properties-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.dashboard {
  overflow-x: hidden;
}

.dashboard-main {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.dashboard-head .btn {
  white-space: nowrap;
}

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

.stat-card {
  min-width: 0;
}

.admin-panel {
  max-width: 100%;
  overflow-x: auto;
}

.admin-panel table {
  width: 100%;
  min-width: 760px;
}

.saved-properties-grid {
  max-width: 100%;
}

@media (max-width: 900px) {
  .dashboard-main {
    padding: 22px;
  }

  .dashboard-head h1 {
    font-size: 36px;
    line-height: 1.1;
  }

  .admin-panel table {
    min-width: 680px;
  }
}

/* =========================
   STUDENT DASHBOARD MOBILE FIX
========================= */
@media (max-width: 700px) {
  .dashboard {
    display: block;
    overflow-x: hidden;
  }

  .sidebar {
    width: 100%;
    min-height: auto;
    padding: 22px 18px;
  }

  .sidebar img {
    width: 120px;
    margin-bottom: 20px;
  }

  .sidebar a {
    padding: 12px 14px;
    font-size: 15px;
  }

  .dashboard-main {
    width: 100%;
    padding: 22px 18px;
    overflow-x: hidden;
  }

  .dashboard-head {
    display: block;
  }

  .dashboard-head h1 {
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 14px;
  }

  .dashboard-head p {
    font-size: 14px;
    line-height: 1.7;
  }

  .dashboard-head .btn {
    width: 100%;
    justify-content: center;
    margin-top: 18px;
  }

  .booking-notification,
  .payment-success-banner {
    font-size: 14px;
    line-height: 1.5;
    padding: 16px;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .stat-card {
    padding: 22px;
    border-radius: 20px;
  }

  .stat-card strong {
    font-size: 30px;
  }

  .admin-panel {
    padding: 22px 18px;
    border-radius: 22px;
    overflow: visible;
  }

  .admin-panel h2 {
    font-size: 28px;
    line-height: 1.15;
  }

  .dashboard-section-head {
    display: block;
  }

  .dashboard-section-head .btn {
    width: 100%;
    justify-content: center;
    margin-top: 14px;
  }

  .saved-properties-grid {
    grid-template-columns: 1fr;
  }

  .saved-dashboard-card {
    border-radius: 18px;
  }

  .saved-dashboard-img {
    height: 170px;
  }

  .saved-dashboard-content {
    padding: 16px;
  }

  .saved-dashboard-actions .btn,
  .remove-saved-btn {
    width: 100%;
  }

  /* Convert booking table into mobile cards */
  #myBookingPanel table,
  #myBookingPanel thead,
  #myBookingPanel tbody,
  #myBookingPanel th,
  #myBookingPanel td,
  #myBookingPanel tr {
    display: block;
    width: 100%;
  }

  #myBookingPanel table {
    min-width: 0;
  }

  #myBookingPanel thead {
    display: none;
  }

  #myBookingPanel tr {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 14px;
  }

  #myBookingPanel td {
    border: none;
    padding: 9px 0;
    font-size: 14px;
    line-height: 1.5;
    display: grid;
    grid-template-columns: 95px 1fr;
    gap: 10px;
    align-items: start;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  #myBookingPanel td::before {
    font-weight: 900;
    color: #64748b;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  #myBookingPanel td:nth-child(1)::before {
    content: "Date";
  }

  #myBookingPanel td:nth-child(2)::before {
    content: "Property";
  }

  #myBookingPanel td:nth-child(3)::before {
    content: "Location";
  }

  #myBookingPanel td:nth-child(4)::before {
    content: "Price";
  }

  #myBookingPanel td:nth-child(5)::before {
    content: "Status";
  }

  #myBookingPanel .btn {
    width: 100%;
    margin-top: 8px;
  }

  .scroll-top-btn {
    right: 16px;
    bottom: 16px;
  }
}

/* Admin booking table compact polish */
#adminBookingsTable {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

#adminBookingsTable th,
#adminBookingsTable td {
  padding: 11px 10px;
  vertical-align: middle;
  font-size: 13px;
  line-height: 1.3;
  border-bottom: 1px solid var(--border-soft);
}

#adminBookingsTable th {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
}

#adminBookingsTable td:nth-child(1) {
  min-width: 125px;
}

#adminBookingsTable td:nth-child(2) {
  min-width: 95px;
}

#adminBookingsTable td:nth-child(3) {
  min-width: 105px;
}

#adminBookingsTable td:nth-child(4) {
  min-width: 95px;
  white-space: nowrap;
}

#adminBookingsTable td:nth-child(5) {
  min-width: 190px;
  white-space: nowrap;
}

#adminBookingsTable .admin-date-cell {
  min-width: 82px;
  white-space: nowrap;
}

#adminBookingsTable td:nth-child(8) {
  min-width: 78px;
}

#adminBookingsTable td:nth-child(9) {
  min-width: 135px;
}

#adminBookingsTable td:nth-child(10) {
  min-width: 110px;
  white-space: nowrap;
}

#adminBookingsTable .table-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 6px 10px;
  font-size: 12px;
  margin: 0;
}

#adminBookingsTable .admin-action-select {
  min-width: 145px;
  height: 42px;
  padding: 8px 12px;
  border-radius: 12px;
}

#adminBookingsTable .admin-doc-link {
  white-space: nowrap;
  padding: 8px 12px;
}

/* Student dashboard booking table polish */
#myBookingPanel {
  overflow-x: auto;
}

#myBookingPanel .student-booking-table {
  min-width: 920px;
}

#myBookingPanel th,
#myBookingPanel td {
  padding: 12px 10px;
  font-size: 14px;
  vertical-align: middle;
}

#myBookingPanel th {
  white-space: nowrap;
  font-weight: 900;
}

#myBookingPanel .admin-date-cell,
#myBookingPanel .student-paid-date {
  white-space: nowrap;
  min-width: 95px;
}

#myBookingPanel .student-payment-ref {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
  color: #334155;
  min-width: 135px;
}

#myBookingPanel .student-status-cell {
  min-width: 150px;
}

#myBookingPanel .student-status-cell .btn {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

@media (max-width: 900px) {
  #myBookingPanel {
    padding: 18px;
  }

  #myBookingPanel .student-booking-table {
    min-width: 760px;
  }

  #myBookingPanel th,
  #myBookingPanel td {
    padding: 10px 8px;
    font-size: 13px;
  }
}

/* =====================================================
   ADMIN DASHBOARD POLISH - SAFE STYLE ONLY
===================================================== */

/* Fix admin upload file input */
#propertyImage {
  width: 100%;
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #dbe3ef !important;
  border-radius: 14px !important;
  padding: 10px 12px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

#propertyImage::file-selector-button {
  background: #1e40af;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  margin-right: 12px;
  font-weight: 900;
  cursor: pointer;
}

#propertyImage::file-selector-button:hover {
  background: #102a72;
}

/* Admin dashboard table polish */
.admin-table-wrap {
  overflow-x: auto;
  background: transparent;
  border-radius: 18px;
}

.admin-table-wrap table {
  min-width: 1050px;
}

.admin-table-wrap th,
.admin-table-wrap td {
  padding: 12px 10px;
  font-size: 13px;
  vertical-align: middle;
}

.admin-table-wrap th {
  font-weight: 900;
  color: #0f172a;
  white-space: nowrap;
}

.admin-table-wrap td {
  color: #0f172a;
}

.admin-table-wrap small {
  color: #64748b;
  font-weight: 700;
}

.admin-table-wrap .btn,
.admin-table-wrap select,
.admin-table-wrap .admin-select,
.admin-table-wrap .admin-verification-select {
  min-height: 42px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
}

.admin-table-wrap .table-badge {
  white-space: nowrap;
}

/* Keep payment reference readable */
#adminBookingsTable td:nth-child(10),
#adminBookingsTable th:nth-child(10) {
  min-width: 130px;
  white-space: nowrap;
}

/* Keep request / paid dates clean */
#adminBookingsTable td:nth-child(6),
#adminBookingsTable td:nth-child(7),
#adminBookingsTable td:nth-child(11) {
  white-space: nowrap;
  min-width: 95px;
}

/* Make proof button cleaner */
.admin-doc-link,
#adminBookingsTable a,
#adminLandlordTable a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  color: #1e40af;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  font-size: 12px;
}

/* Admin upload form polish */
.admin-property-form {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.admin-property-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 22px;
}

.admin-property-grid-left,
.admin-property-grid-right {
  display: grid;
  gap: 14px;
}

.admin-property-grid input,
.admin-property-grid select,
.admin-property-grid textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 13px 15px;
  font: inherit;
  font-weight: 700;
  background: #ffffff;
  color: #0f172a;
}

.admin-property-grid textarea {
  min-height: 150px;
  resize: vertical;
}

.admin-property-actions {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .admin-property-grid {
    grid-template-columns: 1fr;
  }

  .admin-table-wrap table {
    min-width: 900px;
  }
}

/* =====================================================
   ADMIN BOOKING TABLE FINAL POLISH - SAFE CSS ONLY
   Does not touch booking/payment logic
===================================================== */

#adminBookingsTable {
  font-size: 13px;
}

#adminBookingsTable tr {
  background: #ffffff;
}

#adminBookingsTable td {
  padding: 13px 10px;
  vertical-align: middle;
  line-height: 1.35;
}

#adminBookingsTable td:nth-child(1) {
  min-width: 150px;
  font-weight: 800;
}

#adminBookingsTable td:nth-child(2) {
  min-width: 100px;
  font-weight: 800;
  color: #0f172a;
}

#adminBookingsTable td:nth-child(3) {
  min-width: 105px;
}

#adminBookingsTable td:nth-child(4) {
  min-width: 95px;
  white-space: nowrap;
}

#adminBookingsTable td:nth-child(5) {
  min-width: 190px;
  white-space: nowrap;
}

#adminBookingsTable td:nth-child(6),
#adminBookingsTable td:nth-child(7),
#adminBookingsTable td:nth-child(11) {
  min-width: 100px;
  white-space: nowrap;
  color: #334155;
  font-weight: 700;
}

#adminBookingsTable td:nth-child(8) {
  min-width: 105px;
}

#adminBookingsTable td:nth-child(9) {
  min-width: 150px;
}

#adminBookingsTable td:nth-child(10) {
  min-width: 130px;
  white-space: nowrap;
  font-weight: 800;
  color: #334155;
}

#adminBookingsTable .table-badge {
  font-size: 12px;
  padding: 7px 12px;
  white-space: nowrap;
}

#adminBookingsTable .table-badge.paid,
#adminBookingsTable .booking-status-paid {
  background: #dcfce7;
  color: #166534;
}

#adminBookingsTable .admin-select {
  min-width: 150px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-weight: 900;
  padding: 0 12px;
}

#adminBookingsTable .admin-doc-link,
#adminBookingsTable a {
  white-space: nowrap;
}

/* Make admin table headers cleaner */
.admin-table-wrap thead th {
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
  color: #0f172a;
  padding: 12px 10px;
}

/* Better horizontal scroll appearance */
.admin-table-wrap::-webkit-scrollbar {
  height: 10px;
}

.admin-table-wrap::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 999px;
}

.admin-table-wrap::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 999px;
}

.admin-table-wrap::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

@media (max-width: 900px) {
  #adminBookingsTable {
    font-size: 12px;
  }

  #adminBookingsTable td {
    padding: 11px 8px;
  }
}

/* =====================================================
   PROPERTY DETAIL MAIN IMAGE FIX
   Safe display-only fix
===================================================== */

.gallery-main {
  overflow: hidden;
  background: #f8fafc;
}

.gallery-main .property-main-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
  cursor: pointer;
}

/* =====================================================
   INTERNAL WALLET STATUS - SAFE STYLE ONLY
===================================================== */

.table-badge.wallet-held {
  background: #fef3c7;
  color: #92400e;
}

.table-badge.wallet-checked-in {
  background: #dbeafe;
  color: #1e40af;
}

.table-badge.wallet-ready {
  background: #ede9fe;
  color: #5b21b6;
}

.table-badge.wallet-released {
  background: #dcfce7;
  color: #166534;
}

.table-badge.wallet-not-paid {
  background: #f1f5f9;
  color: #475569;
}

.wallet-action-btn {
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
  white-space: nowrap;
}

/* =====================================================
   PROFESSIONAL LEGAL / POLICY PAGES POLISH
   Applies only to policy pages using .legal-shell / .legal-card
===================================================== */

.legal-shell {
  padding: 90px 0;
  background:
    radial-gradient(circle at top left, rgba(30, 64, 175, 0.08), transparent 32%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.legal-card {
  width: min(100%, 920px);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 34px;
  padding: 58px 64px;
  box-shadow:
    0 30px 90px rgba(15, 23, 42, 0.08),
    0 8px 24px rgba(30, 64, 175, 0.06);
}

.legal-card .eyebrow {
  margin-bottom: 20px;
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.legal-card h1 {
  max-width: 780px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin-bottom: 22px;
  color: #0f172a;
}

.legal-card h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-top: 38px;
  margin-bottom: 12px;
  color: #0f172a;
}

.legal-card p {
  max-width: 760px;
  font-size: 0.98rem;
  line-height: 1.85;
  color: #64748b;
  margin: 0 0 16px;
}

.legal-card strong {
  color: #0f172a;
  font-weight: 900;
}

.legal-card a {
  color: #1e40af;
  font-weight: 900;
}

.legal-card a:hover {
  text-decoration: underline;
}

.legal-card .features {
  display: grid;
  gap: 10px;
  margin: 18px 0 28px;
  padding: 0;
  list-style: none;
}

.legal-card .features li {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 13px 16px 13px 42px;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

.legal-card .features li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.72rem;
  font-weight: 900;
}

.legal-contact-box {
  margin-top: 48px;
  padding: 30px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(30, 64, 175, 0.10), transparent 34%),
    linear-gradient(135deg, #eef4ff, #f8fbff);
  border: 1px solid #dbeafe;
}

.legal-contact-box h2 {
  margin-top: 0;
}

.legal-contact-box p {
  margin-bottom: 0;
}

.legal-card h2 + p {
  margin-top: 0;
}

.legal-card p + h2,
.legal-card ul + h2 {
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  padding-top: 30px;
}

/* Better header spacing on legal pages */
.legal-shell + .site-footer {
  margin-top: 0;
}

/* Mobile legal pages */
@media (max-width: 768px) {
  .legal-shell {
    padding: 48px 0;
  }

  .legal-card {
    padding: 34px 22px;
    border-radius: 26px;
  }

  .legal-card h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .legal-card h2 {
    margin-top: 30px;
  }

  .legal-card p {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .legal-card .features li {
    padding: 12px 14px 12px 40px;
    font-size: 0.88rem;
  }

  .legal-contact-box {
    padding: 22px;
  }
}

/* =====================================================
   LEGAL CONTACT BOX - CORPORATE CLEAN VERSION
   Overrides previous icon/button style
===================================================== */

.legal-contact-box {
  position: relative;
  margin-top: 52px;
  padding: 30px 34px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: none;
}

.legal-contact-box::before {
  display: none;
  content: none;
}

.legal-contact-box h2 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.legal-contact-box p {
  max-width: 100%;
  margin: 0;
  color: #64748b;
  line-height: 1.8;
  font-size: 0.98rem;
}

.legal-contact-box a {
  display: inline;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #1e40af !important;
  font-weight: 900;
  text-decoration: none;
  word-break: break-word;
  box-shadow: none;
}

.legal-contact-box a:hover {
  background: transparent;
  text-decoration: underline;
  transform: none;
}

@media (max-width: 768px) {
  .legal-contact-box {
    padding: 24px 22px;
    border-radius: 18px;
  }

  .legal-contact-box a {
    display: inline;
    width: auto;
    text-align: left;
    font-size: inherit;
  }
}

/* =====================================================
   FIX LEGAL CONTACT EMAIL WRAPPING ONLY
===================================================== */

.legal-contact-box {
  padding: 28px 34px;
}

.legal-contact-box p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

.legal-contact-box a {
  display: inline-block;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

@media (max-width: 768px) {
  .legal-contact-box p {
    display: block;
  }

  .legal-contact-box a {
    display: block;
    margin-top: 6px;
    white-space: normal;
    word-break: break-word;
  }
}
/* =====================================================
   HOMEPAGE FEATURED PROPERTIES CTA
===================================================== */

.home-view-all-wrap {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
