/*
Zusatz-  Definitione für Tabulator.js
*/      

/* Steuerleiste */

#control-bar {
            display: flex;
            align-items: center;
            gap: 1em;
            padding: 10px;
            background: #f0f0f0;
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid #ccc;
        }
.tooltip {
            cursor: help;
            position: relative;
        }
.tooltip:hover::after {
            content: attr(title);
            position: absolute;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            background: #333;
            color: #fff;
            padding: 5px 10px;
            border-radius: 5px;
            white-space: nowrap;
            z-index: 10000;
        }


  :root{
    --hint-fg: #0b5bd3;
    --ink: #0f172a;
    --muted: #475569;
    --paper: #ffffff;
    --panel: rgba(255,255,255,.92);
    --stroke: rgba(15,23,42,.14);
    --shadow: 0 18px 50px rgba(2,6,23,.18);
    --radius: 14px;
  }

  /* Wrapper (ersetzt w3-dropdown-hover w3-right) */
  .hints{
    position: relative;
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: .5rem;
    z-index: 11000;
    padding: 6px;
  }

  /* Trigger (Hinweise + Icon) */
  .hints__trigger{
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 10px;
  }

  .hints__label{
    color: var(--hint-fg);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    font-weight: 700;
    letter-spacing: .01em;
  }
  .hints__icon{
    font-size: 1rem;
    line-height: 1;
    color: var(--hint-fg);
  }

  .hints__trigger:focus-visible{
    outline: 3px solid rgba(11,91,211,.25);
    outline-offset: 2px;
  }
  .hints__trigger:hover{
    background: rgba(11,91,211,.06);
  }
  .hints__trigger:active{
    transform: translateY(1px);
  }

  /* Dropdown Panel (ersetzt w3-dropdown-content w3-bar-block w3-card-4) */
  .hints__panel{
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(50rem, calc(100vw - 24px));
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 14px 14px 10px;
    transform-origin: top right;

    opacity: 0;
    transform: translateY(-6px) scale(.985);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }

  /* Öffnen via hover ODER per JS (data-open) */
  .hints:hover .hints__panel,
  .hints[data-open="true"] .hints__panel{
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .hints__list{
    margin: 0;
    padding: 0 8px 8px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--ink);
  }

  /* Tooltip-Items im Panel */
  .tip{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .tip__title{
    font-weight: 750;
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
  }
  .tip__title small{
    font-weight: 600;
    color: var(--muted);
  }

  /* Tooltip-Text (ersetzt .tooltiptext + inline styles) */
  .tip__body{
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 12px 12px 10px;
    background: rgba(248,250,252,.9);
    color: var(--ink);
  }
  .tip__body p{
    margin: 0 0 8px 0;
    color: var(--ink);
  }
  .tip__body ol,
  .tip__body ul{
    margin: 6px 0 8px 18px;
    padding: 0;
    color: var(--ink);
  }
  .tip__body li{
    margin: 4px 0;
  }
  .tip__note{
    margin-top: 8px;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.35;
  }

  /* Optional: kleine Trennlinie */
  .hints__divider{
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15,23,42,.14), transparent);
    margin: 6px 6px 10px;
  }
