/* queue.css - weekly queue page: roster of a Monday, batch progress and exports; builds on athletes.css tokens */

.queue-monday {
    margin-bottom: var(--gap-related);
}

.queue-monday input {
    max-width: 16rem;
}

.queue-monday .hint {
    margin: 0.25rem 0 0;
}

.queue-warning {
    margin-bottom: var(--gap-related);
    padding: var(--gap-related);
    border-radius: var(--radius);
    background: var(--status-skeleton-bg);
    color: var(--status-skeleton-text);
}

.queue-actions {
    align-items: center;
    margin-top: var(--gap-related);
}

.queue-export-note {
    margin: var(--gap-related) 0 0;
}

.batch-status {
    margin-bottom: var(--gap-related);
}

/* the rows wrap only in their note column, so a long reason does not widen the table on a phone */
.queue-table td,
.batch-table td {
    white-space: nowrap;
}

.queue-table .queue-note,
.batch-table .queue-note {
    min-width: 12rem;
    white-space: normal;
}

.queue-row-warning {
    background: var(--status-skeleton-bg);
}

.queue-row-off .queue-note {
    color: var(--text-muted);
}

.queue-row-off .check-cell {
    cursor: not-allowed;
}

.queue-page input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.queue-row-exports {
    display: flex;
    gap: 0.5rem;
}

.queue-page .queue-row-exports button {
    padding: 0.5rem 0.75rem;
}

@media (min-width: 900px) {
    .queue-table .queue-note,
    .batch-table .queue-note {
        min-width: 16rem;
    }
}
