/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

:host {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  -webkit-user-select: text;
  user-select: text;
}

.error-message {
  font-family: monaco, serif;
  font-size: 11px;
  font-style: normal;
  font-variant: normal;
  font-weight: 200;
  line-height: 14px;
  color: red;
}

.console-list-container {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  overflow: auto;
  -webkit-user-select: text;
  user-select: text;

  .console-message-entry {
    //border: purple solid;
    width: 100%;

    ::ng-deep .collapse-remove-padding .ant-collapse-header {
      padding: 0 !important;
    }

    .collapse-message-header {
      width: 100%;
      font-family: monaco, serif;
      font-size: 11px;
      font-style: normal;
      font-variant: normal;
      font-weight: bold;
      line-height: 14px;
      white-space: pre-line;
      color: red;
      -webkit-user-select: text;
      user-select: text;
      //border: solid black;
    }

    .console-message {
      width: 100%;
      font-family: monaco, serif;
      font-size: 11px;
      font-style: normal;
      font-variant: normal;
      font-weight: 200;
      line-height: 14px;
      white-space: pre-line;
      -webkit-user-select: text;
      user-select: text;
      cursor: text;
      //border: solid black;
    }

    .worker-tag {
      //width: 100%;
      font-family: monaco, serif;
      font-size: 8px;
      font-style: normal;
      font-variant: normal;
      //border: solid red;
      text-align: end;
    }

    .timestamp-tag {
      //width: 100%;
      font-family: monaco, serif;
      font-size: 8px;
      font-style: normal;
      font-variant: normal;
      //border: solid green;
      text-align: end;
    }

    .source-tag {
      //width: 100%;
      font-family: monaco, serif;
      font-size: 8px;
      font-style: normal;
      font-variant: normal;
      //border: solid #0e5df0;
      text-align: end;
    }
  }
}

.console-input-container {
  flex: 0 0 auto;
  width: 100%;
  margin-top: 8px;
}
