/* viewer-toolbar.css - Shared toolbar for Cesium & Potree viewers - v1.0.0 */

/* ===== Viewer Toolbar (top center) ===== */
.viewer-toolbar {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    display: flex;
    gap: 4px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

.viewer-toolbar-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.viewer-toolbar-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
}

.viewer-toolbar-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.viewer-toolbar-btn.viewer-toolbar-btn-active {
    background: rgba(79, 195, 247, 0.25);
    border-color: rgba(79, 195, 247, 0.5);
    color: #4fc3f7;
}

/* ===== Separator between button groups ===== */
.viewer-toolbar-separator {
    width: 1px;
    margin: 4px 4px;
    background: rgba(255, 255, 255, 0.2);
    align-self: stretch;
}
