/* details.css */
.details-content {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.node-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.node-info h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
    font-size: 14px;
}

.info-label {
    font-weight: 600;
    color: #555;
}

.info-value {
    color: #333;
}

.spider-container {
    flex: 1;
    min-height: 300px;
    border-top: 1px solid #eee;
    padding: 15px;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
    font-size: 16px;
}

/* Tab structure styles */
.visualizations-container {
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.viz-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.tab-button {
    flex: 1;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    transition: all 0.2s ease;
}

.tab-button:hover {
    background: #e9ecef;
    color: #495057;
}

.tab-button.active {
    background: #fff;
    color: #3498db;
    border-bottom: 2px solid #3498db;
}

.viz-content {
    position: relative;
}

.tab-panel {
    display: none;
    padding: 20px;
    min-height: 300px;
}

.tab-panel.active {
    display: block;
}

#spider-chart, #scatter-chart {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}
