// global styles regarding ngx-datatable
@use 'palette' as pallete;
@use 'spaces' as spaces;

.ngx-datatable {
  font-family: 'Inter';
}

.group-header {
  font-size: 18px;
  line-height: 28px;
  color: pallete.$main-100;
  font-weight: 500;
}

.datatable-group-header {
  padding: spaces.$space-5 spaces.$space-6 !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  background: pallete.$main-10 !important;

  .group-header {
    flex-grow: 0;
  }

  .datatable-header-divider {
    flex-grow: 1;
    flex-shrink: 0;
    border-bottom: 1px solid pallete.$main-30;
    margin: 0 16px;
  }

  .datatable-header-hide {
    flex-grow: 0;
    font-weight: 500;
    color: pallete.$main-60;
    text-decoration: underline;
    font-size: 12px;
    line-height: 20px;
    cursor: pointer;
  }
}

.action-button {
  background: pallete.$main-100;
  color: pallete.$main-text-light-color;
  font-size: 14px;
  border-radius: pallete.$default-border-radius;
  height: 32px;
  border: none;
  padding: 4px 10px;
  cursor: pointer;
  margin: 8px;
}

.actions-column {
  display: flex;
  flex-direction: row-reverse;
  padding-right: spaces.$space-6;
  place-items: center;
  gap: 8px;
}

mat-icon.star-favourite {
  color: pallete.$blue-60;
  font-size: 24px;
  margin-left: 0;

  &.gray {
    color: pallete.$main-30;
  }
}
