* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    background: #1a1a1a;
    color: #ffffff;
}

#app {
    display: flex;
    width: 100vw;
    height: 100vh;
}

#viewer-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

#three-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

#controls-panel {
    width: 320px;
    background: rgba(30, 30, 30, 0.95);
    padding: 20px;
    overflow-y: auto;
    border-left: 1px solid #444;
}

.control-group {
    margin-bottom: 25px;
}

.control-group h3 {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button {
    background: #0066cc;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.2s;
}

button:hover {
    background: #0052a3;
}

button:active {
    background: #004080;
}

input[type="range"] {
    width: 100%;
    margin: 10px 0;
}

input[type="checkbox"] {
    margin-right: 8px;
}

label {
    display: block;
    margin: 8px 0;
    font-size: 14px;
}

#timeline-scrubber {
    width: 100%;
}

#time-display {
    font-size: 12px;
    color: #aaa;
    display: block;
    margin-top: 5px;
}

#telemetry-display {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

#telemetry-display div {
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
}

#telemetry-display span {
    color: #4CAF50;
    font-weight: bold;
}

#radius-value {
    color: #4CAF50;
    font-weight: bold;
}

#status-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 320px;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 15px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #ccc;
    border-top: 1px solid #444;
    z-index: 100;
}

#cursor-info {
    color: #4CAF50;
}
