:root {
    --bg: #0f1724;
    --card: #0b1220;
    --muted: #9aa4b2;
    --accent: #ff9f1c;
}
html,
body {
    margin: 0;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        Segoe UI,
        Roboto,
        "Helvetica Neue",
        Arial;
}
body {
    background: linear-gradient(180deg, #071024 0%, #081426 100%);
    color: #e6eef6;
    padding: 18px;
}
header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}
a {
    color: rgb(200, 200, 200);
}
a:hover {
    color: white;
}
header h1 {
    margin: 0;
    font-size: 20px;
    letter-spacing: 0.6px;
}
.subtitle {
    color: var(--muted);
    font-size: 13px;
}
.columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent);
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 75vh;
    margin-bottom: 14px;
}
.panel .panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.panel h2 {
    margin: 0;
    font-size: 16px;
}
.controls {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}
.controls label {
    font-size: 13px;
    color: var(--muted);
}
input[type="date"],
select {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px;
    border-radius: 8px;
    color: inherit;
}

.button-box {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 10px;
    color: #dfeaf6;
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
    justify-content: center;
}
.button-box button {
    border: 1px solid white;
    padding: 3px 10px;
}
.info-box {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 10px;
    height: fit-content;
    color: #dfeaf6;
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.info-row {
    display: flex;
    gap: 8px;
    margin: 2px 0;
    width: 50%;
}
.info-label {
    color: var(--muted);
}
.viz {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#three-container {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}
#map {
    height: 100%;
    border-radius: 10px;
}
.map-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}
footer.note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
    text-align: right;
}
@media (max-width: 900px) {
    .columns {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.button-box button {
    font-size: x-large;
    border: 1px solid black;
    color: gray;
    background-color: #081426;
}

.button-box button:disabled {
    color: #222;
    background-color: black;
}

.button-box button:hover:not(:disabled) {
    background-color: navy;
    color: white;
}

.legend {
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    color: black;
}
.legend h4 {
    margin: 0;
}
div#tab-3 {
    min-height: 0;
    height: auto;
}
img.logo {
    height: 60px;
}
#mission-box > p {
    margin-top: 0;
}
i.fa.fa-info-circle:hover {
    color: white;
}

.rendezvous-box {
    width: 100%;
}
