.chat-container {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 600px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.chat-header {
  padding: 15px;
  background-color: #4a90e2;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.new-chat-btn {
  background-color: white;
  color: #4a90e2;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.chat-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background-color: #f9f9f9;
}

.welcome-message {
  text-align: center;
  padding: 20px;
  color: #666;
}

.welcome-message h3 {
  color: #4a90e2;
}

.message {
  margin-bottom: 15px;
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 18px;
  position: relative;
  word-wrap: break-word;
}

.message.user {
  background-color: #e3f2fd;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.message.bot {
  background-color: #f1f0f0;
  margin-right: auto;
  border-bottom-left-radius: 4px;
}

.sources {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #666;
}

.sources ul {
  margin: 5px 0 0 0;
  padding-left: 20px;
}

.loading-indicator {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background-color: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  margin: 10px 0;
}

.progress {
  height: 100%;
  background-color: #4a90e2;
  transition: width 0.3s ease;
}

.progress-bar span {
  position: absolute;
  right: 5px;
  top: -5px;
  font-size: 0.7rem;
  color: #666;
}

.chat-input {
  display: flex;
  padding: 15px;
  border-top: 1px solid #ddd;
  background-color: white;
}

.chat-input input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  margin-right: 10px;
  outline: none;
}

.chat-input button {
  background-color: #4a90e2;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
}

.chat-input button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.conversation-info {
  padding: 5px 15px;
  background-color: #f5f5f5;
  border-top: 1px solid #eee;
  color: #999;
  font-size: 0.8rem;
  text-align: center;
}

.agent-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0;
}

.agent-status {
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.agent-status.pending {
  background-color: #f0f0f0;
  color: #666;
}

.agent-status.running {
  background-color: #fff8e1;
  color: #ff9800;
}

.agent-status.completed {
  background-color: #e8f5e9;
  color: #4caf50;
}

.agent-status.failed {
  background-color: #ffebee;
  color: #f44336;
}

.agent-name {
  font-weight: bold;
}

.agent-status-label {
  font-size: 0.7rem;
  text-transform: uppercase;
}

/* Meeting form styles */
.meeting-form-wrapper {
  margin: 20px 0;
  padding: 20px;
  background-color: #f5f8ff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.meeting-form-container {
  width: 100%;
}

.meeting-form-container h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 1.4rem;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #34495e;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.cancel-btn {
  padding: 8px 16px;
  background-color: #e74c3c;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.submit-btn {
  padding: 8px 16px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.cancel-btn:hover {
  background-color: #c0392b;
}

.submit-btn:hover {
  background-color: #2980b9;
}
