/* === NavigationPanel === */

/* System Info */
.systemInfo {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem 0.65rem;
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 4px;
}

.systemName {
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--star-white);
}

.systemMeta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.metaTag {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--chrome-silver);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.metaValue {
  color: var(--plasma-cyan);
}

.dockedBadge {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--bio-green);
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 3px;
  padding: 0.15rem 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* POI List */
.poiList {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.poiItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.5rem;
  background: rgba(61, 90, 108, 0.1);
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.poiItem:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.2);
}

.poiItemActive {
  border-color: var(--bio-green);
  background: rgba(45, 212, 191, 0.08);
}

.poiLeft {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  flex: 1;
}

.poiRight {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.poiIcon {
  display: flex;
  align-items: center;
  color: var(--hull-grey);
  flex-shrink: 0;
}

.poiName {
  font-family: var(--font-space-grotesk), 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  color: var(--star-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poiType {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--hull-grey);
  text-transform: uppercase;
  flex-shrink: 0;
}

.poiOnline {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--chrome-silver);
  flex-shrink: 0;
}

.travelIcon {
  display: flex;
  align-items: center;
  color: var(--plasma-cyan);
  opacity: 0;
  transition: opacity 0.15s ease;
  flex-shrink: 0;
}

.poiItem:hover .travelIcon {
  opacity: 1;
}

/* System Connections */
.connectionList {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.connectionItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.5rem;
  background: rgba(61, 90, 108, 0.1);
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.connectionItem:hover {
  background: rgba(155, 89, 182, 0.08);
  border-color: rgba(155, 89, 182, 0.25);
}

.connectionLeft {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.connectionIcon {
  display: flex;
  align-items: center;
  color: var(--void-purple);
  flex-shrink: 0;
}

.connectionName {
  font-family: var(--font-space-grotesk), 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  color: var(--star-white);
}

.connectionDist {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--hull-grey);
}

/* Dock/Undock */
.dockRow {
  display: flex;
  gap: 0.5rem;
}

/* Search */
.searchRow {
  display: flex;
  gap: 0.35rem;
}

.searchBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--plasma-cyan);
  border-radius: 4px;
  color: var(--plasma-cyan);
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.searchBtn:hover {
  background: rgba(0, 212, 255, 0.18);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}

/* Travel progress */
.travelBar {
  padding: 0.5rem 0.65rem;
  background: rgba(155, 89, 182, 0.06);
  border: 1px solid rgba(155, 89, 182, 0.2);
  border-radius: 4px;
}

.travelLabel {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--void-purple);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

/* Route Finding */
.routeSection {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.routeResult {
  padding: 0.5rem 0.65rem;
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 4px;
}

.routeMessage {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--bio-green);
  margin-bottom: 0.35rem;
}

.routeNotFound {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--hull-grey);
}

.routeList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.routeStep {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.4rem;
  background: rgba(61, 90, 108, 0.1);
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.routeStepActive {
  border-color: var(--bio-green);
  background: rgba(45, 212, 191, 0.08);
}

.routeStepClickable {
  cursor: pointer;
}

.routeStepClickable:hover {
  background: rgba(155, 89, 182, 0.08);
  border-color: rgba(155, 89, 182, 0.25);
}

.routeStepNumber {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--hull-grey);
  min-width: 1.2rem;
  text-align: center;
  flex-shrink: 0;
}

.routeStepName {
  font-family: var(--font-space-grotesk), 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  color: var(--star-white);
  flex: 1;
}

.routeStepJump {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  color: var(--void-purple);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.15s ease;
  flex-shrink: 0;
}

.routeStepClickable:hover .routeStepJump {
  opacity: 1;
}

/* Survey System */
.surveySection {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Mobile */
@media (max-width: 768px) {
  .metaTag { font-size: 0.72rem; }
  .poiItem { padding: 0.55rem 0.6rem; min-height: 44px; }
  .poiName { font-size: 0.85rem; }
  .poiType { font-size: 0.68rem; }
  .poiOnline { font-size: 0.68rem; }
  .travelIcon { opacity: 1; } /* always visible on touch */
  .connectionItem { padding: 0.55rem 0.6rem; min-height: 44px; }
  .connectionName { font-size: 0.85rem; }
  .connectionDist { font-size: 0.68rem; }
  .searchBtn { font-size: 0.75rem; padding: 0.5rem 0.75rem; min-height: 44px; }
  .routeStepName { font-size: 0.82rem; }
  .routeStepJump { opacity: 1; } /* always visible on touch */
  .routeStep { padding: 0.45rem 0.5rem; min-height: 44px; }
  .travelLabel { font-size: 0.72rem; }
  .dockedBadge { font-size: 0.68rem; }
}
