/* Aceleradores de exportação/importação (operadores e listas): grelhas de seleção,
   relatórios de validação e resumos, partilhados pelos passos do assistente.
   Não é CSS isolado de propósito: o markup vive nos componentes de cada passo. */

/* The wizard shell sizes itself to the viewport minus the app chrome (calc(100vh / var(--jump-zoom, 1) - 96px)
   in Wizard.razor.css). On the accelerator pages an EntityHeader sits above the wizard,
   so with that fixed height the navigation buttons ended up clipped below the fold. The
   wrapper takes over the viewport math and lets the shell flex into what remains. */
.transfer-wizard-page {
    height: calc(100vh / var(--jump-zoom, 1) - 96px);
    min-height: 560px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.transfer-wizard-page .wizard-shell {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
}

.transfer-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.transfer-file {
    max-width: 320px;
    height: 31px;
    padding: 3px 6px;
}

.transfer-option {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 12px;
}

.transfer-table {
    margin: 0;
    font-size: 12px;
}

/* Texto sempre à esquerda, aconteça o que acontecer ao contexto onde a tabela é montada
   (os passos do assistente herdaram alinhamento centrado). As contagens continuam à
   direita via .text-end, que ganha por !important no site.css. */
.transfer-table th,
.transfer-table td {
    text-align: left;
}

.transfer-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    color: #6b7a90;
}

.transfer-table th.transfer-check,
.transfer-table td.transfer-check {
    width: 42px;
    text-align: center;
}

.transfer-row-blocked td {
    background-color: #fff6e5;
}

.transfer-blocked {
    color: #b4560a;
}

.transfer-subtitle {
    margin: 14px 0 6px;
    color: #3d4f66;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.transfer-warnings {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 12px;
}

.transfer-result {
    margin-top: 10px;
    font-size: 12px;
}

.transfer-hint {
    margin: 0 0 8px;
    color: #6b7a90;
    font-size: 12px;
}

.transfer-file-summary {
    margin: 8px 0 0;
    font-size: 12px;
    color: #3d4f66;
}

.transfer-row-failed td {
    background-color: #ffeaea;
}
