* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

@font-face {
  font-family: "Inter";
  src: url("https://db.onlinewebfonts.com/t/120e0ce82c6e82ef6e31c808ae2ebf22.eot");
  src:
    url("https://db.onlinewebfonts.com/t/120e0ce82c6e82ef6e31c808ae2ebf22.eot?#iefix")
      format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/120e0ce82c6e82ef6e31c808ae2ebf22.woff2")
      format("woff2"),
    url("https://db.onlinewebfonts.com/t/120e0ce82c6e82ef6e31c808ae2ebf22.woff")
      format("woff"),
    url("https://db.onlinewebfonts.com/t/120e0ce82c6e82ef6e31c808ae2ebf22.ttf")
      format("truetype"),
    url("https://db.onlinewebfonts.com/t/120e0ce82c6e82ef6e31c808ae2ebf22.svg#Inter")
      format("svg");
}

.main-container {
  background-color: white;
  border-radius: 16px;
  padding: 24px 0px 24px 0px;

  width: 400px;
}

.main-area {
  background-color: black;

  width: 100%;
  height: 100vh;
}

.header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e1e4ea;
  padding: 0px 16px 16px 16px;
  align-items: center;
}

.logo-container {
  width: 40px;
  height: 40px;
}
.logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-content {
  display: flex;
  gap: 8px;
  align-items: center;
}

h1 {
  font-size: 16px;
  font-weight: 600;
}

.header-button {
  display: flex;
  background-color: #99a0ae29;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  width: 24px;
  height: 24px;
  border: none;
}

.header-icon-btn {
  width: 10px;
}

.chat-area {
  padding: 16px;
}
/* Make the chat float in the bottom-right corner */
.main-container {
  position: fixed;       /* Fix it to the viewport */
  bottom: 24px;          /* Distance from bottom */
  right: 24px;           /* Distance from right */
  z-index: 9999;         /* Make sure it floats on top */
  width: 400px;
  max-height: 80vh;      /* Prevent it from overflowing */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25); /* subtle shadow */
}

/* Chat scrollable area */
.chat-area {
  padding: 16px;
  flex: 1;               /* Take remaining space */
  overflow-y: auto;      /* Scroll if content exceeds height */
}

/* Optional: rounded corners and shadow for inner scrollable area */
.main-container {
  border-radius: 16px;
  background-color: white;
}

/* Optional: make header sticky */
.header {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 10;
}
