/*
 * ═══════════════════════════════════════════════════════════════════
 *  THE VETERAN ALLIANCE — OTA PLATFORM
 *  Master Stylesheet v1.0
 *  Brand: VAB Brand Guide v2.0
 * ═══════════════════════════════════════════════════════════════════
 */

/* ─── GOOGLE FONTS ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─── BRAND TOKENS ─────────────────────────────────────────────── */
:root {
  /* Primary Palette */
  --tva-red:           #eb1946;
  --tva-red-dark:      #c41238;
  --tva-red-light:     #ff4d6d;
  --tva-red-glow:      rgba(235,25,70,0.18);

  /* Navy Palette */
  --navy-top:          #122740;
  --navy-mid:          #0d1c32;
  --navy-deep:         #061021;
  --navy-sidebar:      #1d376c;
  --navy-card:         rgba(18,39,64,0.72);
  --navy-card-solid:   #0e2236;
  --navy-border:       rgba(255,255,255,0.08);
  --navy-border-hover: rgba(235,25,70,0.45);

  /* Text */
  --text-white:        #ffffff;
  --text-primary:      #f8fafc;
  --text-secondary:    #cbd5e1;
  --text-muted:        #94a3b8;
  --text-dim:          #64748b;

  /* Accent */
  --gold:              #c9a84c;
  --gold-light:        #e6c978;
  --green-success:     #22c55e;
  --green-dark:        #16a34a;
  --amber:             #f59e0b;
  --cyan:              #06b6d4;

  /* Backgrounds */
  --bg-body:           #061021;
  --bg-card:           rgba(13,28,50,0.85);
  --bg-card-hover:     rgba(18,39,64,0.95);
  --bg-input:          rgba(6,16,33,0.7);
  --bg-overlay:        rgba(6,16,33,0.92);
  --bg-modal:          rgba(4,10,22,0.97);

  /* Topo background lines color */
  --topo-line:         #1c2d45;

  /* Spacing */
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   20px;
  --space-6:   24px;
  --space-8:   32px;
  --space-10:  40px;
  --space-12:  48px;
  --space-16:  64px;
  --space-20:  80px;
  --space-24:  96px;

  /* Border Radius */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card:    0 4px 24px rgba(0,0,0,0.45), 0 1px 4px rgba(0,0,0,0.3);
  --shadow-hover:   0 8px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(235,25,70,0.25);
  --shadow-red:     0 4px 20px rgba(235,25,70,0.35);
  --shadow-modal:   0 24px 80px rgba(0,0,0,0.8);
  --shadow-input:   0 0 0 3px rgba(235,25,70,0.22);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Z-Index Scale */
  --z-base:     1;
  --z-card:     10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  500;
  --z-modal:    1000;
  --z-toast:    2000;

  /* Nav Height */
  --nav-height: 64px;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Topographic background pattern — applied to body-level sections */
.topo-bg {
  background-color: var(--navy-mid);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 38px,
      var(--topo-line) 38px,
      var(--topo-line) 39px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 38px,
      var(--topo-line) 38px,
      var(--topo-line) 39px
    );
  background-size: 39px 39px;
}

.topo-bg-dark {
  background-color: var(--navy-deep);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 52px,
      var(--topo-line) 52px,
      var(--topo-line) 53px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 52px,
      var(--topo-line) 52px,
      var(--topo-line) 53px
    );
}

/* ─── SCROLLBAR ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb {
  background: var(--tva-red);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--tva-red-light); }

/* ─── SELECTION ────────────────────────────────────────────────── */
::selection {
  background: var(--tva-red);
  color: #fff;
}

/* ─── TYPOGRAPHY ───────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 600; }
h5 { font-size: 0.9375rem; font-weight: 600; }
h6 { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

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

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--tva-red-light); }

strong { font-weight: 700; color: var(--text-primary); }
em { font-style: italic; }

.text-red     { color: var(--tva-red) !important; }
.text-gold    { color: var(--gold) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-white   { color: #fff !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-success { color: var(--green-success) !important; }
.text-amber   { color: var(--amber) !important; }
.text-cyan    { color: var(--cyan) !important; }

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

.font-light   { font-weight: 300; }
.font-normal  { font-weight: 400; }
.font-medium  { font-weight: 500; }
.font-semi    { font-weight: 600; }
.font-bold    { font-weight: 700; }
.font-xbold   { font-weight: 800; }
.font-black   { font-weight: 900; }

.uppercase { text-transform: uppercase; letter-spacing: 0.08em; }
.label-caps {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ─── LAYOUT UTILITIES ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-sm { max-width: 860px; }
.container-lg { max-width: 1440px; }

.section {
  padding: var(--space-20) 0;
}

.section-sm {
  padding: var(--space-12) 0;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.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-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

.w-full { width: 100%; }
.h-full { height: 100%; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }
.sticky   { position: sticky; }

.overflow-hidden { overflow: hidden; }
.z-10 { z-index: 10; }

.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mx-auto { margin-left: auto; margin-right: auto; }

.hidden  { display: none !important; }
.visible { visibility: visible; }

/* ─── NAVIGATION ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(6,16,33,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1.5px solid var(--tva-red);
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  gap: var(--space-4);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  background: var(--tva-red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 9px;
  font-weight: 600;
  color: var(--tva-red);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.navbar-search {
  flex: 1;
  max-width: 420px;
  position: relative;
}

.navbar-search input {
  width: 100%;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-full);
  padding: 0 var(--space-4) 0 40px;
  color: var(--text-primary);
  font-size: 13px;
  transition: all var(--transition-base);
  font-family: inherit;
}

.navbar-search input:focus {
  outline: none;
  border-color: var(--tva-red);
  box-shadow: var(--shadow-input);
  background: rgba(255,255,255,0.09);
}

.navbar-search input::placeholder { color: var(--text-muted); }

.navbar-search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 15px;
  pointer-events: none;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.navbar-nav a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: #fff;
  border-bottom-color: var(--tva-red);
  background: rgba(255,255,255,0.04);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

/* Mobile menu toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  border: none;
  background: none;
}

.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-modal);
  border-bottom: 1px solid var(--navy-border);
  padding: var(--space-4);
  z-index: var(--z-sticky);
  flex-direction: column;
  gap: var(--space-2);
}

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

.mobile-nav a {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.mobile-nav a:hover { background: var(--bg-card); color: #fff; }

/* Page offset for fixed nav */
.page-top {
  padding-top: var(--nav-height);
}

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 3px solid var(--tva-red);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary — Red */
.btn-primary {
  background: var(--tva-red);
  color: #fff;
  border-color: var(--tva-red);
  box-shadow: 0 2px 12px rgba(235,25,70,0.3);
}

