/* Header styling */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

header img {
  max-height: 20px; /* Limits the image height */
  width: auto;
  display: block;
  margin-top: 50px;
}

/* Make the page fill the entire browser window */
html,
body {
  margin: 5%;
  padding: 0;
  height: 100%;
  width: 1250px;
  font-family: Arial, sans-serif;
}

#coolh1 {
  margin-top: 3px;
  align-self: center;
  text-align: center;
}
/* A container to hold everything with some padding */
.container {
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* For top-level radio buttons (One Model / Compare Models) */
.row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.row label {
  cursor: pointer;
}

/* Headings for sections (like "Other Settings", "Task Options") */
.section-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* Generic section container */
.section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Each label + input pair */
.input-row {
  display: flex;
  flex-direction: column;
}

.input-row label {
  margin-bottom: 0.25rem;
}

select,
input[type="number"],
input[type="text"],
textarea {
  padding: 0.25rem 0.5rem;
  font-size: 1rem;
}

/* A row container for grouping multiple .input-row horizontally */
.horizontal-group {
  display: flex;
  gap: 2rem; /* Adjust as needed for spacing */
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  align-items: flex-end; /* Aligns fields nicely at the bottom */
}

/* Radio buttons within the "Task Options" section */
.task-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.task-options label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

/* Optional Pre-Prompt text area */
.preprompt-textarea {
  width: 100%;
  height: 100px;
  resize: vertical;
}

/* Just to visually separate sections (optional) */
.divider {
  height: 1px;
  background-color: #ccc;
  margin: 1rem 0;
  width: 100%;
}

#user-query-section-title {
  margin-top: 20px;
}

/* Button styling */
.button-1 {
  background-color: #e94823;
  border-radius: 8px;
  border-style: none;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-family: "Haas Grot Text R Web", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  width: 20%;
  line-height: 20px;
  list-style: none;
  margin: 0;
  outline: none;
  padding: 10px 16px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: color 100ms;
  vertical-align: baseline;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  align-self: center;
}

.button-1:hover,
.button-1:focus {
  background-color: #f082ac;
}
.prompt-container {
  position: relative;
  width: 100%;
}

#promptInput {
  width: 100%;
  box-sizing: border-box;
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  color: #333;
}

#promptSuggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-top: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 10;
  max-height: 150px;
  overflow-y: auto;
}

#promptSuggestions div {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

#promptSuggestions div:last-child {
  border-bottom: none;
}

#promptSuggestions div:hover {
  background-color: #f0f0f0;
}
