/* ============================================================
   INFECZERO
   Registros do aparelho — complementos sobre o CSS do painel.
   ============================================================ */

.lista-registros {

    display: flex;

    flex-direction: column;
}


.registro {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 12px;

    padding: 13px 2px;

    border-bottom: 1px solid var(--grid-line);
}


.registro:last-child {

    border-bottom: none;
}


.registro-info {

    min-width: 0;
}


.registro-titulo {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;
}


.fila-chip {

    padding: 3px 9px;

    border-radius: 999px;

    background: #EAF3FB;

    border: 1px solid #C4DBEE;

    color: var(--serie-1);

    font-size: 0.72rem;

    font-weight: 700;

    white-space: nowrap;
}


.registro-setor {

    color: var(--text-main);

    font-size: 0.9rem;

    font-weight: 650;
}


.registro-detalhe {

    margin: 4px 0 0;

    color: var(--text-muted);

    font-size: 0.8rem;

    line-height: 1.4;
}


.btn-excluir {

    flex-shrink: 0;

    min-height: 38px;

    padding: 7px 12px;

    border: 1px solid var(--border-color);

    border-radius: var(--radius-medium);

    background: var(--surface);

    color: #B3261E;

    font-size: 0.8rem;

    font-weight: 650;

    cursor: pointer;

    transition: background 0.15s ease, border-color 0.15s ease;
}


.btn-excluir:hover {

    border-color: #B3261E;
}


/* Segundo passo da exclusão: o mesmo botão pede confirmação. */

.btn-excluir.confirmando {

    background: #B3261E;

    border-color: #B3261E;

    color: #FFFFFF;
}


.btn-excluir:focus-visible {

    outline: 3px solid var(--focus);

    outline-offset: 2px;
}


.status-chip {

    padding: 3px 9px;

    border-radius: 999px;

    font-size: 0.72rem;

    font-weight: 700;

    white-space: nowrap;
}


.status-chip.enviada {

    background: #DCFCE7;

    border: 1px solid #BBE7C8;

    color: #15803D;
}


.lista-vazia {

    padding: 18px 2px;

    color: var(--text-muted);

    font-size: 0.88rem;
}


.resultado-envio {

    margin: 0 0 10px;

    padding: 10px 13px;

    background: var(--surface-secondary);

    border: 1px solid var(--border-color);

    border-radius: var(--radius-medium);

    color: var(--text-main);

    font-size: 0.84rem;
}


/* Aviso de cota de armazenamento alta (âmbar da paleta de alerta). */

.aviso-quota {

    background: var(--nivel-atencao-fundo);

    border-color: var(--nivel-atencao-borda);

    color: var(--nivel-atencao-texto);

    font-weight: 600;
}


@media (max-width: 560px) {

    .registro {

        flex-direction: column;
    }


    .btn-excluir {

        align-self: flex-end;
    }

}
