/* ============================================================
   PGFINDER — Complete Design System
   Premium PG Rental Platform
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=DM+Sans:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Core Colors */
  --navy:        #0A0F2C;
  --navy-800:    #111638;
  --navy-700:    #1A2150;
  --navy-600:    #243068;
  --navy-500:    #2E3F85;

  --gold:        #C9A84C;
  --gold-light:  #E4C76B;
  --gold-pale:   #F5E9C4;
  --gold-dark:   #9E7C2E;

  --sky:         #4F9CF9;
  --sky-light:   #A8CFFC;
  --sky-pale:    #EBF4FF;

  --white:       #FFFFFF;
  --off-white:   #F8F9FC;
  --gray-50:     #F2F4F8;
  --gray-100:    #E8ECF4;
  --gray-200:    #D1D8E8;
  --gray-300:    #B0BCCE;
  --gray-400:    #8895A7;
  --gray-500:    #5E6E82;
  --gray-600:    #3E4D5C;
  --gray-700:    #2A3545;
  --gray-800:    #1A2230;

  --green:       #1DB97E;
  --green-pale:  #E6FBF3;
  --red:         #E84040;
  --red-pale:    #FDEAEA;
  --orange:      #F97316;
  --orange-pale: #FEF0E6;

  /* Gradients */
  --grad-hero:       linear-gradient(135deg, #0A0F2C 0%, #1A2150 50%, #0d1a3e 100%);
  --grad-card:       linear-gradient(145deg, #ffffff 0%, #f8f9fc 100%);
  --grad-gold:       linear-gradient(135deg, #C9A84C 0%, #E4C76B 100%);
  --grad-sky:        linear-gradient(135deg, #4F9CF9 0%, #7BB8FC 100%);
  --grad-navy:       linear-gradient(135deg, #111638 0%, #2E3F85 100%);
  --grad-sidebar:    linear-gradient(180deg, #0A0F2C 0%, #111638 100%);

  /* Typography */
  --font-display:    'Playfair Display', Georgia, serif;
  --font-body:       'DM Sans', sans-serif;
  --font-mono:       'DM Mono', monospace;

  /* Font Sizes */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-md:    1.125rem;
  --text-lg:    1.25rem;
  --text-xl:    1.5rem;
  --text-2xl:   1.875rem;
  --text-3xl:   2.25rem;
  --text-4xl:   3rem;
  --text-5xl:   3.75rem;

  /* Spacing */
  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-5:   1.25rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;

  /* Borders */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:   0 1px 3px rgba(10,15,44,0.06);
  --shadow-sm:   0 2px 8px rgba(10,15,44,0.08);
  --shadow-md:   0 4px 20px rgba(10,15,44,0.10);
  --shadow-lg:   0 8px 40px rgba(10,15,44,0.14);
  --shadow-xl:   0 16px 60px rgba(10,15,44,0.18);
  --shadow-gold: 0 4px 20px rgba(201,168,76,0.30);
  --shadow-sky:  0 4px 20px rgba(79,156,249,0.25);
  --shadow-card: 0 2px 16px rgba(10,15,44,0.08), 0 0 0 1px rgba(10,15,44,0.04);

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
  --ease-io:    cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:   150ms;
  --dur-base:   250ms;
  --dur-slow:   400ms;

  /* Layout */
  --container:  1280px;
  --sidebar-w:  260px;
  --topbar-h:   68px;
  --navbar-h:   72px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--gray-700);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; }

/* ── Typography ── */
.font-display { font-family: var(--font-display); }
.font-mono    { font-family: var(--font-mono); }

.text-xs   { font-size: var(--text-xs); }
.text-sm   { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-md   { font-size: var(--text-md); }
.text-lg   { font-size: var(--text-lg); }
.text-xl   { font-size: var(--text-xl); }
.text-2xl  { font-size: var(--text-2xl); }
.text-3xl  { font-size: var(--text-3xl); }
.text-4xl  { font-size: var(--text-4xl); }
.text-5xl  { font-size: var(--text-5xl); }

.font-300 { font-weight: 300; }
.font-400 { font-weight: 400; }
.font-500 { font-weight: 500; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }
.font-800 { font-weight: 800; }

.text-navy    { color: var(--navy); }
.text-gold    { color: var(--gold); }
.text-sky     { color: var(--sky); }
.text-white   { color: var(--white); }
.text-gray    { color: var(--gray-500); }
.text-muted   { color: var(--gray-400); }
.text-green   { color: var(--green); }
.text-red     { color: var(--red); }
.text-orange  { color: var(--orange); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section { padding: var(--sp-20) 0; }
.section-sm { padding: var(--sp-12) 0; }
.section-lg { padding: var(--sp-24) 0; }

/* Flex */
.flex     { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.items-end    { align-items: flex-end; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }
.gap-1  { gap: var(--sp-1); }
.gap-2  { gap: var(--sp-2); }
.gap-3  { gap: var(--sp-3); }
.gap-4  { gap: var(--sp-4); }
.gap-6  { gap: var(--sp-6); }
.gap-8  { gap: var(--sp-8); }
.flex-wrap { flex-wrap: wrap; }
.flex-1    { flex: 1; }
.shrink-0  { flex-shrink: 0; }

/* Grid */
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── Spacing Utilities ── */
.p-2  { padding: var(--sp-2); }
.p-3  { padding: var(--sp-3); }
.p-4  { padding: var(--sp-4); }
.p-5  { padding: var(--sp-5); }
.p-6  { padding: var(--sp-6); }
.p-8  { padding: var(--sp-8); }
.px-4 { padding-left: var(--sp-4); padding-right: var(--sp-4); }
.px-6 { padding-left: var(--sp-6); padding-right: var(--sp-6); }
.py-3 { padding-top: var(--sp-3); padding-bottom: var(--sp-3); }
.py-4 { padding-top: var(--sp-4); padding-bottom: var(--sp-4); }
.mt-2 { margin-top: var(--sp-2); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.ml-auto { margin-left: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all var(--dur-base) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity var(--dur-fast);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--grad-gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.40);
}
.btn-primary:active { transform: translateY(0); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-navy:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sky {
  background: var(--grad-sky);
  color: var(--white);
  box-shadow: var(--shadow-sky);
}
.btn-sky:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(79,156,249,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
}
.btn-ghost:hover { background: var(--gray-50); color: var(--navy); }

.btn-danger {
  background: var(--red);
  color: var(--white);
}
.btn-danger:hover { background: #c93030; transform: translateY(-1px); }

.btn-success {
  background: var(--green);
  color: var(--white);
}
.btn-success:hover { background: #17a06c; }

.btn-sm {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--text-md);
  border-radius: var(--radius-lg);
}

.btn-icon {
  padding: var(--sp-3);
  border-radius: var(--radius-md);
  aspect-ratio: 1;
}

.btn-full { width: 100%; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--dur-base) var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-body { padding: var(--sp-5); }
.card-flat { box-shadow: none; border: 1px solid var(--gray-100); }

/* PG Listing Card */
.pg-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--dur-slow) var(--ease-out);
  position: relative;
}

.pg-card:hover {
  box-shadow: 0 12px 48px rgba(10,15,44,0.16);
  transform: translateY(-6px);
}

.pg-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--gray-100);
}

.pg-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.pg-card:hover .pg-card-image img { transform: scale(1.06); }

.pg-card-badge {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  background: var(--grad-gold);
  color: var(--navy);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pg-card-wishlist {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur-base);
  color: var(--gray-400);
}

.pg-card-wishlist:hover { color: var(--red); transform: scale(1.1); }
.pg-card-wishlist.active { color: var(--red); }

.pg-card-body { padding: var(--sp-4) var(--sp-5); }

.pg-card-price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-1);
}

.pg-card-price span {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--gray-400);
}

.pg-card-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: var(--sp-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pg-card-location {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-bottom: var(--sp-3);
}

.pg-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  background: var(--sky-pale);
  color: var(--sky);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  transition: all var(--dur-fast);
}

.tag-gold {
  background: var(--gold-pale);
  color: var(--gold-dark);
}

.tag-green {
  background: var(--green-pale);
  color: var(--green);
}

.tag-navy {
  background: rgba(10,15,44,0.08);
  color: var(--navy);
}

.tag-gray {
  background: var(--gray-100);
  color: var(--gray-600);
}

.pg-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--gray-100);
}

