body {
  font-family: system-ui, sans-serif;
  background: #f7f7f7;
  margin: 0;
  padding: 40px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

h1 {
  margin-top: 0;
  font-size: 28px;
}

.subtitle {
  color: #666;
  margin-bottom: 20px;
}

textarea {
  width: 100%;
  height: 120px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
  resize: vertical;
}

.options {
  margin-top: 15px;
  display: grid;
  gap: 8px;
}

.options label {
  font-size: 15px;
  cursor: pointer;
}

button {
  margin-top: 20px;
  padding: 12px 18px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #0078ff;
  color: white;
  transition: 0.2s;
}

button:hover {
  background: #005fcc;
}

.outputs {
  margin-top: 25px;
  display: grid;
  gap: 18px;
}

.output-group {
  display: grid;
  gap: 6px;
}

.output-label {
  font-size: 14px;
  font-weight: 600;
  color: #444;
}

.output-item {
  padding: 12px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: monospace;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.output-item:hover {
  background: #eef4ff;
  border-color: #99b7ff;
}

.output-item.copied {
  background: #d4ffd9;
  border-color: #4caf50;
}

/* Footer stays at bottom */
footer {
  margin-top: auto;
  padding: 20px 0;
  text-align: center;
  color: #555;
  font-size: 14px;
}

footer a {
  color: #0078ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.share-result {
  margin-left: 8px;
  color: #0078ff;
  font-weight: 600;
}

.hidden {
  display: none;
}