.btn-primary:hover {
  background: var(--tva-red-dark);
  border-color: var(--tva-red-dark);
  box-shadow: 0 4px 20px rgba(235,25,70,0.45);
  transform: translateY(-1px);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Secondary — Outline Red */
.btn-secondary {
  background: transparent;
  color: var(--tva-red);
  border-color: var(--tva-red);
}

.btn-secondary:hover {
  background: var(--tva-red-glow);
  color: var(--tva-red-light);
}

/* Ghost — Outline white */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--navy-border);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
}

/* Gold — Accent */
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
  font-weight: 700;
}

.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
  transform: translateY(-1px);
  color: var(--navy-deep);
}

/* Sizes */
.btn-sm  { font-size: 12px; padding: 7px 14px; border-radius: var(--radius-sm); }
.btn-lg  { font-size: 16px; padding: 14px 28px; border-radius: var(--radius-lg); }
.btn-xl  { font-size: 17px; padding: 16px 36px; border-radius: var(--radius-lg); }
.btn-block { width: 100%; }
.btn-icon { padding: 10px; aspect-ratio: 1; border-radius: var(--radius-md); }
.btn-icon.btn-sm { padding: 7px; }

/* Loading spinner inside btn */
.btn.loading .btn-text { opacity: 0; }
.btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ─── CARDS ─────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

.card:hover {
  border-color: var(--navy-border-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.card-body { padding: var(--space-6); }
.card-header {
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--navy-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--navy-border);
}

/* Listing Card (Property/Boat/RV) */
.listing-card {
  background: var(--bg-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.listing-card:hover {
  border-color: var(--tva-red);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.listing-card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--navy-card-solid);
}

.listing-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.listing-card-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--tva-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.listing-card-badge.badge-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.listing-card-badge.badge-navy {
  background: var(--navy-sidebar);
  color: #fff;
}

.listing-card-wishlist {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: rgba(6,16,33,0.75);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all var(--transition-base);
  backdrop-filter: blur(8px);
}

.listing-card-wishlist:hover { background: rgba(235,25,70,0.85); }
.listing-card-wishlist.active { background: var(--tva-red); }
.listing-card-wishlist svg { width: 16px; height: 16px; fill: none; stroke: #fff; }
.listing-card-wishlist.active svg { fill: #fff; }

.listing-card-body {
  padding: var(--space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.listing-card-type {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tva-red);
}

.listing-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
}

.listing-card-location svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.listing-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-1);
}

.listing-card-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.listing-card-meta-item svg {
  width: 13px;
  height: 13px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.listing-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--navy-border);
}

.listing-card-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.listing-card-price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.listing-card-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.stars {
  display: flex;
  align-items: center;
  gap: 1px;
  color: var(--gold);
  font-size: 13px;
}

/* ─── FORMS & INPUTS ────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  height: 46px;
  background: var(--bg-input);
  border: 1.5px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 0 var(--space-4);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: all var(--transition-base);
}

.form-control:focus {
  outline: none;
  border-color: var(--tva-red);
  box-shadow: var(--shadow-input);
  background: rgba(6,16,33,0.9);
}

.form-control::placeholder { color: var(--text-dim); }

.form-control.is-error { border-color: var(--tva-red); }

textarea.form-control {
  height: auto;
  min-height: 120px;
  padding: var(--space-3) var(--space-4);
  resize: vertical;
  line-height: 1.6;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Input with icon */
.input-group {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.input-icon ~ .form-control {
  padding-left: 42px;
}

.input-icon-right {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--text-muted);
}

/* Checkbox & Radio */
.check-group {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
}

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

.check-label {
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

/* Range slider */
.range-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--navy-border);
  border-radius: var(--radius-full);
  outline: none;
  width: 100%;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tva-red);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(235,25,70,0.4);
  transition: transform var(--transition-fast);
}

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

/* Error message */
.form-error {
  font-size: 12px;
  color: var(--tva-red-light);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ─── SEARCH BAR (HERO) ──────────────────────────────────────────── */
.search-bar {
  background: rgba(6,16,33,0.9);
  backdrop-filter: blur(24px);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.search-bar-tab {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-4);
  width: 100%;
}

.search-tab-btn {
  flex: 1;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--navy-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.search-tab-btn:hover { color: #fff; border-color: rgba(255,255,255,0.2); }
.search-tab-btn.active { color: #fff; background: var(--tva-red); border-color: var(--tva-red); }

.search-bar-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--navy-border);
}

.search-field {
  padding: var(--space-3) var(--space-4);
  border-right: 1px solid var(--navy-border);
  background: rgba(255,255,255,0.03);
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.search-field:hover { background: rgba(255,255,255,0.06); }
.search-field:last-child { border-right: none; }

.search-field-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.search-field-input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-muted);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
}

.search-field-input::placeholder { color: var(--text-dim); }

.search-btn-wrap {
  background: var(--tva-red);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-5);
  cursor: pointer;
  transition: background var(--transition-fast);
  min-width: 60px;
  border: none;
  font-family: inherit;
}

.search-btn-wrap:hover { background: var(--tva-red-dark); }

/* ─── BADGES / CHIPS ────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  line-height: 1;
}

.badge-red     { background: rgba(235,25,70,0.15); color: var(--tva-red-light); border: 1px solid rgba(235,25,70,0.3); }
.badge-gold    { background: rgba(201,168,76,0.15); color: var(--gold-light); border: 1px solid rgba(201,168,76,0.3); }
.badge-green   { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }
.badge-blue    { background: rgba(6,182,212,0.12); color: #22d3ee; border: 1px solid rgba(6,182,212,0.25); }
.badge-navy    { background: rgba(29,55,108,0.4); color: var(--text-secondary); border: 1px solid var(--navy-border); }
.badge-amber   { background: rgba(245,158,11,0.12); color: #fbbf24; border: 1px solid rgba(245,158,11,0.25); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.chip:hover, .chip.active {
  background: var(--tva-red-glow);
  border-color: var(--tva-red);
  color: var(--text-primary);
}

/* ─── SECTION HEADERS ───────────────────────────────────────────── */
.section-header {
  margin-bottom: var(--space-8);
}

.section-header.center { text-align: center; }

.section-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tva-red);
  margin-bottom: var(--space-2);
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
}

.section-title .accent {
  color: var(--tva-red);
}

