/* ============================================================
   VotelKart — Premium Design System
   Theme: Deep Authority Blue · Arctic White · Charcoal Dark
   Accent: Sapphire (#1E6FD9) — Trustworthy · Professional
   Typography: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */
 
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600;700&display=swap');
 
/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Core Palette */
  --midnight:  #0A1628;   /* Deepest navy — headers, nav */
  --navy:      #0D2045;   /* Deep blue — primary backgrounds */
  --navy2:     #112654;   /* Slightly lighter navy */
  --sapphire:  #1E6FD9;   /* Sapphire accent — CTAs, links, focus */
  --sapphire2: #2E7EE8;   /* Hover sapphire */
  --sapphire-light: #EBF2FD; /* Tint for backgrounds */
 
  /* Neutrals */
  --white:     #FFFFFF;
  --snow:      #F8F9FC;   /* Page background */
  --ice:       #F0F3F8;   /* Card backgrounds, inputs */
  --frost:     #E4EAF4;   /* Borders, dividers */
  --silver:    #C8D0DF;   /* Disabled, placeholder */
  --slate:     #6B7A99;   /* Muted text */
  --steel:     #3D4D6B;   /* Secondary text */
  --charcoal:  #1C2B45;   /* Body text */
  --midnight-text: #0A1628; /* Darkest text */
 
  /* Semantic */
  --success:   #0A8F5C;
  --success-bg:#E6F7F2;
  --danger:    #C92B2B;
  --danger-bg: #FDEAEA;
  --warn:      #C47A00;
  --warn-bg:   #FDF3E0;
  --info:      #1E6FD9;
  --info-bg:   #EBF2FD;
 
  /* Typography */
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
 
  /* Spacing & Shape */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
 
  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(10,22,40,.08);
  --shadow-sm: 0 2px 8px rgba(10,22,40,.10);
  --shadow:    0 4px 20px rgba(10,22,40,.12);
  --shadow-md: 0 8px 32px rgba(10,22,40,.14);
  --shadow-lg: 0 16px 48px rgba(10,22,40,.18);
  --shadow-sapphire: 0 4px 20px rgba(30,111,217,.25);
}
 
/* ── 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);
  background-color: var(--snow);
  color:            var(--charcoal);
  font-size:        15px;
  line-height:      1.7;
  font-weight:      400;
  overflow-x:       hidden;
  -webkit-font-smoothing: antialiased;
}
 
a    { color: var(--sapphire); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sapphire2); }
img  { max-width: 100%; display: block; }
 
/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  background:    var(--midnight);
  position:      sticky;
  top:           0;
  z-index:       200;
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow:    0 2px 24px rgba(10,22,40,.30);
}
 
.nav-inner {
  max-width: 1320px;
  margin:    auto;
  display:   flex;
  align-items:    center;
  justify-content: space-between;
  padding:   0 28px;
  height:    68px;
}
 
/* Brand */
.brand {
  font-family:   var(--font-head);
  font-size:     28px;
  font-weight:   700;
  color:         var(--white);
  letter-spacing: .3px;
  display:       flex;
  align-items:   center;
  gap:           3px;
}
.brand-v {
  color:       var(--sapphire);
  font-style:  italic;
}
 
