body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #05070e; 
    color: #e0e6f0; 
    overflow: hidden; 
}

#container {
    display: flex;
    height: 100vh; 
}


#solar-system-display {
    flex: 2; 
    background-color: #05070e;
    
    background-image: 
        radial-gradient(ellipse at 70% 30%, rgba(100, 100, 255, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 30% 90%, rgba(255, 100, 100, 0.1) 0%, transparent 70%),
        
        radial-gradient(2px 2px at 20px 30px, #ffffff 1px, transparent 0),
        radial-gradient(2px 2px at 40px 70px, #ffffff 1px, transparent 0),
        radial-gradient(2px 2px at 80px 10px, #ffffff 1px, transparent 0),
        
        linear-gradient(180deg, #0d1222 0%, #05070e 100%);
        
    background-size: 100% 100%, 100% 100%, 150px 150px, 150px 150px, 150px 150px, 100% 100%; 
    background-repeat: no-repeat, no-repeat, repeat, repeat, repeat, no-repeat;
    
    border-right: 2px solid #2a3040; 
    display: flex;
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: center;
    padding: 20px; 
    position: relative; 
}

.panel-title {
    color: #a0c4ff; 
    text-align: center;
    margin-bottom: 15px;
    font-size: 2em;
    font-weight: 300;
    text-shadow: 0 0 15px rgba(160, 196, 255, 0.7); 
}

#control-panel {
    width: 100%;
    padding: 10px;
    background-color: rgba(26, 32, 53, 0.8); 
    border-radius: 8px;
    display: flex;
    justify-content: space-around;
    gap: 10px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(160, 196, 255, 0.2);
    border: 1px solid #333d52;
}

.control-select, .control-button {
    padding: 10px 14px; 
    border: 1px solid #5a6a8b;
    background-color: #333d52;
    color: #e0e6f0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.control-button:hover, .control-select:hover {
    background-color: #445069;
    border-color: #a0c4ff;
    box-shadow: 0 0 10px rgba(160, 196, 255, 0.4);
}
.control-button.active { 
    background-color: #cc4444; 
    border-color: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}


#visualization-area {
    position: relative;
    width: 100%; 
    max-width: 500px; 
    height: 80%; 
    max-height: 500px;
    box-shadow: 0 0 25px rgba(160, 196, 255, 0.3); 
    border-radius: 12px;
    background-color: rgba(16, 20, 34, 0.95);
    padding: 0; 
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #a0c4ff;
}

.plot-caption {
    color: #ffcc00; 
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    position: absolute; 
    top: 10px;
    left: 0;
    right: 0;
    z-index: 40; 
    text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
}

#data-points-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 30px 20px 30px 40px; 
    box-sizing: border-box; 
}

#data-points {
    position: absolute; 
    border-left: 2px solid #a0c4ff; 
    border-bottom: 2px solid #a0c4ff;
}

#neptunian-desert {
    position: absolute;
    background-color: rgba(255, 0, 0, 0.15); 
    border: 2px dashed rgba(255, 0, 0, 0.8);
    pointer-events: none; 
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 10; 
}

#neptunian-desert.visible {
    opacity: 1;
}

.plot-point {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: translate(-50%, 50%); 
}

.plot-point:hover, .plot-point.highlighted {
    width: 14px;
    height: 14px;
    transform: translate(-50%, 50%); 
    border: 3px solid #ffcc00;
    box-shadow: 0 0 15px #ffcc00, 0 0 5px rgba(0,0,0,0.8); 
    z-index: 30;
}

.plot-point.active-label::after {
    content: attr(data-label);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffcc00;
    color: #1a2035;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 10px;
    white-space: nowrap;
    font-weight: bold;
}

.axis-label {
    position: absolute;
    font-size: 10px;
    color: #b3cce6; 
    font-weight: bold;
    text-shadow: 0 0 5px rgba(160, 196, 255, 0.5);
}
.x-label {
    bottom: -18px; 
    transform: translateX(-50%);
}
.y-label {
    left: -28px;
    transform: translateY(50%);
}


#info-panel { 
    flex: 1;
    padding: 20px; 
    background-color: #1a2035; 
    position: relative;
    border-left: 2px solid #2a3040; 
}

.screen {
    position: absolute; 
    top: 60px; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    padding: 0 20px; 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.5s ease-in-out; 
    overflow-y: auto; 
}

.active-screen { 
    opacity: 1; 
    pointer-events: all; 
}

#planet-list { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}
.planet-button {
    background-color: #333d52; 
    color: #e0e6f0; 
    border: 1px solid #5a6a8b;
    padding: 10px; 
    cursor: pointer; 
    transition: background-color 0.3s, border-color 0.3s, color 0.3s; 
    font-size: 16px; 
    border-radius: 5px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.planet-button:hover {
    background-color: #445069;
    border-color: #a0c4ff;
    color: #a0c4ff;
}
.planet-button.highlighted { 
    background-color: #5a6a8b;
    border-color: #ffcc00;
    color: #ffcc00;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

#back-button {
    background: none; 
    color: #a0c4ff; 
    border: none; 
    padding: 10px 0;
    cursor: pointer; 
    margin-bottom: 10px; 
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s;
}
#back-button:hover {
    color: #ffcc00;
}

#details-view {
    padding-bottom: 20px; 
    padding-right: 15px; 
    line-height: 1.6; 
}
#details-view h3 {
    color: #ffcc00; 
    font-size: 1.6em;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.3);
}
#details-view strong {
    color: #a0c4ff; 
}
#details-view p {
    margin-bottom: 10px;
}