/* Discovery page bits that are too specific for dotleads.css. */

/* Results and history tables scroll inside their cards on narrow screens. */
.dl-table-wrap { overflow-x: auto; }

/* Row checkboxes match the design-system accent. */
.dl-table .check-col { width: 36px; }
.dl-table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--emerald);
    cursor: pointer;
    vertical-align: middle;
}

/* Required-field marker on the search form labels. */
.dl-field label .req { color: var(--status-bad-text); }

/* Inline helper next to the search button. */
#searchHint { font-size: .78rem; color: var(--text-faint); }

/* One-line "continuing from your last search" hint above the prefilled form. */
.dl-prefill-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: var(--text-faint);
}
.dl-prefill-hint[hidden] { display: none; }
.dl-prefill-hint i { color: var(--emerald); }
.dl-prefill-hint a { color: var(--link-color); }

/* Star tint for the rating cell. */
.rating-cell .bi-star-fill { color: #f5b301; font-size: .75rem; margin-right: 4px; }

/* Resume / exhaustion note: a full-width banner, not a badge, so it is read before the table. */
.dl-search-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(56, 189, 248, .3);
    border-inline-start: 3px solid var(--status-info-text);
    border-radius: 10px;
    background: rgba(56, 189, 248, .08);
    color: var(--text-strong);
    font-size: .85rem;
    line-height: 1.5;
}

/* The rule above sets display, which would otherwise beat the browser's [hidden] rule
   and leave the note on screen when there is nothing to say. */
.dl-search-note[hidden] { display: none; }

.dl-search-note i { color: var(--status-info-text); margin-top: 2px; }

/* The exhausted state is a dead end rather than information, so it reads warm. */
.dl-search-note.exhausted {
    border-color: rgba(245, 158, 11, .3);
    border-inline-start-color: var(--status-warn-text);
    background: rgba(245, 158, 11, .08);
}

.dl-search-note.exhausted i { color: var(--status-warn-text); }

/* Page progress in the history table stays compact next to the counts. */
.pages-cell { white-space: nowrap; }

/* Stored/saved counts sit on one line so the column stays narrow. */
.stored-cell { white-space: nowrap; }

/* Reopen and re-run stay side by side, never stacked, at the end of a history row. */
.history-actions { display: flex; align-items: center; gap: 6px; }
