/* Design System and Variables */
:root {
  /* Font Families */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* HSL Colors - Light Mode (Default) */
  --hue-primary: 235; /* Indigo */
  --hue-secondary: 175; /* Teal */
  
  --primary: hsl(var(--hue-primary), 80%, 55%);
  --primary-hover: hsl(var(--hue-primary), 80%, 48%);
  --primary-glow: hsla(var(--hue-primary), 80%, 55%, 0.15);
  
  --secondary: hsl(var(--hue-secondary), 85%, 43%);
  --secondary-hover: hsl(var(--hue-secondary), 85%, 38%);
  --secondary-glow: hsla(var(--hue-secondary), 85%, 43%, 0.15);

  --bg-app: hsl(210, 40%, 98%);
  --bg-card: hsl(0, 0%, 100%);
  --bg-card-glass: rgba(255, 255, 255, 0.75);
  --border-color: hsl(210, 30%, 90%);
  --border-color-glass: rgba(255, 255, 255, 0.4);
  
  --text-main: hsl(222, 47%, 11%);
  --text-muted: hsl(215, 20%, 50%);
  --text-inverse: hsl(0, 0%, 100%);
  
  --accent-success: hsl(142, 70%, 45%);
  --accent-warning: hsl(38, 92%, 50%);
  --accent-danger: hsl(350, 80%, 50%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables Override */
[data-theme="dark"] {
  --bg-app: hsl(222, 47%, 7%);
  --bg-card: hsl(222, 47%, 12%);
  --bg-card-glass: rgba(15, 23, 42, 0.65);
  --border-color: hsl(217, 32%, 18%);
  --border-color-glass: rgba(255, 255, 255, 0.06);
  
  --text-main: hsl(210, 40%, 98%);
  --text-muted: hsl(215, 25%, 70%);
  --text-inverse: hsl(222, 47%, 11%);
  
  --primary: hsl(var(--hue-primary), 90%, 65%);
  --primary-hover: hsl(var(--hue-primary), 90%, 72%);
  --primary-glow: hsla(var(--hue-primary), 90%, 65%, 0.25);
  
  --secondary: hsl(var(--hue-secondary), 90%, 50%);
  --secondary-hover: hsl(var(--hue-secondary), 90%, 60%);
  --secondary-glow: hsla(var(--hue-secondary), 90%, 50%, 0.25);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-app);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color-glass);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}

.logo svg {
  stroke: url(#logo-grad);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Toggle Switch Styling */
.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background-color: var(--border-color-glass);
  border-color: var(--primary);
}

.theme-toggle-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2px;
}

[data-theme="dark"] .sun-icon {
  display: block;
}
[data-theme="dark"] .moon-icon {
  display: none;
}
body:not([data-theme="dark"]) .sun-icon {
  display: none;
}
body:not([data-theme="dark"]) .moon-icon {
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, hsl(var(--hue-primary), 80%, 48%) 100%);
  color: white;
  box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
  opacity: 0.95;
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--border-color-glass);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}
.btn-secondary:hover {
  background-color: var(--border-color);
  border-color: var(--text-muted);
}

/* Glassmorphism Cards */
.glass-card {
  background-color: var(--bg-card-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal);
}

/* Main Views Display Router */
.view-container {
  display: none;
}
.view-container.active {
  display: block;
}

/* 1. LANDING VIEW */
.landing-view {
  padding: 60px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.landing-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.landing-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: var(--primary-glow);
  color: var(--primary);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(var(--hue-primary), 80%, 55%, 0.1);
}

.landing-title {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 550px;
}

/* Search Box Container */
.search-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-top: 12px;
}

.search-box {
  display: flex;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 8px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.search-box svg {
  width: 24px;
  height: 24px;
  margin-left: 16px;
  color: var(--text-muted);
}

.search-box input {
  flex: 1;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 16px;
  color: var(--text-main);
  outline: none;
}

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

/* Autocomplete suggestion dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 10;
  max-height: 250px;
  overflow-y: auto;
  display: none;
}

.autocomplete-dropdown.active {
  display: block;
}

.suggestion-item {
  padding: 12px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background-color var(--transition-fast);
}

.suggestion-item:hover {
  background-color: var(--border-color-glass);
}

.suggestion-item svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* Landing Right (Hero Image card) */
.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border-color-glass);
}

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

