﻿.viewer3dContainer {
    width: 100%;
    height: 100%;
    position: relative;
}

.viewHelper {
    position: absolute;
    right: 0px;
    bottom: 0px;
    height: 128px;
    width: 128px;
}

.textOverlay {
    position: absolute;
    inset: 0;
}

.toolBar {
    position: absolute;
    right: 5px;
    top: 5px;
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.toolBarBtn {
    width: 60px;
    height: 60px;
    border: 1px solid black;
    cursor: pointer;
}

.toolBarBtn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.toolBarBtnOn {
    background-color: rgba(0, 160, 220, 1);
    transition: background-color .5s;
}

.toolBarBtnOn:hover {
    background-color: rgba(0, 160, 220, 0.8);
}

.toolBarBtnOff {
    background-color: rgba(230, 235, 238, 1);
    transition: background-color .5s;
}

.toolBarBtnOff:hover:not(:disabled) {
    background-color: rgba(0, 160, 220, 0.2);
}

.toolBarImg {
    width: 100%;
    height: 100%;
}

.processing-error-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #d32f2f;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
    font-family: sans-serif;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.processing-warning-badge {
    width: 24px;
    height: 22px;
    background-color: #f57c00;
    color: #111111;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 3px;
    pointer-events: none;
    user-select: none;
    font-family: sans-serif;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.processing-repaired-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #1565c0;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
    font-family: serif;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.component-label {
    background-color: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    padding: 2px 6px;
    font-size: 11px;
    font-family: ui-monospace, monospace;
    border-radius: 3px;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}
