body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f7f9;
  color: #333;
  margin: 0;
  padding: 2em;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

h1 {
  font-size: 1.6em;
  margin-bottom: 1em;
  color: #5a9e26;
}

h2 {
  font-size: 1.1em;
  margin: 1em 0 0.6em;
}

input[type="file"] {
  width: 100%;
  padding: 1em;
  border: 2px solid #999;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.3s;
  margin-bottom: 1em;
}

input[type="file"]:hover {
  border-color: #5a9e26;
}

label {
  display: block;
  text-align: left;
  margin-top: 0.1em;
  margin-bottom: 0.6em;
  font-size: 15px;
}

input:not([type="file"]),
select {
  width: 100%;
  padding: 0.6em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

button {
  background: #ff8c00;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.6em 1em;
  cursor: pointer;
  margin-top: 1em;
}

button:hover {
  background: #e67e00;
}

#statusMessage {
  margin-top: 0.8em;
  font-style: italic;
}

#output {
  width: 100%;
  min-height: 220px;
  border: 2px solid #ccc;
  border-radius: 6px;
  padding: 1em;
  margin-top: 0.5em;
  margin-bottom: 2.5em;
  background: #fff;
  resize: vertical;
  font-family: 'Courier New', monospace;
  line-height: 1.4;
}

.find-replace {
  text-align: left;
  background: #fff;
  padding: 1em;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 2em;
}

.find-replace button {
  margin-top: 0.2em;
}

.helper-text {
  margin-top: 0.4em;
  color: #555;
  font-size: 0.9em;
}
