/* Metadata Schema Structure Stylesheet
 * =====================================
 * Radial/hierarchical tree showing metadata.json schema
 */

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

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

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
}

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

.title {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: bold;
    color: black;
    background-color: aliceblue;
    padding: 4px 12px;
    white-space: nowrap;
    z-index: 10;
}

.legend {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 8px 10px;
    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: 11px;
}

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

.color-root { background-color: #607d8b; }
.color-dublin { background-color: #2196f3; }
.color-education { background-color: #4caf50; }
.color-pedagogical { background-color: #e91e63; }
.color-technical { background-color: #ff9800; }
.color-search { background-color: #9c27b0; }

.right-panel {
    position: absolute;
    top: 20px;
    right: 70px;
    width: 230px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.info-panel {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 2px solid #607d8b;
    min-height: 120px;
}

.info-title {
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
    color: #455a64;
}

.info-content {
    font-size: 12px;
    line-height: 1.6;
}

.info-placeholder {
    color: #888;
    font-style: italic;
}

.example-value {
    background-color: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 11px;
    margin-top: 8px;
    display: block;
}

@media (max-width: 700px) {
    .title {
        font-size: 14px;
    }

    .legend {
        padding: 6px 8px;
    }

    .legend-item {
        font-size: 10px;
    }

    .right-panel {
        width: 180px;
        right: 30px;
    }
}
