/* Conlang Word Generator Widget Styles */
.clg-generator-widget {
  background-color: #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;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

.clg-generator-title {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: #333;
}

.clg-generator-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.clg-generator-input,
.clg-generator-output {
  flex: 1;
  min-height: 250px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  resize: none;
  box-sizing: border-box;
  width: 100%;
}

.clg-generator-controls {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.clg-generator-button {
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: Arial, sans-serif;
}

.clg-generator-button:hover {
  background-color: #45a049;
}

/* Responsive layout */
@media (max-width: 900px) {
  .clg-generator-container {
    flex-direction: column;
  }

  .clg-generator-input,
  .clg-generator-output {
    width: 100%;
    min-height: 200px;
  }

  .clg-generator-controls {
    margin: 1rem 0;
  }
}

/* Mobile optimization for 600px and below */
@media (max-width: 600px) {
  .clg-generator-input,
  .clg-generator-output {
    min-height: 180px;
  }

  .clg-generator-button {
    width: 100%;
  }
}

/* Ultra-small devices (320px and below) */
@media (max-width: 320px) {
  .clg-generator-input,
  .clg-generator-output {
    min-height: 150px;
    font-size: 0.9rem;
  }

  .clg-generator-button {
    font-size: 0.9rem;
    padding: 0.7rem;
  }
}
