<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="styles.css">
  <title>Physician Notes to CPT Codes</title>
</head>
<body>
  <div class="container">
    <h1>Physician Notes to CPT Codes</h1>
    <div class="input-area">
      <label for="physicianNotes">Enter physician notes:</label>
      <textarea id="physicianNotes" placeholder="Type physician notes here..."></textarea>
    </div>
    <button id="convertBtn">Convert to CPT Codes</button>
    <div id="output">
      <h2>CPT Codes:</h2>
      <p id="cptCodes"></p>
    </div>
  </div>
  <script src="script.js"></script>
</body>
</html>
body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #f0f0f0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  max-width: 800px;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.input-area {
  margin-bottom: 1rem;
}

label {
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

textarea {
  width: 100%;
  min-height: 200px;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box; /* Added to fix the input box issue */
}

button {
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0056b3;
}

#output {
  margin-top: 2rem;
}

#output h2 {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.