﻿#chat-widget-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #9a014a;
  color: white;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
}

#chat-box {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 320px;
  max-height: 500px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 0px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 1000;
  overflow: hidden;
  font-family: sans-serif;
}

#chat-header {
  background: #9a014a;
  color: white;
  padding: 10px;
  font-weight: bold;
  text-align: center;
  position: relative;
}

#chat-close-button {
  position: absolute;
  right: 10px;
  top: 6px;
  background: none;
  border: none;
  color: white;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

#chat-log {
  padding: 10px;
  height: 230px;
  overflow-y: auto;
  font-size: 14px;
}

#chat-input {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #ccc;
  padding: 5px;
  gap: 5px;
  background: #f9f9f9;
}

#chat-input select,
#chat-input input {
  flex: 1 1 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 0px;
}

#chat-input input {
  flex: 1 1 auto;
}

#chat-send-button {
  flex: 0 0 auto;
  background: #000;
  color: white;
  border: none;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 0px;
}

.chat-bubble {
  margin-bottom: 10px;
  line-height: 1.4;
}

.chat-user {
  text-align: left;
  font-weight: bold;
}

.bot {
  text-align: left;
}
