* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: sans-serif;
  background: #fafafa;
  color: #222;
  padding: 20px;
}
header {
  text-align: center;
  margin-bottom: 30px;
}
header h1 {
  font-size: 2rem;
  font-weight: 600;
}
.main-wrapper {
  max-width: 800px;
  margin: auto;
}
p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: #444;
}
#controls {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}
#fileInput {
  display: none;
}
.file-label {
  display: block;
  background: #0078d7;
  color: white;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 15px;
}
.file-label:hover {
  background: #005fa3;
}
.slider-group {
  margin-top: 15px;
}
.slider-group label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-weight: 500;
}
input[type="range"] {
  width: 100%;
}
h2 {
  margin-bottom: 10px;
}
#output {
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 15px;
  font-family: monospace;
  font-size: 8px;
  line-height: 0.8;
  white-space: pre;
  overflow: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
}
footer {
  text-align: center;
  margin-top: 40px;
  color: #777;
  font-size: 14px;
}