/* node_modules/react-calendar-timeline/lib/Timeline.css */
.react-calendar-timeline * {
  box-sizing: border-box;
}
.react-calendar-timeline .rct-outer {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}
.react-calendar-timeline .rct-scroll {
  display: inline-block;
  white-space: normal;
  vertical-align: top;
  overflow-x: scroll;
  overflow-y: hidden;
  -ms-touch-action: none;
  touch-action: none;
}
.react-calendar-timeline .rct-item:hover {
  z-index: 88;
}
.react-calendar-timeline .rct-item .rct-item-content {
  position: sticky;
  position: -webkit-sticky;
  left: 0px;
  overflow: hidden;
  display: inline-block;
  border-radius: 2px;
  padding: 0 6px;
  height: 100%;
}
.react-calendar-timeline .rct-sidebar {
  overflow: hidden;
  white-space: normal;
  display: inline-block;
  vertical-align: top;
  position: relative;
  box-sizing: border-box;
  border-right: 1px solid #bbb;
}
.react-calendar-timeline .rct-sidebar.rct-sidebar-right {
  border-right: 0;
  border-left: 1px solid #bbb;
}
.react-calendar-timeline .rct-sidebar .rct-sidebar-row {
  padding: 0 4px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  box-sizing: border-box;
  margin: 0;
  border-bottom: 1px solid #bbb;
}
.react-calendar-timeline .rct-sidebar .rct-sidebar-row.rct-sidebar-row-odd {
  background: rgba(0, 0, 0, 0.05);
}
.react-calendar-timeline .rct-sidebar .rct-sidebar-row.rct-sidebar-row-even {
  background: transparent;
}
.react-calendar-timeline .rct-vertical-lines .rct-vl {
  position: absolute;
  border-left: 1px solid #bbb;
  z-index: 30;
}
.react-calendar-timeline .rct-vertical-lines .rct-vl.rct-vl-first {
  border-left-width: 2px;
}
.react-calendar-timeline .rct-vertical-lines .rct-vl.rct-day-6,
.react-calendar-timeline .rct-vertical-lines .rct-vl.rct-day-0 {
  background: rgba(250, 246, 225, 0.5);
}
.react-calendar-timeline .rct-horizontal-lines {
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  user-select: none;
}
.react-calendar-timeline .rct-horizontal-lines .rct-hl-even,
.react-calendar-timeline .rct-horizontal-lines .rct-hl-odd {
  border-bottom: 1px solid #bbb;
  box-sizing: border-box;
  z-index: 40;
}
.react-calendar-timeline .rct-horizontal-lines .rct-hl-odd {
  background: rgba(0, 0, 0, 0.05);
}
.react-calendar-timeline .rct-horizontal-lines .rct-hl-even {
  background: transparent;
}
.react-calendar-timeline .rct-cursor-line {
  position: absolute;
  width: 2px;
  background: #2196f3;
  z-index: 51;
}
.react-calendar-timeline .rct-dateHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-bottom: 1px solid #bbb;
  cursor: pointer;
  font-size: 14px;
  background-color: #f0f0f0;
  border-left: 2px solid #bbb;
}
.react-calendar-timeline .rct-dateHeader-primary {
  background-color: initial;
  border-left: 1px solid #bbb;
  border-right: 1px solid #bbb;
  color: #fff;
}
.react-calendar-timeline .rct-header-root {
  background: #c52020;
  border-bottom: 1px solid #bbb;
}
.react-calendar-timeline .rct-calendar-header {
  border: 1px solid #bbb;
}

