/* ============================================================
   COLORBAR – FINAL FUNCTIONAL VERSION
============================================================ */

.colorbar {
    position: fixed;
    left: 25px;
    top: 40%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 900;
}

/* Punkte */
.colorbar .dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

/* Hover = leicht größer */
.colorbar .dot:hover {
    transform: scale(1.25);
    box-shadow: 0 0 12px rgba(255,255,255,0.3);
}

/* Farben */
.dot.gold  { background: #d8b05a; }
.dot.green { background: #3bb34a; }
.dot.white { background: #fafafa; }
.dot.red   { background: #c44336; }
.dot.blue  { background: #3f71d8; }

/* ============================================================
   SAUBERE TOOLTIP-VARIANTE (NICHT VERSCHOBEN)
============================================================ */
.colorbar .dot:hover::after {
    content: attr(data-tip);
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);

    background: rgba(0,0,0,0.85);
    color: rgba(180,180,180,0.7);                 /* Silberner Text */
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;

    /* HIER: Weißer Rahmen */
    border: 1px solid rgba(180,180,180,0.7);

    white-space: nowrap;

    opacity: 1;
    pointer-events: none;
}


.colorbar .dot::after {
    opacity: 0;
    transition: opacity 0.2s ease;
}