/* ==========================================================================
   MYO TERCİH ROBOTU — Modern & Responsive Design System
   Önlisans ve Meslek Yüksekokulları İçin Özel Tasarlanmıştır
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.2);

  --secondary: #0f172a;
  --secondary-surface: #1e293b;
  --secondary-muted: #334155;

  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --accent-dark: #b45309;

  --success: #10b981;
  --success-light: #ecfdf5;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  --warning: #f97316;

  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: #e2e8f0;
  --border-focus: #93c5fd;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.16);

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Fraunces', Georgia, serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1280px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ============ NAVBAR ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.brand-title span {
  color: var(--primary);
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-item:hover, .nav-item.active {
  color: var(--primary);
  background: var(--primary-light);
}

.cart-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff !important;
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cart-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

.cart-badge {
  background: #f59e0b;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* ============ HERO SECTION ============ */
.hero-section {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 48px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.25), transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 100%;
  gap: 12px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.55) 0%, rgba(15, 23, 42, 0.75) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  font-weight: 700;
  color: #f0f9ff;
  margin-bottom: 24px;
  box-shadow: 0 6px 25px rgba(56, 189, 248, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  letter-spacing: 0.15px;
  transition: all 0.25s ease;
}

.hero-pill:hover {
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 6px 25px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.live-pulse-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 10px #10b981;
}

.live-pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: pulseLiveAnim 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: linear-gradient(135deg, #60a5fa, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 32px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ============ QUICK TYT BAR ============ */
.quick-bar-wrapper {
  margin-top: -28px;
  position: relative;
  z-index: 20;
}

.quick-bar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
}

.quick-bar-form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.field-input, .field-select {
  width: 100%;
  height: 46px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}

.field-input:focus, .field-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.btn-search {
  height: 46px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px var(--primary-glow);
  transition: var(--transition);
  white-space: nowrap;
}

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

/* Quick Category Tags */
.quick-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.quick-tags::-webkit-scrollbar { display: none; }

.quick-tag-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.quick-tag-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.quick-tag-btn:hover, .quick-tag-btn.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

/* ============ MAIN LAYOUT ============ */
.main-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 28px;
  margin: 36px auto 64px;
}

/* ============ SIDEBAR FILTERS ============ */
.filters-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  height: fit-content;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-sm);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-clear-filters {
  font-size: 0.8rem;
  color: var(--danger);
  font-weight: 600;
  background: var(--danger-light);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}
.btn-clear-filters:hover {
  background: #fee2e2;
}

.filter-section {
  margin-bottom: 20px;
}

.filter-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.filter-group-radios, .filter-group-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-radio, .custom-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
}

.custom-radio input, .custom-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--primary);
  cursor: pointer;
}

.range-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.range-input {
  width: 100%;
  height: 38px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============ RESULTS CONTENT ============ */
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.results-count {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-muted);
}
.results-count b {
  color: var(--secondary);
  font-size: 1.1rem;
}

.results-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-select {
  height: 38px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.view-toggle {
  display: flex;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.view-btn {
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  color: var(--text-muted);
}
.view-btn.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

/* Mobile Filter Trigger */
.btn-mobile-filter {
  display: none;
  background: var(--secondary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  align-items: center;
  gap: 8px;
}

/* ============ CARDS VIEW ============ */
.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.program-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.program-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.program-card.featured-card {
  border-left: 4px solid var(--primary);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.prog-info {
  flex: 1;
}

.prog-code-badge {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface-2);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-bottom: 6px;
}

.prog-name {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 4px;
}

.univ-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.faculty-name {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-metrics {
  display: flex;
  gap: 20px;
  align-items: center;
  text-align: right;
  flex-shrink: 0;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.metric-value {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--secondary);
}

.metric-score {
  color: var(--primary);
}

.card-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--border);
}

.badge {
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-devlet { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.badge-vakif { background: #faf5ff; color: #6b21a8; border: 1px solid #e9d5ff; }
.badge-kktc { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }

.badge-burslu { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.badge-ucretli { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }

.badge-orgun { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.badge-io { background: #fdf2f8; color: #9d174d; border: 1px solid #fbcfe8; }
.badge-aof { background: #f5f3ff; color: #5b21b6; border: 1px solid #ddd6fe; }

/* Risk Analizi Rozetleri */
.badge-chance {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
}
.badge-danger { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.badge-primary { background: #dbeafe; color: #1d4ed8; border: 1px solid #93c5fd; }
.badge-success { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.badge-slate { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }

.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.btn-add-cart {
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-add-cart.added {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}

/* ============ PAGINATION ============ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
}

.page-link {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.page-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.page-link.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px var(--primary-glow);
}

/* ============ TERCİH LİSTEM SAYFASI ============ */
.cart-page-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 32px 0 28px;
}

.cart-risk-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.risk-stat-card {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  gap: 16px;
}

.risk-stat-card.risk-hayal { border-left: 4px solid var(--danger); }
.risk-stat-card.risk-ideal { border-left: 4px solid var(--primary); }
.risk-stat-card.risk-garanti { border-left: 4px solid var(--success); }

.risk-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.cart-table-wrap {
  margin: 32px auto 64px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.cart-order-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.btn-move {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.btn-move:hover {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-remove-item {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  background: var(--danger-light);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-remove-item:hover {
  background: #fee2e2;
}

/* ============ FOOTER ============ */
.site-footer {
  margin-top: auto;
  background: var(--secondary);
  color: #94a3b8;
  padding: 54px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ PRINT STYLES ============ */
@media print {
  .site-header, .site-footer, .cart-item-actions, .no-print {
    display: none !important;
  }
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .cart-item-row {
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
    box-shadow: none !important;
  }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .filters-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    border-radius: 0;
    overflow-y: auto;
    height: 100vh;
  }
  .filters-sidebar.active {
    display: block;
  }
  .btn-mobile-filter {
    display: inline-flex;
  }
  .quick-bar-form {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .quick-bar-form {
    grid-template-columns: 1fr;
  }
  .card-top {
    flex-direction: column;
  }
  .card-metrics {
    text-align: left;
    justify-content: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.occupancy-disclaimer-note {
  text-align: center;
  margin-top: 28px;
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  letter-spacing: 0.2px;
}
