/* Three.js Scene Styles for Luna Exploration */
:root{
    --BleuClair: #42dbec;
    --BleuNormal: #1b9dac;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Mono', monospace;
    background-color: #000000;
    color: var(--BleuClair);
    overflow: hidden; /* Hide scrollbars for full-screen canvas */
}

#container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

canvas {
    display: block;
    cursor: grab;
}

canvas:active {
    cursor: grabbing;
}

/* Loading indicator (optional) */
.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 1.2rem;
    z-index: 1000;
}
.CameraSelector {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background-color: #80808080;
    padding: 10px;
}
.CameraSelector button {
    background-color: #000000;
    color: #ffffff;
}
.AltitudeSection {
    position: absolute;
    top: 30px;
    right: 50%;
    transform: translateX(50%);
    z-index: 1000;
    padding: 10px;
    width: 240px;
    height: 60px;
    border-top: 1px solid var(--BleuClair);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3px;
}
.AltitudeContainer {
    width: 80%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--BleuNormal);
}
.AltitudeDisplay {
    font-size: 1rem;
    font-weight: bold;
    color: var(--BleuClair);
    opacity: 0.9;
    padding: 0 6px;
    width: 100%;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 10px black;
}
.AltitudeDisplay::after{
    content: "";
    height: 0;
    width: 100px;
    border: 1px solid var(--BleuNormal);
    position: absolute;
    opacity: 0.5;
    right: 230px;
}
.AltitudeDisplay::before{
    content: "";
    height: 0;
    width: 100px;
    border: 1px solid var(--BleuNormal);
    position: absolute;
    opacity: 0.5;
    left: 230px;
}
#altitude-label {
    text-align: left;
    position: absolute;
    transform: translateX(calc(-50% - 250px));
}
#altitude-display {
    text-align: center;
    font-size: 1.5em;
    text-wrap: nowrap;
}
.TimeWarpSection {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #00000036;
    padding: 3px;
    border: 1px solid var(--BleuClair);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.TimeWarpContainer {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(0, 0, 0);
}
button{
    background-color: #1f1f1f;
    padding: 5px;
    font-size: .8rem;
    font-weight: bold;
    color: var(--BleuClair);
}
.TimeWarpDisplay {
    font-size: .8rem;
    font-weight: bold;
    padding: 0 6px;
    width: 100%;
    text-align: center;
}
.cheats-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 1000;
    display: none;
}
.cheats-container {
    background-color: #000;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#navball-container {
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid var(--BleuClair);
    background-color: rgb(0, 0, 0);
    z-index: 1000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
#navball-container span{
    font-size: 2rem;
    text-align: center;
    position: absolute;
}
.teleport-section {
    position: absolute;
    top: 100px;
    left: 0;
    width: 200px;
    height: 100px;
    background-color: #000;
    z-index: 1000;
}
.speed-display {
    position: absolute;
    bottom: 145px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 85px;
    background-color: rgb(0, 0, 0);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: left;
    flex-direction: column;
    padding-top: 5px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--BleuClair);
}
.sas-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1000;
}
.throttle {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
    background: rgba(0,0,0,0.6);
    padding: 8px;
    border: 1px solid var(--BleuClair);
}
.throttle label {
    font-size: .8rem;
    margin-right: 6px;
}
.throttle input[type="range"] {
    width: 180px;
    vertical-align: middle;
}
.throttle #throttle-value {
    margin-left: 6px;
}
.btn-disabled {
    color: #808080 !important;
}
.btn-enabled {
    color: var(--BleuClair) !important;
}
