/* Capstone Component Map Stylesheet */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: aliceblue;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
}

#network {
    width: 100%;
    height: 100%;
    background-color: aliceblue;
}

.title {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    font-weight: bold;
    color: #1A237E;
    background-color: aliceblue;
    z-index: 10;
}

.legend {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 8px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 10;
}

.legend-item {
    display: flex;
    align-items: center;
    margin: 3px 0;
    font-size: 12px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 4px;
    border: 2px solid #333;
}

.color-gold { background-color: #FFD700; }
.color-indigo { background-color: #303F9F; }
.color-amber { background-color: #D4880F; }
.color-chapter { background-color: #9E9E9E; }

.right-panel {
    position: absolute;
    top: 50px;
    right: 10px;
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.status-info {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.status-title {
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 13px;
    color: #1A237E;
}

.status-text {
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .title { font-size: 16px; }
    .legend { padding: 4px 6px; }
    .legend-item { font-size: 10px; }
    .right-panel { width: 200px; }
}
