/* tables.css — Table styles, lead rows, score bars, scraper items, and enrichment styles */

.table {
    width: 100%;
    border-collapse: collapse
}

.table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: .8px;
    border-bottom: 1px solid var(--border)
}

.table td {
    padding: 11px 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--bg3);
    color: var(--text2)
}

.table tr:hover td {
    background: var(--bg3)
}

.table tr:last-child td {
    border-bottom: none
}

.lead-row {
    display: flex;
    align-items: center;
    gap: 10px
}

.lead-av {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0
}

.lead-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text)
}

.lead-co {
    font-size: 11px;
    color: var(--text3)
}

.score-bar {
    width: 44px;
    height: 6px;
    background: var(--bg4);
    border-radius: 3px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px
}

/* Scraper items */
.scraper-item {
    display: flex; align-items: center; gap: 16px; padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.scraper-item:last-child { border-bottom: none; }
.scraper-icon {
    width: 42px; height: 42px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.scraper-info { flex: 1; min-width: 0; }
.scraper-info h4 { font-size: 14px; font-weight: 600; color: var(--text); margin: 0 0 3px; }
.scraper-info p { font-size: 12px; color: var(--text3); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scraper-meta { display: flex; gap: 20px; align-items: center; }
.scraper-stat { text-align: center; }
.scraper-stat strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); }
.scraper-stat small { font-size: 11px; color: var(--text3); }
.scraper-actions { display: flex; align-items: center; gap: 10px; }
.scraper-run {
    padding: 6px 14px; font-size: 12px; font-weight: 600; color: var(--accent);
    border: 1px solid var(--accent); background: transparent; border-radius: 6px;
    cursor: pointer; font-family: inherit; white-space: nowrap;
}
.scraper-run:hover { background: var(--accent-bg); }

/* Lead Enrichment */
.enrichment-bar {
    display: flex; align-items: center; gap: 24px; padding: 12px 20px;
    background: var(--bg3); border-radius: 10px; margin-bottom: 16px;
    font-size: 13px; color: var(--text2); flex-wrap: wrap;
}
.enrichment-bar strong { color: var(--text); font-weight: 700; }
.enrichment-bar .eb-divider { width: 1px; height: 16px; background: var(--border2); }
.enrich-checkbox-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.enrich-checkbox {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    background: var(--bg3); border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--text);
}
.enrich-checkbox input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; }
.enrich-radio-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.enrich-radio {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    border: 1px solid var(--border); border-radius: 8px; cursor: pointer;
    font-size: 13px; color: var(--text); transition: all 0.2s;
}
.enrich-radio.selected { border-color: var(--accent); background: var(--accent-bg); }
.enrich-radio input[type="radio"] { accent-color: var(--accent); width: 16px; height: 16px; }
.enrich-info {
    padding: 12px 16px; background: rgba(52,152,219,0.08); border-radius: 8px;
    font-size: 13px; color: var(--blue); margin-bottom: 16px;
}
.enrich-credits-bar { height: 6px; background: var(--bg4); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.enrich-credits-fill { height: 100%; background: var(--accent); border-radius: 3px; width: 82.4%; }
