/* Custom Styles for LeadShop Diagnostic UI */

:root {
    --dot-size: 10px;
    --status-green: #28a745;
    --status-red: #dc3545;
    --status-yellow: #ffc107;
    --status-grey: #6c757d;
}

.status-ok { color: var(--status-green); }
.status-completed { color: var(--status-green); }
.status-error { color: var(--status-red); }
.status-failed { color: var(--status-red); }
.status-no_data { color: var(--status-yellow); }
.status-pending { color: var(--status-grey); }
.status-queued { color: var(--status-grey); }
.status-running { color: var(--status-grey); }

.dot {
    height: var(--dot-size);
    width: var(--dot-size);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.dot.green { background-color: var(--status-green); }
.dot.red { background-color: var(--status-red); }
.dot.yellow { background-color: var(--status-yellow); }
.dot.grey { background-color: var(--status-grey); }

#details-panel header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#copy-for-ai-btn {
    margin-bottom: 0;
}

.system-map-group {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--card-background-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--card-border-color);
}

.system-map-group h5 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--h5-color);
}

/* Ensure system map container scrolls if needed */
#system-map-container {
    max-height: 70vh;
    overflow-y: auto;
}

/* Flexible grid layout - 50/50 split */
.flexible-grid {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.flexible-grid > aside {
    flex: 1;
    width: 50%;
}

.flexible-grid > section {
    flex: 1;
    width: 50%;
}