/* ── Stats Cards ── */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: all var(--dur-base) var(--ease-out);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  border-radius: 0 var(--radius-xl) 0 80px;
  opacity: 0.08;
}

.stat-card.gold::before  { background: var(--gold); }
.stat-card.sky::before   { background: var(--sky); }
.stat-card.green::before { background: var(--green); }
.stat-card.red::before   { background: var(--red); }

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  font-size: 1.4rem;
}

.stat-icon.gold  { background: var(--gold-pale); color: var(--gold-dark); }
.stat-icon.sky   { background: var(--sky-pale);  color: var(--sky); }
.stat-icon.green { background: var(--green-pale); color: var(--green); }
.stat-icon.red   { background: var(--red-pale);   color: var(--red); }

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--gray-500);
  font-weight: 500;
}

.stat-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  font-weight: 600;
  margin-top: var(--sp-2);
  padding: 2px var(--sp-2);
  border-radius: var(--radius-full);
}

.stat-change.up {
  background: var(--green-pale);
  color: var(--green);
}

.stat-change.down {
  background: var(--red-pale);
  color: var(--red);
}

/* ── Forms ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
}

.form-label span { color: var(--red); }

.form-control {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--gray-800);
  background: var(--white);
  transition: all var(--dur-base);
  outline: none;
}

.form-control:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(79,156,249,0.15);
}

.form-control::placeholder { color: var(--gray-300); }

.form-control-lg {
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238895A7' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  padding-right: var(--sp-10);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--gray-400);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--red);
}

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

.input-icon {
  position: absolute;
  left: var(--sp-4);
  color: var(--gray-400);
  font-size: 1rem;
  pointer-events: none;
}

.input-icon-right {
  position: absolute;
  right: var(--sp-4);
  color: var(--gray-400);
}

.input-group .form-control {
  padding-left: calc(var(--sp-4) + 1.5rem + var(--sp-2));
}

.input-group.has-right .form-control {
  padding-right: calc(var(--sp-4) + 1.5rem + var(--sp-2));
}

/* Checkbox & Radio */
.check-group {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--dur-fast);
}

