/* === InfoPanel === */

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

.divider {
  height: 1px;
  background: var(--dim-grey);
  margin: 0.25rem 0;
}

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

.versionNumber {
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--plasma-cyan);
}

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

.versionMotd {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--chrome-silver);
  font-style: italic;
  line-height: 1.4;
}

/* Stats grid */
.statsGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
}

.statItem {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.4rem 0.55rem;
  background: rgba(61, 90, 108, 0.1);
  border: 1px solid transparent;
  border-radius: 4px;
}

.statLabel {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--hull-grey);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.statValue {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--plasma-cyan);
}

/* Link row */
.linkRow {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.linkBtn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  background: rgba(61, 90, 108, 0.1);
  border: 1px solid var(--hull-grey);
  border-radius: 4px;
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--chrome-silver);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.15s ease;
}

.linkBtn:hover {
  border-color: var(--plasma-cyan);
  color: var(--plasma-cyan);
  background: rgba(0, 212, 255, 0.06);
}

.linkBtnIcon {
  display: flex;
  align-items: center;
}

/* Notes section */
.noteList {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

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

.noteItem:hover {
  background: rgba(61, 90, 108, 0.2);
}

.noteIcon {
  display: flex;
  align-items: center;
  color: var(--chrome-silver);
  flex-shrink: 0;
}

.noteTitle {
  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;
}

/* Create note form */
.noteForm {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.noteInput {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--star-white);
  background: rgba(10, 14, 23, 0.8);
  border: 1px solid var(--hull-grey);
  border-radius: 4px;
  padding: 0.35rem 0.5rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.noteInput::placeholder {
  color: var(--hull-grey);
}

.noteInput:focus {
  border-color: var(--plasma-cyan);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.15);
}

.noteTextarea {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--star-white);
  background: rgba(10, 14, 23, 0.8);
  border: 1px solid var(--hull-grey);
  border-radius: 4px;
  padding: 0.35rem 0.5rem;
  outline: none;
  resize: vertical;
  min-height: 60px;
  transition: border-color 0.2s ease;
}

.noteTextarea::placeholder {
  color: var(--hull-grey);
}

.noteTextarea:focus {
  border-color: var(--plasma-cyan);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.15);
}

/* Mission list */
.missionList {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.missionItem {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.45rem 0.55rem;
  background: rgba(255, 217, 61, 0.04);
  border: 1px solid rgba(255, 217, 61, 0.1);
  border-radius: 4px;
}

.missionHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

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

.missionDifficulty {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--warning-yellow);
  text-transform: uppercase;
  flex-shrink: 0;
}

.missionDesc {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--chrome-silver);
  line-height: 1.4;
}

.missionReward {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--bio-green);
}

/* Log list */
.logList {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.logItem {
  padding: 0.3rem 0.45rem;
  background: rgba(61, 90, 108, 0.08);
  border-radius: 3px;
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--chrome-silver);
  line-height: 1.3;
}

/* Action Log section */
.actionLogSection {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.filterRow {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.filterSelect {
  flex: 1;
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--star-white);
  background: rgba(10, 14, 23, 0.8);
  border: 1px solid var(--hull-grey);
  border-radius: 4px;
  padding: 0.35rem 0.5rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
  appearance: auto;
}

.filterSelect:focus {
  border-color: var(--plasma-cyan);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.15);
}

.filterSelect option {
  background: var(--deep-void);
  color: var(--star-white);
}

.logEntry {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.35rem 0.45rem;
  background: rgba(61, 90, 108, 0.08);
  border-radius: 3px;
  border-left: 2px solid var(--hull-grey);
}

.logEntryHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.logCategory {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--plasma-cyan);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.1rem 0.35rem;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 3px;
  white-space: nowrap;
}

.logTimestamp {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--hull-grey);
  white-space: nowrap;
  flex-shrink: 0;
}

.logEntrySummary {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--chrome-silver);
  line-height: 1.3;
}

/* Completed Mission item */
.completedMissionItem {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.45rem 0.55rem;
  background: rgba(255, 217, 61, 0.04);
  border: 1px solid rgba(255, 217, 61, 0.1);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.completedMissionItem:hover {
  background: rgba(255, 217, 61, 0.08);
  border-color: rgba(255, 217, 61, 0.2);
}

/* Mission detail view */
.missionDetail {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem 0.55rem;
  background: rgba(255, 217, 61, 0.04);
  border: 1px solid rgba(255, 217, 61, 0.1);
  border-radius: 4px;
}

.missionDetailSection {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.3rem;
  border-top: 1px solid rgba(255, 217, 61, 0.08);
}

.missionDetailLabel {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--warning-yellow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Loading */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--hull-grey);
}

/* Mission objective enrichment */
.objectiveList {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.25rem;
  padding-left: 0.5rem;
  border-left: 2px solid rgba(0, 212, 255, 0.2);
}

.objectiveItem {
  font-size: 0.75rem;
  color: var(--chrome-silver);
}

.objectiveDesc {
  color: var(--star-white);
}

.objectiveMeta {
  color: var(--plasma-cyan);
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
}

/* Mobile */
@media (max-width: 768px) {
  .linkBtn { min-height: 44px; padding: 0.4rem 0.65rem; }
  .noteInput { font-size: 16px; min-height: 44px; }
  .noteTextarea { font-size: 16px; min-height: 60px; }
  .filterSelect { font-size: 16px; min-height: 44px; }
  .statLabel { font-size: 0.68rem; }
  .versionDate { font-size: 0.68rem; }
  .missionDifficulty { font-size: 0.68rem; }
  .missionReward { font-size: 0.68rem; }
  .missionDetailLabel { font-size: 0.68rem; }
  .logCategory { font-size: 0.68rem; }
  .logTimestamp { font-size: 0.68rem; }
}
