body {
  margin: 0;
  padding: 0;
  background-color: #1E1E1E;
  color: #D4D4D4;
  font-family: 'Courier New', Courier, monospace;
}

#editor {
  display: flex;
}

#left-panel {
  width: 200px;
  background-color: #252526;
  padding: 20px;
}

#main-panel {
  flex: 1;
}

#tab-bar {
  background-color: #333;
  padding: 10px;
}

#content-area {
  padding: 20px;
  background-color: #1E1E1E;
  color: #D4D4D4;
  height: calc(100vh - 50px);
  overflow-y: auto;
}

#code-editor {
  background-color: #1E1E1E;
  padding: 20px;
  overflow-y: auto;
  height: calc(100vh - 50px);
  white-space: pre;
  font-size: 20px;
}

.tab {
  cursor: pointer;
  padding: 10px;
  display: inline-block;
}

.active-tab {
  background-color: #333;
  border: 1px solid #444;
  border-bottom: none;
}

.comment {
  color: #6A9955;
}

#translate-buttons {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
}

.translate-button {
  margin-left: 5px;
  background-color: #252526;
  border: 1px solid #333;
  color: #D4D4D4;
  padding: 5px 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.translate-button:hover {
  background-color: #333;
}

a {
 color: chartreuse;
}
a:visited {
  color: #6A9955;
}

/* Compact form style */
form {
  color: #D4D4D4;
  font-family: 'Courier New', Courier, monospace;
  margin-top: 10px;
  max-width: 400px;  /* Limit the width of the form */
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  background-color: #252526;  /* Background color to match the theme */
  border: 1px solid #333;  /* Add a border around the form */
  border-radius: 5px;  /* Slight rounding of corners */
}

label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;  /* Smaller font size for labels */
}

input[type="text"], input[type="email"], textarea {
  width: 100%;  /* Ensure inputs take up full width within form */
  background-color: #1E1E1E;
  border: 1px solid #444;  /* Subtle border */
  color: #D4D4D4;
  padding: 8px;  /* Reduce padding for a more compact look */
  margin-bottom: 10px;  /* Reduce space between inputs */
  font-size: 14px;  /* Smaller font size */
  border-radius: 3px;  /* Slight rounding of input corners */
  box-sizing: border-box;  /* Ensure padding doesn't affect width */
  margin-left: auto;
  margin-right: auto;
}

textarea {
  resize: vertical;  /* Allow resizing only vertically */
  height: 80px;  /* Initial height of the textarea */
}

button[type="submit"] {
  background-color: #333;
  color: #D4D4D4;
  border: 1px solid #444;
  padding: 8px 20px;  /* Reduce padding */
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 14px;  /* Match button font size to inputs */
  display: block;
  width: 100%;  /* Make the button full width */
  border-radius: 3px;  /* Slight rounding of button corners */
}

button[type="submit"]:hover {
  background-color: #555;
}
