/*!
 * Potree CSS - Point Cloud Viewer Styles
 * This is a minimal version for demo purposes
 */

/* Potree Viewer Container */
.potree_container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #1a1a1a;
}

/* Potree Canvas */
.potree_canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
}

/* Potree GUI */
.potree_gui {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    padding: 10px;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

/* Potree Controls */
.potree_controls {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1000;
    display: flex;
    gap: 5px;
}

.potree_control_button {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 4px;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s;
}

.potree_control_button:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Potree Loading */
.potree_loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: Arial, sans-serif;
    text-align: center;
    z-index: 1001;
}

.potree_loading_spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: potree_spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes potree_spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Potree Info Panel */
.potree_info {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    max-width: 300px;
    z-index: 1000;
}

/* Potree Measurement Tools */
.potree_measurement {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
    font-size: 11px;
    pointer-events: none;
    z-index: 1002;
}

/* Potree Scene Tree */
.potree_scene_tree {
    position: absolute;
    top: 60px;
    right: 10px;
    width: 250px;
    max-height: 400px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 10px;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 12px;
    overflow-y: auto;
    z-index: 1000;
}

/* Potree Progress Bar */
.potree_progress {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 200px;
    height: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    overflow: hidden;
    z-index: 1000;
}

.potree_progress_bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    width: 0%;
    transition: width 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .potree_gui {
        top: 5px;
        right: 5px;
        padding: 8px;
        font-size: 11px;
    }
    
    .potree_controls {
        bottom: 5px;
        left: 5px;
        gap: 3px;
    }
    
    .potree_control_button {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .potree_scene_tree {
        width: 200px;
        top: 50px;
        right: 5px;
    }
}