@import url("https://assets.mlcdn.com/fonts.css?version=1762785");

#mlb2-32819384.ml-form-embedContainer {
  box-sizing: border-box;
  display: table;
  margin: 0 auto;
  position: static;
  width: 100% !important;
}

.ml-form-embedWrapper {
  background-color: #f2dd6b;
  border-radius: 4px;
  border: none;
  box-sizing: border-box;
  display: inline-block;
  padding: 20px;
  width: 100%;
  max-width: 400px;
  font-family: 'Open Sans', Arial, sans-serif;
}

.ml-form-embedBody {
  width: 100%;
}

.ml-form-embedBody input[type="text"],
.ml-form-embedBody input[type="email"] {
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.ml-form-embedBody button {
  background-color: #000;
  color: #f2dd6b;
  border: none;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
  cursor: pointer;
  font-weight: 700;
}

.ml-form-embedBody button:hover {
  background-color: #333;
}

.ml-form-embedBody label {
  font-size: 12px;
  color: #000;
  display: block;
  margin-bottom: 10px;
}

.ml-form-embedBody label input[type="checkbox"] {
  margin-right: 6px;
}

.ml-success {
  display: none;
  color: #000;
  text-align: center;
  margin-top: 15px;
}
/* === QUIZ RESULT FORM WRAPPER === */
#ml-form-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  margin: 2rem auto;
  max-width: 420px;
  text-align: center;
}

/* keep consistent typography for the custom intro */
#ml-form-container h4 {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.5rem;
  text-align: center;
}

#ml-form-container p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  line-height: 1.5;
  margin-bottom: 1rem;
  text-align: center;
}

/* center the embedded MailerLite form */
#ml-form-quiz .ml-form-embedContainer,
#ml-form-quiz .ml-form-embedWrapper {
  margin: 0 auto;
  display: block;
  text-align: center;
}

/* optional: tighten spacing so the form looks integrated */
#ml-form-quiz form {
  margin-top: 0.5rem;
}
.ml-success {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.ml-success.show {
  opacity: 1;
}
/* === SUCCESS MESSAGE (aligned with yellow form box) === */
#ml-success-message {
  background: transparent;
  text-align: center;
  transition: opacity 0.4s ease-in-out;
  width: 100%;
  max-width: 400px;       /* match .ml-form-embedWrapper width */
  margin: 0 auto;         /* center horizontally relative to the yellow box */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

#ml-success-message .quiz-question {
  font-size: 3rem;        /* match paragraph text */
  line-height: 1.5;
  color: #000;
  text-align: center;
  margin: 0.5rem 0;
}
