.chat-widget {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 355px;
  height: 0;
  opacity: 0;
  overflow: hidden;
  background-color: #fff;
  /* border-top-left-radius: 8px; */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition:
    height 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

.chat-widget--open {
  height: 600px;
  opacity: 1;
  transform: translateY(0);
}

.chat-widget--minimized {
  height: 40px;
  opacity: 1;
  width: 355px;
  transform: translateY(0);
}

.chat-widget__header {
  background: rgb(0, 160, 0);
  color: white;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
  box-sizing: border-box;
}

.chat-widget__controls button {
  background: transparent;
  border: none;
  color: white;
  font-size: 22px !important;
  margin-left: 4px;
  cursor: pointer;
}

.chat-widget__content {
  flex: 1;
  height: 100%;
  padding: 1rem;
  background: rgb(0, 160, 0);
  overflow: auto;
}

.chat-widget--minimized .chat-widget__content {
  
}
