/* Estilos específicos para a coluna de ações na tela de pessoas */
.app-people app-generic-crud table.mat-table th:last-child,
.app-people app-generic-crud table.mat-table td:last-child,
.app-people app-generic-crud .mat-column-actions,
.app-people app-generic-crud tr.mat-row td:last-child,
.app-people app-generic-crud tr.mat-mdc-row td:last-child,
.app-people app-generic-crud tr[mat-row] td:last-child {
  background-color: #6A4BC2 !important;
  color: white !important;
}

/* Forçar a cor dos botões e ícones na coluna de ações */
.app-people app-generic-crud td:last-child button,
.app-people app-generic-crud td:last-child mat-icon,
.app-people app-generic-crud td.mat-column-actions button,
.app-people app-generic-crud td.mat-column-actions mat-icon {
  color: white !important;
}

/* Estilos específicos para o botão de visualização */
.app-people app-generic-crud .view-button,
.app-people app-generic-crud button.view-button {
  color: white !important;
}

.app-people app-generic-crud .view-button mat-icon,
.app-people app-generic-crud button.view-button mat-icon {
  color: white !important;
}

.app-people app-generic-crud .view-button img {
  filter: brightness(0) invert(1) !important;
}

/* Forçar a cor das imagens na coluna de ações */
.app-people app-generic-crud td:last-child img,
.app-people app-generic-crud td.mat-column-actions img {
  filter: brightness(0) invert(1) !important;
}

/* Seletores extremamente específicos para garantir que as células da coluna de ações tenham a cor correta */
.app-people app-generic-crud .mat-mdc-table .mdc-data-table__header-row .mdc-data-table__header-cell:last-child,
.app-people app-generic-crud .mat-mdc-table .mdc-data-table__row .mdc-data-table__cell:last-child {
  background-color: #6A4BC2 !important;
  color: white !important;
}
