.monitoring_article_container {
    border: 1px solid #21283220;
    border-radius: 6px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    margin: 5px 5px 5px;
    padding: 10px 10px 10px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: space-between
}

.monitoring_article_container_checkbox {
    display: flex;
    align-items: center;  /* vertikale Zentrierung */
    justify-content: center;
    height: 100%; /* passt sich dem Eltern-Container an */
    padding: 5px;
}

.monitoring_article_container .form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #21283220;
    border-radius: 6px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-color: white;
    transition: all 0.2s ease;
    position: relative;
}

.monitoring_article_container .form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
}

.monitoring_article_container .form-check-input::after {
    content: "";
    position: absolute;
    display: none;
}

.monitoring_article_container .form-check-input:checked::after {
    display: block;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


.monitoring_article_menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    margin-left: auto; /* optional: rechtsbündig im Container */
}

.monitoring_article_menu:hover {
    background-color: #f3f3f3;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.12);
}

.monitoring_article_menu:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
}

.monitoring_article_menu .material-symbols-outlined {
    font-size: 20px;
    color: #333;
}


.graph-wrapper {
      display: flex;
      gap: 0px;
      margin: 10px;
}

.graph-line-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 12px;
  position: relative;
}

.graph-bar {
  width: 6px;
  height: 24px;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

.graph-bar.waiting {
  background-color: #ccc;
}

.graph-bar.success {
  background-color: #4CAF50;
}

.graph-bar.failed {
  background-color: #F44336;
}

.graph-bar.skipped {
  background-color: #FFA500;
}


.graph-line-container:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.tooltip {
  position: absolute;
  top: -30px;
  background-color: #333;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
}

.monitoring_article_container .article-label {
  display: flex;
  flex-direction: column;
  width: 300px;
  padding-left: 10px;
  font-family: sans-serif;
}

.monitoring_article_container .article-name {
  font-weight: bold;
  font-size: 13px;
  color: #2b2d33;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.monitoring_article_container .article-data {
  font-size: 10px;
  color: #6c757d;
  margin-top: 2px;
}

.monitoring_article_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  margin: 5px;
  font-weight: bold;
  height: 60px;
}

.monitoring_article_header input#articleSearch {
  padding: 4px 8px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 4px;
  width: 180px;
}
.monitoring_article_container .monitoring_article_right {
  display: flex;
  align-items: center;
  margin-left: auto; /* Jetzt wirkt das wieder korrekt */
  gap: 12px;
}

.monitoring_article_container .article-status-box {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 13px;
  width: auto;
  gap: 20px;
  margin-left: auto;
}

.monitoring_article_container .status-label {
  font-weight: bold;
  text-transform: uppercase;
}

.monitoring_article_container .status-label.active {
  color: #4CAF50;
}

.monitoring_article_container .status-label.failed {
  color: #F44336;
}

.monitoring_article_container .status-meta {
  color: #6c757d;
  font-size: 12px;
}

.monitoring_article_container .article-json {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid #21283220;
  background-color: white;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
  margin-left: 8px;
}

.monitoring_article_container .article-json:hover {
  background-color: #f3f3f3;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.12);
}

.monitoring_article_container .article-json:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.4);
}

.monitoring_article_container .article-json .material-symbols-outlined {
  font-size: 20px;
  color: #333;
}

.monitoring_article_container .graph-all-rows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.monitoring_article_container .graph-label {
  font-size: 12px;
  color: #6c757d;
  font-weight: bold;
  white-space: nowrap;
}

.monitoring_article_header {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  margin: 5px 0;
  gap: 16px;
}

.monitoring_article_header_left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 14px;
  color: #2b2d33;
}

.monitoring_article_header .form-check-input {
  margin: 0;
}

.monitoring_article_header .header-search input {
  padding: 4px 8px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 200px;
}

.monitoring_article_header .status-filter select {
  padding: 4px 8px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 4px;
}







.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.custom-modal.active {
  display: flex;
}


.custom-modal-content {
  width: 90vw;
  height: 80vh;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.custom-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
  background-color: #f9f9f9;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.json-scroll-wrapper {
  flex: 1;
  overflow: auto;
}

.json-columns {
  display: flex;
  min-width: max-content;
}

.line-numbers {
  background: #f5f5f5;
  padding: 8px 12px;
  color: #999;
  text-align: right;
  user-select: none;
  min-width: 50px;
  border-right: 1px solid #ddd;
  white-space: pre;
}

.json-box {
  padding: 8px 12px;
  flex: 1;
  white-space: pre;
  overflow: hidden;
}
#jsonScrollWrapper {
  scroll-behavior: auto;
  overflow: auto;
}


.json-box span.depth-0 { color: #1f77b4; }  /* Ebene 0 – Blau */
.json-box span.depth-1 { color: #9467bd; }  /* Ebene 1 – Lila */
.json-box span.depth-2 { color: #2ca02c; }  /* Ebene 2 – Grün */
.json-box span.depth-3 { color: #ff7f0e; }  /* Ebene 3 – Orange */
.json-box span.depth-4 { color: #d62728; }  /* Ebene 4 – Rot */

.syntax {
  color: black;
  font-weight: normal;
}
