* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Courier New', monospace;
  background-color: #f5f5f5;
}

.header-bar {
  background-color: #333;
  color: white;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.header-bar .label {
  font-weight: bold;
}

#filePath {
  background: #444;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 3px;
  font-family: inherit;
  width: 200px;
}

#settingsToggle {
  background: #007bff;
  color: white;
  border: none;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 3px;
  font-size: 14px;
}

#settingsToggle:hover {
  background: #0056b3;
}

#codeStyle {
  background: #444;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 3px;
  font-family: inherit;
}

.code-area {
  width: 100%;
  height: calc(100vh - 50px);
  background-color: #fff;
  padding: 10px;
  font-family: 'Courier New', monospace;
  font-size: 16px;
  line-height: 1.5;
  overflow-y: scroll;
  white-space: pre;
  resize: none;
  border: 1px solid #ddd;
}

#popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #333;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
}

#popup.hidden {
  display: none;
}

#settings {
  position: fixed;
  top: 50px;
  right: 20px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
}

#settings.hidden {
  display: none;
}