/* main.css */
/* Version: 0.7.4.w2 */

body {
  font-family: 'Roboto', 'Helvetica', Arial, sans-serif;
  font-weight: 400; /* Changed from 400 Normal weight */
  margin: 0;
  padding: 0;
  display: none; /* Hide by default, show when ready */
  color: #333; /* Slightly softer than pure black */
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 80px;
  margin-right: 10px;
}

.header-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-text h2, .header-text h3 {
  margin: 0;
}

.header-text h2 {
  font-size: 24px;
  font-weight: bold;
}

.header-text h3 {
  font-size: 18px;
  font-weight: normal;
}

.user-info {
  display: flex;
  align-items: center;
  margin-left: auto;
}

main {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 100px); /* Adjust based on your header height */
  padding: 0;
}

#button-container {
  position: absolute;
  top: 20px;
  right: 20px;
}

#response-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}

#api-response {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  white-space: pre-wrap;
  text-align: left;
  font-size: 16px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
} 

#api-response p {
  margin-bottom: 15px;
} 

#question-input {
  flex-grow: 1;
  margin-right: 10px;
  resize: none;
  overflow: hidden;
  padding: 15px;
  font-size: 16px; /* Original size */
  border: 1px solid #555;
  border-radius: 4px;
}

.send-hint {
  font-size: 12px;
  margin-left: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spin {
  animation: spin 1s linear infinite;
}