body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  background: #f0fdf4;
  color: #1f2937;
}

header, footer {
  padding: 1rem;
  background: #10b981;
  color: white;
  text-align: center;
}

header img {
  max-width: 150px;
  margin-bottom: 0.5rem;
}

main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
}

#chat-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  background: white;
}

#chat-container {
  flex: 2;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ccc;
  padding: 10px;
}

.chat-header {
  background: #00AEEF;
  color: white;
  padding: 15px;
  text-align: center;
  font-weight: bold;
}

#chat-content {
  flex: 1;
  padding: 10px;
  background: #f9f9f9;
  height: 300px;
  max-height: 300px;
  overflow-y: auto;
  box-sizing: border-box;
}

.chat-input-area {
  padding: 10px;
  border-top: 1px solid #ccc;
  display: flex;
  gap: 10px;
}

#chat-input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.chat-input-area button {
  padding: 8px 16px;
  background: #00AEEF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#chat-guide {
  flex: 1;
  background: #f4f8fb;
  padding: 15px;
  font-size: 14px;
  line-height: 1.6;
}

.section-buttons {
  margin: 1rem 0;
}

.section-button {
  cursor: pointer;
  color: #00AEEF;
  font-weight: bold;
  margin-right: 20px;
  text-decoration: underline;
}

.section-button:hover {
  color: #007fad;
}

.section-content {
  display: none;
  margin-top: 10px;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  position: relative;
}

.hide-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ccc;
  border: none;
  border-radius: 5px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 12px;
}

.provider-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 15px;
  background: #fff;
}

.provider-card img {
  max-width: 80px;
  border-radius: 8px;
}

.provider-info {
  flex: 1;
}

.stars {
  color: #FFD700;
}

.view-all {
  margin-top: 10px;
  text-align: center;
}

.view-all a {
  color: #00AEEF;
  font-weight: bold;
  text-decoration: none;
}

#chat-content .form-container {
  padding: 12px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

#chat-content form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#chat-content .form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#chat-content label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

#chat-content input,
#chat-content textarea {
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  padding: 8px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

#chat-content input:focus,
#chat-content textarea:focus {
  outline: none;
  border-color: #00AEEF;
}

#chat-content textarea {
  min-height: 80px;
  resize: vertical;
}

#chat-content .form-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

#chat-content button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

#chat-content button[type="submit"] {
  background: #00AEEF;
  color: white;
}

#chat-content button[type="button"] {
  background: #e0e0e0;
  color: #333;
}

#chat-content button:hover {
  opacity: 0.9;
}

#chat-content button:disabled {
  background: #b0b0b0;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  #chat-wrapper {
    flex-direction: column;
  }
  #chat-container {
    width: 100%;
    min-height: 340px;
  }
  #chat-content {
    height: 300px;
    max-height: 300px;
  }
  #chat-guide {
    width: 100%;
    margin-top: 10px;
  }
  #chat-content .form-container {
    padding: 10px;
  }
  #chat-content input,
  #chat-content textarea {
    font-size: 13px;
    padding: 7px;
  }
  #chat-content label,
  #chat-content ul li {
    font-size: 13px;
  }
  #chat-content button {
    padding: 7px 14px;
    font-size: 13px;
  }
}