/**
 * Silex Analytics: Laboratory Theme
 * Dark accents, neon indicators, monospace labels.
 */

.lab-theme {
    background: #0d1117; /* GitHub Dark Hub */
    color: #c9d1d9;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    font-family: 'Lora', serif;
}

.lab-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #30363d;
    padding-bottom: 20px;
}

.lab-header h1 {
    font-family: 'Special Elite', monospace;
    color: #58a6ff; /* Neon Blue */
    font-size: 2.5rem;
    margin: 0;
}

.status-badge {
    font-family: 'Special Elite', monospace;
    font-size: 0.8rem;
    color: #8b949e;
}

.scanning-node {
    color: #3fb950; /* Lab Green */
    animation: blink 1s infinite alternate;
}

@keyframes blink { from { opacity: 0.4; } to { opacity: 1; } }

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.chart-box {
    background: #161b22;
    border: 1px solid #30363d;
    padding: 20px;
    border-radius: 6px;
}

.chart-box h3 {
    font-family: 'Special Elite', monospace;
    font-size: 1rem;
    color: #f85149; /* Ink Red / Neon Red */
    margin-top: 0;
    border-bottom: 1px dashed #30363d;
    padding-bottom: 10px;
}

.chart-desc {
    font-size: 0.8rem;
    color: #8b949e;
    font-style: italic;
    margin-bottom: 15px;
}

.canvas-wrapper {
    height: 350px;
    position: relative;
}

.chart-controls {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.silex-select {
    background: #0d1117;
    border: 1px solid #30363d;
    color: #c9d1d9;
    padding: 5px;
    font-family: 'Special Elite';
    font-size: 0.75rem;
}

/* AI INSIGHTS BLOCK */
.insight-box {
    background: #161b22;
    border: 1px solid #3fb950; /* Green highlight for insights */
    padding: 20px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
}

.insights-scroll {
    flex-grow: 1;
    max-height: 500px;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.6;
}

.insight-item {
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 2px solid #58a6ff;
}

.insight-item strong { color: #58a6ff; }

.insight-summary {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #30363d;
    font-family: 'Special Elite', monospace;
    font-size: 0.8rem;
    color: #f85149;
}

.seo-data-tables {
    background: #fff;
    color: #333;
    border-radius: 4px;
    padding: 20px;
    overflow-x: auto;
}

.silex-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.silex-table th, .silex-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.silex-table tr:nth-child(even) { background-color: #f9f9f9; }

/* Responsive adjustments */
@media (max-width: 600px) {
    .analytics-grid { grid-template-columns: 1fr; }
    .canvas-wrapper { height: 300px; }
}