.section-sub {
  margin-top: var(--space-3);
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.section-header.center .section-sub { margin-left: auto; margin-right: auto; }

/* Decorative red underline */
.underline-red {
  display: inline-block;
  position: relative;
}

.underline-red::after {
  content: '';
  display: block;
  height: 3px;
  background: var(--tva-red);
  border-radius: 2px;
  margin-top: 6px;
  width: 48px;
}

.section-header.center .underline-red::after {
  margin-left: auto;
  margin-right: auto;
}

/* ─── DIVIDER ────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--navy-border);
  width: 100%;
  margin: var(--space-6) 0;
}

.divider-red {
  height: 2px;
  background: linear-gradient(90deg, var(--tva-red), transparent);
}

/* ─── AVATAR ─────────────────────────────────────────────────────── */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--navy-border);
  flex-shrink: 0;
  background: var(--navy-sidebar);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  overflow: hidden;
}

.avatar-sm { width: 32px; height: 32px; font-size: 12px; }
.avatar-lg { width: 56px; height: 56px; font-size: 20px; }
.avatar-xl { width: 80px; height: 80px; font-size: 28px; }

.avatar-online {
  position: relative;
}

.avatar-online::after {
  content: '';
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background: var(--green-success);
  border: 2px solid var(--bg-body);
  border-radius: 50%;
}

/* ─── MODALS ──────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

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

.modal {
  background: var(--bg-modal);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-base);
}

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

.modal-lg { max-width: 760px; }
.modal-xl { max-width: 1000px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--navy-border);
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.modal-close:hover { background: var(--tva-red-glow); color: var(--tva-red-light); }

.modal-body {
  padding: var(--space-6);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--navy-border);
}

/* ─── CALENDAR ────────────────────────────────────────────────────── */
.calendar {
  background: var(--bg-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  user-select: none;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.calendar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.calendar-nav {
  background: none;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 16px;
  font-family: inherit;
}

.calendar-nav:hover { background: var(--tva-red-glow); border-color: var(--tva-red); color: var(--tva-red); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.calendar-weekday {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  padding: 4px 0;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.calendar-day:hover:not(.disabled):not(.empty) {
  background: var(--tva-red-glow);
  color: var(--tva-red-light);
}

.calendar-day.today {
  background: rgba(255,255,255,0.08);
  font-weight: 700;
  color: var(--text-primary);
}

.calendar-day.selected {
  background: var(--tva-red);
  color: #fff;
  font-weight: 700;
}

.calendar-day.in-range {
  background: var(--tva-red-glow);
  color: var(--text-primary);
  border-radius: 0;
}

.calendar-day.range-start { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.calendar-day.range-end   { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.calendar-day.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  text-decoration: line-through;
}

.calendar-day.empty { cursor: default; }

/* ─── TABS ──────────────────────────────────────────────────────── */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--navy-border);
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  padding: var(--space-3) var(--space-5);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  font-family: inherit;
  margin-bottom: -1px;
}

.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--text-primary); border-bottom-color: var(--tva-red); }

.tab-content { display: none; padding-top: var(--space-6); }
.tab-content.active { display: block; }

/* ─── DROPDOWN ──────────────────────────────────────────────────── */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: var(--bg-modal);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  z-index: var(--z-dropdown);
  padding: var(--space-2);
  display: none;
}

.dropdown-menu.open { display: block; }

.dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.dropdown-item:hover { background: rgba(255,255,255,0.06); color: var(--text-primary); }
.dropdown-item.danger:hover { background: var(--tva-red-glow); color: var(--tva-red-light); }

.dropdown-divider {
  height: 1px;
  background: var(--navy-border);
  margin: var(--space-2) 0;
}

/* ─── TOAST NOTIFICATIONS ───────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: var(--z-toast);
  pointer-events: none;
}

.toast {
  background: var(--navy-card-solid);
  border: 1px solid var(--navy-border);
  border-left: 4px solid var(--tva-red);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  min-width: 280px;
  max-width: 380px;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  box-shadow: var(--shadow-card);
  pointer-events: all;
  animation: slideInRight 0.3s ease, fadeOut 0.3s ease 3.7s forwards;
}

.toast-success { border-left-color: var(--green-success); }
.toast-warning { border-left-color: var(--amber); }
.toast-info    { border-left-color: var(--cyan); }

.toast-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.toast-title { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.toast-msg { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ─── LOADING STATES ────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.04) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255,255,255,0.12);
  border-top-color: var(--tva-red);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.spinner-lg { width: 40px; height: 40px; border-width: 3px; }

/* ─── STAR RATINGS ──────────────────────────────────────────────── */
.star-rating {
  display: flex;
  gap: 3px;
}

.star-rating .star {
  font-size: 18px;
  cursor: pointer;
  transition: transform var(--transition-fast), color var(--transition-fast);
  color: var(--text-dim);
}

.star-rating .star:hover,
.star-rating .star.filled { color: var(--gold); }

.star-rating .star:hover { transform: scale(1.2); }

/* ─── PROGRESS BAR ──────────────────────────────────────────────── */
.progress {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--tva-red);
  border-radius: var(--radius-full);
  transition: width 0.5s ease;
}

.progress-bar.green { background: var(--green-success); }
.progress-bar.gold  { background: var(--gold); }

/* ─── AMENITY ICONS ─────────────────────────────────────────────── */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-3);
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
}

