:root {
    --bg-dark: #07090e;
    --panel-bg: rgba(13, 17, 26, 0.75);
    --panel-border: rgba(56, 189, 248, 0.2);
    --panel-border-hover: rgba(56, 189, 248, 0.4);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-blue: #38bdf8;
    --accent-cyan: #22d3ee;
    --accent-emerald: #10b981;
    --accent-purple: #a855f7;
    --accent-rose: #f43f5e;
    
    --glow-blue: rgba(56, 189, 248, 0.3);
    
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-dark);
    font-family: var(--font-sans);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

/* Cesium Container */
#cesiumContainer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Customize / Hide Cesium default UI components */
/* Position Cesium Standard Toolbar lower to prevent overlap */
.cesium-viewer-toolbar {
    top: 140px !important;
    right: 24px !important;
    z-index: 99 !important;
}

.cesium-navigation-help {
    top: 185px !important;
    right: 24px !important;
}

/* Completely hide default Cesium clock animation widget in bottom-left */
.cesium-viewer-bottom,
.cesium-viewer-animationContainer,
.cesium-animation-theme-default,
.cesium-viewer-timelineContainer,
.cesium-viewer-fullscreenContainer {
    display: none !important;
}

.cesium-credit-logoContainer, .cesium-credit-textContainer {
    opacity: 0.6;
    font-size: 11px;
}

/* HUD Overlay Layer */
.hud-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    display: grid;
    grid-template-columns: 340px 1fr 360px;
    grid-template-rows: auto 1fr;
    padding: 20px;
    gap: 20px;
}

/* Glassmorphism Panel Component */
.glass-panel {
    pointer-events: auto;
    background: var(--panel-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color var(--transition-normal);
}

.glass-panel:hover {
    border-color: var(--panel-border-hover);
}

/* Top Split Floating Islands (Keeps Center View 100% Unobstructed!) */
.hud-top-split {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
    width: 100%;
}

.header-left-island {
    padding: 10px 18px;
    pointer-events: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.header-right-island {
    padding: 10px 18px;
    pointer-events: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pulse-icon {
    position: relative;
    width: 36px;
    height: 36px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(56, 189, 248, 0) 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    animation: pulseGlow 2s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

@keyframes pulseGlow {
    0% { transform: scale(0.8); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0.2; }
    100% { transform: scale(0.8); opacity: 0.8; }
}

.app-title {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #ffffff !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.8), 0 0 24px rgba(0, 243, 255, 0.4), 0 2px 4px rgba(0, 0, 0, 0.9);
    line-height: 1.2;
}

.app-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.stats-pills {
    display: flex;
    gap: 12px;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.mono-text {
    font-family: var(--font-mono);
}

/* Sidebar */
.hud-sidebar {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    overflow-y: auto;
    max-height: calc(100vh - 120px);
}

.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Custom Dropdown Select */
.select-box {
    position: relative;
    width: 100%;
}

.custom-select {
    width: 100%;
    background: rgba(13, 27, 42, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--accent-cyan);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%3C22d3ee' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
    transition: all var(--transition-fast);
}

.custom-select:hover, .custom-select:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px var(--glow-blue);
}

.custom-select option {
    background: #0f172a;
    color: var(--text-primary);
    padding: 10px;
}

/* Search Input Box */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 12px var(--glow-blue);
}

.search-results-list {
    max-height: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.search-item {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition-fast);
}

.search-item:hover {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-cyan);
}

/* Toggles & Controls */
.control-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.toggle-switch input {
    display: none;
}

.slider {
    position: relative;
    width: 38px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    transition: var(--transition-normal);
}

.slider:before {
    content: "";
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-primary);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.toggle-switch input:checked + .slider {
    background-color: var(--accent-blue);
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(18px);
}

.source-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Buttons */
.btn {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover, .btn-secondary.active {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-cyan);
    border-color: rgba(56, 189, 248, 0.4);
}

.btn-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
}

.btn-close:hover {
    color: var(--text-primary);
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0 6px;
}

/* Detail Card Panel */
.hud-card {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    width: 360px !important;
    min-width: 300px;
    max-width: 520px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    resize: both;
    box-sizing: border-box;
    margin-top: 45px;
    padding: 20px 22px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) rgba(0, 0, 0, 0.3);
}

.hud-card::-webkit-scrollbar {
    width: 6px;
}

