body {
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f7fa;
  color: #333;
}

.header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background-color: #001f3f;
  color: white;
}

.header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.logo {
  height: 40px;
  width: 40px;
}

#progress-section,
#metrics-section,
#chart-section,
#calculators-section,
#chat-section {
  padding: 16px;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background-color: #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #00aaff;
  width: 0%;
  transition: width 0.5s ease;
}

.metrics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.metric-card {
  flex: 1 1 30%;
  background-color: white;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  min-width: 150px;
}

.metric-card h3 {
  margin-top: 0;
}

.metric-value {
  font-size: 1.2rem;
  font-weight: bold;
}

.calc-box {
  margin-bottom: 16px;
}

.calc-box input {
  padding: 8px;
  font-size: 1rem;
  width: calc(100% - 90px);
  margin-right: 8px;
}

.calc-box button {
  padding: 8px 12px;
  font-size: 1rem;
  background-color: #0070f3;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#chat-section {
  display: flex;
  flex-direction: column;
}

#chat {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  height: 200px;
  overflow-y: auto;
  margin-bottom: 8px;
}

#chat .user {
  text-align: right;
  margin: 4px 0;
}

#chat .assistant {
  text-align: left;
  margin: 4px 0;
}

#input-container {
  display: flex;
  gap: 8px;
}

#input-container input[type="text"] {
  flex: 1;
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#input-container button {
  padding: 8px 16px;
  font-size: 1rem;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}