.amenity-icon {
  width: 32px;
  height: 32px;
  background: var(--tva-red-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* ─── MAP PLACEHOLDER ───────────────────────────────────────────── */
.map-placeholder {
  background: var(--navy-card-solid);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  gap: var(--space-3);
  flex-direction: column;
}

.map-pin {
  font-size: 32px;
  color: var(--tva-red);
}

/* ─── SIDEBAR / FILTER PANEL ────────────────────────────────────── */
.filter-panel {
  background: var(--bg-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  max-height: calc(100vh - var(--nav-height) - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--tva-red) transparent;
}

.filter-section {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--navy-border);
}

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

.filter-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

/* ─── PRICING CARD ──────────────────────────────────────────────── */
.price-card {
  background: var(--bg-card);
  border: 1.5px solid var(--navy-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.price-card-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
}

.price-card-price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
}

.price-breakdown {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
}

.price-line.total {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  border-top: 1px solid var(--navy-border);
  padding-top: var(--space-3);
  margin-top: var(--space-2);
}

/* ─── HERO SECTION ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-20) var(--space-6);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6,16,33,0.3) 0%,
    rgba(6,16,33,0.6) 50%,
    rgba(6,16,33,0.9) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tva-red);
  margin-bottom: var(--space-4);
  background: var(--tva-red-glow);
  border: 1px solid rgba(235,25,70,0.25);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}

.hero-title .accent { color: var(--tva-red); }
.hero-title .gold-accent { color: var(--gold); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 3px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  animation: bounce 2s infinite;
  cursor: pointer;
  opacity: 0.7;
}

/* ─── FOOTER ────────────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--navy-border);
  padding: var(--space-16) 0 var(--space-8);
}

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

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: var(--space-4);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--navy-border);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-legal {
  font-size: 12px;
  color: var(--text-dim);
}

.footer-veteran-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* ─── DASHBOARD LAYOUT ───────────────────────────────────────────── */
.dashboard-layout {
  display: grid;
  grid-template-columns: 256px 1fr;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.sidebar {
  background: var(--navy-sidebar);
  border-right: 1px solid var(--navy-border);
  padding: var(--space-6) var(--space-4);
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  scrollbar-width: thin;
}

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

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px var(--space-3);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.sidebar-link:hover {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
}

.sidebar-link.active {
  background: var(--tva-red-glow);
  color: #fff;
  border: 1px solid rgba(235,25,70,0.3);
}

.sidebar-link .badge-count {
  margin-left: auto;
  background: var(--tva-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  line-height: 1.4;
}

.sidebar-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.dashboard-main {
  padding: var(--space-8);
  overflow-y: auto;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.dashboard-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
}

/* Stat card in dashboard */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: all var(--transition-base);
}

.stat-card:hover { border-color: var(--navy-border-hover); }

.stat-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.stat-card-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-card-change {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-card-change.positive { color: var(--green-success); }
.stat-card-change.negative { color: var(--tva-red); }

/* ─── PHOTO GALLERY ──────────────────────────────────────────────── */
.photo-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 300px 300px;
  gap: var(--space-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.gallery-main { grid-row: 1 / 3; }

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.gallery-img:hover { opacity: 0.88; }

.gallery-more {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.gallery-more::after {
  content: 'View all';
  position: absolute;
  inset: 0;
  background: rgba(6,16,33,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: background var(--transition-fast);
}

.gallery-more:hover::after { background: rgba(235,25,70,0.65); }

/* ─── REVIEW CARD ───────────────────────────────────────────────── */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.review-meta {
  flex: 1;
}

.reviewer-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.review-date {
  font-size: 11px;
  color: var(--text-muted);
}

.review-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── ANIMATIONS ─────────────────────────────────────────────────── */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

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

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

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

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

@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

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

/* Entrance animation helpers */
.fade-in      { animation: fadeIn 0.5s ease both; }
.fade-in-1    { animation: fadeIn 0.5s 0.1s ease both; }
.fade-in-2    { animation: fadeIn 0.5s 0.2s ease both; }
.fade-in-3    { animation: fadeIn 0.5s 0.3s ease both; }
.fade-in-4    { animation: fadeIn 0.5s 0.4s ease both; }

/* ─── UTILITY CLASSES ─────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cursor-pointer { cursor: pointer; }

.pointer-none { pointer-events: none; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .photo-gallery { grid-template-columns: 1fr; grid-template-rows: 280px; }
  .photo-gallery > *:not(:first-child) { display: none; }
  .gallery-main { grid-row: 1; }
  .search-bar-fields { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 56px; }
  .container { padding: 0 var(--space-4); }
  .section { padding: var(--space-12) 0; }
  .navbar-nav, .navbar-search { display: none; }
  .navbar-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2rem, 7vw, 3rem); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .search-bar-fields { grid-template-columns: 1fr; }
  .filter-panel { position: static; max-height: none; }
  .price-card { position: static; }
  .modal { margin: var(--space-4); }
  .toast-container { left: var(--space-4); right: var(--space-4); }
  .toast { min-width: auto; }
  .btn-xl { font-size: 15px; padding: 14px 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .hero-stats { gap: var(--space-5); }
  .dashboard-main { padding: var(--space-4); }
}

@media (max-width: 480px) {
  .search-tab-btn span.label { display: none; }
  .listing-card-body { padding: var(--space-3); }
  .section-title { font-size: 1.6rem; }
}

/* ─── PRINT ──────────────────────────────────────────────────────── */
@media print {
  .navbar, .footer, .toast-container { display: none; }
  body { background: #fff; color: #000; }
  .card { border: 1px solid #ddd; }
}
/* ═══════════════════════════════════════════════════════════════════════════
 *  TVA OTA PLATFORM v2.0 — EXPANDED FEATURE STYLES
 *  Military Branch Badges, Captain Features, Insurance, New Amenities
 * ═══════════════════════════════════════════════════════════════════════════ */

/* ─── TOPOGRAPHIC BACKGROUND (dark, SVG inline pattern) ─── */
.topo-bg {
  background-color: var(--navy-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='520'%3E%3Crect width='800' height='520' fill='%23061021'/%3E%3Cpath d='M 0,44 L 25,43 L 50,43 L 75,43 L 100,44 L 125,45 L 150,46 L 175,46 L 200,45 L 225,44 L 250,43 L 275,43 L 300,44 L 325,46 L 350,48 L 375,50 L 400,51 L 425,51 L 450,51 L 475,50 L 500,49 L 525,48 L 550,48 L 575,48 L 600,47 L 625,46 L 650,45 L 675,44 L 700,43 L 725,43 L 750,44 L 775,45 L 800,46' stroke='%231c2d45' stroke-width='0.8' fill='none' opacity='0.6'/%3E%3Cpath d='M 0,88 L 25,88 L 50,88 L 75,87 L 100,87 L 125,87 L 150,87 L 175,88 L 200,87 L 225,87 L 250,86 L 275,85 L 300,85 L 325,87 L 350,89 L 375,92 L 400,95 L 425,96 L 450,95 L 475,94 L 500,92 L 525,91 L 550,90 L 575,91 L 600,92 L 625,93 L 650,94 L 675,94 L 700,94 L 725,94 L 750,94 L 775,94 L 800,95' stroke='%231c2d45' stroke-width='0.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 0,130 L 25,130 L 50,129 L 75,128 L 100,127 L 125,126 L 150,126 L 175,126 L 200,126 L 225,125 L 250,124 L 275,122 L 300,121 L 325,121 L 350,122 L 375,123 L 400,124 L 425,125 L 450,125 L 475,125 L 500,124 L 525,124 L 550,124 L 575,125 L 600,127 L 625,129 L 650,130 L 675,131 L 700,131 L 725,131 L 750,131 L 775,131 L 800,132' stroke='%231c2d45' stroke-width='0.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 0,177 L 25,178 L 50,178 L 75,177 L 100,175 L 125,173 L 150,172 L 175,172 L 200,174 L 225,175 L 250,176 L 275,175 L 300,174 L 325,172 L 350,170 L 375,170 L 400,171 L 425,172 L 450,172 L 475,172 L 500,171 L 525,170 L 550,170 L 575,171 L 600,173 L 625,174 L 650,175 L 675,174 L 700,173 L 725,172 L 750,171 L 775,172 L 800,174' stroke='%231c2d45' stroke-width='0.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 0,200 L 25,200 L 50,200 L 75,199 L 100,200 L 125,199 L 150,198 L 175,196 L 200,194 L 225,192 L 250,191 L 275,191 L 300,192 L 325,193 L 350,193 L 375,194 L 400,193 L 425,193 L 450,193 L 475,193 L 500,194 L 525,194 L 550,195 L 575,194 L 600,194 L 625,192 L 650,191 L 675,191 L 700,192 L 725,193 L 750,195 L 775,196 L 800,197' stroke='%231c2d45' stroke-width='0.8' fill='none' opacity='0.6'/%3E%3Cpath d='M 0,240 L 25,241 L 50,241 L 75,240 L 100,239 L 125,238 L 150,237 L 175,236 L 200,235 L 225,235 L 250,235 L 275,235 L 300,236 L 325,237 L 350,238 L 375,239 L 400,240 L 425,241 L 450,242 L 475,242 L 500,241 L 525,240 L 550,239 L 575,238 L 600,238 L 625,238 L 650,239 L 675,240 L 700,241 L 725,241 L 750,241 L 775,241 L 800,241' stroke='%231c2d45' stroke-width='0.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 0,282 L 25,279 L 50,277 L 75,276 L 100,276 L 125,277 L 150,277 L 175,276 L 200,275 L 225,275 L 250,275 L 275,277 L 300,279 L 325,280 L 350,279 L 375,278 L 400,277 L 425,277 L 450,277 L 475,278 L 500,279 L 525,278 L 550,277 L 575,276 L 600,277 L 625,279 L 650,281 L 675,282 L 700,283 L 725,282 L 750,282 L 775,283 L 800,284' stroke='%231c2d45' stroke-width='0.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 0,305 L 25,303 L 50,300 L 75,298 L 100,296 L 125,295 L 150,294 L 175,294 L 200,294 L 225,293 L 250,293 L 275,294 L 300,295 L 325,297 L 350,299 L 375,301 L 400,302 L 425,302 L 450,301 L 475,300 L 500,300 L 525,300 L 550,301 L 575,302 L 600,303 L 625,303 L 650,303 L 675,304 L 700,305 L 725,306 L 750,307 L 775,307 L 800,307' stroke='%231c2d45' stroke-width='0.8' fill='none' opacity='0.6'/%3E%3Cpath d='M 0,347 L 25,347 L 50,347 L 75,345 L 100,343 L 125,342 L 150,340 L 175,340 L 200,340 L 225,341 L 250,341 L 275,341 L 300,340 L 325,339 L 350,337 L 375,337 L 400,337 L 425,337 L 450,337 L 475,338 L 500,338 L 525,338 L 550,339 L 575,340 L 600,341 L 625,343 L 650,345 L 675,347 L 700,347 L 725,347 L 750,346 L 775,346 L 800,345' stroke='%231c2d45' stroke-width='0.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 0,383 L 25,382 L 50,382 L 75,381 L 100,381 L 125,380 L 150,380 L 175,381 L 200,381 L 225,382 L 250,382 L 275,382 L 300,381 L 325,380 L 350,380 L 375,380 L 400,380 L 425,382 L 450,383 L 475,385 L 500,386 L 525,386 L 550,386 L 575,385 L 600,384 L 625,383 L 650,383 L 675,384 L 700,386 L 725,387 L 750,389 L 775,389 L 800,389' stroke='%231c2d45' stroke-width='0.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 0,400 L 25,400 L 50,400 L 75,401 L 100,402 L 125,404 L 150,405 L 175,405 L 200,406 L 225,406 L 250,407 L 275,408 L 300,409 L 325,409 L 350,408 L 375,407 L 400,405 L 425,404 L 450,404 L 475,405 L 500,407 L 525,408 L 550,409 L 575,409 L 600,408 L 625,406 L 650,404 L 675,402 L 700,401 L 725,401 L 750,401 L 775,402 L 800,402' stroke='%231c2d45' stroke-width='0.8' fill='none' opacity='0.6'/%3E%3Cpath d='M 0,447 L 25,447 L 50,448 L 75,449 L 100,450 L 125,450 L 150,449 L 175,448 L 200,448 L 225,449 L 250,450 L 275,450 L 300,448 L 325,446 L 350,444 L 375,443 L 400,443 L 425,444 L 450,444 L 475,442 L 500,441 L 525,441 L 550,443 L 575,445 L 600,448 L 625,449 L 650,449 L 675,449 L 700,449 L 725,451 L 750,453 L 775,453 L 800,452' stroke='%231c2d45' stroke-width='0.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 0,487 L 25,487 L 50,487 L 75,486 L 100,484 L 125,483 L 150,484 L 175,485 L 200,486 L 225,487 L 250,488 L 275,488 L 300,489 L 325,490 L 350,492 L 375,494 L 400,496 L 425,497 L 450,497 L 475,496 L 500,494 L 525,493 L 550,493 L 575,492 L 600,491 L 625,489 L 650,486 L 675,484 L 700,482 L 725,481 L 750,482 L 775,483 L 800,484' stroke='%231c2d45' stroke-width='0.5' fill='none' opacity='0.4'/%3E%3Cpath d='M 0,508 L 25,509 L 50,509 L 75,509 L 100,509 L 125,508 L 150,508 L 175,508 L 200,508 L 225,509 L 250,510 L 275,511 L 300,512 L 325,513 L 350,514 L 375,515 L 400,516 L 425,517 L 450,517 L 475,517 L 500,516 L 525,514 L 550,512 L 575,510 L 600,509 L 625,509 L 650,509 L 675,510 L 700,511 L 725,512 L 750,512 L 775,511 L 800,509' stroke='%231c2d45' stroke-width='0.8' fill='none' opacity='0.6'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* ─── MILITARY BRANCH BADGES ─── */
.military-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid currentColor;
}
.military-badge .badge-icon { font-size: 14px; }
.military-army    { color: #4a7c2f; background: rgba(74,124,47,0.15); }
.military-navy    { color: #1a6faa; background: rgba(26,111,170,0.15); }
.military-airforce{ color: #4b7fbb; background: rgba(75,127,187,0.15); }
.military-marines { color: #8b1a1a; background: rgba(139,26,26,0.15); }
.military-coastguard { color: #f4a400; background: rgba(244,164,0,0.15); }
.military-spaceforce { color: #7b61ff; background: rgba(123,97,255,0.15); }
.military-veteran { color: var(--gold); background: rgba(201,168,76,0.15); }

/* Host listing military banner */
.host-military-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(201,168,76,0.12) 0%, rgba(18,39,64,0.5) 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.host-military-banner .branch-icon { font-size: 24px; }
.host-military-banner .branch-text { font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }
.host-military-banner .branch-sub { font-size: 11px; color: var(--text-muted); }

/* ─── CAPTAIN FEATURES ─── */
.captain-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: linear-gradient(135deg, rgba(6,182,212,0.18) 0%, rgba(6,16,33,0.5) 100%);
  border: 1px solid rgba(6,182,212,0.35);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.captain-required-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(6,182,212,0.08);
  border: 1px solid rgba(6,182,212,0.25);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
}
.captain-required-banner .icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.captain-required-banner strong { color: var(--cyan); }

.captain-match-card {
  background: var(--bg-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.captain-match-card:hover {
  border-color: var(--navy-border-hover);
  box-shadow: var(--shadow-hover);
}
.captain-match-card .captain-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-sidebar);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.captain-rating { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--gold); }
.captain-certs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.captain-cert-pill {
  padding: 2px 8px;
  background: rgba(6,182,212,0.12);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.captain-algorithm-status {
  padding: 16px;
  background: linear-gradient(135deg, rgba(6,182,212,0.08) 0%, transparent 100%);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
}

/* Captain dashboard stats */
.captain-stat-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(6,182,212,0.06);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--cyan);
}
.captain-stat-bar .stat-label { font-size: 12px; color: var(--text-muted); }
.captain-stat-bar .stat-value { font-size: 20px; font-weight: 800; color: var(--cyan); }

/* ─── INSURANCE VERIFICATION ─── */
.insurance-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
}
.insurance-status-bar.verified {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--green-success);
}
.insurance-status-bar.pending {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--amber);
}
.insurance-status-bar.missing {
  background: rgba(235,25,70,0.1);
  border: 1px solid rgba(235,25,70,0.3);
  color: var(--tva-red-light);
}
.insurance-status-bar .status-icon { font-size: 18px; flex-shrink: 0; }
.insurance-upload-zone {
  border: 2px dashed var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition-base), background var(--transition-base);
}
.insurance-upload-zone:hover, .insurance-upload-zone.drag-over {
  border-color: rgba(235,25,70,0.4);
  background: rgba(235,25,70,0.04);
}
.insurance-upload-zone .upload-icon { font-size: 40px; margin-bottom: 12px; }
.insurance-upload-zone .upload-title { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.insurance-upload-zone .upload-sub { font-size: 13px; color: var(--text-muted); }
.canopy-connect-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(34,197,94,0.12) 0%, rgba(22,163,74,0.08) 100%);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  width: 100%;
}
.canopy-connect-btn:hover {
  border-color: var(--green-success);
  background: rgba(34,197,94,0.16);
}
.canopy-connect-btn .cc-icon { font-size: 24px; }
.canopy-connect-btn .cc-text { text-align: left; }
.canopy-connect-btn .cc-title { font-size: 14px; font-weight: 700; color: var(--green-success); }
.canopy-connect-btn .cc-sub { font-size: 12px; color: var(--text-muted); }
.canopy-connect-btn .cc-arrow { margin-left: auto; color: var(--green-success); }

/* ─── AMENITY GRID ─── */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(18,39,64,0.4);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.amenity-item.present { color: var(--text-primary); border-color: rgba(235,25,70,0.2); }
.amenity-item.present .amenity-icon { color: var(--green-success); }
.amenity-item.absent { opacity: 0.45; }
.amenity-item .amenity-icon { font-size: 16px; flex-shrink: 0; }

/* Amenity checkbox for listing form */
.amenity-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
}
.amenity-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-input);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 13px;
  color: var(--text-secondary);
}
.amenity-checkbox-item:hover { border-color: rgba(235,25,70,0.3); background: rgba(18,39,64,0.6); }
.amenity-checkbox-item.selected { border-color: var(--tva-red); background: rgba(235,25,70,0.08); color: var(--text-primary); }
.amenity-checkbox-item input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--tva-red); }
.amenity-checkbox-item .amenity-emoji { font-size: 18px; flex-shrink: 0; }

/* ─── LOCATION TAGS ─── */
.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold);
}
.location-tags-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.location-tag-ski { background: rgba(6,182,212,0.12); border-color: rgba(6,182,212,0.25); color: var(--cyan); }
.location-tag-beach { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.25); color: #4ade80; }
.location-tag-lake { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.25); color: #60a5fa; }
.location-tag-mountain { background: rgba(107,114,128,0.15); border-color: rgba(107,114,128,0.3); color: #9ca3af; }
.location-tag-city { background: rgba(168,85,247,0.12); border-color: rgba(168,85,247,0.25); color: #c084fc; }

/* ─── BOAT TYPE BADGES ─── */
.boat-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.jetski-badge {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.25);
  color: var(--amber);
}

/* ─── RV/CAMPER FEATURES ─── */
.rv-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.rv-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(18,39,64,0.4);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
}
.rv-spec-item .spec-icon { font-size: 18px; color: var(--tva-red); }
.rv-spec-item .spec-label { font-size: 11px; color: var(--text-muted); }
.rv-spec-item .spec-value { font-size: 14px; font-weight: 600; color: var(--text-primary); }

.rv-type-card {
  border: 2px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-base);
}
.rv-type-card:hover { border-color: rgba(235,25,70,0.4); }
.rv-type-card.selected { border-color: var(--tva-red); background: rgba(235,25,70,0.06); }
.rv-type-card .rv-icon { font-size: 36px; margin-bottom: 8px; }
.rv-type-card .rv-name { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.rv-type-card .rv-desc { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ─── API INTEGRATION INDICATORS ─── */
.api-sync-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 600;
  color: var(--green-success);
  letter-spacing: 0.06em;
}
.api-sync-indicator .sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-success);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.guesty-badge { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.25); color: #818cf8; }
.guesty-badge .sync-dot { background: #818cf8; }
.enrichlayer-badge { background: rgba(236,72,153,0.1); border-color: rgba(236,72,153,0.25); color: #f472b6; }
.attom-badge { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.25); color: var(--amber); }

/* ─── PREFILL NOTICE ─── */
.data-prefill-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.data-prefill-notice .notice-icon { font-size: 16px; flex-shrink: 0; }
.data-prefill-notice strong { color: #818cf8; }

/* ─── GUESTY SYNC PANEL ─── */
.guesty-sync-panel {
  padding: 20px;
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-lg);
}
.guesty-sync-panel .sync-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.guesty-sync-panel .sync-title { font-size: 15px; font-weight: 700; color: #818cf8; }
.guesty-property-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(99,102,241,0.05);
  border: 1px solid rgba(99,102,241,0.1);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  font-size: 13px;
}

/* ─── CAPTAIN ACCOUNT TYPE SELECTOR ─── */
.account-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.account-type-card {
  padding: 20px 16px;
  border: 2px solid var(--navy-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-base);
}
.account-type-card:hover { border-color: rgba(235,25,70,0.35); }
.account-type-card.selected { border-color: var(--tva-red); background: rgba(235,25,70,0.06); }
.account-type-card .type-icon { font-size: 32px; margin-bottom: 10px; }
.account-type-card .type-name { font-size: 14px; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; }
.account-type-card .type-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.account-type-card.captain-type { border-color: rgba(6,182,212,0.3); }
.account-type-card.captain-type.selected { border-color: var(--cyan); background: rgba(6,182,212,0.08); }

/* ─── CAPTAIN CREDENTIALS FORM ─── */
.credential-section {
  padding: 20px;
  background: rgba(6,182,212,0.05);
  border: 1px solid rgba(6,182,212,0.15);
  border-radius: var(--radius-lg);
  margin-top: 20px;
}
.credential-section h4 { font-size: 15px; font-weight: 700; color: var(--cyan); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.license-upload-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 12px;
}

/* ─── BOAT CATEGORY SELECTOR (list-property.html) ─── */
.boat-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.boat-type-option {
  padding: 14px 10px;
  border: 2px solid var(--navy-border);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
}
.boat-type-option:hover { border-color: rgba(6,182,212,0.35); }
.boat-type-option.selected { border-color: var(--cyan); background: rgba(6,182,212,0.08); }
.boat-type-option .boat-emoji { font-size: 28px; display: block; margin-bottom: 6px; }
.boat-type-option .boat-label { font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.boat-type-option.selected .boat-label { color: var(--cyan); }

/* Captain requirement toggle */
.captain-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(6,182,212,0.06);
  border: 1px solid rgba(6,182,212,0.15);
  border-radius: var(--radius-md);
  margin-top: 16px;
}
.captain-toggle-row .toggle-info { flex: 1; }
.captain-toggle-row .toggle-title { font-size: 14px; font-weight: 700; color: var(--cyan); }
.captain-toggle-row .toggle-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ─── LOCATION CHECKBOX GRID ─── */
.location-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
}
.location-checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-input);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 13px;
  color: var(--text-secondary);
}
.location-checkbox-item:hover { border-color: rgba(201,168,76,0.3); }
.location-checkbox-item.selected { border-color: var(--gold); background: rgba(201,168,76,0.06); color: var(--text-primary); }
.location-checkbox-item input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--gold); }
.location-checkbox-item .loc-emoji { font-size: 18px; flex-shrink: 0; }

