/* === SalvagePanel === */

.locationLine {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--hull-grey);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.locationName {
  color: var(--plasma-cyan);
  font-weight: 600;
  margin: 0 0.15rem;
}

.errorBanner {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.55rem;
  background: rgba(230, 57, 70, 0.06);
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-radius: 4px;
  color: var(--claw-red);
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.72rem;
}

.cargoWarn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.55rem;
  background: rgba(255, 107, 53, 0.05);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 4px;
  color: var(--shell-orange);
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.72rem;
}

.wreckList {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wreckCard {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.55rem 0.6rem;
  background: rgba(61, 90, 108, 0.06);
  border: 1px solid rgba(155, 89, 182, 0.15);
  border-radius: 5px;
  transition: border-color 0.15s ease;
}

.wreckCard:hover {
  border-color: rgba(155, 89, 182, 0.3);
}

.wreckHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  cursor: pointer;
  outline: none;
}

.wreckHeader:focus-visible {
  outline: 1px solid var(--plasma-cyan);
  border-radius: 3px;
}

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

.wreckIcon {
  color: var(--void-purple);
  flex-shrink: 0;
}

.wreckTitleBlock {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

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

.wreckSub {
  display: flex;
  gap: 0.5rem;
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--hull-grey);
  align-items: center;
  flex-wrap: wrap;
}

.wreckType {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wreckKiller {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--claw-red);
  opacity: 0.85;
}

.wreckHeaderRight {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.wreckSummary {
  display: flex;
  gap: 0.75rem;
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--chrome-silver);
  flex-wrap: wrap;
}

.wreckSummary span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.wreckSummary b {
  color: var(--star-white);
  font-weight: 600;
}

.wreckBody {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.35rem;
  border-top: 1px dashed rgba(155, 89, 182, 0.15);
}

.section {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.itemList {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.salvageRow {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.2rem;
}

/* Salvage result modal */
.salvageResultIntro {
  font-family: var(--font-space-grotesk), 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  color: var(--chrome-silver);
  margin-bottom: 0.6rem;
}

.salvageResults {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.salvageResultRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.5rem;
  background: rgba(61, 90, 108, 0.1);
  border-radius: 3px;
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--hull-grey);
}

.salvageResultRow b {
  color: var(--plasma-cyan);
  font-weight: 600;
}

@media (max-width: 768px) {
  .wreckTitle { font-size: 0.85rem; }
  .wreckSummary { font-size: 0.72rem; gap: 0.6rem; }
}
