/* /style/lorem_ipsum_generator.css */

.lorem-ipsum-generator-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
  color: #f0f0f0;
  background-color: #1e1e1e;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.lorem-ipsum-generator-page h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

/* Controls Layout */
.controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.5rem;
}

.control-group {
  display: flex;
  flex-direction: column;
}

.control-group label {
  margin-bottom: 0.5rem;
  color: #cccccc;
  font-weight: 500;
}

.control-group select,
.control-group input[type="number"] {
  background-color: #333;
  color: #fff;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 0.5rem;
  font-size: 1rem;
}

.control-group input[type="checkbox"] {
  accent-color: #4caf50;
}

.checkbox-group label {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  color: #ccc;
  font-size: 0.95rem;
}

.control-group button {
  margin-top: auto;
  padding: 0.6rem 1rem;
  font-weight: bold;
  font-size: 1rem;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.control-group button:hover {
  background-color: #43a047;
}

/* Settings Panel */
.settings-panel {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.settings-panel button {
  padding: 0.5rem 1rem;
  background-color: #555;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.settings-panel button:hover {
  background-color: #666;
}

/* Output Section */
.output-section {
  margin-bottom: 1.5rem;
}

.output-toolbar {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  justify-content: center;
}

.output-toolbar button {
  padding: 0.5rem 1rem;
  background-color: #1976d2;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.output-toolbar button:hover {
  background-color: #1565c0;
}

#outputText {
  width: 100%;
  min-height: 240px;
  padding: 1rem;
  font-size: 1rem;
  font-family: monospace;
  background-color: #111;
  color: #e6e6e6;
  border: 1px solid #333;
  border-radius: 8px;
  resize: vertical;
}

/* Stats */
.stats-panel {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.stats-panel div {
  background: #2b2b2b;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  color: #ddd;
  font-size: 0.95rem;
}

/* How to Use */
.how-to-use {
  padding: 1.5rem;
  background: #2b2b2b;
  border-radius: 10px;
  color: #dddddd;
}

.how-to-use h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #ffffff;
}

.how-to-use ul {
  list-style: disc;
  padding-left: 1.2rem;
}

.how-to-use li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
