:host {
  display: flex;
  flex-direction: column;
}

.filter-select {
  display: flex;

  a {
    color: var(--accent-color-bg);

    &:hover {
      text-decoration: underline;
    }
  }
}

.task-report-name-edit {
  margin-bottom: 15px;
  font-weight: 600;
}

.chart-not-available,
.filter-not-available {
  margin-top: 50px;
  font-size: 20px;
  font-weight: bold;
}

.export-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
}

.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 1000px;
  height: 500px;
}

:host ::ng-deep .mat-progress-spinner circle,
::ng-deep .toolbar-file-loading-spinner.mat-progress-spinner circle {
  stroke: var(--color-gray-444);
}

.refresh-button {
  margin-left: auto;
}

.chart {
  width: 100%;
  height: 500px;

  // display: none нельзя
  &.hidden {
    width: 100%;
    height: 0;
    visibility: hidden;
  }
}

.more-menu-wrap {
  display: flex;
  flex-flow: column nowrap;
}

.settings-button {
  display: flex;
  align-items: center;
  justify-content: center;

  app-cmf-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;
  }
}

.report-wrapper {
  overflow: hidden;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.component-wrapper {
  overflow: auto;
  display: flex;
  flex-direction: column;
  height: 100%;

  &.dashboard {
    width: 100%;
  }

  &:not(.dashboard) {
    height: calc(100vh - 66px);

    // TODO: Хак для темы Jira / Confluence Убрать после рефакторинга верстки контейнеров в project, desk
    &.displaced {
      height: calc(100vh - 119px);
    }
  }
}

.report-settings {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;

  margin-bottom: 15px;
  padding-right: 30px;
}

h3 {
  margin: 0;
}

.options-select {
  display: flex;
  align-items: center;
  align-self: flex-start;

  height: 36px;
  margin: 10px 0 20px;
  padding: 0 10px;

  background-color: var(--app-bg-color-l1);
  border: 1px solid var(--color-gray-aaa);
  border-radius: 4px;

  ::ng-deep .mat-select-value {
    max-width: unset;
  }
}

.grouping-fields {
  display: flex;
  background-color: var(--app-bg-color-l1);

  .caption {
    font-weight: 600;
  }

  .grouping-field-options {
    padding: 0 10px;

    ::ng-deep .mat-select-value {
      max-width: unset;
    }
  }
}

.table-tilte {
  margin-top: 40px;
}

.grid {
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(3, auto);

  max-height: 35%;

  border-bottom: 2px solid var(--color-gray-eee);

  .grid__cell {
    display: flex;
    gap: 5px;
    align-items: center;

    min-height: 40px;
    padding: 5px;
  }

  .grid__header {
    padding: 5px;
    font-weight: bold;
    color: var(--color-gray-666);
    border-bottom: 1px solid var(--color-gray-eee);
  }
}

.time-estimate-options {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  margin-bottom: 10px;

  .options-select {
    margin: 0;
  }

  .select-subscription {
    margin-top: 3px;
    font-size: 13px;
    color: var(--color-gray-666);
  }
}

.action {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
}
