body {
  background-color: black;
  color: white;
  inset: 0;
  margin: 0;
}

.cesium-container {
  background-color: black;
  color: #424242;
  /* position: fixed; */
  overflow-y: none;
  overflow-x: none;
  inset: 0;
}

.divider {
  margin-top: 12;
  margin-bottom: 12;
}

.padding {
  padding: 12;
}

.margin-divider {
  margin-top: 20;
  margin-bottom: 20;
}

.grow {
  flex-grow: 1;
}

.clickable {
  cursor: pointer;
}

.right {
  text-align: right;
}

.console-font-ln {
  color: #00bcd4;
}

.rotate-90 {
  rotate: 90deg;
}

.glowing-component {
  box-shadow: 0 0 10px #18ffff;
  border: 1px solid #18ffff;
  border-radius: 5px;
  /* animation: breathe 2s infinite ease-in-out; */
}

.glowing-component:hover {
  box-shadow: 0 0 10px #76ff03;
  border: 1px solid #76ff03;
  cursor: pointer;
}

@keyframes breathe {
  0% {
    transform: scale(0.93);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.93);
  }
}

.watermark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  font-weight: bold;
  color: rgba(24, 255, 255, 0.2);
  background: transparent;
  background-image: url('../images/paladin-watermark.png');
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 99999999;
}

.cesium-feedback {
  background-image: url('../images/feedback-cesium.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 300;
  height: 155;
}

.cesium-widget,
.cesium-widget canvas {
  width: 100%;
  height: 100%;
  touch-action: none;
}

.textfield-label-adjust.MuiInputLabel-root {
  /* Adjusts initial position */
  transform: translate(10px, 7px) scale(1);
}

.textfield-label-adjust.MuiInputLabel-shrink {
  /* Adjusts position when focused */
  transform: translate(14px, -8px) scale(0.75);
}

#webpack-hot-middleware-clientOverlay {
  display: none;
}

@keyframes breatheAnimation {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.8);
  }
}

.breathing-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: breatheAnimation 1.2s ease infinite;
}

.chat-font {
  font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial,
    sans-serif, 'Apple Symbols';
}

.chat-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(30, 30, 30);
  /* margin: 6; */
  border-radius: 4px;
  filter: drop-shadow(3px 3px 3px #000000);
}

.chat-file {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: rgb(30, 30, 30);
  /* margin: 6; */
  border-radius: 4px;
  filter: drop-shadow(1px 1px 3px #000000);
  padding: 10px 15px;
  /* max-width: 400; */
}

.time-line {
  border-radius: 4;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 4 8;
  font-size: 12px;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 0);
}

/* React Flow - Start */
.react-flow__panel.right {
  right: 48px !important;
}
/* React Flow - End */

@keyframes portPulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0px rgba(24, 255, 255, 0.2);
    opacity: 1;
  }
  50% {
    transform: scale(1.25);
    box-shadow: 0 0 6px 4px rgba(24, 255, 255, 0.8);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0px rgba(24, 255, 255, 0.2);
    opacity: 1;
  }
}

.port-pulse {
  border: 0.5px solid white;
  /* border-radius: 50%; */
  animation: portPulseGlow 1.8s ease-in-out infinite;
  will-change: transform, box-shadow, opacity; /* GPU hint */
}

@keyframes textPulse {
  0% {
    opacity: 0.6;
    box-shadow: 0 0 0px rgba(76, 175, 80, 0.2);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 2px 2px rgba(76, 175, 80, 0.9);
  }
  100% {
    opacity: 0.6;
    box-shadow: 0 0 0px rgba(76, 175, 80, 0.2);
  }
}

.text-pulse {
  /* border-radius: 50%; */
  animation: textPulse 1.8s ease-in-out infinite;
  will-change: transform, box-shadow, opacity; /* GPU hint */
}

.gateway-entity-matrix.MuiTable-root {
  width: auto;
}

.gateway-entity-matrix .MuiTableCell-root {
  font-size: 1rem;
  padding: 4px 6px;
  white-space: nowrap;
}

.gateway-entity-matrix .MuiTableCell-root:not(:last-child) {
  border-right: 1px solid;
}

.gateway-entity-matrix .gateway-kind-cell:not(:last-child) {
  border-right: 0;
  padding-right: 0;
}

.gateway-entity-matrix .gateway-kind-cell + .MuiTableCell-root {
  padding-left: 0;
}

.gateway-entity-matrix .gateway-kind-cell + .MuiTableCell-root::before {
  content: '\00a0';
}

.gateway-interface-table.MuiTable-root {
  table-layout: fixed;
  min-width: 640px;
}

.gateway-interface-table .MuiTableCell-root {
  overflow-wrap: anywhere;
}

.gateway-interface-table thead th:first-child {
  width: 30%;
}

.gateway-interface-table thead th:nth-child(2),
.gateway-interface-table thead th:nth-child(3) {
  width: 25%;
}

.gateway-interface-table thead th:nth-child(4),
.gateway-interface-table thead th:nth-child(5) {
  width: 10%;
}