/* ─── MILITARY BRANCH SELECTOR (host profile) ─── */
.branch-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.branch-option {
  padding: 16px 10px;
  border: 2px solid var(--navy-border);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
}
.branch-option:hover { border-color: rgba(201,168,76,0.3); }
.branch-option.selected { border-color: var(--gold); background: rgba(201,168,76,0.08); }
.branch-option .branch-emblem { font-size: 28px; display: block; margin-bottom: 6px; }
.branch-option .branch-name { font-size: 11px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.08em; }
.branch-option.selected .branch-name { color: var(--gold); }

/* ─── ENHANCED LISTING CARD (military host indicator) ─── */
.listing-card-host-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}
.host-veteran-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(201,168,76,0.85);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  font-size: 9px;
  font-weight: 800;
  color: #061021;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── PASSENGER & CAPACITY DISPLAY ─── */
.capacity-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.capacity-item {
  text-align: center;
  padding: 10px;
  background: rgba(18,39,64,0.5);
  border-radius: var(--radius-md);
}
.capacity-item .cap-icon { font-size: 20px; display: block; margin-bottom: 4px; }
.capacity-item .cap-value { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.capacity-item .cap-label { font-size: 11px; color: var(--text-muted); }

/* ─── BOOKING CAPTAIN MATCHING ─── */
.captain-matching-section {
  padding: 20px;
  background: rgba(6,182,212,0.06);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: var(--radius-lg);
  margin-top: 20px;
}
.captain-matching-section .matching-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.captain-option-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all var(--transition-base);
}
.captain-option-row:hover { border-color: rgba(6,182,212,0.35); }
.captain-option-row.selected { border-color: var(--cyan); background: rgba(6,182,212,0.08); }
.captain-option-row input[type="radio"] { flex-shrink: 0; accent-color: var(--cyan); }
.captain-option-row .captain-info { flex: 1; }
.captain-option-row .captain-name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.captain-option-row .captain-meta { font-size: 12px; color: var(--text-muted); }
.captain-option-row .captain-price { font-size: 14px; font-weight: 700; color: var(--gold); }

