﻿#widget-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background-color: black;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
  font-size: 30px;
  line-height: 50px;
  text-align: center;
}

#widget-button:hover {
  transform: scale(1.1);
}

#chatbot-window {
  position: fixed;
  bottom: 90px;
  right: 40px;
  display: none;
  width: 400px;
  height: 500px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 10000;
}

#chatbot-iframe {
  width: 100%;
  height: calc(100% - 40px);
  border: none;
  margin-top: 40px; /* Adjusted to add margin from the top */
  border-bottom-left-radius: 10px; /* Added rounded corners to the top */
  border-bottom-right-radius: 10px;
}

#menu-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-sizing: border-box;
  color: black;
}

#menu-bar-title {
  font-weight: bold;
  flex-grow: 1;
}

#refresh-button,
#close-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: black;
}

#menu-bar-buttons {
  display: flex;
  align-items: center;
}

#refresh-button {
  margin-right: 10px;
}

#refresh-button:hover,
#close-button:hover {
  background-color: rgba(0, 0, 0, 0.1); /* Add a slight color on hover */
}