.cpd_form_root {
  background-color: #F5F6F8;
}

.cpd_form_container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  
  padding: 30px 20px;
  
  display: flex;
  flex-direction: column;
  gap: 20px;
  
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 992px) {
  .cpd_form_container {
    padding: 60px 20px;
  }
}

.cpd_form_container img {
  max-width: 100%;
}

.cpd_form_title {
  margin: 0;
  color: #4A4A4A;
  text-align: center;
  font-family: Questrial;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}

@media screen and (min-width: 992px) {
  .cpd_form_title {
    font-size: 34px;
    line-height: 44px;
  }
}

.cpd_form_content {
  margin: 0;
  color: #86888B;
  text-align: center;
  font-family: Questrial;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  max-width: 650px;
}

@media screen and (min-width: 992px) {
  .cpd_form_content {
    margin-top: 20px;
  }
}

#cpd_form {
  width: 100%;
  display: flex;
  max-width: 650px;
  padding: 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  
  border-radius: 8px;
  background: #FFF;
  box-shadow: 0 0 10px 0 rgba(70, 74, 82, 0.20);
  margin-top: 20px;
}

.cpd_form form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

#cpd_form form .field > label {
  color: #4a4a4a;
  font-family: "Open Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; 
  display: flex;
  gap: 3px;
}

.hs-error-msgs label {
  color: #ed1747 !important;
  margin-top: 10px;
}

#cpd_form input {
  background-color: #FFF;
  border-radius: 8px;
  border: 1px solid #DCE0E0;
  color: #4a4a4a;
}

#cpd_form  .hs-submit .actions {
  width: fit-content;
  border-radius: 8px;
  background: linear-gradient(90deg, #CF145C 0.04%, #5308B2 99.95%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
}

form .hs-button {
  background-color: transparent !important;
  border: none !important;
  color: #FFF !important;
  text-align: center !important;
  font-family: "Open Sans" !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 20px !important;
}

.inputs-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
}

@media screen and (min-width: 768px) {
  .inputs-list {
    flex-direction: row;
  }
}

.hs-form-radio {

}

form input[type="radio"] {
  display: flex;
}

label:has(input[type="radio"]:checked) {
  background: linear-gradient(90deg, #CF145C 0.04%, #5308B2 99.95%);
  color: #FFF;
  border: none;
}

form input[type="radio"] + span {
  background: linear-gradient(90deg, #CF145C 0.04%, #5308B2 99.95%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}



label:has(input[type="radio"]:checked) span {
  color: #FFF;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background: transparent;
}

form input[type="radio"]+span {
  padding-left: 8px;
}
  
form input[type="radio"]+span:before, form input[type="checkbox"]+span:before {
  display: none;
}

.hs-form-radio > label {
  line-height: normal !important;
}

.hs-form-radio-display {
  padding: 6px 20px;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(90deg, #CF145C 0.04%, #5308B2 99.95%) border-box;
  border-radius: 8px;
  border: 1px solid transparent;
  
  min-width: 88px;
  border-radius: 8px;
  min-height: 40px;
  line-height: normal;
  border-radius: 8px;
  position: relative;
  
  color: #4a4a4a;
  font-family: "Open Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; 
  display: flex;
  gap: 3px;
  align-items: center;
  
}

/*
.hs-form-radio-display::before {
    content: "";
    position: absolute;
    z-index: -1;
    background: blue;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    mask-composite: exclude;
    background: aqua;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    /* mask-clip: unset; * /
    mask-composite: exclude;
    border-radius: 8px;
}
*/



input::-webkit-input-placeholder {
  color: rgba(134, 136, 139, 0.60) !important;
  font-family: "Open Sans" !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 20px !important;
}

/* For Firefox 19+ */
input::placeholder {
  color: rgba(134, 136, 139, 0.60) !important;
  font-family: "Open Sans" !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 20px !important;
}

/* For Firefox 4-18 */
input:-moz-placeholder {
  color: rgba(134, 136, 139, 0.60) !important;
  font-family: "Open Sans" !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 20px !important;
  opacity: 1 !important;
}

/* For Internet Explorer 10-11 */
:-ms-input-placeholder {
  color: rgba(134, 136, 139, 0.60) !important;
  font-family: "Open Sans" !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 20px !important;
}

.hs-form-booleancheckbox label {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(74, 74, 74);
  display: flex;
  font-family: "Open Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  gap: 3px;
}

.hs-form-booleancheckbox input {
  display: flex !important;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 4px;
  border: 1px solid #86888B;
}

.legal-consent-container .field.hs-form-field {
  padding: 0;
  margin: 0;
}

.legal-consent-container .hs-form-booleancheckbox-display>span {
  margin: 0 !important;
  padding-left: 10px !important;
}

.legal-consent-container .hs-form-booleancheckbox-display>span a {
  text-decoration: none;
  color: #5308B2;
  font-weight: bold;
}

