* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #0F033C;
}

#chat-container {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 600px;
  height: 100%;
  text-align: center;
  margin-top: 50px;
}

.chat-container {
  display: flex;
  flex-grow: 1; 
  flex-direction: column;
  overflow-y: auto;
  height: 100%; 
  margin-top: auto; 
}

#input-container {
  position: sticky; /* Changed to sticky */
  top: 100px; /* Adjust this value according to your preference */
  width: 100%;
  padding: 20px;
  background-color: #0F033C;
  box-shadow: 0px 2px 5px #002DFF;
  display: flex;
  justify-content: space-between;
  align-self: flex-end;
  align-items: center;
}

#input-container textarea {
  width: 70%;
  padding: 10px;
  border: none;
  border-bottom: 2px solid #ccc;
  font-size: 16px;
  background-color: #0F033C;
  margin-right: 10px;
  color: white;
  justify-content: space-between;
  align-self: flex-end;
  align-items: center;
  top: 10px;
}

.send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #0F033C; /* Change background color to background */
  border: none;
  box-shadow: none; /* Add this line to remove the shadow */
  display: flex;
  justify-content: center;
  align-items: center;
}

.send-btn:hover {
  background-color: #0F033C;
  cursor: pointer !important;
}

.send-btn:active {
  background-color: #0F033C;
}

.send-logo {
  width: 25px;
  height: 25px;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

.rotate {
  animation: rotation 2s linear infinite;
}

.icon-paper-plane:before {
  content: '\f1d8';
  font-family: 'FontAwesome';
  font-size: 20px;
  color: white;
}

.chat-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
}

#messages {  
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 10px;
  background-color: #0F033C;
  box-shadow: 0px 2px 5px #002DFF;
  color: white;
}
.message {
  background-color: #0F033C;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  color: white;
  white-space: pre-wrap;
  word-wrap: break-word; 
  word-break: break-word;
  font-family: Arial, sans-serif;
}

.code-block {
  background-color: #f0f0f0; 
  border: 1px solid #ccc;
  padding: 10px; 
  margin: 10px 0; 
  white-space: pre-wrap; 
}

#message-input {
  width: 70%;
  padding: 10px;
  border: none;
  border-bottom: 2px solid #ccc;
  font-size: 16px;
  background-color: #0F033C;
  margin-right: 10px;
  color: #fff;
  font-family: Arial, sans-serif;
}

#message-input::placeholder {
  color: #ccc;
  font-family: Arial, sans-serif;
}
.user-message {
  text-align: left;
}

.question-message {
  text-align: left;
  background-color: #0F033C;
  color: white;
}

.bot-message {
  text-align: left;
  background-color: #002DFF;
  padding: 10px;
  border-radius: 10px;
  color: white;
  display: flex; 
  flex-direction: column; 
}

.code {
  font-family: monospace;
  font-size: 14px;
  color: white;
  background-color: transparent;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  margin-top: 20px;
}

.logo-container img {
  max-width: 50%;
  height: auto;
}

.feedback {
  display: flex;
  justify-content: center;
}

.feedback-button {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff;
  color: #000;
  margin: 0 2px;
  border: none;
  font-size: 12px;
  cursor: pointer;
}

.feedback {
  display: flex;
  justify-content: flex-end; 
  align-items: center;
}

.feedback-button {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff;
  color: #000;
  margin: 0 3px;
  border: none;
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0; 
}

.feedback-button.clicked {
  background-color: #000;
  color: white;
}

.feedback-button:hover {
  background-color: #000;
  color: #fff;
}