.release-notes-page {
  min-height: 100vh;
  padding-bottom: 16px;
  background-color: #0d1117;
}

.dt-compatible-nodes-filter {
  margin-top: 8px;
  padding: 8px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}

.dt-graph-library-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px 8px 0;
}

.dt-graph-filter-popover.MuiPaper-root {
  width: min(300px, calc(100vw - 32px));
  padding: 12px;
  border-radius: 4px;
}

.dt-library-display-controls {
  align-items: center;
  justify-content: space-between;
}

.dt-graph-name-row.MuiCard-root {
  margin-bottom: 6px;
  padding: 6px 8px;
}

.dt-graph-preview-tooltip.MuiTooltip-tooltip {
  max-width: none;
  padding: 0;
  border-radius: 4px;
}

.dt-graph-preview {
  width: min(640px, 60vw);
  max-height: 75vh;
  overflow: auto;
  padding: 12px;
}

.dt-graph-preview-image {
  display: block;
  width: 100%;
  max-height: 58vh;
  object-fit: contain;
  margin: 8px 0;
}

.dt-graph-preview-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.dt-graph-drag-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1500;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.dt-graph-drag-preview * {
  pointer-events: none;
}

.dt-graph-image-button.MuiButtonBase-root {
  display: block;
  width: 100%;
  cursor: zoom-in;
}

.dt-graph-image-button.Mui-focusVisible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

.dt-graph-fullscreen {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dt-graph-image-dialog.MuiPaper-root {
  padding: 0;
}

.dt-graph-image-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.dt-graph-image-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  flex: 1;
  min-height: 0;
}

