/*
 * Copyright 2026 Jeff Bush
 *
 * Licensed 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.
 */

.chat-container {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  border: 1px solid black;
  width: 450px;
  height: 400px;
  overflow: hidden;
}

#message-history {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 5px;
  overflow-y: auto;
  background-color: white;
  gap: 5px;
}

.message {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 15px;
  font-size: 14px;
}

.sent {
  align-self: flex-end;
  background-color: #007bff;
  color: white;
}

.received {
  align-self: flex-start;
  background-color: #e9e9eb;
  color: #333;
}

.chat-input-area {
  display: flex;
  width: 450px;
  margin: 5px;
  background: white;
}

.chat-input-area input {
  flex: 1;
  width: 75%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 15px;
  outline: none;
}

.chat-input-area button {
  width: 75px;
  margin-left: 4px;
  margin-right: 12px;
  background: #007bff;
  color: white;
  border-radius: 15px;
  border: none;
}

.protocol-selector {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}