.check-group:hover {
  border-color: var(--sky);
  background: var(--sky-pale);
}

.check-group input[type="checkbox"],
.check-group input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  cursor: pointer;
}

/* Amenity Toggle Chips */
.amenity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.amenity-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--dur-fast);
  user-select: none;
}

.amenity-chip:hover {
  border-color: var(--sky);
  color: var(--sky);
  background: var(--sky-pale);
}

.amenity-chip.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

/* Price Range Slider */
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--gray-200);
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(10,15,44,0.3);
  transition: transform var(--dur-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  z-index: 1000;
  transition: all var(--dur-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
}

.navbar-brand-icon {
  width: 36px;
  height: 36px;
  background: var(--grad-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav-link {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--dur-fast);
}

.nav-link:hover {
  background: var(--gray-50);
  color: var(--navy);
}

.nav-link.active {
  background: var(--sky-pale);
  color: var(--sky);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* Mobile Nav Toggle */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--dur-base);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: var(--sp-4) var(--sp-6);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  flex-direction: column;
  gap: var(--sp-2);
}

.mobile-menu.open { display: flex; }

/* Bottom Navigation (Mobile) */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: var(--sp-2) var(--sp-4);
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(10,15,44,0.08);
}

.bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-md);
  color: var(--gray-400);
  font-size: 10px;
  font-weight: 500;
  transition: all var(--dur-fast);
  text-decoration: none;
}

.bottom-nav-item .icon { font-size: 1.3rem; }

.bottom-nav-item.active {
  color: var(--navy);
}

.bottom-nav-item.active .icon {
  color: var(--gold);
}

/* ── Dashboard Layout ── */
.dash-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--grad-sidebar);
  overflow-y: auto;
  z-index: 200;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-base) var(--ease-out);
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-6) var(--sp-5);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
}

.sidebar-brand-icon {
  width: 38px;
  height: 38px;
  background: var(--grad-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.sidebar-brand-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
}

.sidebar-brand-sub {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  font-weight: 400;
  margin-top: 1px;
}

.sidebar-nav {
  flex: 1;
  padding: var(--sp-4) var(--sp-3);
}

.sidebar-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: var(--sp-4) var(--sp-3) var(--sp-2);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.55);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: all var(--dur-fast);
  margin-bottom: 2px;
  text-decoration: none;
  position: relative;
}

.sidebar-link:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}

.sidebar-link.active {
  background: rgba(201,168,76,0.15);
  color: var(--gold-light);
}

.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: 0; top: 25%; bottom: 25%;
  width: 3px;
  background: var(--gold);
  border-radius: 0 2px 2px 0;
}

.sidebar-link .icon { font-size: 1.1rem; width: 20px; text-align: center; }

.sidebar-badge {
  margin-left: auto;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.sidebar-footer {
  padding: var(--sp-4) var(--sp-3);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--dur-fast);
}

.sidebar-user:hover { background: rgba(255,255,255,0.06); }

.sidebar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}

.sidebar-user-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

/* Main Content */
.dash-main {
  flex: 1;
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  height: var(--topbar-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-8);
}

.topbar-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.topbar-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: var(--text-sm);
  cursor: pointer;
}

.notif-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--dur-fast);
}

.notif-btn:hover { background: var(--gray-100); color: var(--navy); }

.notif-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--white);
}

.dash-content {
  flex: 1;
  padding: var(--sp-8);
}

/* Mobile sidebar toggle */
.sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 80px;
  left: var(--sp-4);
  width: 46px;
  height: 46px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  z-index: 300;
  cursor: pointer;
}

/* ── Tables ── */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  white-space: nowrap;
}