/* ─── ENRICHMENT DATA DISPLAY ─── */
.enrichment-data-card {
  padding: 16px;
  background: rgba(99,102,241,0.05);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.enrichment-data-card .enrich-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #818cf8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.enrichment-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
}
.enrichment-field:last-child { border-bottom: none; }
.enrichment-field .field-label { color: var(--text-muted); }
.enrichment-field .field-value { color: var(--text-primary); font-weight: 500; }
.enrichment-field .field-source {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background: rgba(99,102,241,0.15);
  color: #818cf8;
  margin-left: 6px;
}

/* ─── RESPONSIVE ADDITIONS ─── */
@media (max-width: 768px) {
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .rv-spec-grid { grid-template-columns: 1fr; }
  .capacity-row { grid-template-columns: repeat(3, 1fr); }
  .account-type-grid { grid-template-columns: repeat(2, 1fr); }
  .branch-selector-grid { grid-template-columns: repeat(3, 1fr); }
  .boat-type-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .amenity-checkbox-grid { grid-template-columns: 1fr; }
  .location-checkbox-grid { grid-template-columns: 1fr; }
  .capacity-row { grid-template-columns: 1fr 1fr; }
  .branch-selector-grid { grid-template-columns: repeat(2, 1fr); }
  .boat-type-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── LOCATION PROXIMITY GRID ─────────────────────────────────────────────── */
.location-proximity-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.location-proximity-item:hover {
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.06);
}
.proximity-icon { font-size: 20px; flex-shrink: 0; }
.proximity-info { display: flex; flex-direction: column; gap: 1px; }
.proximity-label { font-size: 13px; font-weight: 600; color: var(--text-white); }
.proximity-dist  { font-size: 11px; color: var(--text-muted); }

