.container {
  max-width: 600px;
  margin: auto;
  padding: 20px;
}

#okButton {
  padding: 10px 20px;
  font-size: 18px;
  margin: 20px auto;
  /* Centers the buttons */
  display: block;
  /* Treats the buttons as block-level elements */
}

#saveButton {
  padding: 5px 10px;
  font-size: 18px;
  margin: 10px auto;
  /* Centers the buttons */
  display: block;
  /* Treats the buttons as block-level elements */
}

#spinner {
  display: none;
  margin-top: 20px;
  text-align: center;
}

#resultImage {
  display: none;
  margin-top: 20px;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  /* Centers the image */
  margin-right: auto;
  /* Centers the image */
}

.textarea-container {
  position: relative;
  max-width: 400px;
  /* Adjust this value as needed */
  margin: auto;
  /* Centers the container */
}

#textInput {
  width: 100%;
  padding: 10px;
  margin-top: 25px;
  /* Added space for the counter */
  font-size: larger;
  box-sizing: border-box;
  height: 100px;
}

#charCount {
  position: absolute;
  top: 0;
  right: 10px;
  /* Adjust this for positioning */
  margin-top: 5px;
}


footer {
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  background-color: #f2f2f2;
  /* You can change the background color */
  color: #000;
  /* And the text color */
}

footer a {
  color: #007bff;
  /* Color for the link */
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.samples-container {
  text-align: center;
}

.sample {
  cursor: pointer;
  color: rgb(77, 77, 80);
  text-decoration: underline;
  margin-right: 20px;
  display: inline-block;
  /* Display samples in the same row */
}

.sample:hover {
  color: rgb(211, 100, 21);
}