/* Nav toggle (mobile) */
.nav-toggle {
  display:        none;
  flex-direction: column;
  justify-content: center;
  gap:            5px;
  width:          40px;
  height:         40px;
  background:     transparent;
  border:         none;
  cursor:         pointer;
  padding:        6px;
}
.nav-toggle span {
  display:       block;
  height:        2px;
  width:         100%;
  background:    var(--white);
  border-radius: 2px;
  transition:    all .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
 
/* Nav links */
.nav-links {
  display:     flex;
  align-items: center;
  gap:         6px;
  flex-wrap:   wrap;
}
 
.nav-links a {
  color:       rgba(255,255,255,.75);
  font-size:   14px;
  font-weight: 500;
  padding:     7px 14px;
  border-radius: var(--radius-sm);
  transition:  all .2s;
  letter-spacing: .2px;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
 
.btn-nav {
  background:    var(--sapphire) !important;
  color:         var(--white) !important;
  padding:       8px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight:   600 !important;
  letter-spacing: .3px !important;
  transition:    all .2s !important;
  box-shadow:    var(--shadow-sapphire) !important;
}
.btn-nav:hover {
  background: var(--sapphire2) !important;
  transform:  translateY(-1px) !important;
}
 
.btn-nav-outline {
  border:        1.5px solid rgba(255,255,255,.3) !important;
  color:         rgba(255,255,255,.85) !important;
  padding:       7px 18px !important;
  border-radius: var(--radius-sm) !important;
  font-weight:   500 !important;
  transition:    all .2s !important;
}
.btn-nav-outline:hover {
  background:    rgba(255,255,255,.1) !important;
  border-color:  rgba(255,255,255,.6) !important;
  color:         var(--white) !important;
}
 
/* ── Main Wrapper ─────────────────────────────────────────── */
.main-wrap {
  max-width:  1320px;
  margin:     auto;
  padding:    40px 28px 80px;
  min-height: calc(100vh - 140px);
}
 
/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background:    var(--navy);
  border-radius: var(--radius-xl);
  padding:       88px 56px;
  text-align:    center;
  color:         var(--white);
  margin-bottom: 56px;
  position:      relative;
  overflow:      hidden;
}
 
/* Subtle geometric pattern overlay */
.hero::before {
  content:  '';
  position: absolute;
  inset:    0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(30,111,217,.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(30,111,217,.12) 0%, transparent 40%),
    linear-gradient(135deg, rgba(255,255,255,.02) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,.02) 25%, transparent 25%);
  pointer-events: none;
}
 
/* Fine dot texture */
.hero::after {
  content:  '';
  position: absolute;
  inset:    0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: .5;
}
 
.hero > * { position: relative; z-index: 1; }
 
.hero h1 {
  font-family:    var(--font-head);
  font-size:      clamp(36px, 5.5vw, 64px);
  font-weight:    700;
  line-height:    1.15;
  margin-bottom:  18px;
  letter-spacing: -.5px;
  color:          var(--white);
}
.hero h1 span { color: var(--sapphire); font-style: italic; }
.hero p {
  font-size:     clamp(16px, 2vw, 19px);
  color:         rgba(255,255,255,.72);
  margin-bottom: 40px;
  font-weight:   300;
  letter-spacing: .2px;
}
 
/* ── Search Box ───────────────────────────────────────────── */
.search-box {
  background:    var(--white);
  border-radius: var(--radius-lg);
  padding:       28px 32px;
  box-shadow:    var(--shadow-md);
  margin-bottom: 44px;
  border:        1px solid var(--frost);
}
 
.search-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap:         14px;
  align-items: end;
}
.search-grid .form-group { margin: 0; }
 
/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
 
.form-group label {
  display:        block;
  font-size:      12px;
  font-weight:    600;
  color:          var(--slate);
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom:  7px;
}
 
.form-control {
  width:         100%;
  padding:       11px 14px;
  border:        1.5px solid var(--frost);
  border-radius: var(--radius);
  font-family:   var(--font-body);
  font-size:     15px;
  color:         var(--charcoal);
  background:    var(--white);
  transition:    border-color .2s, box-shadow .2s, background .2s;
  outline:       none;
  -webkit-appearance: none;
}
.form-control::placeholder { color: var(--silver); }
.form-control:focus {
  border-color: var(--sapphire);
  box-shadow:   0 0 0 3px rgba(30,111,217,.12);
  background:   var(--white);
}
select.form-control  { appearance: none; cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
 
/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             8px;
  padding:         11px 24px;
  border:          none;
  border-radius:   var(--radius);
  font-family:     var(--font-body);
  font-size:       14px;
  font-weight:     600;
  letter-spacing:  .3px;
  cursor:          pointer;
  transition:      all .2s;
  text-decoration: none;
  white-space:     nowrap;
  -webkit-tap-highlight-color: transparent;
}
 
