/* ============================================================
   viewer.css  –  DrecollViewer A31
   Speichere als: QCode/css/viewer.css
   ============================================================ */

/* ----- Loading Overlay ----- */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-family: sans-serif;
}

#loader-box {
    background: #fff;
    padding: 25px 50px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.loader-spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1.5s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ----- Potree UI verstecken ----- */
#potree_languages,
#potree_version_number {
    display: none !important;
}

/* ----- Measure Magnifier Canvas ----- */
#measure_magnifier {
    position: absolute;
    display: none;
    width: 160px;
    height: 160px;
    border: 2px solid #666;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    pointer-events: none;
    z-index: 9999;
}
