/* ===================================
   Mission Tracking Page Styles
   =================================== */

/* Mission Header */
.mission-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    text-align: center;
    border-bottom: 1px solid rgba(65, 105, 225, 0.2);
}

.mission-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(65, 105, 225, 0.1);
    border: 1px solid rgba(65, 105, 225, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--royal-blue-light);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.status-indicator.active {
    background: var(--success);
    animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(72, 187, 120, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(72, 187, 120, 0);
    }
}

.mission-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Mission Overview Cards */
.mission-overview {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.overview-card {
    background: var(--bg-card);
    border: 1px solid rgba(65, 105, 225, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.overview-card:hover {
    border-color: var(--royal-blue);
    box-shadow: var(--shadow-md);
}

.overview-icon {
    font-size: 2rem;
    color: var(--royal-blue);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(65, 105, 225, 0.1);
    border-radius: 12px;
}

.overview-content {
    flex: 1;
}

.overview-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.overview-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Space Mono', monospace;
}

/* Mission Timeline */
.mission-timeline {
    padding: 4rem 0;
    background: var(--bg-darker);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(65, 105, 225, 0.3);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 22px;
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid rgba(65, 105, 225, 0.5);
}

.timeline-item.completed .timeline-marker {
    background: var(--royal-blue);
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 4px rgba(65, 105, 225, 0.2);
}

.timeline-item.active .timeline-marker {
    background: var(--success);
    border-color: var(--success);
    box-shadow: 0 0 0 4px rgba(72, 187, 120, 0.2);
    animation: pulse-status 2s ease-in-out infinite;
}

.timeline-item.upcoming .timeline-marker {
    background: var(--bg-card);
    border-color: var(--text-muted);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid rgba(65, 105, 225, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.timeline-item.completed .timeline-content {
    border-color: rgba(65, 105, 225, 0.4);
}

.timeline-item.active .timeline-content {
    border-color: var(--success);
    box-shadow: 0 0 20px rgba(72, 187, 120, 0.2);
}

.timeline-time {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    color: var(--royal-blue-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Telemetry Data */
.mission-telemetry {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.telemetry-panel {
    background: var(--bg-card);
    border: 1px solid rgba(65, 105, 225, 0.2);
    border-radius: 16px;
    padding: 2rem;
}

.telemetry-panel h3 {
    color: var(--royal-blue-light);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(65, 105, 225, 0.2);
}

.telemetry-data {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.telemetry-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.telemetry-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.telemetry-value {
    font-family: 'Space Mono', monospace;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.telemetry-value.status-good {
    color: var(--success);
}

.telemetry-value.status-warning {
    color: #F6AD55;
}

.telemetry-value.status-critical {
    color: #F56565;
}

/* Orbital Map */
.orbital-map {
    padding: 8rem 0;
    background: var(--bg-darker);
}
.track-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: rgba(65, 105, 225, 0.1);
    border: 1px solid rgba(65, 105, 225, 0.3);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(65, 105, 225, 0.2);
    border-color: var(--royal-blue);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--royal-blue);
    border-color: var(--royal-blue);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(65, 105, 225, 0.4);
}
.map-container {
    background: var(--bg-card);
    border: 1px solid rgba(65, 105, 225, 0.2);
    border-radius: 16px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.map-container canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mission-title {
        font-size: 2rem;
    }

    .mission-description {
        font-size: 1rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        left: 7px;
    }

    .telemetry-grid {
        grid-template-columns: 1fr;
    }
}
