/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: dark;
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #0b1020;
  color: #e5e7eb;
}

.cockpit {
  max-width: 1680px;
  margin: 0 auto;
  padding: 1.2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.topBar h1 {
  margin: 0 0 0.25rem;
}

.topBar p {
  margin: 0;
  color: #9ca3af;
}

.statusPill {
  border: 1px solid #374151;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: #0f172a;
  color: #cbd5e1;
  font-size: 0.85rem;
  white-space: nowrap;
}

.cardSurface {
  border: 1px solid #1f2937;
  border-radius: 12px;
  background: #111827;
  padding: 0.9rem;
}

.filterBar {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  grid-gap: 0.7rem;
  gap: 0.7rem;
  align-items: end;
}

.field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.field input,
.field select {
  width: 100%;
  border: 1px solid #374151;
  border-radius: 8px;
  background: #0f172a;
  color: #e5e7eb;
  padding: 0.45rem 0.55rem;
}

.filterActions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filterSummary {
  grid-column: 1 / -1;
  margin: 0;
  color: #94a3b8;
  font-size: 0.85rem;
}

.cockpitGrid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr) 380px;
  grid-gap: 1rem;
  gap: 1rem;
  align-items: start;
}

.panelHeader {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.panelHeader h2 {
  margin: 0;
  font-size: 1.05rem;
}

.panelHeader span {
  color: #9ca3af;
  font-size: 0.85rem;
}

.queueScroll {
  max-height: 72vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.queueItem {
  width: 100%;
  text-align: left;
  border: 1px solid #334155;
  border-radius: 10px;
  background: #0f172a;
  color: #e5e7eb;
  padding: 0.65rem;
  cursor: pointer;
}

.queueItemSelected {
  border-color: #2563eb;
  box-shadow: 0 0 0 1px #2563eb inset;
}

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

.severityBadge {
  display: inline-block;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 600;
}

.severityCritical {
  background: #7f1d1d;
}

.severityHigh {
  background: #9a3412;
}

.severityMedium {
  background: #92400e;
}

.severityLow {
  background: #166534;
}

.queueState {
  font-size: 0.78rem;
  color: #93c5fd;
}

.queueTitle {
  margin: 0.45rem 0 0.35rem;
  font-weight: 600;
}

.queueMeta {
  margin: 0.2rem 0;
  color: #94a3b8;
  font-size: 0.82rem;
}

.detailTitle {
  margin: 0 0 0.35rem;
}

.detailMeta {
  margin: 0 0 0.8rem;
  color: #94a3b8;
  font-size: 0.88rem;
}

.detailGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 0.7rem;
  gap: 0.7rem;
}

.detailSection {
  border: 1px solid #334155;
  border-radius: 10px;
  background: #0f172a;
  padding: 0.7rem;
}

.detailSection h4 {
  margin: 0 0 0.45rem;
}

.detailSection p {
  margin: 0.2rem 0;
}

.detailSectionWide {
  grid-column: 1 / -1;
}

.actionGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 0.5rem;
  gap: 0.5rem;
}

.fullWidth {
  grid-column: 1 / -1;
}

.button {
  border: 1px solid #4b5563;
  border-radius: 8px;
  background: #1f2937;
  color: #e5e7eb;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}

.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.button.primary {
  border-color: #2563eb;
  background: #1d4ed8;
}

.inlineCard {
  margin-top: 0.65rem;
  border: 1px solid #334155;
  border-radius: 10px;
  background: #0f172a;
  padding: 0.65rem;
}

.inlineCard p {
  margin: 0.2rem 0;
}

.railSection {
  margin-top: 0.8rem;
}

.railSection h3 {
  margin: 0 0 0.45rem;
  font-size: 0.96rem;
}

.timelineList,
.correlatedList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.timelineList li,
.correlatedList li {
  border: 1px solid #334155;
  border-radius: 9px;
  background: #0f172a;
  padding: 0.6rem;
}

.timelineHeader {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.timelineList p,
.correlatedList p {
  margin: 0.22rem 0;
}

.mutedText {
  color: #94a3b8;
  font-size: 0.82rem;
}

.errorText {
  color: #fca5a5;
}

.emptyState {
  color: #94a3b8;
}

@media (max-width: 1280px) {
  .cockpitGrid {
    grid-template-columns: 1fr;
  }

  .queueScroll {
    max-height: none;
  }
}

@media (max-width: 960px) {
  .filterBar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detailGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .filterBar {
    grid-template-columns: 1fr;
  }

  .actionGrid {
    grid-template-columns: 1fr;
  }
}