.hero-image-card:hover img {
  transform: scale(1.03);
}

/* Live Ticker Styling */
.ticker-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
  color: white;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ticker-pulse {
  width: 10px;
  height: 10px;
  background-color: var(--secondary);
  border-radius: 50%;
  position: relative;
}

.ticker-pulse::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  animation: pulse 1.8s infinite;
  opacity: 0;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.ticker-text {
  font-size: 13px;
  font-weight: 500;
}

/* Landing Highlights Section */
.features-section {
  padding: 60px 0 100px 0;
  border-top: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: var(--primary-glow);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

/* 2. LOADING VIEW */
.loading-view {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-container {
  text-align: center;
  max-width: 450px;
  width: 100%;
}

.loader-spinner {
  width: 80px;
  height: 80px;
  border: 5px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 32px auto;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 20px var(--primary-glow);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.loading-address {
  font-size: 16px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
}

.loading-steps {
  list-style: none;
  text-align: left;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.step-item.active {
  color: var(--text-main);
  font-weight: 600;
}

.step-item.completed {
  color: var(--accent-success);
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  transition: all var(--transition-fast);
}

.step-item.active .step-dot {
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.step-item.completed .step-dot {
  background-color: var(--accent-success);
}


/* 3. REPORT DASHBOARD VIEW */
.dashboard-view {
  padding: 40px 0 100px 0;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  gap: 24px;
}

.dashboard-property-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dashboard-property-address {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.dashboard-property-meta {
  display: flex;
  gap: 24px;
  font-size: 15px;
  color: var(--text-muted);
}

.meta-divider {
  color: var(--border-color);
}

.actions-row {
  display: flex;
  gap: 12px;
}

/* Dashboard Grid Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.dashboard-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.dashboard-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Section Titles inside Dashboard */
.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title svg {
  color: var(--primary);
  width: 22px;
  height: 22px;
}

/* Valuation Indicator Card */
.valuation-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
}

.val-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text-main) 60%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.val-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

/* Confidence Meter Gauge */
.gauge-wrapper {
  width: 100%;
  max-width: 220px;
  position: relative;
  margin-bottom: 24px;
}

.gauge-track {
  height: 8px;
  background-color: var(--border-color);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.gauge-fill {
  height: 100%;
  width: 0; /* Dynamic */
  background: linear-gradient(90deg, var(--accent-warning) 0%, var(--accent-success) 100%);
  border-radius: 4px;
  transition: width var(--transition-slow);
}

.gauge-pointer {
  position: absolute;
  top: -4px;
  width: 16px;
  height: 16px;
  background-color: var(--bg-card);
  border: 3px solid var(--accent-success);
  border-radius: 50%;
  transform: translateX(-50%);
  transition: left var(--transition-slow);
  box-shadow: var(--shadow-sm);
}

.gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 8px;
}

.val-range {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  background-color: var(--border-color-glass);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
}

/* Subject Property Details Card */
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.details-item {
  background-color: var(--border-color-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.details-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.details-value {
  font-size: 16px;
  font-weight: 700;
}

/* Comparable Market Analysis (CMA) Table Section */
.cma-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.filter-chip {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
}

.cma-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.cma-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.cma-table th {
  background-color: var(--border-color-glass);
  padding: 14px 16px;
  font-weight: 700;
  color: var(--text-main);
  border-bottom: 2px solid var(--border-color);
  user-select: none;
}

.cma-table th.sortable {
  cursor: pointer;
}

.cma-table th.sortable:hover {
  background-color: var(--border-color);
}

.cma-table th.sortable::after {
  content: ' ↕';
  font-size: 10px;
  color: var(--text-muted);
}

.cma-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

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

.cma-table tr:hover td {
  background-color: var(--border-color-glass);
}

.adjustment-positive {
  color: var(--accent-success);
}

.adjustment-negative {
  color: var(--accent-danger);
}

.comp-address {
  font-weight: 600;
  display: flex;
  flex-direction: column;
}

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

.status-badge {
  display: inline-flex;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
}

.status-badge.sold {
  background-color: rgba(142, 212, 160, 0.15);
  color: var(--accent-success);
  border: 1px solid rgba(142, 212, 160, 0.2);
}

.status-badge.active {
  background-color: rgba(59, 130, 246, 0.15);
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.status-badge.pending {
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--accent-warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Comps Table Toggle Checkbox */
.comp-checkbox-wrapper {
  display: flex;
  align-items: center;
}

.comp-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* CMA Summary Bar */
.cma-summary-row {
  margin-top: 16px;
  background-color: var(--border-color-glass);
  border: 1.5px dashed var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.cma-stat-item {
  display: flex;
  flex-direction: column;
}

.cma-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.cma-stat-value {
  font-size: 18px;
  font-weight: 700;
}

/* Maps and Charts Container */
.map-container {
  height: 350px;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

/* Charts Wrapper */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}

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

.chart-card {
  padding: 20px;
}

.chart-wrapper {
  position: relative;
  height: 250px;
  width: 100%;
}

/* Neighborhood demographics CSS */
.demo-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
}

.demo-bar-bg {
  height: 8px;
  background-color: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.demo-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

/* Footer Section */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-card);
  padding: 48px 0;
  font-size: 14px;
  color: var(--text-muted);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

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

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

.footer-copy {
  font-size: 12px;
}

/* Leaflet Custom Glowing Pin */
.glowing-pin {
  width: 16px;
  height: 16px;
  background-color: var(--secondary);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--secondary-glow);
}

.comp-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.comp-pin.sold {
  background-color: var(--accent-success);
}

.comp-pin.active {
  background-color: var(--primary);
}

.comp-pin.pending {
  background-color: var(--accent-warning);
}

/* Print Stylesheet Styles */
@media print {
  body {
    background-color: #fff !important;
    color: #000 !important;
    font-size: 12px !important;
  }
  
  header, footer, .actions-row, .theme-toggle-btn, .cma-filters, .comp-checkbox-wrapper, th:first-child, td:first-child, .leaflet-control-container {
    display: none !important;
  }
  
  .dashboard-view {
    padding: 0 !important;
    margin: 0 !important;
  }

  .dashboard-header {
    margin-bottom: 20px !important;
    border-bottom: 2px solid #000 !important;
    padding-bottom: 10px !important;
  }

  .dashboard-property-address {
    font-size: 24px !important;
  }

  .dashboard-grid {
    display: block !important;
    margin-bottom: 0 !important;
  }

  .glass-card {
    background: none !important;
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 15px !important;
    margin-bottom: 20px !important;
    page-break-inside: avoid;
  }

  .details-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .cma-table-wrapper {
    border: 1px solid #ccc !important;
  }

  .cma-table th {
    background-color: #f0f0f0 !important;
    border-bottom: 1px solid #ccc !important;
    color: #000 !important;
  }

  .cma-table td {
    border-bottom: 1px solid #eee !important;
  }

  .map-container {
    height: 300px !important;
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
  }

  .charts-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .chart-card {
    page-break-inside: avoid;
  }

  .page-break {
    page-break-before: always;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .landing-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  
  .landing-left {
    align-items: center;
  }
  
  .search-wrapper {
    max-width: 100%;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard-header {
    flex-direction: column;
    gap: 16px;
  }
  
  .actions-row {
    width: 100%;
  }
  
  .actions-row button {
    flex: 1;
  }
}

@media (max-width: 600px) {
  .landing-title {
    font-size: 38px;
  }
  
  .details-grid {
    grid-template-columns: 1fr;
  }
  
  .header-container {
    height: 70px;
  }
  
  .logo {
    font-size: 18px;
  }

  .cma-stat-value {
    font-size: 15px;
  }
}

/* Verification Slider Widget Styles */
.verification-slider-track {
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.verification-slider-track.verified {
  background-color: rgba(16, 185, 129, 0.15) !important;
  border-color: var(--accent-success) !important;
}

.verification-slider-track.verified .verification-slider-text {
  color: var(--accent-success) !important;
}

.verification-slider-track.verified .verification-slider-handle {
  border-color: var(--accent-success) !important;
  background-color: var(--accent-success) !important;
  color: white !important;
  cursor: default !important;
}

.verification-slider-track.verified .verification-slider-handle svg {
  color: white !important;
}

.verification-slider-handle:active {
  cursor: grabbing;
}