.hud-card::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.hud-card::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 3px;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge {
    align-self: start;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-accent {
    background: rgba(34, 211, 238, 0.2);
    color: var(--accent-cyan);
    border: 1px solid rgba(34, 211, 238, 0.4);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.data-item {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.data-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.data-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Off-Screen Edge Pointer HUD */
.edge-pointer-hud {
    position: fixed;
    z-index: 1000;
    pointer-events: auto;
    cursor: pointer;
    background: rgba(13, 17, 26, 0.9);
    border: 2px solid var(--accent-rose);
    border-radius: 30px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.5), inset 0 0 10px rgba(244, 63, 94, 0.2);
    backdrop-filter: blur(12px);
    transition: transform 0.1s ease, background-color 0.2s ease;
    animation: pointerGlow 1.5s infinite alternate ease-in-out;
}

.edge-pointer-hud:hover {
    background: rgba(244, 63, 94, 0.25);
    transform: scale(1.05);
}

.pointer-arrow {
    font-size: 1.4rem;
    line-height: 1;
    display: inline-block;
    animation: bounceArrow 1s infinite alternate ease-in-out;
}

@keyframes bounceArrow {
    from { transform: translateX(0); }
    to { transform: translateX(4px); }
}

@keyframes pointerGlow {
    from { box-shadow: 0 0 12px rgba(244, 63, 94, 0.4); }
    to { box-shadow: 0 0 24px rgba(244, 63, 94, 0.8); }
}

.pointer-content {
    display: flex;
    flex-direction: column;
}

.pointer-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
}

.pointer-hint {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* HTML DOM Spatial Overlay Container for 100% Crisp Sharp Text */
.labels-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.sat-dom-label {
    position: absolute;
    transform: translate(-50%, -100%);
    margin-top: -12px;
    background: rgba(7, 10, 18, 0.88);
    border: 1px solid rgba(34, 211, 238, 0.4);
    border-radius: 6px;
    padding: 4px 8px;
    color: var(--accent-cyan);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    user-select: none;
    pointer-events: auto;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.sat-dom-label:hover {
    background: rgba(56, 189, 248, 0.25);
    border-color: var(--accent-cyan);
    color: #ffffff;
}

.sat-dom-label.selected {
    background: rgba(244, 63, 94, 0.9);
    border-color: #ffffff;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 0 16px rgba(244, 63, 94, 0.8);
    z-index: 10;
}

.loading-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* Satellite Description Banner in Detail Card */
.sat-description-text {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(34, 211, 238, 0.08);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 4px;
    font-size: 0.82rem;
    color: var(--text-primary);
    line-height: 1.45;
    letter-spacing: 0.2px;
}

/* Source Status Badge UI */
.source-status-badge {
    margin-top: 10px;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #10b981;
    line-height: 1.4;
    transition: all 0.2s ease;
}

/* Time Control & Speed Multiplier UI */
.speed-buttons {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.speed-btn {
    flex: 1;
    min-width: 52px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.speed-btn:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

.speed-btn.active {
    background: rgba(34, 211, 238, 0.2);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.3);
}

.time-adjust-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Drag & Drop UI Handles & Cursor Styles */
.panel-drag-bar {
    width: 100%;
    padding: 6px 12px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 6px 6px 0 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    cursor: grab !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.panel-drag-bar:hover {
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent-cyan);
}

.panel-drag-bar:active {
    cursor: grabbing !important;
    background: rgba(56, 189, 248, 0.2);
}

.drag-dots {
    font-size: 1rem;
    line-height: 1;
    color: var(--accent-blue);
}

.is-dragging {
    box-shadow: 0 20px 45px rgba(56, 189, 248, 0.35), 0 0 20px rgba(34, 211, 238, 0.2) !important;
    border-color: var(--accent-cyan) !important;
    z-index: 10000 !important;
}

/* 3D Camera Direction D-Pad Control HUD */
.camera-dpad-hud {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 900;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dpad-grid {
    display: grid;
    grid-template-columns: repeat(3, 36px);
    grid-template-rows: repeat(3, 36px);
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.dpad-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    user-select: none;
}

.dpad-btn:hover {
    background: rgba(56, 189, 248, 0.25);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.4);
    transform: scale(1.08);
}

.dpad-btn:active {
    background: rgba(34, 211, 238, 0.4);
    transform: scale(0.95);
}

.dpad-reset {
    font-size: 1rem;
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.3);
}

/* Purple Debris Toggle Slider & Hazard Animation */
input:checked + .slider.purple-slider {
    background-color: #a855f7;
}
input:focus + .slider.purple-slider {
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.6);
}

@keyframes hazardPulse {
    0% { opacity: 0.8; filter: drop-shadow(0 0 4px #c084fc); }
    50% { opacity: 1; filter: drop-shadow(0 0 14px #a855f7); }
    100% { opacity: 0.8; filter: drop-shadow(0 0 4px #c084fc); }
}

.hazard-alert-text {
    animation: hazardPulse 1s infinite ease-in-out;
}

/* Help, Guide, Terms & Privacy Policy Modal CSS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 9, 14, 0.75);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    padding: 20px;
}

.modal-content {
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    background: rgba(11, 19, 41, 0.92);
    border: 1px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(168, 85, 247, 0.2);
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f3e8ff;
    margin: 0;
}

.modal-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
}

.modal-tab {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.modal-tab:hover {
    color: #e9d5ff;
    background: rgba(255, 255, 255, 0.04);
}

.modal-tab.active {
    color: #c084fc;
    border-bottom-color: #c084fc;
    background: rgba(168, 85, 247, 0.12);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-top: 0;
    font-size: 1.05rem;
    color: #38bdf8;
    margin-bottom: 14px;
}

.guide-list {
    padding-left: 20px;
    margin: 0;
}

.guide-list li {
    margin-bottom: 12px;
}

.hidden {
    display: none !important;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.3);
}

/* Hide Cesium default bottom credits to fix UI overlap in bottom-left */
.cesium-viewer-bottom,
.cesium-widget-credits,
.cesium-credit-logoContainer,
.cesium-credit-expand-link {
    display: none !important;
}