.table th:first-child { border-radius: var(--radius-xl) 0 0 0; }
.table th:last-child  { border-radius: 0 var(--radius-xl) 0 0; }

.table td {
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--text-sm);
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-50);
  vertical-align: middle;
}

.table tr:last-child td { border-bottom: none; }

.table tbody tr:hover { background: var(--gray-50); }

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px var(--sp-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
}

.badge-pending  { background: var(--orange-pale); color: var(--orange); }
.badge-active   { background: var(--green-pale);  color: var(--green); }
.badge-inactive { background: var(--gray-100);    color: var(--gray-500); }
.badge-rejected { background: var(--red-pale);    color: var(--red); }
.badge-gold     { background: var(--gold-pale);   color: var(--gold-dark); }
.badge-navy     { background: rgba(10,15,44,0.08); color: var(--navy); }

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ── Hero Section ── */
.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-h);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 50%, rgba(79,156,249,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(201,168,76,0.10) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold-light);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-6);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--sp-6);
}

.hero-title em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--sp-10);
  line-height: 1.7;
  max-width: 540px;
}

/* Hero Search Box */
.hero-search {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
  box-shadow: var(--shadow-xl);
  margin-bottom: var(--sp-8);
}

.hero-search-tabs {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.hero-search-tab {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--dur-fast);
  border: none;
  background: none;
}

.hero-search-tab.active {
  background: var(--navy);
  color: var(--white);
}

.hero-search-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto auto;
  gap: var(--sp-3);
  align-items: end;
}

.hero-stats {
  display: flex;
  gap: var(--sp-8);
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--white);
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* ── Filter Sidebar ── */
.filter-sidebar {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: var(--sp-6);
  position: sticky;
  top: calc(var(--navbar-h) + var(--sp-4));
}

.filter-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-section {
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--gray-100);
}

.filter-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-section-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── PG Detail Page ── */
.gallery-main {
  width: 100%;
  height: 460px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  position: relative;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  overflow: hidden;
}

.gallery-thumb {
  height: 90px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-base);
}

.gallery-thumb:hover img { transform: scale(1.06); }

.gallery-thumb.more-overlay::after {
  content: attr(data-count);
  position: absolute;
  inset: 0;
  background: rgba(10,15,44,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--text-xl);
  font-weight: 700;
}

.map-placeholder {
  height: 240px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--sp-3);
  color: var(--gray-400);
  font-size: var(--text-sm);
  overflow: hidden;
  position: relative;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 30px,
      rgba(10,15,44,0.04) 30px,
      rgba(10,15,44,0.04) 31px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 30px,
      rgba(10,15,44,0.04) 30px,
      rgba(10,15,44,0.04) 31px
    );
}

/* Chat / Inquiry */
.chat-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.chat-header {
  padding: var(--sp-4) var(--sp-5);
  background: var(--grad-navy);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.chat-messages {
  height: 280px;
  overflow-y: auto;
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  background: var(--gray-50);
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 2px; }

.chat-bubble {
  max-width: 80%;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.chat-bubble.sent {
  background: var(--navy);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: var(--radius-sm);
}

.chat-bubble.received {
  background: var(--white);
  color: var(--gray-700);
  align-self: flex-start;
  border-bottom-left-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
}

.chat-time {
  font-size: 10px;
  color: var(--gray-400);
  margin-top: 4px;
}

.chat-input-area {
  padding: var(--sp-4);
  border-top: 1px solid var(--gray-100);
  display: flex;
  gap: var(--sp-3);
  align-items: flex-end;
}

/* ── Auth Pages ── */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-visual {
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-12);
  position: relative;
  overflow: hidden;
}

.auth-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(79,156,249,0.15) 0%, transparent 70%);
}

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-12) var(--sp-8);
  background: var(--white);
}

.auth-form-box {
  width: 100%;
  max-width: 420px;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-8);
}

.auth-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}

.auth-subtitle {
  color: var(--gray-500);
  margin-bottom: var(--sp-8);
}

.divider {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin: var(--sp-6) 0;
  color: var(--gray-400);
  font-size: var(--text-sm);
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

/* Role Selector */
.role-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
  background: var(--gray-50);
  padding: var(--sp-2);
  border-radius: var(--radius-lg);
}

.role-tab {
  padding: var(--sp-3);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--dur-fast);
}

.role-tab.active {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

/* ── Page Header ── */
.page-header {
  background: var(--grad-hero);
  padding: calc(var(--navbar-h) + var(--sp-12)) 0 var(--sp-12);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(79,156,249,0.10) 0%, transparent 70%);
}

/* ── Upload Zone ── */
.upload-zone {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  text-align: center;
  cursor: pointer;
  transition: all var(--dur-base);
  background: var(--gray-50);
}