.dt-graph-image-title {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.dt-graph-image-zoom-controls {
  display: flex;
  align-items: center;
}

.dt-graph-image-content {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  touch-action: none;
}

.dt-graph-image-stage {
  display: flex;
  min-width: 100%;
  min-height: 100%;
  align-items: center;
  justify-content: center;
}

.dt-graph-image-content img {
  display: block;
  flex: 0 0 auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  user-select: none;
}

.dt-graph-image-zoomed {
  cursor: grab;
}

.dt-graph-image-content.dt-graph-image-panning {
  cursor: grabbing;
}

.dt-graph-image-details {
  min-height: 0;
  overflow: auto;
  padding: 24px;
  border-left: 1px solid;
}

.dt-graph-details-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.dt-graph-details-description.MuiTypography-root {
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.dt-graph-details-metadata {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid;
}

.dt-graph-metadata-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 16px;
  margin: 12px 0 0;
}

.dt-graph-metadata-list dt,
.dt-graph-metadata-list dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.dt-graph-editor.MuiPaper-root {
  width: 800px;
  margin: 24px;
  max-width: calc(100% - 48px);
  padding: 0;
  border-radius: 4px;
}

.dt-graph-editor-heading.MuiDialogTitle-root {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.dt-graph-editor-heading-text {
  flex: 1;
  min-width: 0;
}

.dt-graph-editor .dt-graph-editor-content.MuiDialogContent-root {
  padding: 28px;
}

.dt-graph-editor-description .MuiInputBase-root {
  padding: 16px;
}

.dt-graph-editor-description .MuiInputBase-input {
  line-height: 1.6;
}

.dt-graph-editor-sharing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid;
  border-radius: 4px;
}

.dt-graph-editor-actions.MuiDialogActions-root {
  gap: 8px;
  padding: 16px 28px;
  border-top: 1px solid rgba(128, 128, 128, 0.2);
}

@media (max-width: 900px) {
  .dt-graph-image-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(0, 34%);
  }

  .dt-graph-image-details {
    border-left: 0;
    border-top: 1px solid;
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .dt-graph-editor.MuiPaper-root {
    margin: 12px;
    max-width: calc(100% - 24px);
    max-height: calc(100% - 24px);
  }

  .dt-graph-editor-heading.MuiDialogTitle-root,
  .dt-graph-editor .dt-graph-editor-content.MuiDialogContent-root,
  .dt-graph-editor-actions.MuiDialogActions-root {
    padding: 20px;
  }

  .dt-graph-image-heading {
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 12px;
  }

  .dt-graph-image-title {
    font-size: 1rem;
    flex-basis: calc(100% - 48px);
  }

  .dt-graph-image-zoom-controls {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
  }
}

.dt-scenario-control {
  position: relative;
  display: flex;
}

.dt-scenario-popper {
  z-index: 1100;
}

.dt-scenario-context {
  width: min(480px, calc(100vw - 24px));
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding: 12px;
  border-radius: 4px;
}

.dt-context-heading {
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.dt-context-summary {
  overflow-wrap: anywhere;
}

.dt-context-title {
  flex: 1;
}

.dt-active-scenarios {
  max-height: 240px;
  overflow-y: auto;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.dt-active-scenario {
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 0;
}

.dt-selection-input {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.dt-selection-input .MuiAutocomplete-root .MuiAutocomplete-inputRoot.MuiOutlinedInput-root.MuiInputBase-root {
  padding: 0 44px 0 6px;
}

.dt-selection-input .MuiAutocomplete-root:not(.MuiAutocomplete-hasClearIcon) .MuiAutocomplete-inputRoot.MuiOutlinedInput-root.MuiInputBase-root {
  padding-right: 24px;
}

.dt-selection-input .MuiAutocomplete-root .MuiAutocomplete-inputRoot.MuiOutlinedInput-root .MuiAutocomplete-input {
  padding: 0;
}

.dt-selection-input .MuiAutocomplete-root .MuiAutocomplete-inputRoot .MuiAutocomplete-endAdornment {
  right: 2px;
}

.dt-selection-input .MuiAutocomplete-root .MuiAutocomplete-clearIndicator,
.dt-selection-input .MuiAutocomplete-root .MuiAutocomplete-popupIndicator {
  width: 20px;
  height: 24px;
  padding: 2px;
  margin-right: 0;
}

.dt-selection-status {
  max-width: 200px;
  padding: 0 4px;
}

.dt-selection-review-help {
  margin-bottom: 16px;
}

.dt-selection-review-choice {
  min-width: 240px;
}

.dt-snapshot-container {
  position: fixed;
  top: -10000px;
  left: -10000px;
  pointer-events: none;
}

.dt-snapshot {
  position: relative;
  overflow: hidden;
}

.dt-snapshot-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dt-snapshot-layer {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: top left;
}

.dt-snapshot .MuiIconButton-root,
.dt-snapshot .MuiAutocomplete-endAdornment {
  visibility: hidden;
}

.dt-snapshot .dt-selection-status {
  display: none;
}

.dt-snapshot .port-pulse {
  animation: none;
}

.dt-snapshot [data-type='node'] {
  outline: none !important;
}

.dt-snapshot .Mui-error .MuiOutlinedInput-notchedOutline {
  border-color: rgba(255, 255, 255, 0.23) !important;
}

.dt-node-connection-hint {
  position: absolute;
  bottom: 100%;
  left: 0;
  min-width: 100%;
  width: max-content;
  max-width: 320px;
  box-sizing: border-box;
  margin-bottom: 8px;
  padding: 8px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}

.dt-connection-previews {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.dt-connection-preview {
  cursor: pointer;
  outline: none;
}

.dt-connection-preview-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 14px;
  pointer-events: stroke;
}

.dt-connection-preview-wire {
  fill: none;
  stroke: #b0bec5;
  stroke-width: 2px;
  stroke-dasharray: 7 5;
  opacity: 0.6;
  pointer-events: none;
}

.dt-connection-preview:hover .dt-connection-preview-wire,
.dt-connection-preview:focus .dt-connection-preview-wire {
  stroke: #00bcd4;
  stroke-width: 3px;
  opacity: 1;
}

.rogue-graph-magnifier,
.dt-graph-magnifier {
  position: absolute;
  z-index: 5;
  border: 2px solid;
  border-radius: 6px;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.dt-magnifier-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dt-magnifier-layer {
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
  will-change: transform;
}

.rogue-magnifier-connection {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 4;
}

.rogue-magnifier-connection path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5px;
}

.react-flow__handle[data-rogue-connection-target='valid'] {
  outline: 2px solid #00bcd4;
  outline-offset: 2px;
}

.react-flow__handle[data-rogue-connection-target='invalid'] {
  outline: 2px solid #f44336;
  outline-offset: 2px;
}

.rogue-connection-node {
  outline: 2px solid #00bcd4 !important;
  outline-offset: 3px !important;
}

/* Keep wire endpoints on the circles while enlarging their pointer targets. */
.react-flow__handle.rogue-port-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.react-flow__handle-left.rogue-port-handle::before {
  margin-left: -4px;
}

.react-flow__handle-right.rogue-port-handle::before {
  margin-left: 4px;
}

.rogue-port-highlight {
  pointer-events: none;
}

.rogue-connection-port {
  box-shadow: 0 0 0 3px #00bcd4, 0 0 8px #00bcd4;
}

.rogue-drag-node {
  pointer-events: none;
}

.rogue-connection-hint {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(400px, calc(100% - 180px));
  padding: 8px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}

.rogue-connection-preview {
  cursor: pointer;
  outline: none;
}

.rogue-connection-preview-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 14px;
  pointer-events: stroke;
}

.rogue-connection-preview-wire {
  fill: none;
  stroke: #b0bec5;
  stroke-width: 2px;
  stroke-dasharray: 7 5;
  opacity: 0.6;
  pointer-events: none;
}

.rogue-connection-preview:hover .rogue-connection-preview-wire,
.rogue-connection-preview:focus .rogue-connection-preview-wire {
  stroke: #00bcd4;
  stroke-width: 3px;
  opacity: 1;
}

.release-notes-header {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 16px 0 8px;
  margin-bottom: 8px;
  background-color: inherit;
  border-bottom: 1px solid #00bcd4;
}

@media print {
  .release-notes-page {
    background-color: transparent;
  }

  /* Two classes to beat the MUI Stack class, which is injected after this file. */
  .release-notes-page .release-notes-header {
    display: none;
  }
}
.dt-graph-warning {
  max-width: 380px;
  margin: 4px;
}