/* Primary — Sapphire */
.btn-primary {
  background:  var(--sapphire);
  color:       var(--white);
  box-shadow:  var(--shadow-sapphire);
}
.btn-primary:hover {
  background: var(--sapphire2);
  color:      var(--white);
  transform:  translateY(-1px);
  box-shadow: 0 6px 24px rgba(30,111,217,.32);
}
 
/* Gold → replaced with Sapphire for trust */
.btn-gold {
  background:  var(--sapphire);
  color:       var(--white);
  box-shadow:  var(--shadow-sapphire);
}
.btn-gold:hover {
  background: var(--sapphire2);
  color:      var(--white);
  transform:  translateY(-1px);
}
 
/* Navy */
.btn-navy {
  background: var(--navy);
  color:      var(--white);
}
.btn-navy:hover { background: var(--midnight); transform: translateY(-1px); }
 
/* Outline */
.btn-outline {
  background:    transparent;
  color:         var(--navy);
  border:        2px solid var(--frost);
}
.btn-outline:hover {
  background:    var(--navy);
  color:         var(--white);
  border-color:  var(--navy);
}
 
/* Success / Danger */
.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { opacity: .9; transform: translateY(-1px); }
.btn-danger  { background: var(--danger);  color: var(--white); }
.btn-danger:hover  { opacity: .9; transform: translateY(-1px); }
 
.btn-sm    { padding: 7px 16px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-block { width: 100%; }
 
/* ── Cards ────────────────────────────────────────────────── */
.card {
  background:    var(--white);
  border-radius: var(--radius-lg);
  box-shadow:    var(--shadow-sm);
  overflow:      hidden;
  border:        1px solid var(--frost);
}
.card-body   { padding: 26px; }
.card-header {
  padding:       18px 26px;
  border-bottom: 1px solid var(--frost);
  font-family:   var(--font-head);
  font-size:     20px;
  font-weight:   600;
  color:         var(--navy);
  background:    var(--snow);
  letter-spacing: .2px;
}
 
/* ── Property Cards ───────────────────────────────────────── */
.property-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap:                   24px;
}
 
.property-card {
  background:    var(--white);
  border-radius: var(--radius-lg);
  box-shadow:    var(--shadow-sm);
  overflow:      hidden;
  border:        1px solid var(--frost);
  transition:    transform .25s, box-shadow .25s;
  display:       block;
  text-decoration: none;
}
.property-card:hover {
  transform:  translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--sapphire);
}
 
.property-img {
  width:       100%;
  height:      210px;
  object-fit:  cover;
  background:  var(--navy);
}
.property-img-placeholder {
  width:           100%;
  height:          210px;
  background:      linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-size:       52px;
}
 
.property-body { padding: 20px 22px; }
 
.property-type {
  font-size:      11px;
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color:          var(--sapphire);
  margin-bottom:  6px;
}
.property-name {
  font-family:   var(--font-head);
  font-size:     21px;
  font-weight:   600;
  color:         var(--navy);
  margin-bottom: 5px;
  line-height:   1.3;
}
.property-location {
  font-size:     13px;
  color:         var(--slate);
  margin-bottom: 14px;
}
.property-price {
  font-size:   22px;
  font-weight: 700;
  color:       var(--navy);
}
.property-price span { font-size: 13px; font-weight: 400; color: var(--slate); }
 
/* Premium Badge */
.badge-premium {
  display:        inline-block;
  background:     linear-gradient(90deg, var(--sapphire), var(--sapphire2));
  color:          var(--white);
  font-size:      10px;
  font-weight:    700;
  padding:        3px 10px;
  border-radius:  20px;
  text-transform: uppercase;
  letter-spacing: .6px;
}
 
