/* Studio 21 - Styling Core */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=Courier+Prime&display=swap');

:root {
    --bg-cosmic: #030306;
    --bg-panel: rgba(10, 10, 18, 0.75);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(107, 91, 207, 0.25);
    
    --accent-violet: #6b5bcf;
    --accent-violet-glow: rgba(107, 91, 207, 0.4);
    --accent-cyan: #00f0ff;
    --accent-cyan-glow: rgba(0, 240, 255, 0.3);
    --accent-rose: #ff2a5f;
    --accent-rose-glow: rgba(255, 42, 95, 0.3);
    
    --text-primary: #ffffff;
    --text-secondary: #a0a5c0;
    --text-muted: #626880;
    
    --font-sans: 'Outfit', sans-serif;
    --font-mono: 'Space Grotesk', 'Courier Prime', monospace;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    background-color: var(--bg-cosmic);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(107, 91, 207, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.03) 0%, transparent 40%);
    background-attachment: fixed;
}

/* Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.3);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-violet);
}

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Nav */
header {
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(3, 3, 6, 0.7);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-cyan);
    font-weight: 800;
    border: 1px solid var(--accent-cyan);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-violet);
    color: var(--text-primary);
    border: 1px solid var(--accent-violet);
    box-shadow: 0 4px 15px var(--accent-violet-glow);
}

.btn-primary:hover {
    background: #7d6de2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 91, 207, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.03);
    border-color: var(--text-secondary);
}

.btn-cyan {
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan-glow);
}

.btn-cyan:hover {
    background: var(--accent-cyan);
    color: var(--bg-cosmic);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 91, 207, 0.15) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-family: var(--font-mono);
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 24px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff 30%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    font-weight: 400;
}

/* Sections & Cards */
.section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-mono);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 32px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card:hover {
    border-color: var(--accent-violet);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px var(--border-glow);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(107, 91, 207, 0.1);
    border: 1px solid rgba(107, 91, 207, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
}

.card h3 {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Forms & Dialogs */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
}

.auth-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
    max-width: 450px;
    padding: 48px 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.auth-panel h2 {
    font-family: var(--font-mono);
    font-size: 28px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.auth-panel p.subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-violet);
    box-shadow: 0 0 10px var(--accent-violet-glow);
    background: rgba(255,255,255,0.05);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Dropdown styling */
.profile-menu {
    position: relative;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.profile-trigger:hover {
    border-color: var(--accent-violet);
}

.profile-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-violet);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background: rgba(10, 10, 18, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    gap: 12px;
    z-index: 200;
    transform-origin: top right;
    transition: var(--transition-smooth);
}

.profile-dropdown.open {
    display: flex;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 4px;
}

.dropdown-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.dropdown-header p {
    font-size: 12px;
    color: var(--text-secondary);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.dropdown-item.primary {
    background: var(--accent-rose);
    color: var(--text-primary);
    box-shadow: 0 4px 10px var(--accent-rose-glow);
    font-weight: 700;
    justify-content: center;
    margin-top: 8px;
    font-family: var(--font-mono);
}

.dropdown-item.primary:hover {
    background: #ff4a7d;
    box-shadow: 0 4px 15px rgba(255, 42, 95, 0.5);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Toast Messages */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-cyan);
    border-radius: 6px;
    padding: 16px 24px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-sans);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    min-width: 250px;
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0;
    background: #020204;
    text-align: center;
}

footer p {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Dashboard Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    padding-top: 110px;
    padding-bottom: 60px;
}

.dashboard-sidebar {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: fit-content;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.sidebar-btn:hover, .sidebar-btn.active {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}

.sidebar-btn.active {
    border-left: 3px solid var(--accent-violet);
    padding-left: 13px;
}

.sidebar-btn.primary {
    background: var(--accent-rose);
    color: var(--text-primary);
    font-weight: 700;
    box-shadow: 0 4px 10px var(--accent-rose-glow);
    margin-top: 16px;
}

.sidebar-btn.primary:hover {
    background: #ff4a7d;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.dashboard-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.dashboard-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.panel-header h2 {
    font-family: var(--font-mono);
    font-size: 24px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.panel-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.info-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.info-value {
    color: var(--text-primary);
    font-weight: 600;
    font-family: var(--font-mono);
}

/* Locations List Table */
.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-panel);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

th {
    background: rgba(255,255,255,0.02);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
}

td {
    color: var(--text-primary);
}

tr:last-child td {
    border-bottom: none;
}

/* ═══════════════════════════════════════════════════════════════
   MISSION CONTROL SPACE VISUALIZER — NASA/SpaceX Grade
   ═══════════════════════════════════════════════════════════════ */

#space-visualizer-container {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 1000;
    background: #000008;
    display: none;
    font-family: 'Space Grotesk', 'JetBrains Mono', monospace;
}
#space-visualizer-container.active { display: block; }
#space-canvas { width: 100%; height: 100%; display: block; }