/* src/npl_gantt.css */
.npl-gantt-root {
  width: 100%;
  min-height: 240px;
  color: #e5eef8;
  background: #121820;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  overflow: hidden;
}
.npl-gantt-deterministic-header {
  display: flex;
  width: 100%;
  background: #111827;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}
.npl-gantt-sidebar-header {
  flex: 0 0 auto;
  background: #111827;
  border-right: 1px solid rgba(148, 163, 184, 0.32);
}
.npl-gantt-time-header {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}
.npl-gantt-range-label {
  align-items: center;
  color: #bfdbfe;
  display: flex;
  font-size: 13px;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}
.npl-gantt-ticks {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 30px;
}
.npl-gantt-tick-label {
  align-items: center;
  border-left: 1px solid rgba(148, 163, 184, 0.24);
  color: #bfdbfe;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  min-width: 42px;
  position: absolute;
  top: 0;
  transform: translateX(-1px);
}
.npl-gantt-tick-label-major {
  border-left-color: rgba(191, 219, 254, 0.42);
}
.npl-gantt-deterministic-body {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.npl-gantt-sidebar-rows {
  background: #101722;
  border-right: 1px solid rgba(148, 163, 184, 0.32);
  flex: 0 0 auto;
  position: relative;
  z-index: 40;
}
.npl-gantt-sidebar-row {
  align-items: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  color: #dbeafe;
  display: flex;
  font-size: 14px;
  font-weight: 900;
  padding: 0 8px;
}
.npl-gantt-canvas {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.npl-gantt-row {
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  left: 0;
  position: absolute;
  right: 0;
}
.npl-gantt-row-even {
  background: rgba(255, 255, 255, 0.006);
}
.npl-gantt-row-odd {
  background: rgba(255, 255, 255, 0.014);
}
.npl-gantt-gridline {
  border-left: 1px solid rgba(148, 163, 184, 0.13);
  bottom: 0;
  position: absolute;
  top: 0;
  width: 0;
}
.npl-gantt-gridline-major {
  border-left-color: rgba(191, 219, 254, 0.28);
}
.npl-gantt-root .rct-header-root,
.npl-gantt-root .rct-sidebar-header,
.npl-gantt-root .rct-calendar-header {
  background: #111827;
  border-color: rgba(148, 163, 184, 0.22);
}
.npl-gantt-root .rct-sidebar {
  background: #101722;
  border-color: rgba(148, 163, 184, 0.22);
}
.npl-gantt-root .rct-sidebar .rct-sidebar-row {
  color: #dbeafe;
  font-weight: 800;
  border-color: rgba(148, 163, 184, 0.14);
}
.npl-gantt-root .rct-vertical-lines .rct-vl {
  border-left-color: rgba(148, 163, 184, 0.14);
}
.npl-gantt-root .rct-horizontal-lines .rct-hl-even,
.npl-gantt-root .rct-horizontal-lines .rct-hl-odd {
  border-bottom-color: rgba(148, 163, 184, 0.12);
}
.npl-gantt-root .rct-dateHeader,
.npl-gantt-root .rct-label-group,
.npl-gantt-root .rct-label {
  color: #b9c7d9;
  border-color: rgba(148, 163, 184, 0.22);
  background: #111827;
}
.npl-gantt-root .rct-scroll {
  overflow-x: auto !important;
  scrollbar-color: #94a3b8 #0b111b;
  scrollbar-width: thin;
}
.npl-gantt-root .rct-scroll::-webkit-scrollbar {
  height: 12px;
}
.npl-gantt-root .rct-scroll::-webkit-scrollbar-track {
  background: #0b111b;
}
.npl-gantt-root .rct-scroll::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 999px;
  border: 3px solid #0b111b;
}
.npl-gantt-root .rct-scroll::-webkit-scrollbar-thumb:hover {
  background: #cbd5e1;
}
.npl-gantt-item {
  border-radius: 4px;
  border-width: 1px;
  border-style: solid;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  overflow: visible !important;
  padding: 3px 6px;
  position: relative;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.34);
  white-space: nowrap;
}
.npl-gantt-item-label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.npl-gantt-item-flight {
  z-index: 3;
}
.npl-gantt-item-flight-conflict {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.9) !important;
}
.npl-gantt-item-flight-warning {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.72) !important;
}
.npl-gantt-item-has-badges::after {
  background: rgba(13, 17, 23, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  color: #ffffff;
  content: attr(data-badges);
  display: block;
  font-size: 8px;
  font-weight: 900;
  line-height: 12px;
  min-width: 12px;
  padding: 0 3px;
  position: absolute;
  right: -5px;
  text-align: center;
  top: -13px;
  z-index: 7;
}
.npl-gantt-item-ground {
  opacity: 0.62;
  font-size: 10px;
  font-weight: 700;
  height: 14px !important;
  line-height: 14px !important;
  padding: 0 5px;
  pointer-events: none;
  z-index: 1;
}
.npl-gantt-item-ground-tat {
  opacity: 0.78;
}
.npl-gantt-item-ground-conflict {
  background: #ef4444 !important;
  border-color: #fca5a5 !important;
  color: #ffffff;
  opacity: 0.95;
}
.npl-gantt-item-connection {
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  height: 12px !important;
  line-height: 12px !important;
  padding: 0 5px;
  pointer-events: none;
  text-shadow: none;
  z-index: 2;
}
.npl-gantt-item-connection::after {
  color: #ffffff;
  content: ">";
  font-size: 11px;
  font-weight: 900;
  line-height: 12px;
  position: absolute;
  right: -8px;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.72);
  top: 0;
}
.npl-gantt-item-connection .rct-item-content {
  line-height: 12px !important;
}
.npl-gantt-item-connection-critical {
  box-shadow: 0 0 0 1px rgba(252, 211, 77, 0.95);
}
.npl-gantt-item-connection-source {
  opacity: 0.76;
}
.npl-gantt-item-connection-source::after {
  content: "";
}
.npl-gantt-item-maintenance-guide {
  border-style: dashed !important;
  border-width: 1px !important;
  font-size: 10px;
  font-weight: 900;
  padding: 0 5px;
  pointer-events: none;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.04);
}
.npl-gantt-item-maintenance-overlap {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.72);
}
