

.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.slider-btn {
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 20px;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 1;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.slider-btn.left {
  margin-right: 8px;
}

.slider-btn.right {
  margin-left: 8px;
}


.image-slider {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px 0;
  scroll-behavior: smooth;
}

.image-slider img {
  max-width: 200px;
  height: auto;
  border-radius: 6px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f2f2f2;
  margin: 0;
  padding: 0;
}

.chat-container {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.chat-box {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  padding: 10px;
  background: #fafafa;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.chat-message {
  padding: 8px 12px;
  margin-bottom: 10px;
  border-radius: 12px;
  max-width: 80%;
  word-wrap: break-word;
  white-space: pre-wrap;
  display: inline-block;
}

.chat-message.user {
  background: #d0eaff;
  align-self: flex-end;
  text-align: right;
  margin-left: auto;
}

.chat-message.ai {
  background: #e8f8ea;
  align-self: flex-start;
  text-align: left;
  margin-right: auto;
}

.chat-message.typing {
  font-style: italic;
  opacity: 0.7;
}

#chat-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#chat-form input[type="text"] {
  padding: 10px;
  font-size: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

#chat-form button {
  padding: 10px;
  background: #1a73e8;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#chat-form button:hover {
  background: #0d5ed7;
}

.chat-feedback {
  text-align: center;
  margin-top: 12px;
}

.chat-feedback button {
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
  margin: 0 4px;
  transition: transform 0.2s ease;
}

.chat-feedback button:hover {
  transform: scale(1.2);
}

@media (max-width: 600px) {
  .chat-container {
    max-width: 100%;
    border-radius: 0;
    padding: 8px;
  }
  .chat-box {
    max-height: 250px;
    padding: 6px;
  }
  .chat-message {
    font-size: 15px;
    padding: 7px 8px;
  }
  #chat-form input[type="text"] {
    font-size: 15px;
    padding: 8px;
  }
  #chat-form button {
    padding: 8px;
    font-size: 15px;
  }
}