html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  background-color: rgba(248, 249, 250, 1) !important;
}

svg {
  width: 100%;
  height: 100%;
  background-color: #f8f8f8;
  cursor: grab;
}

.link {
  fill: none;
  marker-end: url(#arrow);
}

.node circle {
  stroke: #333;
  stroke-width: 1.5px;
}

text {
  font-family: sans-serif;
  /*font-size: 12px;*/
  pointer-events: none;
}

.weight {
  font-weight: bold;
  fill: white;
}

.copy-toast {
  position: absolute;
  padding: 6px 8px;
  background: rgba(0,0,0,0.8);
  color: white;
  border-radius: 4px;
  font-size: 13px;
  pointer-events: none;
  transform: translate(-50%, -120%);
  z-index: 1200;
  opacity: 0;
  transition: opacity 150ms ease;
}

.copy-toast.show {
  opacity: 1;
}

.btnMenu {
  border-radius: 10px;
  margin-bottom: 10px;
  width: 100%;
}

form div input {
  width: 100%;
}

.sidebar {
  width: 220px;
  flex-shrink: 0;
  background-color: #dde9dd !important;
}

.content {
  flex-grow: 1;
}

/* Vollbild-Overlay */
#wait-overlay {
  position: fixed;
  inset: 0;
  display: none;                 /* per JS auf flex setzen */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);  /* transparentes Overlay */
  backdrop-filter: blur(2px);
  z-index: 9999;
}

/* Box mit Spinner */
#wait-overlay .wait-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Spinner-Stile */
.spinner .track {
  stroke: rgba(0,0,0,0.12);
}
.spinner .arc {
  stroke: #3b82f6;               /* Primärfarbe – nach Wunsch ändern */
  stroke-dasharray: 90 140;      /* sichtbarer Bogen */
  animation: spin 1s linear infinite, dash 1.5s ease-in-out infinite;
  transform-origin: 50% 50%;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes dash {
  0%   { stroke-dasharray: 1 200; stroke-dashoffset: 0; }
  50%  { stroke-dasharray: 90 140; stroke-dashoffset: -35; }
  100% { stroke-dasharray: 90 140; stroke-dashoffset: -124; }
}

.wait-text {
  font: 600 1rem/1.2 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #111827;
  letter-spacing: .2px;
}

/* Optional: „großes Symbol“ noch größer auf sehr kleinen/ großen Screens anpassen */
@media (max-width: 420px) {
  .spinner { width: 72px; height: 72px; }
}
@media (min-width: 1280px) {
  .spinner { width: 112px; height: 112px; }
}

.table-hardwrap {
  table-layout: fixed;   /* zwingt gleichmäßige Spaltenbreiten + Wrap */
  width: 100%;
}
.table-hardwrap th,
.table-hardwrap td {
  word-break: break-all;     /* bricht auch sehr lange Tokens */
  overflow-wrap: anywhere;   /* moderne Alternative/fallbacks */
  white-space: normal;       /* sicherstellen, dass Umbrüche erlaubt sind */
}

/* Kontextmenü */
#contextMenu {
  position: absolute;
  z-index: 9000; /* über Bootstrap Modals etc. */
  display: none;
  min-width: 160px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: .5rem;
  box-shadow: 0 .25rem .5rem rgba(0,0,0,.15);
}
#contextMenu div {
  display: block;
  padding: .5rem 1rem;
  color: #212529;
  text-decoration: none;
}
#contextMenu div:hover {
  background-color: #f8f9fa;
  cursor: pointer;
}

.tblStd {
}

.tblStd tr {
}

.tblStd td {
  vertical-align: top;
  padding: 4px;
}

.tblStd td:first-child {
  font-weight: bold;
}

/* Zusätzliche Farbklassen für Modals */
.modal[data-depth="2"] .modal-content {
  border: 3px solid #cccccc;
}
.modal[data-depth="3"] .modal-content {
  border: 3px solid #ced70c;
}

/* optional: Hintergrund leicht abdunkeln */
.modal[data-depth="2"] .modal-content {
  background-color: #f9fdf9;
}
.modal[data-depth="3"] .modal-content {
  background-color: #fdf9f9;
}

#txtNewUrls {
  width: 100%;
  min-height: 100px;
  border-radius: 10px;
}

.noBullets {
  list-style-type: none;
  margin: 0;
  padding: 0;  
}

.noBullets li {
  display: flex; 
  align-items: center; 
  gap: 0.5rem; 
  margin: 0.4rem 0; 
}

.noBullets img {
  width: 24px;
  border-radius: 5px;
}

.divSearchResult {
  margin-bottom: 10px;
  padding: 6px;
  border-radius: 10px;
}

.divSearchResult:hover {
  background-color: #dde9dd;
}

.tdSearchResultIcon {
  vertical-align: top;
}

.searchResultIcon {
  width:24px;
  margin-right: 10px;
}

.searchResultTitle {
  color: #000000;
  text-decoration: none;
}

.searchResultTitle:hover {
  text-decoration: underline;
}

.searchResultUrl {
  color: #45893b;
  font-size: 0.8rem;
}

.searchResultUpdated {
  color: #6c6a6a;
  font-size: 0.9rem;
}

.searchResultPublished {
  color: #800000;
  font-size: 0.9rem;
}

.navLink {
  color: rgb(64, 68, 142) !important;
}

.divSearchResults {
  margin-top: 20px;
  margin-bottom: 40px;
  margin-left: 60px;
  margin-right: 0px;
  width: 100%;
}

.divSearchResultsCaption {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.divSearchResultsContent {
}

#graph-container {
  overflow: auto;
}






