/* Base reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Inter', sans-serif; /* ChatGPT uses a clean sans-serif font */
  background-color: #221155; /* Dark background */
  color: #d1d5db; /* Light text */
  line-height: 1.5;
  font-size: 16px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 70vh;
}


.header {
  background-color: #331177; /* Slightly lighter than the background */
  padding: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  color: #ffffff;
}

.subtitle{
  color: #aa99cc;
}

.header h1 {
  font-size: 20px;
  font-weight: 600;
}

.header button {
  background-color: #5544AA; /* ChatGPT's signature green */
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
}

.header button:hover {
  background-color: #7755ee;
}

.chat-window {
  flex: 1;
  background-color: #331177; /* Slightly lighter than the background */
  padding: 15px;
  border-radius: 8px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.message.user {
  justify-content: flex-end;
}

.message .bubble {
  max-width: 75%;
  padding: 10px 15px;
  border-radius: 15px;
  font-size: 15px;
}

.message.user .bubble {
  color: white;
  background-color: #5544bb; /* ChatGPT's signature green */
  border-radius: 15px 15px 0 15px;
}

.message.bot .bubble {
  background-color: #8866dd; /* ChatGPT's signature green */
  color: #ffffff;
  border-radius: 15px 15px 15px 0;
}

.footer {
  display: flex;
  gap: 10px;
  padding: 15px;
  background-color: #442288; /* Slightly lighter than the background */
  border-radius: 8px;
}

.footer input[type="text"] {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  background-color: #331177; /* Slightly lighter than the background */
  color: #d1d5db;
}

.footer input[type="text"]:focus {
  outline: 2px solid #7755ee;
}

.footer button {
  background-color: #5544AA; /* ChatGPT's signature green */
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
}

.footer button:hover {
  background-color: #7755ee;
}
