/* LEOS Mission Ready - Mission Planning Styles */

.mission-planner-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #0a0e27;
    color: #e2e8f0;
    overflow: hidden;
}

/* Planner Header */
.planner-header {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0 0 4px 0;
}

.header-content p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}

.planner-actions {
    display: flex;
    gap: 12px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: rgba(148, 163, 184, 0.3);
}

.action-btn.primary {
    background: rgba(0, 153, 255, 0.2);
    border: 1px solid rgba(0, 153, 255, 0.3);
    color: #00d4ff;
}

.action-btn.primary:hover {
    background: rgba(0, 153, 255, 0.3);
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 16px;
}

/* Navigation */
.planner-nav {
    background: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    display: flex;
    padding: 0 32px;
}

.nav-tab {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.nav-tab:hover {
    color: #e2e8f0;
}

.nav-tab.active {
    color: #00d4ff;
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #00d4ff;
}

/* Content Area */
.planner-content {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

/* Mission Overview */
.mission-overview {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.active-missions-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0;
}

.mission-count {
    color: #64748b;
    font-size: 14px;
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 24px;
}

/* Mission Card */
.mission-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.mission-card.active {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.mission-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.mission-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.mission-title h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 4px 0;
}

.mission-satellite {
    font-size: 13px;
    color: #64748b;
}

.mission-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.planning {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.status-badge.executing {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.status-badge.paused {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.risk-level {
    font-size: 12px;
    text-transform: uppercase;
}

.risk-level.low {
    color: #10b981;
}

.risk-level.medium {
    color: #fbbf24;
}

.risk-level.high {
    color: #ef4444;
}

/* Mission Progress */
.mission-progress {
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0099ff 0%, #00d4ff 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #94a3b8;
}

/* Mission Phases */
.mission-phases {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.phase-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 6px;
    font-size: 13px;
}

.phase-item.completed {
    background: rgba(16, 185, 129, 0.1);
}

.phase-item.in-progress {
    background: rgba(0, 153, 255, 0.1);
}

.phase-icon {
    font-size: 14px;
}

.phase-name {
    flex: 1;
    color: #e2e8f0;
}

.phase-progress {
    flex: 1;
}

.mini-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.mini-progress-fill {
    height: 100%;
    background: #00d4ff;
    transition: width 0.3s ease;
}

/* Mission Metrics */
.mission-metrics {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}

.metric {
    display: flex;
    gap: 8px;
    font-size: 14px;
}

.metric-label {
    color: #64748b;
}

.metric-value {
    color: #e2e8f0;
    font-weight: 500;
}

/* Mission Actions */
.mission-actions {
    display: flex;
    gap: 12px;
}

.mission-btn {
    flex: 1;
    padding: 10px 16px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mission-btn:hover {
    background: rgba(51, 65, 85, 0.6);
    border-color: rgba(148, 163, 184, 0.3);
}

.mission-btn.primary {
    background: rgba(0, 153, 255, 0.2);
    border: 1px solid rgba(0, 153, 255, 0.3);
    color: #00d4ff;
}

.mission-btn.primary:hover {
    background: rgba(0, 153, 255, 0.3);
}

/* Mission Stats */
.mission-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.stat-icon {
    font-size: 32px;
}

.stat-info h3 {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    margin: 0 0 8px 0;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #00d4ff;
    margin: 0 0 4px 0;
}

.stat-label {
    font-size: 12px;
    color: #64748b;
}

/* Templates Section */
.templates-section {
    margin-top: 32px;
}

.templates-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 20px 0;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.template-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.template-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

.template-type {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.template-type.deployment {
    background: rgba(0, 153, 255, 0.2);
    color: #0099ff;
}

.template-type.maintenance {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.template-type.emergency {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.template-type.disposal {
    background: rgba(100, 116, 139, 0.2);
    color: #94a3b8;
}

.template-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 8px 0;
}

.template-card p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.template-phases {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.phase-tag {
    padding: 2px 8px;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    font-size: 11px;
    color: #94a3b8;
}

.use-template-btn {
    width: 100%;
    padding: 8px 16px;
    background: rgba(0, 153, 255, 0.2);
    border: 1px solid rgba(0, 153, 255, 0.3);
    color: #00d4ff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.use-template-btn:hover {
    background: rgba(0, 153, 255, 0.3);
    transform: translateY(-1px);
}

/* Timeline View */
.timeline-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.timeline-controls {
    display: flex;
    align-items: center;
    gap: 24px;
}

.time-scale-selector {
    display: flex;
    gap: 4px;
    background: rgba(15, 23, 42, 0.6);
    padding: 4px;
    border-radius: 6px;
}

.scale-btn {
    padding: 6px 12px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.scale-btn:hover {
    color: #e2e8f0;
}

.scale-btn.active {
    background: rgba(0, 153, 255, 0.2);
    color: #00d4ff;
}

.timeline-navigation {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-btn {
    padding: 6px 12px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: rgba(51, 65, 85, 0.6);
}

.timeline-range {
    font-size: 14px;
    color: #94a3b8;
}

.timeline-btn {
    padding: 8px 16px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.timeline-btn:hover {
    background: rgba(51, 65, 85, 0.6);
    border-color: rgba(148, 163, 184, 0.3);
}

/* Timeline View Area */
.timeline-view {
    flex: 1;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.timeline-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.time-markers {
    position: relative;
    height: 100%;
}

.time-marker {
    position: absolute;
    height: 100%;
    border-left: 1px solid rgba(148, 163, 184, 0.2);
    display: flex;
    align-items: center;
    padding-left: 8px;
}

.time-label {
    font-size: 11px;
    color: #64748b;
}

.timeline-tracks {
    margin-top: 40px;
    padding: 20px;
}

.mission-track {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    height: 60px;
}

.track-label {
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.satellite-name {
    font-size: 14px;
    font-weight: 600;
    color: #e2e8f0;
}

.mission-type {
    font-size: 12px;
    color: #64748b;
}

.track-timeline {
    flex: 1;
    position: relative;
    height: 40px;
}

.mission-bar {
    position: absolute;
    height: 100%;
    background: rgba(0, 153, 255, 0.2);
    border: 1px solid rgba(0, 153, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.mission-bar:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mission-bar.executing {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
}

.mission-bar.planning {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.3);
}

.mission-phases {
    display: flex;
    height: 100%;
}

.phase-block {
    height: 100%;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    position: relative;
}

.phase-block.completed {
    background: rgba(16, 185, 129, 0.3);
}

.phase-block.in-progress {
    background: rgba(0, 153, 255, 0.3);
}

.phase-block.pending {
    background: rgba(148, 163, 184, 0.1);
}

.phase-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(0, 212, 255, 0.4);
}

.mission-progress-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0, 212, 255, 0.2) 0%, 
        transparent 100%);
    pointer-events: none;
}

.milestone {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid #00d4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.milestone-icon {
    font-size: 12px;
}

.timeline-cursor {
    position: absolute;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: #ef4444;
    pointer-events: none;
    transition: left 0.1s ease;
}

.timeline-cursor::before {
    content: attr(data-time);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #e2e8f0;
    white-space: nowrap;
}

/* Timeline Legend */
.timeline-legend {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    padding: 16px;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.planning {
    background: rgba(251, 191, 36, 0.3);
}

.legend-color.executing {
    background: rgba(16, 185, 129, 0.3);
}

.legend-color.completed {
    background: rgba(16, 185, 129, 0.5);
}

.legend-color.critical {
    background: rgba(239, 68, 68, 0.3);
}

/* Timeline Details */
.timeline-details {
    margin-top: 20px;
    padding: 20px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
}

.timeline-details h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 16px 0;
}

.timeline-details p {
    font-size: 14px;
    color: #94a3b8;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    gap: 8px;
}

.detail-label {
    font-size: 13px;
    color: #64748b;
}

.detail-value {
    font-size: 13px;
    color: #e2e8f0;
    font-weight: 500;
}

.phase-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phase-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 6px;
    font-size: 13px;
}

.phase-detail.completed {
    background: rgba(16, 185, 129, 0.1);
}

.phase-detail.in-progress {
    background: rgba(0, 153, 255, 0.1);
}

.phase-duration {
    margin-left: auto;
    color: #64748b;
}

/* Maneuver Planner */
.maneuver-planner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.planner-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
    flex: 1;
}

.maneuver-designer {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.designer-section {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 24px;
}

.designer-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 20px 0;
}

.designer-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
}

.form-select,
.form-input {
    padding: 10px 12px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: rgba(0, 153, 255, 0.5);
    background: rgba(30, 41, 59, 0.8);
}

.parameters-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 8px 0;
}

.param-description {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px 0;
}

.calculator-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.calc-btn {
    flex: 1;
    padding: 10px 16px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-btn:hover {
    background: rgba(51, 65, 85, 0.6);
    border-color: rgba(148, 163, 184, 0.3);
}

.calc-btn.primary {
    background: rgba(0, 153, 255, 0.2);
    border: 1px solid rgba(0, 153, 255, 0.3);
    color: #00d4ff;
}

.calc-btn.primary:hover {
    background: rgba(0, 153, 255, 0.3);
}

/* Calculator Results */
.calculator-results {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 24px;
}

.calculator-results h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 20px 0;
}

.results-placeholder {
    text-align: center;
    padding: 40px;
}

.results-placeholder p {
    color: #64748b;
    font-size: 14px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.result-item {
    background: rgba(30, 41, 59, 0.4);
    padding: 16px;
    border-radius: 8px;
}

.result-item.full-width {
    grid-column: 1 / -1;
}

.result-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.result-value {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #00d4ff;
}

.result-actions {
    display: flex;
    gap: 12px;
}

.result-btn {
    flex: 1;
    padding: 10px 16px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.result-btn:hover {
    background: rgba(51, 65, 85, 0.6);
    border-color: rgba(148, 163, 184, 0.3);
}

.result-btn.primary {
    background: rgba(0, 153, 255, 0.2);
    border: 1px solid rgba(0, 153, 255, 0.3);
    color: #00d4ff;
}

/* Orbit Visualization */
.maneuver-visualization {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.maneuver-visualization h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0;
}

.orbit-plot {
    background: rgba(10, 14, 39, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#orbit-canvas {
    border-radius: 8px;
}

.orbit-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 12px 0;
}

.orbit-params {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.param {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.param-label {
    color: #64748b;
}

.param-value {
    color: #e2e8f0;
    font-weight: 500;
}

/* Planned Maneuvers */
.planned-maneuvers {
    margin-top: 32px;
}

.planned-maneuvers h3 {
    font-size: 20px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 20px 0;
}

.maneuvers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.maneuver-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.maneuver-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

.maneuver-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0;
}

.maneuver-satellite {
    font-size: 12px;
    color: #64748b;
}

.maneuver-details {
    margin: 16px 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 13px;
}

.detail-value.highlight {
    color: #00d4ff;
    font-weight: 600;
}

.orbit-change {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 13px;
}

.orbit-from,
.orbit-to {
    flex: 1;
}

.orbit-label {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 4px;
}

.orbit-arrow {
    font-size: 18px;
    color: #00d4ff;
}

.maneuver-actions {
    display: flex;
    gap: 12px;
}

/* Maneuver Tools */
.maneuver-tools {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.tool-btn {
    padding: 10px 20px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tool-btn:hover {
    background: rgba(51, 65, 85, 0.6);
    border-color: rgba(148, 163, 184, 0.3);
}

/* Constraints View */
.constraints-view {
    padding: 20px 0;
}

.constraints-view h2 {
    font-size: 24px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 8px 0;
}

.constraints-view > p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0 0 32px 0;
}

.constraints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.constraint-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.constraint-card.active {
    border-color: rgba(0, 212, 255, 0.3);
}

.constraint-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 16px 0;
}

.constraint-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.constraint-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.constraint-item span:first-child {
    color: #94a3b8;
}

.constraint-value {
    color: #00d4ff;
    font-weight: 500;
}

/* Simulation View */
.simulation-view {
    padding: 20px 0;
}

.simulation-view h2 {
    font-size: 24px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 24px 0;
}

.simulation-container {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 24px;
}

.sim-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.sim-btn {
    padding: 10px 20px;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sim-btn:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: rgba(148, 163, 184, 0.3);
}

.sim-preview {
    background: rgba(10, 14, 39, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    padding: 100px 40px;
    text-align: center;
}

.sim-preview p {
    color: #64748b;
    font-size: 14px;
}

/* Execution View */
.execution-view {
    padding: 20px 0;
}

.execution-view h2 {
    font-size: 24px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 24px 0;
}

.execution-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.execution-status,
.command-queue {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 24px;
}

.execution-status h3,
.command-queue h3 {
    font-size: 18px;
    font-weight: 600;
    color: #e2e8f0;
    margin: 0 0 20px 0;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 8px;
    font-size: 16px;
    color: #e2e8f0;
}

.status-indicator.active .status-light {
    background: #10b981;
}

.status-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #64748b;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.command-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.command-item {
    display: flex;
    gap: 16px;
    padding: 12px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 6px;
    font-size: 14px;
}

.command-item.pending {
    opacity: 0.7;
}

.command-time {
    color: #64748b;
    font-family: monospace;
}

.command-name {
    color: #e2e8f0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .missions-grid {
        grid-template-columns: 1fr;
    }
    
    .planner-layout {
        grid-template-columns: 1fr;
    }
    
    .maneuver-visualization {
        order: -1;
    }
}

@media (max-width: 768px) {
    .planner-header {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    
    .planner-actions {
        width: 100%;
        justify-content: stretch;
    }
    
    .action-btn {
        flex: 1;
    }
    
    .mission-stats {
        grid-template-columns: 1fr;
    }
    
    .timeline-controls {
        flex-direction: column;
        gap: 16px;
    }
    
    .track-label {
        width: 100px;
    }
    
    .maneuvers-grid {
        grid-template-columns: 1fr;
    }
}