.text-randomizer-widget {
  font-family: Arial, sans-serif !important;
  background: #FAF7F0;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.text-randomizer-widget__title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.text-randomizer-widget__options {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.text-randomizer-widget__opt-checkbox {
  margin-right: 0.4rem;
}

.text-randomizer-widget__container {
  display: flex;
  gap: 1rem;
}

.text-randomizer-widget__box {
  flex: 1;
}

.text-randomizer-widget__textarea {
  width: 100%;
  height: 260px;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  resize: none;
  font-size: 1rem;
  line-height: 1.4;
}

.text-randomizer-widget__buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.text-randomizer-widget__btn {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 0.75rem 1.4rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.text-randomizer-widget__btn:hover {
  background-color: #45a049;
}

.text-randomizer-widget__btn--clear {
  background-color: #888;
}

.text-randomizer-widget__btn--clear:hover {
  background-color: #666;
}

/* Responsive: on narrow screens stack input/output */
@media (max-width: 600px) {
  .text-randomizer-widget__container {
    flex-direction: column;
  }

  .text-randomizer-widget__textarea {
    height: 200px;
  }
}
