body {
  font-family: Arial, sans-serif;
  margin: 0;
}

.chat-button-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
}

.chat-button {
  width: 4em;
  height: 4em;
  background-color: #1977cc;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-family: Arial;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chat-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chat-button svg {
  width: 2em;
  height: 2em;
  fill: currentColor;
  display: block;
  margin: auto;
  vertical-align: middle;
}

.popover-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
}

.popover {
  visibility: visible;
  width: 170px;
  background-color: #fff;
  color: #001219;
  text-align: left;
  border-radius: 4px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 25%;
  right: 70px;
  margin-right: 5px;
  opacity: 1;
  transition: opacity 0.3s;
  border: 1px solid #000;
}

.popover::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent #555 transparent transparent;
  transform: rotate(180deg);
}

.chat-button-popover-close-btn {
  position: absolute;
  top: 5px;
  right: 3px;
  background-color: transparent;
  border: none;
  color: #001219;
  font-size: 16px;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 3px;
  background-color: transparent;
  border: none;
  color: #001219;
  font-size: 16px;
  cursor: pointer;
}

.iframe-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 400px;
  height: 300px;
  display: none;
  z-index: 99998;
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.iframe-container.iframe-maximized {
  width: 100%;
  height: 100vh;
  bottom: 0;
  right: 0;
  left: 0;
  display: none;
  z-index: 99998;
}

@media (max-width: 575.98px) {
  .iframe-container {
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    left: 0;
    overflow: hidden;
    overscroll-behavior: contain;
    touch-action: none;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .iframe-container {
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
    left: 0;
    overflow: hidden;
    overscroll-behavior: contain;
    touch-action: none;
  }
}

