.overlay {
  display: flex;

  width: 542px;
  height: 80vh;

  background: var(--color-gray-fff);
  border-radius: 3px;
  box-shadow: 0 4px 8px rgb(9 30 66 / 25%);

  &__container {
    display: flex;
    flex-direction: column;

    width: 100%;
    margin: 0 auto;
    padding: 15px;
  }

  .text {
    font-family: Roboto;
    font-weight: 400;
    font-style: normal;
  }

  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;

    &__name {
      font: var(--default-header-font);
      font-weight: 400;
      color: var(--color-gray-222);
      letter-spacing: 0.24px;
    }

    &__toggle {
      font-size: 13px;
      line-height: 20px;
      color: #8c8c8c;
    }

    &__open-new-tab {
      cursor: pointer;
      display: inline-flex;
      margin-left: 30px;
      opacity: 0.6;

      app-cmf-icon {
        display: inline-flex;
      }
    }
  }

  .filters {
    margin-bottom: 16px;
    font: var(--default-text-font);
    font-size: 13px;
    color: var(--theme-hack-color, rgb(0 0 0 / 54%));

    &__row {
      display: flex;
      align-items: center;
      justify-content: space-between;

      padding-bottom: 8px;

      color: var(--theme-hack-color, rgb(0 0 0 / 80%));

      border-bottom: 2px solid rgb(9 30 66 / 8%);
    }

    &__status {
      text-transform: uppercase;
    }

    &__read-all {
      cursor: pointer;
      padding: 3px;

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

  .list {
    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: center;

    &__missing {
      text-align: center;
      word-wrap: break-word;
    }

    &__end-notify {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;

      width: 100%;
      margin: 0 0 15px;

      span {
        padding-top: 3px;
      }
    }
  }
}

:host ::ng-deep mat-form-field.header__select {
  margin-left: auto;

  .mat-form-field-wrapper {
    padding-bottom: 0 !important;

    .mat-form-field-subscript-wrapper,
    .mat-form-field-underline {
      display: none;
    }
  }

  .mat-form-field-infix {
    width: auto;
    padding: 0 !important;
    border-top: 0 !important;
  }

  .mat-select-value {
    max-width: 100%;
  }

  .mat-select-value-text {
    font: var(--default-text-font);
    font-size: 13px;
    color: var(--theme-hack-color, rgb(0 0 0 / 80%));
  }
}
