/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;  /* Clear, readable font */
  background-color: #f4f7fa;  /* Light background */
  color: #333;  /* Dark text for readability */
  line-height: 1.6;
  padding: 20px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

h2 {
  font-size: 1.75rem;
  margin-top: 20px;
  color: #333;
}

form {
  margin-bottom: 20px;
}

input[type="text"] {
  width: 80%;
  padding: 12px;
  font-size: 1rem;
  margin-bottom: 15px;
  border: 2px solid #ccc;
  border-radius: 5px;
  transition: border 0.3s;
}

input[type="text"]:focus {
  border-color: #4CAF50; /* Green border on focus */
  outline: none;
}

button {
  padding: 12px 22px;
  font-size: 1.2rem;
  background-color: #4CAF50;  /* Green background */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:disabled {
  background-color: #ccc; /* Gray out the button when disabled */
  cursor: not-allowed;
}

#output {
  background: #fff;
  padding: 20px;
  height: 74vh;
  overflow-y: auto;
  border: 2px solid #ccc;
  border-radius: 5px;
  margin-top: 15px;
  font-family: 'Courier New', monospace;
  white-space: pre-wrap;  /* Preserve whitespace formatting */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.status {
  font-size: 1.2rem;
  margin-top: 20px;
  color: #4CAF50;
}

.error {
  font-size: 1.2rem;
  margin-top: 20px;
  color: #f44336; /* Red for errors */
}
