/* ai-chat.css */

#ai-chat-container {
  position: fixed;
  bottom: 140px;
  right: 20px;
  width: 350px;
  height: 465px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  z-index: 9998;
}

#ai-chat-box {
  padding: 0px;
    height: 375px;
    overflow-y: scroll;
    margin-bottom: 5px;
}

.chat-input-container {
  display: flex;
    align-items: center;
    margin-top: 5px;
}

#ai-chat-input {
  flex: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    color: #333;
    border-radius: 4px;
    margin-right: 5px;
}

#ai-chat-send {
  padding: 10px 15px;
    font-size: 18px;
    background-color: #0073aa;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-response,
.ai-response.greeting {
  background-color: #e9f2ff;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #bdd1f2;
    border-radius: 5px;
    max-width: 80%;
    text-align: left;
    margin-right: auto;
    clear: both;
}

.ai-response.greeting {
  font-family: Arial, sans-serif;
    font-size: 14px;
    margin: 10px 0;
}

.ai-response.greeting p {
  margin: 0;
}

.ai-response a {
  color: #003366 !important;
    font-weight: bold;
    text-decoration: underline;
}

.ai-response a:hover {
  color: #0056b3;
}

.user-message {
  background-color: #f9f9f9;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    font-size: 16px;
    max-width: 80%;
    text-align: right;
    margin-left: auto;
    clear: both;
}

.quick-options {
  margin-top: 10px;
    text-align: center;
}

.quick-options button.quick-option,
#continue-button.quick-option {
  padding: 2px 16px;
    font-size: 14px;
    background-color: #0073aa;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 20px;
    margin-bottom: 5px;
}

#ai-chat-icon {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 140px;
  height: 50px;
  background-color: #0073aa;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 0 10px 2px white;
  border-radius: 50px;
  transition: left 0.1s ease, top 0.1s ease;
}

.manager-assistance {
  background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
}

.manager-assistance button.request-manager {
  padding: 8px 16px;
    font-size: 14px;
    background-color: #0073aa;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 5px;
}

.chat-icon-container {
  display: flex;
    align-items: center;
}

.chat-text {
  margin-left: 8px;
}

.chat-icon-svg {
  width: 24px;
    height: 24px;
}

.chat-icon-text {
  margin-left: 8px;
    font-size: 14px;
}

.chat-close-button {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  color: #555;
}

#ai-chat-box {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

#ai-chat-box::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}