/* ── Tables ───────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
 
th {
  background:     var(--navy);
  color:          rgba(255,255,255,.90);
  padding:        13px 18px;
  text-align:     left;
  font-size:      11px;
  font-weight:    600;
  text-transform: uppercase;
  letter-spacing: .7px;
  white-space:    nowrap;
}
td {
  padding:       13px 18px;
  border-bottom: 1px solid var(--frost);
  color:         var(--charcoal);
  vertical-align: middle;
}
tr:hover td { background: var(--sapphire-light); }
tr:last-child td { border-bottom: none; }
 
/* ── Stats Grid ───────────────────────────────────────────── */
.stats-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap:           20px;
  margin-bottom: 32px;
}
.stat-card {
  background:    var(--white);
  border-radius: var(--radius-lg);
  box-shadow:    var(--shadow-sm);
  padding:       24px;
  border-left:   4px solid var(--sapphire);
  border:        1px solid var(--frost);
  border-left:   4px solid var(--sapphire);
  position:      relative;
  overflow:      hidden;
}
.stat-card::after {
  content:   '';
  position:  absolute;
  top:       -20px;
  right:     -20px;
  width:     80px;
  height:    80px;
  background: rgba(30,111,217,.05);
  border-radius: 50%;
}
.stat-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: var(--slate); margin-bottom: 10px; }
.stat-value { font-family: var(--font-head); font-size: 34px; color: var(--navy); font-weight: 700; line-height: 1; }
.stat-sub   { font-size: 13px; color: var(--slate); margin-top: 6px; }
 
