/* ── Reset & Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow: hidden;
    background: #000;
    font-family: 'Inter', system-ui, sans-serif;
    color: #e0e0e0;
}

/* ── 3D Canvas ─────────────────────────────────────────────── */
#scene-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

/* ── UI Overlay ────────────────────────────────────────────── */
#ui-overlay {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10;
    pointer-events: none;
    /* pass clicks through to canvas */
}

#mission-panel {
    pointer-events: auto;
    /* re-enable for interactive controls */
    width: 280px;
    padding: 20px;
    border-radius: 14px;
    background: rgba(10, 12, 18, 0.75);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

#mission-panel h1 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
    color: #fff;
}

/* ── Dropdown ──────────────────────────────────────────────── */
label[for="sat-select"] {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin-bottom: 4px;
}

#sat-select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    margin-bottom: 16px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

#sat-select:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

#sat-select:focus {
    border-color: #4fc3f7;
}

#sat-select option {
    background: #1a1a2e;
    color: #fff;
}

/* ── Info Rows ─────────────────────────────────────────────── */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #777;
}

.info-row .value {
    font-size: 0.82rem;
    font-weight: 500;
    color: #b0bec5;
    text-align: right;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Satellite Labels (CSS2D) ──────────────────────────────── */
.satellite-label {
    color: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    pointer-events: none;
    margin-top: -24px; /* Offset above the coordinate */
}