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

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

.header {
  margin-bottom: 20px;
}

.map-container {
  flex: 1;
  background: #2c3e50;
  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-header h1 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.mobile-header p {
  font-size: 12px;
  color: #8b9dc3;
  margin: 4px 0 0 0;
}

/* Mobile info bar (hidden by default, shown in responsive.css) */
.mobile-info-bar {
  display: none;
  position: fixed;
  bottom: 90px;
  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: #2c3e50;
  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;
}

.control-group {
  background: #34495e;
  border-radius: 12px;
  padding: 16px;
}

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

.nav-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Mobile floating toggle (hidden by default, shown in responsive.css) */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  bottom: calc(20px + var(--footer-height)); /* keep clear of the footer */
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-radius: 50%;
  border: none;
  color: white;
  font-size: 24px;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:active {
  transform: scale(0.95);
}

.mobile-menu-toggle.active {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* Footer — full width, ~20px height, centered content */
.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--footer-height);
  background: rgba(26, 35, 50, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;    /* center the content block */
  padding: 0 10px;
  z-index: 1500;
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;            /* fits the ~20px height */
  line-height: 1;             /* tight line height to keep footer compact */
  color: #8b9dc3;
  text-align: center;
}

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

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