.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--sky);
  background: var(--sky-pale);
}

.upload-icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-3);
  color: var(--gray-300);
}

.image-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.image-preview-item {
  position: relative;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-100);
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview-remove {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--red);
  color: var(--white);
  border: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--dur-fast);
}

.image-preview-item:hover .image-preview-remove { opacity: 1; }

/* ── Inquiry Cards ── */
.inquiry-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
  box-shadow: var(--shadow-card);
  transition: all var(--dur-base);
  border-left: 4px solid transparent;
}

.inquiry-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.inquiry-card.unread {
  border-left-color: var(--sky);
  background: var(--sky-pale);
}

.inquiry-card.urgent {
  border-left-color: var(--gold);
}

/* ── Section Titles ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--sky-pale);
  color: var(--sky);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}

.section-subtitle {
  font-size: var(--text-md);
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Loading Skeletons ── */
@keyframes shimmer {
  0%   { background-position: -500px 0; }
  100% { background-position: 500px 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
  background-size: 1000px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: var(--radius-md);
}

.skeleton-text { height: 16px; width: 100%; }
.skeleton-text.short { width: 60%; }
.skeleton-text.shorter { width: 35%; }
.skeleton-image { height: 200px; border-radius: var(--radius-lg); }
.skeleton-title { height: 28px; margin-bottom: var(--sp-2); }
.skeleton-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* ── Empty States ── */
.empty-state {
  text-align: center;
  padding: var(--sp-16) var(--sp-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

.empty-icon {
  font-size: 4rem;
  opacity: 0.3;
}

.empty-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
}

.empty-text {
  font-size: var(--text-sm);
  color: var(--gray-500);
  max-width: 320px;
}

/* ── Toast Notifications ── */
.toast-container {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.toast {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-width: 300px;
  border-left: 4px solid var(--green);
  animation: slideInRight var(--dur-base) var(--ease-out);
}

.toast.error { border-left-color: var(--red); }
.toast.warning { border-left-color: var(--orange); }
.toast.info { border-left-color: var(--sky); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,15,44,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base);
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--dur-base) var(--ease-out);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: var(--sp-6) var(--sp-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--gray-500);
  border: none;
  transition: all var(--dur-fast);
}

.modal-close:hover { background: var(--gray-200); color: var(--navy); }

.modal-body { padding: var(--sp-6); }
.modal-footer {
  padding: 0 var(--sp-6) var(--sp-6);
  display: flex;
  gap: var(--sp-3);
  justify-content: flex-end;
}

/* ── Pagination ── */
.pagination {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  justify-content: center;
  margin-top: var(--sp-8);
}

.page-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-600);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--dur-fast);
}

.page-btn:hover { border-color: var(--navy); color: var(--navy); }
.page-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── WhatsApp Button ── */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  background: #25D366;
  color: var(--white);
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--text-sm);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  transition: all var(--dur-base);
  text-decoration: none;
}

.whatsapp-btn:hover {
  background: #1fb357;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

/* ── Utility ── */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky   { position: sticky; }
.overflow-hidden { overflow: hidden; }
.w-full   { width: 100%; }
.h-full   { height: 100%; }
.block    { display: block; }
.hidden   { display: none !important; }
.rounded  { border-radius: var(--radius-md); }
.rounded-full { border-radius: var(--radius-full); }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-center { text-align: center; }
.text-right  { text-align: right; }

.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }

.cursor-pointer { cursor: pointer; }

/* Separator */
.sep { height: 1px; background: var(--gray-100); }

/* Scroll top btn */
.scroll-top {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--dur-base);
  z-index: 500;
  border: none;
  font-size: 1.1rem;
}

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

/* ── Animations ── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.animate-fadeIn   { animation: fadeIn 0.6s var(--ease-out) both; }
.animate-fadeUp   { animation: fadeUp 0.6s var(--ease-out) both; }
.animate-fadeLeft { animation: fadeLeft 0.6s var(--ease-out) both; }
.animate-scaleIn  { animation: scaleIn 0.5s var(--ease-out) both; }
.animate-float    { animation: float 3s ease-in-out infinite; }
.animate-pulse    { animation: pulse 2s ease-in-out infinite; }

.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 300ms; }
.delay-4 { animation-delay: 400ms; }
.delay-5 { animation-delay: 500ms; }
.delay-6 { animation-delay: 600ms; }

/* ── Footer ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-20) 0 var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

.footer-brand-text {
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-top: var(--sp-4);
  opacity: 0.7;
}

.footer-heading {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--dur-fast);
  text-decoration: none;
}

.footer-link:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: var(--text-sm);
}

.social-links {
  display: flex;
  gap: var(--sp-3);
}

.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: all var(--dur-fast);
  text-decoration: none;
}

.social-link:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ── Admin Specific ── */
.admin-sidebar .sidebar-brand-sub::before {
  content: '🛡️ ';
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  :root { --sidebar-w: 240px; }
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .hero-search-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .auth-form-side { padding: var(--sp-8) var(--sp-6); }
}