/* ── TOP STATUS BAR ────────────────────────────────────── */
.mc-topbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 52px;
    background: rgba(0, 5, 15, 0.92);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1010;
}
.mc-logo {
    font-family: 'Space Grotesk', monospace;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ffffff;
}
.mc-logo span { color: #00d4ff; }

.mc-topbar-center {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mc-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
}
.mc-stat-lbl {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: rgba(0, 212, 255, 0.55);
    text-transform: uppercase;
    margin-bottom: 1px;
}
.mc-stat-val {
    font-size: 13px;
    font-weight: 600;
    color: #00d4ff;
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 0.5px;
}
.mc-divider {
    width: 1px;
    height: 28px;
    background: rgba(0, 212, 255, 0.15);
    margin: 0 4px;
}
.mc-topbar-right { display: flex; align-items: center; }
.mc-exit-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 50, 50, 0.1);
    border: 1px solid rgba(255, 80, 80, 0.4);
    color: #ff5555;
    font-family: 'Space Grotesk', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}
.mc-exit-btn:hover {
    background: rgba(255, 50, 50, 0.25);
    border-color: #ff5555;
    box-shadow: 0 0 12px rgba(255, 80, 80, 0.3);
}

/* ── SIDE PANELS ────────────────────────────────────────── */
.mc-panel {
    position: absolute;
    top: 66px;
    width: 290px;
    max-height: calc(100vh - 150px);
    background: rgba(0, 5, 18, 0.88);
    border: 1px solid rgba(0, 212, 255, 0.18);
    backdrop-filter: blur(24px);
    z-index: 1010;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(0, 212, 255, 0.08);
}
.mc-panel-left  { left: 20px; }
.mc-panel-right { right: 20px; }

.mc-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px 10px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.12);
}
.mc-panel-title {
    font-size: 10px;
    letter-spacing: 2px;
    color: rgba(0, 212, 255, 0.7);
    font-weight: 700;
}
.mc-panel-status {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #00ff88;
    padding: 2px 7px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 2px;
    animation: statusBlink 2.5s ease-in-out infinite;
}
@keyframes statusBlink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.3; }
}

/* Catalog tabs */
.mc-catalog-tabs {
    display: flex;
    border-bottom: 1px solid rgba(0, 212, 255, 0.12);
}
.mc-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(0, 212, 255, 0.4);
    font-family: 'Space Grotesk', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 9px 4px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}
.mc-tab:hover { color: rgba(0, 212, 255, 0.8); }
.mc-tab.active {
    color: #00d4ff;
    border-bottom-color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
}

.mc-catalog-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 212, 255, 0.2) transparent;
}
.mc-catalog-empty {
    color: rgba(0, 212, 255, 0.3);
    font-size: 11px;
    text-align: center;
    padding: 30px 16px;
    letter-spacing: 0.5px;
}
.mc-catalog-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    margin-bottom: 3px;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.18s;
    background: rgba(0, 212, 255, 0.02);
}
.mc-catalog-item:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.2);
}
.mc-catalog-item.active {
    background: rgba(0, 212, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.4);
}
.mc-catalog-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mc-catalog-text { flex: 1; min-width: 0; }
.mc-catalog-name {
    font-size: 12px;
    font-weight: 600;
    color: #e0eeff;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mc-catalog-type {
    font-size: 9px;
    letter-spacing: 1px;
    color: rgba(0, 212, 255, 0.4);
    text-transform: uppercase;
    margin-top: 1px;
}
.mc-catalog-arrow { color: rgba(0, 212, 255, 0.3); flex-shrink: 0; }

/* Target telemetry panel */
.mc-target-name {
    font-size: 20px;
    font-weight: 700;
    color: #00d4ff;
    letter-spacing: 1px;
    padding: 16px 16px 8px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}
