* {
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  margin: 0;
  background: #0a0a0a;
  color: #eee;
}

.container {
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

h1 {
  font-size: 2.2rem;
}

h1 span {
  color: #777;
}

.tagline {
  color: #aaa;
  margin-bottom: 20px;
}

label {
  font-size: 0.9rem;
  margin-top: 16px;
  display: block;
}

textarea {
  width: 100%;
  min-height: 140px;
  margin-top: 6px;
  padding: 10px;
  background: #111;
  border: 1px solid #333;
  color: #eee;
  border-radius: 8px;
  resize: vertical;
}

.controls {
  display: flex;
  gap: 20px;
  margin: 16px 0;
  flex-wrap: wrap;
}

input[type="range"],
select {
  width: 100%;
  margin-top: 6px;
}

button {
  background: #fff;
  color: #000;
  border: none;
  padding: 10px 16px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  margin: 10px 0;
}

button:hover {
  background: #ddd;
}

/* ===== Output + Copy ===== */
.output-wrapper {
  position: relative;
}

#copyBtn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #222;
  color: #eee;
  border: 1px solid #444;
  padding: 6px 10px;
  font-size: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
}

#copyBtn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

#copyBtn:hover:not(:disabled) {
  background: #333;
}

/* ===== History ===== */
#historySection {
  margin-top: 30px;
}

#historySection h3 {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 10px;
}

#historyList {
  list-style: none;
  padding: 0;
  margin: 0;
}

#historyList li {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
  cursor: pointer;
}

#historyList li:hover {
  background: #1a1a1a;
}

.history-en {
  font-size: 0.75rem;
  color: #888;
}

.history-es {
  margin-top: 4px;
}

footer {
  margin-top: 40px;
  font-size: 0.8rem;
  color: #666;
}
/* ===== Presets ===== */
.presets {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 20px;
}

.presets button {
  background: #111;
  color: #eee;
  border: 1px solid #333;
  padding: 6px 10px;
  font-size: 0.8rem;
  border-radius: 999px;
  cursor: pointer;
}

.presets button:hover {
  background: #1a1a1a;
}

.presets button.active {
  background: #fff;
  color: #000;
}