@media (max-width: 768px) {
  :root {
    --navbar-h: 60px;
    --topbar-h: 60px;
  }

  .container { padding: 0 var(--sp-4); }
  .section { padding: var(--sp-12) 0; }
  .section-lg { padding: var(--sp-16) 0; }

  /* Navbar */
  .navbar-nav, .navbar-actions .btn { display: none; }
  .hamburger { display: flex; }
  .bottom-nav { display: block; }

  /* Hero */
  .hero { min-height: auto; padding: calc(var(--navbar-h) + var(--sp-8)) 0 var(--sp-12); }
  .hero-title { font-size: var(--text-3xl); }
  .hero-search-row { grid-template-columns: 1fr; }
  .hero-stats { gap: var(--sp-6); }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  /* Dash Layout */
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open { transform: translateX(0); }
  .dash-main { margin-left: 0; }
  .topbar { padding: 0 var(--sp-4); }
  .dash-content { padding: var(--sp-4); }
  .sidebar-toggle { display: flex; }

  /* Tables */
  .table { font-size: var(--text-xs); }
  .table th, .table td { padding: var(--sp-3) var(--sp-4); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer-bottom { flex-direction: column; gap: var(--sp-4); }

  /* Gallery */
  .gallery-main { height: 260px; }
  .gallery-thumbs { grid-template-columns: repeat(2, 1fr); }

  /* Auth */
  .auth-form-side { padding: var(--sp-8) var(--sp-4); }

  /* Toast */
  .toast-container { left: var(--sp-4); right: var(--sp-4); }
  .toast { min-width: auto; }

  /* Cards */
  .pg-card:hover { transform: none; }
  .card:hover { transform: none; }
  .stat-card:hover { transform: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: var(--text-2xl); }
  .section-title { font-size: var(--text-2xl); }
  .btn-lg { padding: var(--sp-3) var(--sp-6); font-size: var(--text-base); }

  .gallery-thumbs { display: none; }
  .gallery-main { border-radius: var(--radius-xl); }

  .modal { border-radius: var(--radius-xl); }

  .role-tabs { grid-template-columns: 1fr; }
}

/* ── Print ── */
@media print {
  .navbar, .sidebar, .bottom-nav, .scroll-top, .toast-container { display: none !important; }
  .dash-main { margin-left: 0 !important; }
}

/* ============================================================
   PGFINDER — Premium Enhancement Layer
   ============================================================ */

/* ── WhatsApp Float Button ── */
.wa-float {
  position: fixed;
  bottom: 86px;
  right: var(--sp-5);
  width: 52px;
  height: 52px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 900;
  transition: all var(--dur-base) var(--ease-out);
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: waPulse 2s ease-in-out infinite;
}
@keyframes waPulse {
  0%,100% { transform: scale(1); opacity:0.6; }
  50%      { transform: scale(1.18); opacity:0; }
}

/* ── Verified Badge on Card ── */
.pg-card-verified {
  position: absolute;
  bottom: var(--sp-3);
  left: var(--sp-3);
  background: var(--green);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px var(--sp-2);
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

/* ── Enhanced Card Image ── */
.pg-card-image {
  position: relative;
  height: 210px;
}

/* ── Trust Badges Strip ── */
.trust-badges-inline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.trust-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--green-pale);
  color: var(--green);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  border: 1px solid rgba(29,185,126,0.2);
}
.trust-badge-pill.gold {
  background: var(--gold-pale);
  color: var(--gold-dark);
  border-color: rgba(201,168,76,0.2);
}
.trust-badge-pill.sky {
  background: var(--sky-pale);
  color: var(--sky);
  border-color: rgba(79,156,249,0.2);
}

/* ── Shimmer on hover for cards ── */
.pg-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.07) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: none;
  pointer-events: none;
  z-index: 1;
}
.pg-card:hover::after {
  transform: translateX(100%);
  transition: transform 0.6s ease;
}

/* ── Booking Sidebar ── */
.booking-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--navbar-h) + var(--sp-4));
  border: 1px solid var(--gray-100);
}
.booking-card-header {
  background: var(--grad-hero);
  padding: var(--sp-5) var(--sp-6);
  position: relative;
  overflow: hidden;
}
.booking-card-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201,168,76,0.2) 0%, transparent 60%);
}
.booking-card-price {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--white);
  position: relative; z-index: 1;
}
.booking-card-price span {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: rgba(255,255,255,0.65);
}
.booking-card-body { padding: var(--sp-5) var(--sp-6); }
.booking-meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--gray-100);
}
.booking-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
}
.booking-meta-label { color: var(--gray-500); }
.booking-meta-value { font-weight: 600; color: var(--navy); }
.booking-actions { display: flex; flex-direction: column; gap: var(--sp-3); }
.booking-trust {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.booking-trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--gray-500);
}

