/* DRO display pinned to the bottom of the sidebar */
#gsidebar {
    display: flex;
    flex-direction: column;
}

.editor-container {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
}

#html-selectedpoint-display {
    margin-top: auto;
    flex: 0 0 auto;
    padding: 8px 10px;
    border-top: 1px solid #3a3a3a;
    background-color: #1a1a1a;
    color: #9cdcfe;
    font-family: "Courier New", Courier, monospace;
    font-size: 12px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: none;
    cursor: default;
}

#html-selectedpoint-display:hover {
    background-color: #202020;
}

#html-selectedpoint-display .dro-item {
    display: inline-block;
    padding: 1px 3px;
    border-radius: 3px;
}

#html-selectedpoint-display .dro-item:hover {
    background-color: rgba(156, 220, 254, 0.12);
}



/* nudge slider */
#html-selectedpoint-display .dro-nudge-wrap {
    margin-top: 8px;
    padding-top: 7px;
    border-top: 1px solid rgba(156, 220, 254, 0.18);
}

#html-selectedpoint-display .dro-nudge-label {
    display: block;
    margin-bottom: 4px;
    color: #d6f0ff;
}

#html-selectedpoint-display .dro-nudge-slider {
    width: 100%;
    accent-color: #79c7ff;
    cursor: ew-resize;
}

#dro-hover-tooltip {
    position: fixed;
    z-index: 10000;
    max-width: 320px;
    padding: 7px 9px;
    border: 1px solid #3e5364;
    border-radius: 6px;
    background: #101820;
    color: #d7ebff;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    line-height: 1.35;
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
    #html-selectedpoint-display {
        font-size: 11px;
        padding: 7px 9px;
    }

    #dro-hover-tooltip {
        max-width: 260px;
        font-size: 11px;
    }
}