.mc-coords {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 16px 14px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}
.mc-coord-box {
    background: rgba(0, 212, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.12);
    padding: 10px;
    border-radius: 3px;
    text-align: center;
}
.mc-coord-lbl {
    font-size: 8px;
    letter-spacing: 1.2px;
    color: rgba(0, 212, 255, 0.5);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.mc-coord-val {
    font-size: 13px;
    font-weight: 700;
    color: #00ff88;
    font-family: 'Space Grotesk', monospace;
}
.mc-info-list {
    padding: 12px 16px;
    overflow-y: auto;
    flex: 1;
}
.hud-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.hud-info-lbl {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: rgba(0, 212, 255, 0.45);
    text-transform: uppercase;
}
.hud-info-val {
    font-size: 12px;
    font-weight: 600;
    color: #c8d8f0;
    font-family: 'Space Grotesk', monospace;
    text-align: right;
    max-width: 160px;
    word-break: break-all;
}
.mc-no-target {
    color: rgba(0, 212, 255, 0.3);
    font-size: 11px;
    text-align: center;
    padding: 24px 8px;
    line-height: 1.6;
}

/* ── BOTTOM CONTROL BAR ─────────────────────────────────── */
.mc-bottombar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 58px;
    background: rgba(0, 5, 15, 0.92);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1010;
    gap: 24px;
}
.mc-toggle-group {
    display: flex;
    align-items: center;
    gap: 20px;
}
.mc-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    position: relative;
}
.mc-toggle input[type="checkbox"] { display: none; }
.mc-toggle-track {
    width: 32px; height: 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 8px;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}
.mc-toggle-track::after {
    content: '';
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.4);
    top: 2px; left: 2px;
    transition: all 0.2s;
}
.mc-toggle input:checked ~ .mc-toggle-track {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}
.mc-toggle input:checked ~ .mc-toggle-track::after {
    background: #00d4ff;
    left: 18px;
    box-shadow: 0 0 6px #00d4ff;
}
.mc-toggle-lbl {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: rgba(0, 212, 255, 0.55);
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
}
.mc-toggle input:checked ~ .mc-toggle-track ~ .mc-toggle-lbl { color: rgba(0, 212, 255, 0.9); }

.mc-warp-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
.mc-warp-lbl {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: rgba(0, 212, 255, 0.5);
    text-transform: uppercase;
    white-space: nowrap;
}
.mc-warp-slider {
    width: 130px;
    height: 3px;
    appearance: none;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    accent-color: #00d4ff;
}
.mc-warp-slider::-webkit-slider-thumb {
    appearance: none;
    width: 13px; height: 13px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 8px #00d4ff;
    cursor: pointer;
}
.mc-warp-val {
    font-size: 12px;
    font-weight: 700;
    color: #00d4ff;
    font-family: 'Space Grotesk', monospace;
    min-width: 36px;
    text-align: left;
}

/* ── CENTRE TARGETING RETICLE ─────────────────────────── */
.mc-reticle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 50px; height: 50px;
    pointer-events: none;
    z-index: 1005;
}
.mc-reticle-ring {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 50%;
    animation: reticlePulse 3s ease-in-out infinite;
}
.mc-reticle-cross::before,
.mc-reticle-cross::after {
    content: '';
    position: absolute;
    background: rgba(0, 212, 255, 0.5);
}
.mc-reticle-cross::before {
    width: 1px; height: 14px;
    top: 18px; left: 24px;
}
.mc-reticle-cross::after {
    width: 14px; height: 1px;
    top: 24px; left: 18px;
}
@keyframes reticlePulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.08); box-shadow: 0 0 16px rgba(0, 212, 255, 0.3); }
}

/* ── CORNER BRACKETS ──────────────────────────────────── */
.mc-corner {
    position: absolute;
    width: 24px; height: 24px;
    pointer-events: none;
    z-index: 1005;
}
.mc-corner-tl { top: 60px; left: 8px; border-top: 2px solid rgba(0, 212, 255, 0.4); border-left: 2px solid rgba(0, 212, 255, 0.4); }
.mc-corner-tr { top: 60px; right: 8px; border-top: 2px solid rgba(0, 212, 255, 0.4); border-right: 2px solid rgba(0, 212, 255, 0.4); }
.mc-corner-bl { bottom: 66px; left: 8px; border-bottom: 2px solid rgba(0, 212, 255, 0.4); border-left: 2px solid rgba(0, 212, 255, 0.4); }
.mc-corner-br { bottom: 66px; right: 8px; border-bottom: 2px solid rgba(0, 212, 255, 0.4); border-right: 2px solid rgba(0, 212, 255, 0.4); }

