body {
  font-family: Arial, sans-serif;
  background: url('/static/background.jpg') no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
}

/*.container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  height: 100vh;
}*/
.container {
  display: flex;
  height: calc(100vh - 100px); /* adjust height to leave top/bottom space */
  padding-top: 50px; /* space at top */
  padding-bottom: 50px; /* space at bottom */
  gap: 20px;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}
/* Left Panel */
.left-section {
  flex: 1;
  background: transparent;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 300px;
  height: auto;
  margin-bottom: 20px;
}

.system-name {
  color: white;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 2px;
  text-align: center;
}

.system-description {
  text-align: left;
  font-size: 16px;
  color: white;
}

/* Right Panel */
.right-section {
  flex: 2;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

/* Chat Container */
.chat-container {
  flex: 1;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.chat-history {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  max-height: calc(100vh - 160px);
}

/* Messages */
.message {
  padding: 10px 15px;
  border-radius: 15px;
  margin-bottom: 10px;
  max-width: 75%;
  line-height: 1.4;
  font-size: 15px;
}

/* User message */
.user-message {
  background: #e0e0e0;
  align-self: flex-end;
  margin-left: auto;
}

/* AI message */
.ai-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.ai-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
}

.ai-message {
  background: #ffffff;
  color: #014234;
  align-self: flex-start;
  margin-right: auto;
  padding-top: 50px;
}

/* Input Form */
#chat-form {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
}

#user-input {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  margin-left: 10px;
  border: none;
  background: #028B6D;
  color: white;
  border-radius: 10px;
  cursor: pointer;
}

/* Timing Info */
.timing-info {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  margin-left: 40px;
}