/* ── Owner Contact Card ── */
.owner-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: var(--sp-5);
  margin-top: var(--sp-4);
  border: 1px solid var(--gray-100);
}
.owner-avatar-lg {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--grad-navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  flex-shrink: 0;
}
.whatsapp-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: all var(--dur-base);
  box-shadow: 0 2px 10px rgba(37,211,102,0.3);
}
.whatsapp-contact-btn:hover {
  background: #1fb357;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
}
.call-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: all var(--dur-base);
}
.call-contact-btn:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

/* ── Review Cards ── */
.review-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
  transition: all var(--dur-base);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-pale);
}

/* ── Women Safety Section ── */
.women-safety-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: linear-gradient(135deg, #fff0f5, #fce4ec);
  color: #c2185b;
  border: 1px solid rgba(194,24,91,0.15);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
}

/* ── AI Match Score ── */
.match-score-widget {
  background: var(--grad-hero);
  border-radius: var(--radius-xl);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  position: relative;
  overflow: hidden;
}
.match-score-widget::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(79,156,249,0.2) 0%, transparent 60%);
}
.match-score-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 3px solid var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.match-score-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}
.match-score-label {
  font-size: 9px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Pricing Plans ── */
.plan-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  transition: all var(--dur-slow) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--gold); }
.plan-card.featured {
  background: var(--grad-hero);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold), var(--shadow-xl);
}
.plan-card.featured::before {
  content: '⭐ Most Popular';
  position: absolute;
  top: var(--sp-4); right: -28px;
  background: var(--grad-gold);
  color: var(--navy);
  font-size: var(--text-xs);
  font-weight: 800;
  padding: 4px var(--sp-8);
  transform: rotate(35deg);
  width: 120px;
  text-align: center;
  letter-spacing: 0.03em;
}
.plan-price {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.plan-card.featured .plan-price { color: var(--gold-light); }
.plan-feature { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--text-sm); padding: var(--sp-2) 0; border-bottom: 1px solid var(--gray-50); }
.plan-card.featured .plan-feature { border-bottom-color: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); }
.plan-check { color: var(--green); font-size: 0.9rem; }
.plan-card.featured .plan-check { color: var(--gold-light); }

/* ── Section Divider ── */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gray-200), transparent);
  margin: var(--sp-8) 0;
}

/* ── Amenity Grid Enhanced ── */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--sp-3);
}
.amenity-item-detail {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--gray-700);
  font-weight: 500;
  border: 1px solid var(--gray-100);
  transition: all var(--dur-fast);
}
.amenity-item-detail:hover { background: var(--sky-pale); border-color: var(--sky-light); color: var(--sky); }
.amenity-item-detail svg { flex-shrink: 0; }

/* ── Press / Trust Bar ── */
.press-bar-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  flex-wrap: wrap;
  padding: var(--sp-6) 0;
}
.press-logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: -0.02em;
  transition: color var(--dur-fast);
}
.press-logo:hover { color: var(--gray-400); }

/* ── Section Pill Label Enhanced ── */
.section-label-navy {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(10,15,44,0.06);
  color: var(--navy);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}

/* ── Women Mode Toggle ── */
.women-mode-toggle {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: linear-gradient(135deg, rgba(194,24,91,0.08), rgba(156,39,176,0.08));
  border: 1.5px solid rgba(194,24,91,0.2);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--dur-base);
  font-size: var(--text-xs);
  font-weight: 700;
  color: #c2185b;
  white-space: nowrap;
}
.women-mode-toggle:hover {
  background: linear-gradient(135deg, rgba(194,24,91,0.14), rgba(156,39,176,0.14));
  border-color: rgba(194,24,91,0.4);
  transform: translateY(-1px);
}
.wm-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #c2185b;
  animation: pulse 2s ease-in-out infinite;
}

/* ── Inquiry Card Enhanced ── */
.inquiry-card .inq-actions {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  flex-wrap: wrap;
}

/* ── Notification Banner ── */
.notif-banner {
  background: linear-gradient(135deg, var(--sky-pale), #e8f4ff);
  border: 1px solid var(--sky-light);
  border-radius: var(--radius-xl);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

/* ── Dashboard Grid ── */
.dash-grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:var(--sp-5); }
.dash-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:var(--sp-5); }
.dash-grid-3 { display:grid; grid-template-columns:2fr 1fr; gap:var(--sp-5); }
@media(max-width:1100px){ .dash-grid-4{grid-template-columns:repeat(2,1fr);} }
@media(max-width:768px){ .dash-grid-4,.dash-grid-2,.dash-grid-3{grid-template-columns:1fr;} }

