/* Page layout (desktop-first) */
.container {
  display: flex;
  height: 100vh;
  background: var(--color-background);
  position: relative;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  padding-right: 10px;
}

.header {
  margin-bottom: 20px;
}

.page-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.page-header .brand--desktop {
  flex: 1;
}

.page-header .title {
  margin-bottom: 4px;
}

.page-header .subtitle {
  margin: 0;
}

.map-container {
  flex: 1;
  background: var(--color-surface);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile top header (hidden on desktop) */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(26, 35, 50, 0.98), rgba(26, 35, 50, 0.9));
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Mobile info bar (hidden by default, shown in responsive.css) */
.mobile-info-bar {
  display: none;
  position: fixed;
  bottom: 30px;
  left: 16px;
  right: 16px;
  background: linear-gradient(to right, rgba(44, 62, 80, 0.95), rgba(52, 73, 94, 0.95));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 12px 16px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Sidebar (desktop) */
.sidebar {
  width: 420px; /* desktop width */
  background: var(--color-surface);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, opacity 0.3s ease;
  overflow-y: auto;
  max-height: 100vh;
}

/* Custom scrollbar for sidebar */
.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: background 0.2s ease;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Firefox scrollbar */
.sidebar {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}

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

.control-group {
  background: var(--color-surface-muted);
  border-radius: 12px;
  padding: 16px;
}

.control-group--half {
  flex: 1;
  min-width: 0;
}

.control-group h3 {
  font-size: 14px;
  color: #ecf0f1;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sidebar footer moved from global footer */
.sidebar-footer {
  margin-top: auto; /* push to bottom */
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.sidebar-footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1;
  color: #8b9dc3;
  text-align: center;
  width: 100%;
}

.sidebar-footer-content a {
  color: #ecf0f1;
  text-decoration: none;
}

.sidebar-footer-content a:hover {
  text-decoration: underline;
}

/* .nav-controls removed with the old Navigation sidebar section */

/* Mobile menu toggle base */
.mobile-menu-toggle {
  display: none;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Footer — full width, ~20px height, centered content */
/* removed global fixed footer styles */
