.checkLGPD.error input {
  border: 2px solid red;
}

.lgpd-error {
  margin-top: 8px;
  text-align: center;
}

.checkLGPD .txt-termos-ebook span.openTerm {
  text-decoration: underline;
  color: #102d75;
  cursor: pointer;
}

.textLGPD {
  position: fixed; /* Use fixed para centralizar na viewport */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 400px;
  z-index: 999; /* Mais alto para garantir visibilidade */
  transition: all ease 0.4s;
  pointer-events: auto;
  display: none;
  padding: 20px;
}

.textLGPD > p {
  margin: 0;
  position: absolute;
  top: 0;
  font-size: 15px;
  color: #fff;
  background: rgba(30, 42, 90, 0.95);
  width: 100%;
  height: 100%;
  padding: 50px 30px 30px;
  z-index: 10;
  transition: all ease 0.4s;
  box-sizing: border-box;
  overflow-y: auto;
}

.textLGPD.termoAberto {
  pointer-events: auto !important;
  width: 100%;
}

.textLGPD.termoAberto p {
  opacity: 1;
  left: 0%;
}

/* msg-sucesso-form */
.success-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius-md, 12px);
  background: var(
    --Degrad-Campanha,
    linear-gradient(180deg, #ffbb39 0%, #ff9500 100%)
  );
}

.success-message {
  padding: 40px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.success-message h2 {
  color: var(--corbusier-gray-800, #3e3e3e);
  font-family: Montserrat;
  font-size: 31px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 37.2px */
}

.success-message p {
  color: var(--corbusier-gray-800, #3e3e3e);
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 21.6px */
}

.success-message button {
  display: flex;
  height: var(--sizing-48, 48px);
  padding: 0 var(--spacing-small-sm, 20px) 0 var(--spacing-small-xs, 16px);
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  align-self: stretch;
  color: var(
    --senai-color-secundary-900,
    var(--senai-color-secondary-900, #d4421e)
  );
  font-family: "Open Sans";
  font-size: var(--font-size-small-sm, 16px);
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
}

.success-message button:hover {
  border-radius: var(--border-radius-xs, 4px);
  background: var(--senai-color-secondary-300, #ffb54c);
}

.success-message a {
  display: flex;
  height: var(--sizing-48, 48px);
  padding: 0 var(--spacing-small-sm, 20px) 0 var(--spacing-small-xs, 16px);
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  align-self: stretch;
  color: var(
    --senai-color-secundary-900,
    var(--senai-color-secondary-900, #d4421e)
  );
  font-family: "Open Sans";
  font-size: var(--font-size-small-sm, 16px);
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  border-radius: var(--border-radius-xs, 4px);
  background: var(--senai-color-secondary-20, #fffbf5);
  cursor: pointer;
}

.success-message a:hover {
  border-radius: var(--border-radius-xs, 4px);
  background: var(--senai-color-secondary-300, #ffb54c);
}

/* msg-sucesso-form */

/* lgpd-termos */
.checkLGPD {
  text-align: center;
  position: relative;
}

.checkLGPD .txt-termos {
  font-size: 16px;
  margin: 0;
  padding-left: 5px;
  font-weight: 300;
  line-height: 16px;
  text-align: left;
}

.checkLGPD {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  gap: 4px;
  padding-bottom: 12px;
}

.campoErro {
  color: #ff0000;
  margin-bottom: 12px;
}

.txt-termos {
  color: #fff;
}

.txt-termos span {
  cursor: pointer;
}

.textLGPD.termoAberto {
  pointer-events: auto !important;
  width: 100%;
}

.textLGPD.termoAberto p {
  opacity: 1;
  right: 0;
}

.textLGPD > p a {
  color: var(--corSecundaria);
}

.fechar-termo {
  display: block;
  position: absolute;
  color: #fff;
  right: 20px;
  top: 20px;
  cursor: pointer;
}

#msgLgpd {
  max-width: 400px;
  margin: 0 auto;
}

span.color-red {
  color: #ff2c35;
  text-decoration: none;
}
/* lgpd-termos */

.hidden {
  display: none !important;
}

.terms-text {
  color: #fff;

  /* label/regular-400/italic/sm */
  font-family: "Open Sans";
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: 120%;
}

.openTerm {
  color: #fff;

  /* label/regular-400/italic/sm */
  font-family: "Open Sans";
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: 120%;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  cursor: pointer;
}

.form-button {
  display: flex;
  width: 320px;
  height: 40px;
  padding: 0 var(--spacing-small-sm, 20px);
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: var(--border-radius-xs, 4px);
  background: var(--sesi-color-secundary-p, #96d200);
  color: var(--global-color-primary-p, var(--global-color-primary-p, #192a6b));
  text-align: center;
  font-family: "Open Sans";
  font-size: var(--font-size-small-sm, 16px);
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.form-button:hover {
  border-radius: var(--border-radius-xs, 4px);
  background: var(--sesi-color-secundary-300, #b9e06a);
}

.form-voltar {
  cursor: pointer;
}

.content-term {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.input-error {
  border: 2px solid red !important;
}

.input-valid {
  border: 2px solid green !important;
}

.container_radio {
  display: flex;
  gap: 4px;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 768px) {
  .checkLGPD {
    padding-top: 0px;
    padding-bottom: 12px;
  }

  .section__formulario {
    padding-bottom: 40px;
  }
}
