/*
 * DAWConvert — dawconvert.css
 * Tool-scoped styles only. Reuses the global design tokens from
 * assets/css/util.css (--accent, --line, --danger, etc.). Nothing here
 * overrides shared site components — every selector is namespaced to the
 * queue table or the status pill so the rest of the site is untouched.
 */

/* Queue spans the full width rather than the shared two-column results grid. */
.dawconvert-results-layout {
    grid-template-columns: 1fr;
}

/* Eight columns need a little more room before horizontal scroll kicks in. */
.dawconvert-table {
    min-width: 920px;
}

.dawconvert-table td {
    vertical-align: top;
}

.summary-grid + .dawconvert-table-wrap {
    margin-top: 18px;
}

/* Status pills — colour-coded using the existing palette. */
.status-pill {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-pill.status-waiting {
    border-color: rgba(119, 130, 145, 0.5);
    background: rgba(119, 130, 145, 0.12);
    color: var(--muted);
}

.status-pill.status-analyzed {
    border-color: rgba(78, 161, 255, 0.55);
    background: rgba(78, 161, 255, 0.12);
    color: #9cc7ff;
}

.status-pill.status-converted {
    border-color: rgba(53, 208, 186, 0.6);
    background: rgba(53, 208, 186, 0.14);
    color: var(--accent);
}

.status-pill.status-failed {
    border-color: rgba(255, 111, 97, 0.6);
    background: rgba(255, 111, 97, 0.12);
    color: var(--danger);
}

/* Warning list inside a table cell. */
.queue-warnings {
    margin: 0;
    padding-left: 1.05rem;
    color: var(--muted);
    font-size: 0.86rem;
}

.queue-warnings li + li {
    margin-top: 4px;
}

.queue-muted {
    color: var(--subtle);
}

/* Compact download button so it fits the cell height. */
.button-link.queue-download {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.84rem;
    white-space: nowrap;
}
