:host.touched a {
  background: #f6f8f9;

  .read {
    background: #f6f8f9;
  }
}

.event-item {
  cursor: pointer;

  position: relative;

  display: block;

  width: 100%;
  margin-bottom: 10px;

  background: var(--app-bg-color-l1);
  border-radius: 10px;

  &__container {
    overflow: hidden;
    display: flex;
    padding: 6px 10px 14px;
  }

  &__row {
    display: flex;
    gap: 5px;
    width: 100%;
  }

  .col-1 {
    flex: 0;
    margin-top: 5px;
    margin-right: 8px;
  }

  .col-2 {
    overflow: hidden;
    display: flex;
    flex: 1;
    flex-direction: column;

    margin-top: 5px;
    margin-right: 8px;

    &__header {
      padding-bottom: 9px;
      font-size: 14px;
      font-weight: 500;
      color: var(--color-gray-222);
    }

    .body {
      font-size: 12px;

      &__text {
        font-size: 14px;
        font-weight: 500;
        color: var(--color-gray-222);
        white-space: pre-line;

        &__sfx {
          line-height: 1.5;
          white-space: nowrap;
        }
      }

      &__description {
        display: flex;
        margin-top: 4px;
        margin-left: -1px;
      }

      &__icon {
        display: inline-flex;
        align-self: flex-start;
        margin-right: 3px;

        &-document {
          margin-top: 4px;
        }

        &-task {
          margin-top: 2px;
        }
      }
    }
  }

  .col-3 {
    display: flex;
    flex: 0;
    flex-direction: column;
    margin-top: 5px;

    &__wrapper {
      position: relative;
      display: flex;
      align-items: center;
      align-self: flex-start;
    }

    &__modified {
      padding-right: 20px;
      font-size: 14px;
    }

    &__toggle-read {
      width: 7px;
      height: 7px;
      margin-right: 3px;

      background: #3f82d8;
      border-radius: 20px;

      &::before {
        content: '';

        position: absolute;
        top: 0;
        right: 0;

        width: 22px;
        height: 22px;
        margin-right: -3px;
      }

      &:hover {
        outline: 1px solid var(--color-gray-ddd);
        outline-offset: 6px;
      }
    }

    &__status-name {
      font-size: 14px;
    }
  }

  .text {
    overflow: hidden;

    font-weight: 400;
    color: #60747c;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .comments {
    margin-top: 5px;
  }

  .read {
    visibility: hidden;
    background: var(--color-gray-fff);
    border: none;
    outline: 1px solid var(--color-gray-ddd);
    outline-offset: 6px;

    &:hover {
      outline-offset: 6px;
    }
  }

  &:hover {
    .col-3__toggle-read {
      visibility: visible;
    }
  }
}

:host ::ng-deep {
  .message.notifications {
    font-size: 12px;
    line-height: 1.43;
  }
}