/* ── Chart Card ── */
.chart-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
}
.chart-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:var(--sp-6); flex-wrap:wrap; gap:var(--sp-3); }

/* ── Quick Action ── */
.quick-action {
  background: var(--white); border-radius: var(--radius-xl); padding: var(--sp-5); display:flex; align-items:center; gap:var(--sp-4); box-shadow:var(--shadow-card); cursor:pointer; transition:all var(--dur-base) var(--ease-out); text-decoration:none; border:2px solid transparent;
}
.quick-action:hover { transform:translateY(-3px); box-shadow:var(--shadow-lg); border-color:var(--gold); }
.quick-action-icon { width:52px; height:52px; border-radius:var(--radius-lg); display:flex; align-items:center; justify-content:center; font-size:1.6rem; flex-shrink:0; }

/* ── Listing Mini ── */
.listing-mini { display:flex; align-items:center; gap:var(--sp-4); padding:var(--sp-4); background:var(--off-white); border-radius:var(--radius-lg); margin-bottom:var(--sp-3); transition:all var(--dur-fast); }
.listing-mini:hover { background:var(--gray-100); }
.listing-mini-img { width:64px; height:64px; border-radius:var(--radius-md); object-fit:cover; flex-shrink:0; }
.inq-row { display:flex; align-items:center; gap:var(--sp-4); padding:var(--sp-4) 0; border-bottom:1px solid var(--gray-50); }
.inq-row:last-child { border-bottom:none; }
.inq-avatar { width:40px; height:40px; border-radius:50%; background:var(--grad-navy); color:var(--white); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:var(--text-sm); flex-shrink:0; }
.progress-bar { height:6px; background:var(--gray-100); border-radius:3px; overflow:hidden; margin-top:var(--sp-2); }
.progress-fill { height:100%; border-radius:3px; transition:width 1.2s var(--ease-out); }

/* ── KYC / Subscription Page ── */
.kyc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.kyc-step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gray-400);
  margin-bottom: var(--sp-3);
  transition: all var(--dur-base);
}
.kyc-step.active .kyc-step-num { background: var(--navy); border-color: var(--navy); color: var(--white); }
.kyc-step.done .kyc-step-num { background: var(--green); border-color: var(--green); color: var(--white); }

/* ── Onboarding Modal ── */
.onboard-modal { max-width: 640px; }
.onboard-step-bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--sp-8);
}
.onboard-step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  position: relative;
}
.onboard-step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}
.onboard-step-item.done:not(:last-child)::after { background: var(--green); }
.onboard-step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-400);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--text-sm);
  position: relative; z-index: 1;
  border: 2px solid var(--gray-200);
  transition: all var(--dur-base);
}
.onboard-step-item.active .onboard-step-num { background: var(--navy); color: var(--white); border-color: var(--navy); }
.onboard-step-item.done .onboard-step-num { background: var(--green); color: var(--white); border-color: var(--green); }
.onboard-step-label { font-size: 11px; font-weight: 600; color: var(--gray-400); }
.onboard-step-item.active .onboard-step-label { color: var(--navy); }
.onboard-step-item.done .onboard-step-label { color: var(--green); }
.onboard-pane { display: none; }
.onboard-pane.active { display: block; animation: fadeIn 0.3s ease; }

/* ── Plan Selection in Onboard ── */
.plan-select-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-3); margin-bottom: var(--sp-5); }
.plan-select-card {
  padding: var(--sp-4);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: center;
  transition: all var(--dur-fast);
}
.plan-select-card:hover { border-color: var(--sky); }
.plan-select-card.selected { border-color: var(--navy); background: var(--sky-pale); }
.plan-select-card.popular { border-color: var(--gold); }
.plan-select-card .plan-select-price { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; color: var(--navy); }

/* ── AI Match Bar ── */
.ai-match-bar { height: 6px; background: var(--gray-100); border-radius: 3px; overflow: hidden; }
.ai-match-fill { height: 100%; border-radius: 3px; background: var(--grad-gold); transition: width 1.5s var(--ease-out); }

/* ── Responsive Adjustments ── */
@media (max-width: 768px) {
  .wa-float { bottom: 74px; right: var(--sp-4); width: 46px; height: 46px; }
  .plan-select-grid { grid-template-columns: 1fr; }
  .press-bar-row { gap: var(--sp-6); }
}

/* ── Print ── */
@media print {
  .wa-float, .scroll-top { display: none !important; }
}
