/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.asc-chat-widget-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #0073aa;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 9998;
  font-size: 24px;
}

.asc-chat-window {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 350px;
  height: 500px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none; /* Hidden by default */
  flex-direction: column;
  z-index: 9999;
}

.asc-chat-window.asc-active {
  display: flex;
}

.asc-chat-header {
  background-color: #0073aa;
  color: white;
  padding: 15px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-weight: bold;
}

.asc-chat-body {
  flex-grow: 1;
  padding: 15px;
  overflow-y: auto;
}

.asc-chat-footer {
  padding: 15px;
  border-top: 1px solid #eee;
}

.asc-chat-footer textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  box-sizing: border-box;
  resize: none;
}

.asc-chat-message {
  margin-bottom: 15px;
  max-width: 80%;
  clear: both;
}

.asc-chat-message p {
  margin: 0;
  padding: 10px 15px;
  border-radius: 18px;
  word-wrap: break-word;
}

.asc-message-user {
  float: right;
}
.asc-message-user p {
  background-color: #0073aa;
  color: white;
}

.asc-message-agent {
  float: left;
}

