body {
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
  background-color: #282c34; /* Darker background */
  color: #e0e0e0; /* Lighter text color */
}

h1 {
  color: #61dafb; /* A light blue for heading */
}

.container {
  display: flex;
  flex-direction: row;
  gap: 30px;
  background-color: #3a3f47; /* Darker container background */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* More pronounced shadow */
  max-width: 1000px;
  width: 100%;
}

.input-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

textarea {
  width: 100%;
  height: 120px;
  padding: 12px;
  border: 1px solid #555; /* Darker border */
  border-radius: 5px;
  font-size: 16px;
  resize: vertical;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  background-color: #444; /* Darker textarea background */
  color: #e0e0e0; /* Lighter text color */
}

.options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.options label {
  font-weight: bold;
}

.options select,
.options input[type="number"] {
  padding: 8px;
  border: 1px solid #555; /* Darker border */
  border-radius: 4px;
  font-size: 14px;
  background-color: #444; /* Darker input background */
  color: #e0e0e0; /* Lighter text color */
}

.options input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 5px;
}

button {
  padding: 12px 20px;
  background-color: #61dafb; /* Light blue button */
  color: #282c34; /* Dark text on button */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #21a1f1; /* Slightly darker blue on hover */
}

.output-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px dashed #555; /* Darker dashed border */
  border-radius: 10px;
  min-height: 300px;
  overflow: hidden; /* Ensure image fits within bounds */
  position: relative;
}

#imageContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

#generatedImage {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  display: none; /* Hidden by default until an image is generated */
}

#loadingText {
  font-size: 18px;
  color: #aaa; /* Lighter loading text */
}

.hidden {
  display: none !important;
}