/* Formulário do Portal LGPD: estilos escopados para manter o padrão institucional. */
.lgpd-request-page {
  max-width: 1020px;
  padding-top: 2.5rem !important;
  padding-bottom: 3rem !important;
  color: #263746;
}

.lgpd-page-heading {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #dce4eb;
}

.lgpd-institution,
.lgpd-eyebrow {
  margin-bottom: .35rem;
  color: #536779;
  font-size: .95rem;
}

.lgpd-eyebrow {
  color: #0f4f7f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.lgpd-page-heading h1 {
  max-width: 800px;
  margin: .25rem 0 1rem;
  color: #123d5b;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
}

.lgpd-introduction {
  max-width: 850px;
  margin: 0 0 .75rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.lgpd-required-note {
  margin: 0;
  color: #536779;
  font-size: .9rem;
}

.lgpd-required-note span,
.lgpd-request-page label span[aria-hidden="true"] {
  color: #a12a2a;
  font-weight: 700;
}

.lgpd-test-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .75rem;
}

.lgpd-test-tools .btn {
  border-color: #0f4f7f;
  color: #0f4f7f;
  font-weight: 600;
}

.lgpd-test-tools .btn:hover,
.lgpd-test-tools .btn:focus {
  background-color: #eaf2f8;
}

.lgpd-test-tools span {
  color: #536779;
  font-size: .9rem;
}

.lgpd-request-page fieldset.lgpd-section {
  min-width: 0;
  margin: 0 0 1.5rem !important;
  padding: 0 0 1.5rem;
  border: 0;
  border-bottom: 1px solid #dce4eb;
}

.lgpd-request-page .lgpd-section legend {
  float: none;
  width: auto;
  margin: 0 0 .85rem;
  padding: 0;
  color: #123d5b;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
}

.lgpd-request-page .lgpd-section > p {
  max-width: 900px;
  margin-bottom: 1rem;
  color: #435564;
  line-height: 1.6;
}

.lgpd-request-page .form-group {
  margin-bottom: 1rem;
}

.lgpd-request-page label {
  margin-bottom: .35rem;
  color: #263746;
  font-weight: 600;
}

.lgpd-request-page .form-control {
  min-height: 44px;
  border-color: #aebdca;
  border-radius: 4px;
  color: #263746;
  box-shadow: none;
}

.lgpd-request-page textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.lgpd-request-page .form-control:focus {
  border-color: #0f4f7f;
  outline: 3px solid rgba(15, 79, 127, .2);
  outline-offset: 1px;
}

.lgpd-request-page .checkbox,
.lgpd-request-page .radio {
  margin: .55rem 0;
}

.lgpd-request-page .checkbox label,
.lgpd-request-page .radio label {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-weight: 400;
  line-height: 1.55;
}

.lgpd-request-page .checkbox input,
.lgpd-request-page .radio input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: .2rem 0 0;
  accent-color: #0f4f7f;
}

.lgpd-request-page input[type="checkbox"]:focus-visible,
.lgpd-request-page input[type="radio"]:focus-visible,
.lgpd-request-page button:focus-visible,
.lgpd-request-page a:focus-visible {
  outline: 3px solid #bf6b00;
  outline-offset: 3px;
}

.lgpd-request-page [hidden] {
  display: none !important;
}

.lgpd-request-page #lgpd-form-status:empty {
  display: none;
}

.lgpd-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .25rem;
}

.lgpd-submit-row p {
  margin: 0;
  color: #536779;
  line-height: 1.5;
}

.lgpd-submit-row .btn-primary {
  min-height: 46px;
  padding: .65rem 1.3rem;
  border-color: #0f4f7f;
  border-radius: 4px;
  background-color: #0f4f7f;
  font-weight: 700;
  white-space: nowrap;
}

.lgpd-submit-row .btn-primary:hover,
.lgpd-submit-row .btn-primary:focus {
  border-color: #0a385a;
  background-color: #0a385a;
}

@media (max-width: 575.98px) {
  .lgpd-request-page {
    padding-top: 1.5rem !important;
  }

  .lgpd-page-heading {
    margin-bottom: 1.5rem;
  }

  .lgpd-request-page .lgpd-section legend {
    font-size: 1.05rem;
  }

  .lgpd-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .lgpd-submit-row .btn-primary {
    width: 100%;
  }
}
