body {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
}

.container {
  width: 600px; /* Reduced width from 800px to 600px */
  margin: 50px auto;
  padding: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
  display: block;
  margin: 0 auto 50px auto;
}

.form-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  margin-right: 20px;
  max-width: 250px; /* Set a max-width if you want to limit how wide each form-group can be */
}

.form-group:last-child {
  margin-right: 0;
}

.bold {
  font-weight: bold;
}

.bold-normal {
  font-weight: bold;
  font-size: 18px;
  margin-top: 27px;
  margin-bottom: 24px;
}

.underline {
  text-decoration: underline;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
}

label {
  display: block;
  margin-bottom: 8px;
}

input[type="email"],
input[type="text"],
input[type="file"],
textarea,
select {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

button {
  width: 55%;
  display: block;
  margin: 10px auto 0 auto;
  padding: 9px;
  background-color: rgb(212, 60, 31);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  margin-top: 50px;
}

button:hover {
  background-color: #b7391e;
}

.upload-section {
  margin-bottom: 40px;
}

.section-heading {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
}

fieldset {
  border: 2px solid #333;
  border-radius: 0;
  padding: 20px;
  margin-bottom: 20px;
}
.option2-fieldset > legend {
  display: none;
}

.option2-fieldset textarea {
  border: none;
  outline: none;
  background-color: #fff;
  resize: none;
  padding: 8px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 0;
  margin-bottom: 20px;
}

.checkbox-grid.separate-grid {
  grid-template-columns: repeat(2, 1fr);
}

.option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.option label {
  display: flex;
  align-items: center;
  font-weight: normal;
  background: none;
  border: none;
  padding: 4px;
  border-radius: 4px;
  transition: background-color 0.2s;
  cursor: pointer;
  white-space: nowrap; /* Prevent label text from wrapping */
}

.option label:hover {
  background-color: #f0f0f0;
}

.option input[type="checkbox"] {
  margin-right: 8px;
}

#statusMessage {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
}

.sample-mode-container {
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