/* ─── INSURANCE STATUS PILL ───────────────────────────────────────────────── */
.insurance-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.insurance-status-pill.verified {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.3);
  color: var(--green-success);
}
.insurance-status-pill.pending {
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--amber);
}
.insurance-status-pill.unverified {
  background: rgba(235,25,70,0.12);
  border: 1px solid rgba(235,25,70,0.3);
  color: var(--tva-red);
}

/* ─── LOCATION TAGS ROW ───────────────────────────────────────────────────── */
.location-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold-light);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.location-tag.loc-lakefront  { border-color: rgba(6,182,212,0.3); color: var(--cyan); background: rgba(6,182,212,0.08); }
.location-tag.loc-mountain   { border-color: rgba(148,163,184,0.3); color: var(--text-secondary); background: rgba(148,163,184,0.06); }
.location-tag.loc-ski        { border-color: rgba(201,168,76,0.3); color: var(--gold); background: rgba(201,168,76,0.08); }
.location-tag.loc-beach      { border-color: rgba(34,197,94,0.3); color: #4ade80; background: rgba(34,197,94,0.08); }
.location-tag.loc-private-beach { border-color: rgba(34,197,94,0.3); color: #4ade80; background: rgba(34,197,94,0.08); }

/* ─── BOAT TYPE BADGES & CARDS ────────────────────────────────────────────── */
.boat-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(6,182,212,0.3);
  color: var(--cyan);
  background: rgba(6,182,212,0.08);
}
.boat-type-badge.sailing-yacht { border-color: rgba(6,182,212,0.35); }
.boat-type-badge.motorboat      { border-color: rgba(235,25,70,0.35); color:var(--tva-red); background:rgba(235,25,70,0.08); }
.boat-type-badge.pontoon        { border-color: rgba(201,168,76,0.35); color:var(--gold); background:rgba(201,168,76,0.08); }
.boat-type-badge.luxury-yacht   { border-color: rgba(201,168,76,0.5); color:var(--gold-light); background:rgba(201,168,76,0.12); }
.boat-type-badge.jet-ski        { border-color: rgba(245,158,11,0.4); color:var(--amber); background:rgba(245,158,11,0.08); }

.boat-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-3);
  background: rgba(255,255,255,0.03);
  border: 2px solid var(--navy-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}
