/* === FleetView === */

/* Summary */
.summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  background: rgba(168, 197, 214, 0.04);
  border: 1px solid rgba(168, 197, 214, 0.1);
  border-radius: 4px;
}

.summaryLabel {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--chrome-silver);
  text-transform: uppercase;
}

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

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

/* Fleet ship list */
.fleetList {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.fleetCard {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.55rem 0.65rem;
  background: rgba(61, 90, 108, 0.08);
  border: 1px solid rgba(61, 90, 108, 0.18);
  border-radius: 4px;
  transition: all 0.15s ease;
}

.fleetCard:hover {
  background: rgba(61, 90, 108, 0.14);
  border-color: rgba(61, 90, 108, 0.3);
}

.fleetCardActive {
  composes: fleetCard;
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.04);
}

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

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

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

.fleetCardName {
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--star-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activeIndicator {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--plasma-cyan);
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 3px;
  padding: 0.08rem 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.fleetCardActions {
  display: flex;
  gap: 0.3rem;
  flex-shrink: 0;
}

/* Fleet card meta row */
.fleetCardMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
}

.fleetMeta {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

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

.fleetMetaLabel {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  color: var(--chrome-silver);
  text-transform: uppercase;
}

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

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

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

/* Expanded fleet card */
.fleetCardExpanded {
  composes: fleetCard;
  border-color: rgba(0, 212, 255, 0.25);
  border-bottom: 2px solid rgba(0, 212, 255, 0.35);
}

.fleetCardExpanded:hover {
  border-color: rgba(0, 212, 255, 0.35);
  border-bottom-color: rgba(0, 212, 255, 0.45);
}

.expandedSection {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem 0.4rem 0.25rem;
  background: rgba(0, 212, 255, 0.02);
  border-top: 1px solid rgba(61, 90, 108, 0.2);
  margin-top: 0.2rem;
}

.expandedHeader {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--chrome-silver);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 0.2rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px solid rgba(61, 90, 108, 0.15);
}

.expandedItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.15rem 0.2rem;
}

.expandedItem:hover {
  background: rgba(168, 197, 214, 0.04);
  border-radius: 2px;
}

.expandedItemName {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--star-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

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

.inspectToggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid transparent;
  border-radius: 2px;
  color: var(--hull-grey);
  cursor: pointer;
  padding: 0.1rem;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.shipImage {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 3px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(61, 90, 108, 0.2);
}

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

/* Mobile */
@media (max-width: 768px) {
  .inspectToggle { min-height: 44px; min-width: 44px; padding: 0.4rem; }
  .activeIndicator { font-size: 0.68rem; }
  .fleetMetaLabel { font-size: 0.68rem; }
  .fleetLocation { font-size: 0.68rem; }
  .expandedHeader { font-size: 0.68rem; }
  .expandedItemMeta { font-size: 0.68rem; }
}
