
#formstack {
  background-color:#eeeeee;
  border-radius:1rem;
  padding:1rem 2rem;
  margin-bottom: 4rem; 
} 
#formstack a {
  text-decoration: underline;
  text-decoration-color: #10137d;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 2px;
  text-decoration-skip-ink: auto;
}
/* Modern Form Styling */
#formstack form {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Label styling to ensure proper spacing */
#formstack form .fsLabel span, 
#formstack form label {
  display: inline-block;
  flex-direction: column;
  color: #10137d;
  font-weight: 600;
}

/* Input fields */
#formstack form input[type="text"],
#formstack form input[type="email"],
#formstack form input[type="tel"],
#formstack form select {
  width: 100%;
  padding: 12px;
  margin-top: 5px; /* Add margin between the label and the input */
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

#formstack form input[type="text"]:focus,
#formstack form input[type="email"]:focus,
#formstack form input[type="tel"]:focus,
#formstack form select:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.25);
}

/* Opt-in checkbox styling */
#formstack form .StyledOptionWrapper-sc-1ah0fdf-0 {
  margin-bottom: 20px;
}

#formstack form .StyledOptionLabel-sc-1bymt4x-0 {
  display: inline;
  align-items: center;
  margin-bottom: 0;
  margin-left: 15px;
}

#formstack form .StyledOptionLabel-sc-1bymt4x-0 input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-right: 10px;
  margin-top: 5px;
}

#formstack form .StyledOptionLabel-sc-1bymt4x-0 + span {
  display: block;
  font-weight: normal;
  margin-top: 1rem;
}

/* Section text styling */
#formstack form .fsSectionText p {
  text-align: center;
  margin-bottom: 1rem;
}

/* Section heading */
#formstack form h2 {
  text-align: center;
  color: #10137d;
  font-weight: 600;
  margin: 1rem 0;
}

/* Fieldset styling */
#formstack form fieldset {
  border: none;
  margin-bottom: 20px;
}

/* Error banner styling */
#formstack form .StyledErrorBanner-sc-lo45jw-0 {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* Hide hidden fields */
#formstack form .fsHiddenField {
  display: none;
}