/* ── Auth Pages ───────────────────────────────────────────── */
.auth-wrap { max-width: 460px; margin: 48px auto; }
.auth-card {
  background:    var(--white);
  border-radius: var(--radius-xl);
  box-shadow:    var(--shadow-lg);
  overflow:      hidden;
  border:        1px solid var(--frost);
}
.auth-header {
  background:  var(--navy);
  padding:     40px 40px 32px;
  text-align:  center;
  color:       var(--white);
  position:    relative;
  overflow:    hidden;
}
.auth-header::before {
  content:  '';
  position: absolute;
  inset:    0;
  background: radial-gradient(circle at 70% 30%, rgba(30,111,217,.3) 0%, transparent 60%);
}
.auth-header > * { position: relative; z-index: 1; }
.auth-header h1 { font-family: var(--font-head); font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.auth-header p  { opacity: .7; font-size: 14px; font-weight: 300; }
.auth-body { padding: 36px 40px; }
 
/* ── Dashboard Layout ─────────────────────────────────────── */
.dash-layout { display: flex; gap: 28px; align-items: flex-start; }
 
.sidebar {
  width:         250px;
  flex-shrink:   0;
  background:    var(--white);
  border-radius: var(--radius-lg);
  box-shadow:    var(--shadow-sm);
  overflow:      hidden;
  position:      sticky;
  top:           88px;
  border:        1px solid var(--frost);
}
 
.sidebar-header {
  background: var(--navy);
  padding:    22px 22px;
  color:      var(--white);
}
.sidebar-header h3 { font-family: var(--font-head); font-size: 17px; font-weight: 600; }
.sidebar-header p  { font-size: 12px; opacity: .6; margin-top: 3px; }
 
.sidebar-nav a {
  display:       flex;
  align-items:   center;
  gap:           10px;
  padding:       13px 20px;
  font-size:     14px;
  font-weight:   500;
  color:         var(--steel);
  border-bottom: 1px solid var(--frost);
  transition:    all .18s;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  background:    var(--sapphire-light);
  color:         var(--sapphire);
  border-left:   3px solid var(--sapphire);
  padding-left:  17px;
  font-weight:   600;
}
.dash-content { flex: 1; min-width: 0; }
 
/* Mobile sidebar toggle */
.sidebar-toggle {
  display:       none;
  width:         100%;
  padding:       14px 20px;
  background:    var(--navy);
  color:         var(--white);
  border:        none;
  cursor:        pointer;
  font-family:   var(--font-body);
  font-size:     14px;
  font-weight:   600;
  text-align:    left;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.sidebar-nav.collapsed { display: none; }
 
/* ── Booking Summary Box ──────────────────────────────────── */
.summary-box {
  background:    var(--navy);
  color:         var(--white);
  border-radius: var(--radius-lg);
  padding:       26px;
}
.summary-row {
  display:         flex;
  justify-content: space-between;
  padding:         9px 0;
  border-bottom:   1px solid rgba(255,255,255,.08);
  font-size:       14px;
}
.summary-row:last-child { border: none; font-size: 18px; font-weight: 700; color: var(--sapphire); }
.summary-label { opacity: .7; }
 
/* ── Badges ───────────────────────────────────────────────── */
.badge {
  display:       inline-block;
  padding:       4px 11px;
  border-radius: 20px;
  font-size:     12px;
  font-weight:   600;
  letter-spacing: .2px;
  white-space:   nowrap;
}
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-danger  { background: var(--danger-bg);  color: var(--danger);  }
.badge-warn    { background: var(--warn-bg);     color: var(--warn);    }
.badge-info    { background: var(--info-bg);     color: var(--info);    }
.badge-gray    { background: var(--ice);         color: var(--steel);   }
 
/* ── Alerts ───────────────────────────────────────────────── */
.alert {
  padding:       14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight:   500;
  font-size:     14px;
  border-left:   4px solid;
  display:       flex;
  align-items:   flex-start;
  gap:           10px;
}
.alert-success { background: var(--success-bg); color: #065f46; border-color: var(--success); }
.alert-error   { background: var(--danger-bg);  color: #991b1b; border-color: var(--danger);  }
.alert-warn    { background: var(--warn-bg);     color: #78350f; border-color: var(--warn);   }
.alert-info    { background: var(--info-bg);    color: #1e40af; border-color: var(--info);    }
 
/* ── Page Titles ──────────────────────────────────────────── */
.page-title {
  font-family:   var(--font-head);
  font-size:     clamp(26px, 4vw, 36px);
  color:         var(--navy);
  margin-bottom: 8px;
  font-weight:   700;
  letter-spacing: -.3px;
  line-height:   1.2;
}
.page-sub {
  color:         var(--slate);
  margin-bottom: 32px;
  font-size:     15px;
  font-weight:   300;
}
.section-title {
  font-family:   var(--font-head);
  font-size:     clamp(22px, 3.5vw, 28px);
  color:         var(--navy);
  margin-bottom: 22px;
  font-weight:   600;
  letter-spacing: -.2px;
}
 
/* ── Why VotelKart Feature Section ───────────────────────── */
.features-strip {
  background:    var(--navy);
  border-radius: var(--radius-xl);
  padding:       56px 48px;
  text-align:    center;
  color:         var(--white);
  position:      relative;
  overflow:      hidden;
}
.features-strip::before {
  content:   '';
  position:  absolute;
  inset:     0;
  background: radial-gradient(ellipse at 50% 0%, rgba(30,111,217,.25) 0%, transparent 65%);
  pointer-events: none;
}
.features-strip > * { position: relative; z-index: 1; }
 
/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background:  var(--midnight);
  color:       rgba(255,255,255,.7);
  margin-top:  80px;
  border-top:  1px solid rgba(255,255,255,.06);
}
.footer-inner {
  max-width: 1320px;
  margin:    auto;
  padding:   56px 28px;
  display:   grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap:       48px;
}
.footer-brand { font-family: var(--font-head); font-size: 26px; color: var(--white); font-weight: 700; }
.footer-brand p { font-family: var(--font-body); font-size: 13px; opacity: .5; margin-top: 10px; font-weight: 300; line-height: 1.7; }
.footer-links h4 { color: var(--sapphire); font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px; font-weight: 700; }
.footer-links a  { display: block; font-size: 13px; opacity: .6; margin-bottom: 9px; transition: opacity .2s, color .2s; }
.footer-links a:hover { opacity: 1; color: var(--white); }
.footer-bottom {
  text-align:  center;
  padding:     20px;
  border-top:  1px solid rgba(255,255,255,.06);
  font-size:   12px;
  opacity:     .4;
  letter-spacing: .3px;
}
 
/* ── Misc Utilities ───────────────────────────────────────── */
.divider    { border: none; border-top: 1px solid var(--frost); margin: 24px 0; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--slate); }
.text-navy   { color: var(--navy); }
.text-sapphire { color: var(--sapphire); }
 
.mt-1 { margin-top: 8px; }   .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }  .mt-4 { margin-top: 36px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 36px; }
 
/* ── Responsive ───────────────────────────────────────────── */
 
/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .property-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}
 
/* Tablet/Mobile ≤ 900px */
@media (max-width: 900px) {
  .dash-layout  { flex-direction: column; gap: 0; }
  .sidebar      { width: 100%; position: static; margin-bottom: 20px; }
  .sidebar-toggle { display: block; }
  .sidebar-header { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .book-grid    { grid-template-columns: 1fr !important; }
}
 
/* Mobile ≤ 768px */
@media (max-width: 768px) {
  .main-wrap { padding: 20px 16px 56px; }
  .nav-inner { padding: 0 18px; }
 
  /* Hamburger */
  .nav-toggle { display: flex; }
  .nav-links {
    display:        none;
    position:       absolute;
    top:            68px;
    left:           0;
    right:          0;
    background:     var(--midnight);
    flex-direction: column;
    align-items:    flex-start;
    gap:            0;
    padding:        8px 0 12px;
    box-shadow:     0 8px 32px rgba(10,22,40,.4);
    border-top:     1px solid rgba(255,255,255,.08);
    z-index:        300;
  }
  .nav-links.open   { display: flex; }
  .nav-links a      { width: 100%; padding: 14px 24px; border-radius: 0; }
  .btn-nav, .btn-nav-outline { margin: 8px 16px 0 !important; width: calc(100% - 32px) !important; text-align: center; border-radius: var(--radius-sm) !important; }
 
  /* Hero */
  .hero       { padding: 52px 24px; border-radius: var(--radius-lg); margin-bottom: 32px; }
  .hero p     { margin-bottom: 28px; }
 
  /* Search */
  .search-grid { grid-template-columns: 1fr 1fr; }
  .search-grid .form-group:last-child { grid-column: 1 / -1; }
 
  /* Properties */
  .property-grid { grid-template-columns: 1fr; gap: 16px; }
 
  /* Hide table, show cards */
  .table-wrap table { display: none; }
  .mobile-card      { display: block; }
 
  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card  { padding: 18px; }
  .stat-value { font-size: 28px; }
 
  /* Auth */
  .auth-wrap    { margin: 16px 0; }
  .auth-header  { padding: 28px 24px 22px; }
  .auth-body    { padding: 24px; }
 
  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px; }
 
  /* Features strip */
  .features-strip { padding: 40px 20px; border-radius: var(--radius-lg); }
}
 
/* Small mobile ≤ 480px */
@media (max-width: 480px) {
  .brand          { font-size: 22px; }
  .hero           { padding: 40px 16px; }
  .search-grid    { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: 1fr; }
  .page-title     { font-size: 24px; }
  .sidebar-nav a  { padding: 15px 18px; font-size: 15px; }
}
 
/* Mobile card (replaces table rows) */
.mobile-card {
  display:       none;
  background:    var(--white);
  border-radius: var(--radius-lg);
  box-shadow:    var(--shadow-sm);
  padding:       18px;
  margin-bottom: 14px;
  border:        1px solid var(--frost);
}
.mobile-card-row {
  display:         flex;
  justify-content: space-between;
  padding:         7px 0;
  border-bottom:   1px solid var(--ice);
  font-size:       13px;
}
.mobile-card-row:last-child { border: none; padding-bottom: 0; }
.mobile-card-label { color: var(--slate); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.mobile-card-val   { text-align: right; font-weight: 500; color: var(--charcoal); max-width: 60%; }
 
/* ── Print ────────────────────────────────────────────────── */
@media print {
  .navbar, footer, .btn, .sidebar, .page-title,
  .page-sub, .alert, .sidebar-toggle, .nav-toggle { display: none !important; }
  .main-wrap   { padding: 0 !important; max-width: 100% !important; }
  .dash-layout { display: block !important; }
  .card        { box-shadow: none !important; border: 1px solid #ddd; }
  body         { background: white !important; font-size: 13px; }
  .summary-box { background: var(--navy) !important; -webkit-print-color-adjust: exact; }
}
 