@import url("https://fonts.googleapis.com/css2?family=Prompt&display=swap");

body {
  margin: 0;
  font-family: 'Prompt', sans-serif;
  background: #f0f2f5;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.lg-container {
  position: relative;
  max-width: 640px;
  flex: 1 1 300px;
}

.lg-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.lg-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
}

.lg-hotspot__button {
  width: 20px;
  height: 20px;
  background-color: #ffc107;
  border: 2px solid #ff5722;
  border-radius: 50%;
  cursor: pointer;
}

.lg-hotspot__label {
  display: none;
  background: white;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 10;
  width: 200px;
  font-size: 14px;
}

.lg-hotspot--selected .lg-hotspot__label {
  display: block;
}

.chat-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 350px;
  height: 500px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  flex: 1 1 300px;
}

.chat-header {
  background: linear-gradient(135deg, #4fc3f7, #1976d2);
  color: white;
  padding: 16px;
  font-size: 18px;
  text-align: center;
  font-weight: bold;
}

.chat-box {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  font-size: 14px;
  background: #f9f9f9;
}

#chat-input {
  border: none;
  border-top: 1px solid #ddd;
  padding: 12px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
}

.message {
  margin: 8px 0;
  padding: 8px 12px;
  border-radius: 16px;
  max-width: 80%;
  word-wrap: break-word;
  line-height: 1.4;
}

.message.user {
  background-color: #e1f5fe;
  align-self: flex-end;
  text-align: right;
}

.message.bot {
  background-color: #e8f0fe;
  align-self: flex-start;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
}
