/* /style/reverse_text_generator.css */

.reverse-text-generator-page {
  max-width: 840px;
  margin: 40px auto;
  padding: 24px;
  font-family: 'Segoe UI', sans-serif;
  background-color: #1e1e1e;
  color: #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.reverse-text-generator-page h1 {
  font-size: 2em;
  text-align: center;
  margin-bottom: 32px;
  color: #ffffff;
}

/* Slightly increase spacing between all control groups */
.controls .control-group {
  margin-bottom: 24px;
}

label {
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
  color: #cccccc;
}

textarea {
  width: 100%;
  height: 140px;
  resize: vertical;
  font-size: 1em;
  padding: 12px;
  background-color: #2a2a2a;
  color: #f8f8f8;
  border: 1px solid #444;
  border-radius: 6px;
  line-height: 1.5;
}

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9em;
  color: #999;
  margin-top: -10px;
  margin-bottom: 20px;
}

/* Options layout */
.options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.options label {
  font-weight: normal;
  cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
  margin-right: 6px;
}

/* Select dropdown */
select {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  background-color: #2a2a2a;
  color: #f0f0f0;
  border: 1px solid #444;
  border-radius: 6px;
}

/* Buttons in action area */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.actions button {
  background-color: #333;
  color: #fff;
  padding: 10px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 0.95em;
}

.actions button:hover {
  background-color: #444;
}
/* Live toggle gets its own spacing */
.live-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95em;
  background-color: #333;
  padding: 10px 14px;
  border-radius: 6px;
  width: fit-content;
  cursor: pointer;
  transition: background 0.2s ease;
}

.live-toggle:hover {
  background-color: #444;
}

.live-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Output area */
#outputText[readonly] {
  background-color: #242424;
  border-color: #444;
  color: #aaffaa;
}

/* Mobile-friendly layout */
@media (max-width: 600px) {

  .live-toggle {
    width: 100%;
    justify-content: center;
  }
}

/* Make select dropdown consistent */
select#unicodeStyle {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  background-color: #2a2a2a;
  color: #f0f0f0;
  border: 1px solid #444;
  border-radius: 6px;
}


/* How to Use Section */
.how-to-use {
  max-width: 800px;
  margin: 40px auto 60px;
  padding: 24px;
  background-color: #2a2a2a;
  color: #f0f0f0;
  border-radius: 12px;
  font-size: 0.95em;
  line-height: 1.6;
}

.how-to-use h2 {
  font-size: 1.5em;
  margin-bottom: 16px;
  color: #ffffff;
}

.how-to-use ul {
  padding-left: 20px;
}

.how-to-use li {
  margin-bottom: 10px;
}