.boat-type-card:hover {
  border-color: rgba(6,182,212,0.4);
  background: rgba(6,182,212,0.06);
}
.boat-type-card.active {
  border-color: var(--cyan);
  background: rgba(6,182,212,0.1);
}
.boat-type-card-icon { font-size: 24px; }
.boat-type-card-label { font-size: 11px; font-weight: 600; color: var(--text-secondary); }
.boat-type-card.active .boat-type-card-label { color: var(--cyan); }

/* ─── CAPTAIN BADGE ───────────────────────────────────────────────────────── */
.captain-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.3);
  color: var(--cyan);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─── CAPTAIN MATCH CARDS ─────────────────────────────────────────────────── */
.captain-match-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.captain-match-card:hover {
  border-color: rgba(6,182,212,0.35);
  background: rgba(6,182,212,0.05);
}
.captain-match-card.selected {
  border-color: var(--cyan);
  background: rgba(6,182,212,0.08);
}
.captain-match-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--navy-border);
  flex-shrink: 0;
}
.captain-match-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.captain-match-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
}
.captain-match-score {
  text-align: center;
  flex-shrink: 0;
}

/* ─── API SYNC INDICATOR ──────────────────────────────────────────────────── */
.api-sync-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(6,182,212,0.08);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
}
.api-sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
}
.api-sync-dot.active {
  background: var(--green-success);
  box-shadow: 0 0 6px rgba(34,197,94,0.6);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

/* ─── MILITARY BRANCH BADGES ──────────────────────────────────────────────── */
.military-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid;
}
.military-army       { color: #6abf4b; background: rgba(106,191,75,0.1); border-color: rgba(106,191,75,0.3); }
.military-navy       { color: #4a9edd; background: rgba(74,158,221,0.1); border-color: rgba(74,158,221,0.3); }
.military-marines    { color: #e85d3a; background: rgba(232,93,58,0.1); border-color: rgba(232,93,58,0.3); }
.military-air-force  { color: #7cb3e8; background: rgba(124,179,232,0.1); border-color: rgba(124,179,232,0.3); }
.military-space-force{ color: #9b87d6; background: rgba(155,135,214,0.1); border-color: rgba(155,135,214,0.3); }
.military-coast-guard{ color: #e8b83a; background: rgba(232,184,58,0.1); border-color: rgba(232,184,58,0.3); }

/* ─── RV TYPE BADGES ──────────────────────────────────────────────────────── */
.rv-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--navy-border);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.rv-type-badge:hover {
  border-color: rgba(201,168,76,0.35);
  background: rgba(201,168,76,0.08);
  color: var(--gold);
}
.rv-type-badge.active {
  border-color: var(--gold);
  background: rgba(201,168,76,0.12);
  color: var(--gold-light);
}

/* ─── CAPTAIN REGISTRATION SECTION ───────────────────────────────────────── */
.captain-reg-section {
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  background: rgba(6,182,212,0.04);
  margin-bottom: var(--space-4);
}

/* ─── INSURANCE UPLOAD ZONE ───────────────────────────────────────────────── */
.insurance-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-8) var(--space-6);
  border: 2px dashed var(--navy-border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  min-height: 120px;
}
.insurance-upload-zone:hover,
.insurance-upload-zone:focus {
  border-color: rgba(235,25,70,0.4);
  background: rgba(235,25,70,0.04);
  outline: none;
}
.insurance-upload-zone.has-file {
  border-color: rgba(34,197,94,0.4);
  background: rgba(34,197,94,0.06);
}

/* ─── CANOPY CONNECT BUTTON ───────────────────────────────────────────────── */
.canopy-connect-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: 13px var(--space-5);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-direction: column;
}
.canopy-connect-btn:hover {
  background: rgba(201,168,76,0.16);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(201,168,76,0.2);
}
.canopy-connect-btn.connected {
  background: rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.35);
  color: var(--green-success);
}
