/* Remove default fieldset border */
.ytism-free-download-form fieldset {
  border: none;
  padding: 0;
  margin: 16px 0;
  text-align: center;
}

/* Style the legend (question text) */
.ytism-free-download-form fieldset legend {
  font-weight: 600;
  margin-bottom: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 500; /* Medium */
  font-size: 16px;
  line-height: 1; /* 100% */
  letter-spacing: 0;
  text-align: center;
  color: #ffffff;
}

/* Center radio options */
.ytism-free-download-form fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 500; /* Medium */
  font-size: 16px;
  line-height: 1; /* 100% */
  letter-spacing: 0;
  color: #ffffff;
}

.ytism-free-download-form button {
  display: block;
  margin: 20px auto 0; /* centers horizontally */
  padding: 14px 36px; /* controls button width */
  border: 1px solid #f6da46;
  border-radius: 50px;
  background: linear-gradient(
    97.7deg,
    #48306d 0.69%,
    #c24a82 46.04%,
    #f87458 100.97%
  );
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: "Poppins", sans-serif;
  font-weight: 800; /* ExtraBold */
  font-size: 20px;
  line-height: 1; /* 100% */
  letter-spacing: 0;
  text-align: center;
}

.ytism-free-download-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.ytism-free-download-form button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* All field labels */
.ytism-free-download-form label {
  font-family: "Poppins", sans-serif;
  font-weight: 500; /* Medium */
  font-size: 16px;
  line-height: 1; /* 100% */
  letter-spacing: 0;
  color: #ffffff;
  display: block;
  margin-bottom: 6px;
  margin-top: 6px;
}

/* All text fields, email, number, select */
.ytism-free-download-form input[type="text"],
.ytism-free-download-form input[type="email"],
.ytism-free-download-form input[type="number"],
.ytism-free-download-form select {
  border-radius: 120px;
}

/* Space only for text-type fields, not radios */
.ytism-free-download-form input[type="text"],
.ytism-free-download-form input[type="email"],
.ytism-free-download-form input[type="number"],
.ytism-free-download-form select {
  margin-bottom: 20px;
}

/* Response message */
.ytism-message {
  margin-top: 20px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

/* Success state */
.ytism-message.success {
  color: white;
}

/* Error state */
.ytism-message.error {
  color: #ff5a5a;
}

.ytism-age-error {
  display: block;
  margin-top: 4px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #ff5a5a;
}
