/**
 * 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.
 */

.extra-width {
  width: 110px;
}

.role {
  border-radius: 50px;
  color: white;
  display: block;
  width: 86px;
  text-align: center;
}

.c0 {
  background-color: lightskyblue;
}

.c1 {
  background-color: lightseagreen;
}

.c2 {
  background-color: lightcoral;
}

.c3 {
  background-color: lightslategray;
}

.search-box {
  padding: 8px;
}

.search-box input {
  width: 188px;
  margin-bottom: 8px;
  display: block;
}

.search-box button {
  width: 90px;
}

.search-button {
  margin-right: 8px;
}

.container {
  cursor: pointer;
  min-height: 1.5em;
}

.limited-comment {
  max-width: 250px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  white-space: normal;
}

:host ::ng-deep .user-avatar {
  display: inline-block;
  border: 2.5px solid #ccc;
  border-radius: 50%;
  padding: 2px;
  transition: border-color 0.2s ease;
}

:host ::ng-deep .user-avatar.active {
  border-color: #4caf50;
}
