/* Remove outline (borda preta) de todos os elementos de formulário */
input,
textarea,
select,
button {
  outline: none !important;
}

/* Cursor pointer para todos os botões e campos de anexar arquivo */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.upload-btn-doc,
label.upload-btn-doc,
input[type="file"] {
  cursor: pointer;
}
/* Centralizar o texto de arquivo anexado */
.mensagem-campo {
  text-align: center !important;
}

/* Alinhar mensagens à esquerda apenas na página de observações */
.etapa-observacoes .mensagem-campo,
.etapa-observacoes .erro-campo {
  text-align: left !important;
}

/* Regra específica para mensagem do campo de petição */
.etapa-observacoes .anexo-campo .mensagem-campo,
.etapa-observacoes .anexo-campo .erro-campo,
.etapa-observacoes #mensagem-peticaoObservacao {
  text-align: left !important;
}
.indicator.completed {
  background: #ea560e;
  color: #fff;
  border: 1.5px solid transparent;
  box-shadow: 0 2px 8px rgba(234, 86, 14, 0.18);
  opacity: 1;
}
select option:first-child {
  color: #b6c2d1;
}
select option:not(:first-child) {
  color: #000000;
}
select:invalid {
  color: #b6c2d1;
}

.obrigatorio {
  color: #e53935;
  font-weight: bold;
  font-size: 1.1em;
  margin-left: 2px;
}
.divisor {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 8px 0 16px 0;
}
.sub-desc {
  font-size: 1rem;
  color: #444;
  margin-bottom: 18px;
  opacity: 0.95;
}
/* Grid para os campos da etapa do contribuinte */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  margin-bottom: 18px;
  width: 100%;
}
.grid-2col label {
  margin-bottom: 0;
}

/* Grid específico para inscrição e checkbox */
.grid-inscricao-checkbox {
  display: flex;

  gap: 20px;
  margin-bottom: 18px;
  width: 100%;
}

.grid-inscricao-checkbox label {
  margin-bottom: 0;
  width: 50%;
}

/* Estilo do checkbox de outras inscrições */
.checkbox-outras-inscricoes {
  display: flex;
  align-items: center;
  width: 50%;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  color: #333;
  white-space: nowrap;
}

.checkbox-label:has(input[type="checkbox"]:disabled) {
  cursor: not-allowed;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 8px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #ea560e;
}

.checkbox-text {
  user-select: none;
}

.checkbox-label input[type="checkbox"]:disabled ~ .checkbox-text {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkbox-label input[type="checkbox"]:disabled {
  cursor: not-allowed;
}

.form-step {
  padding: 20px 32px 20px 32px;
}

.form-step h2 {
  font-size: 1.4rem;
}

/* Grid para a primeira etapa do formulário */
.form-step.active h2 {
  grid-column: 1 / -1;
}
.form-step.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  align-items: start;
}
.form-step.active label {
  margin-bottom: 0;
}
.form-step.active button {
  grid-column: 1 / -1;
  justify-self: end;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
}

.container {
  max-width: 750px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

h1.form-title {
  text-align: center;
  font-size: 2.4rem;
  color: #ffffff;
  font-weight: 700;
  margin: 0;
}

.form-desc {
  text-align: center;
  color: #ffffff;
  font-size: 1.1rem;
  margin: 0 0 30px 0;
}

.form-header {
  text-align: center;
  background: linear-gradient(135deg, #ea560e 0%, #433f87 50%, #2b2862 100%);
  padding: 30px 20px;
  border-radius: 12px 12px 0 0;
  margin: 0;
}

.form-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 32px;
}

.indicator {
  width: 32px;
  height: 32px;
  background: #e8e9f3;
  color: #2b2862;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s;
}
.indicator.active {
  background: #433f87;
  color: #fff;
  box-shadow: 0 2px 8px rgba(67, 63, 135, 0.15);
}

h2 {
  color: #000000;
  margin-bottom: 0px;
  font-size: 1.5rem;
  font-weight: 600;
}

label {
  display: block;
  margin-bottom: 14px;
  color: #000000;
  font-size: 1rem;
}

/* Estilos para labels que contêm checkboxes e radio buttons */
label input[type="checkbox"],
label input[type="radio"] {
  display: inline-block;
  vertical-align: middle;
  margin-top: 0;
  margin-bottom: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(136, 136, 136, 0.4);
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 4px;
  background: #f7f9fc;
  transition: border-color 0.2s;
  box-sizing: border-box;
  outline: none; /* Remove a borda preta do outline */
}
select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(136, 136, 136, 0.4);
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 4px;
  background: #f7f9fc;
  transition: border-color 0.2s;
  box-sizing: border-box;
  cursor: pointer;
  text-overflow: ellipsis;
  outline: none; /* Remove a borda preta do outline */
}
input::placeholder,
textarea::placeholder {
  color: #b6c2d1;
  opacity: 1;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #ea560e;
}

input[type="checkbox"],
input[type="radio"] {
  margin-right: 8px;
}

/* Checkbox customizado */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ea560e;
  border-radius: 0; /* Alterado de 6px para 0 para formato quadrado */
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s, border-color 0.2s;
  vertical-align: middle;
  margin-right: 8px;
  box-sizing: border-box;
  flex-shrink: 0; /* Impede que o elemento encolha */
  min-width: 18px; /* Garante largura mínima */
  min-height: 18px; /* Garante altura mínima */
}

/* Radio button customizado (formato quadrado) */
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #2b2862;
  border-radius: 0; /* Formato quadrado */
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s, border-color 0.2s;
  vertical-align: middle;
  margin-right: 8px;
  box-sizing: border-box;
  flex-shrink: 0; /* Impede que o elemento encolha */
  min-width: 18px; /* Garante largura mínima */
  min-height: 18px; /* Garante altura mínima */
}

input[type="radio"]:checked {
  border-color: #ea560e;
  background-color: #ea560e;
  border-width: 2px;
}

input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: block;
  box-sizing: content-box;
  pointer-events: none; /* Evita interações com o pseudo-elemento */
}

input[type="checkbox"]:checked {
  border-color: #ea560e;
  background-color: #ea560e;
  border-width: 2px;
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: block;
  box-sizing: content-box;
  pointer-events: none; /* Evita interações com o pseudo-elemento */
}

/* Adicione hovers consistentes para os inputs */
input[type="checkbox"]:hover,
input[type="radio"]:hover {
  border-color: #ea560e;
}

/* Estilos para os estados de foco (sem mudança de tamanho) */
input[type="checkbox"]:focus,
input[type="radio"]:focus {
  box-shadow: 0 0 0 1px rgba(43, 40, 98, 0.25);
  border-color: #2b2862;
}

/* Garantir consistência em todos os estados */
input[type="checkbox"],
input[type="radio"],
input[type="checkbox"]:checked,
input[type="radio"]:checked,
input[type="checkbox"]:hover,
input[type="radio"]:hover,
input[type="checkbox"]:focus,
input[type="radio"]:focus {
  width: 18px !important;
  height: 18px !important;
  border-width: 2px;
  box-sizing: border-box;
}

.form-step {
  display: none;
}
.form-step.active {
  display: block;
  animation: fadeIn 0.4s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

button {
  background: #ea560e;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-size: 1rem;
  cursor: pointer;
  margin: 8px 4px 0 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(234, 86, 14, 0.2);
}
button:hover {
  background: #d84a0a;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(234, 86, 14, 0.3);
}

#successMessage {
  text-align: center;
  color: #22c55e;
  font-size: 1.2rem;
  margin-top: 30px;
}

/* Adicione ao final do arquivo */
input.erro,
select.erro,
textarea.erro {
  border-color: #e53935 !important;
  background-color: #fff0f0;
}

/* Título das etapas */
.form-step h2 {
  font-size: 1.5rem;
  color: #2b2862;
  margin-bottom: 8px;
  font-weight: 600;
}

/* Animação do checkbox */
#temProcurador:checked + label {
  color: #2b2862;
  font-weight: 500;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

/* Estilo para a checkbox-container quando selecionada */
.checkbox-container {
  display: flex;
  align-items: center;
  padding: 5px 0;
  transition: background-color 0.3s ease;
}

.checkbox-container:has(#temProcurador:checked) {
  background-color: rgba(234, 86, 14, 0.05);
  border-radius: 6px;
  padding: 5px 10px;
}

/* Ajuste para os selects e suas opções */
select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(136, 136, 136, 0.4);
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 4px;
  background: #f7f9fc;
  transition: border-color 0.2s;
  box-sizing: border-box;
  cursor: pointer;
  text-overflow: ellipsis;
}

/* Correção para o menu dropdown dos selects */
select option {
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  font-size: 0.95rem;
  padding: 8px;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Garantir que o menu dropdown não ultrapasse a largura do campo em navegadores webkit */
_::-webkit-full-page-media,
_:future,
:root select {
  text-overflow: ellipsis;
}

/* Correção para o tamanho das opções do select */
select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px top 50%;
  background-size: 12px auto;
  padding-right: 30px !important;
}

/* Força o tamanho máximo das opções */
select option {
  overflow-x: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Sobrescrever o estilo nativo do browser */
@supports (-webkit-appearance: none) or (-moz-appearance: none) or
  (appearance: none) {
  /* Para Chrome e Safari */
  select::-webkit-scrollbar {
    width: 6px;
  }

  select::-webkit-scrollbar-thumb {
    background-color: #2b2862;
    border-radius: 6px;
  }

  /* Para Firefox */
  @-moz-document url-prefix() {
    select {
      text-overflow: ellipsis !important;
      overflow: hidden !important;
    }

    select option {
      max-width: 100% !important;
      overflow: hidden !important;
    }
  }
}

/* Garantir que o dropdown se ajuste à largura do campo em todos os navegadores */
select.select-browser-default {
  width: 100% !important;
}

/* Estilos específicos para o Chrome */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  select {
    width: 100% !important;
  }

  select option {
    width: 100% !important;
  }
}

/* Botão "Anexar e Próximo" da etapa de taxa com estilo igual ao botão de anexar da página de imóvel */
/* .form-step#step-tax .destaque-btn {
  background: #EA560E;
  color: #fff;
  font-size: 1.08rem;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
  transition: background 0.2s, box-shadow 0.2s;
} */

/* .form-step#step-tax .destaque-btn:hover,
.form-step#step-tax .destaque-btn:focus {
  background: #1d4ed8;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.18);
} */

/* Botão destacado para anexar comprovante da taxa */
/* .destaque-btn {
  background: #22c55e;
  color: #fff;
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
  transition: background 0.2s, box-shadow 0.2s;
  margin-top: 18px;
  margin-bottom: 8px;
  font-weight: 600;
} */

/* .destaque-btn:hover,
.destaque-btn:focus {
  background: #16a34a;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.22);
} */

/* Passo a passo da etapa inicial */
.form-step#step-tax ol {
  background: #f7f9fc;
  border-radius: 8px;
  padding: 18px 18px 18px 32px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(234, 86, 14, 0.05);
  font-size: 1.08rem;
  color: #222;
}

.form-step#step-tax ol li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1.08rem;
}

.form-step#step-tax label[for="comprovanteTaxa"] {
  font-size: 1.08rem;
  color: #2b2862;
  margin-bottom: 8px;
}

/* Destaca o campo de anexo na etapa da taxa */
/* .form-step#step-tax input[type="file"] {
  background: #e6f2ff;
  border: 2px solid #22c55e;
  border-radius: 8px;
  padding: 14px;
  font-size: 1.08rem;
  width: 100%;
  max-width: 350px;
  margin-bottom: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.08);
}
.form-step#step-tax input[type="file"]:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 2px #22c55e33;
}

.form-step#step-tax input[type="file"] {
  background: #e6f2ff;
  border: 1.5px solid #b6c2d1;
  border-radius: 6px;
  padding: 10px;
  font-size: 1rem;
  width: 100%;
  max-width: 350px;
  margin-bottom: 8px;
  transition: border-color 0.2s;
} */

/* .form-step#step-tax input[type="file"]:focus {
  border-color: #22c55e;
} */

#procuradorCampos {
  display: flex;
  flex-direction: column;
}

/* Animação do checkbox */
#temProcurador:checked + label {
  color: #2b2862;
  font-weight: 500;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

/* Estilo para a checkbox-container quando selecionada */
.checkbox-container {
  display: flex;
  align-items: center;
  padding: 5px 0;
  transition: background-color 0.3s ease;
}

.checkbox-container:has(#temProcurador:checked) {
  background-color: rgba(234, 86, 14, 0.05);
  border-radius: 6px;
  padding: 5px 10px;
}

/* Ajuste para os selects e suas opções */
select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(136, 136, 136, 0.4);
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 4px;
  background: #f7f9fc;
  transition: border-color 0.2s;
  box-sizing: border-box;
  cursor: pointer;
  text-overflow: ellipsis;
}

/* Correção para o menu dropdown dos selects */
select option {
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  font-size: 0.95rem;
  padding: 8px;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Garantir que o menu dropdown não ultrapasse a largura do campo em navegadores webkit */
_::-webkit-full-page-media,
_:future,
:root select {
  text-overflow: ellipsis;
}

/* Correção para o tamanho das opções do select */
select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px top 50%;
  background-size: 12px auto;
  padding-right: 30px !important;
}

/* Força o tamanho máximo das opções */
select option {
  overflow-x: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Sobrescrever o estilo nativo do browser */
@supports (-webkit-appearance: none) or (-moz-appearance: none) or
  (appearance: none) {
  /* Para Chrome e Safari */
  select::-webkit-scrollbar {
    width: 6px;
  }

  select::-webkit-scrollbar-thumb {
    background-color: #2b2862;
    border-radius: 6px;
  }

  /* Para Firefox */
  @-moz-document url-prefix() {
    select {
      text-overflow: ellipsis !important;
      overflow: hidden !important;
    }

    select option {
      max-width: 100% !important;
      overflow: hidden !important;
    }
  }
}

/* Garantir que o dropdown se ajuste à largura do campo em todos os navegadores */
select.select-browser-default {
  width: 100% !important;
}

/* Estilos específicos para o Chrome */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  select {
    width: 100% !important;
  }

  select option {
    width: 100% !important;
  }
}

/* Botão "Anexar e Próximo" da etapa de taxa com estilo igual ao botão de anexar da página de imóvel */
/* .form-step#step-tax .destaque-btn {
  background: #EA560E;
  color: #fff;
  font-size: 1.08rem;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
  transition: background 0.2s, box-shadow 0.2s;
} */

/* z */

/* Botão destacado para anexar comprovante da taxa */
/* .destaque-btn {
  background: #22c55e;
  color: #fff;
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
  transition: background 0.2s, box-shadow 0.2s;
  margin-top: 18px;
  margin-bottom: 8px;
  font-weight: 600;
} */

/* .destaque-btn:hover,
.destaque-btn:focus {
  background: #16a34a;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.22);
} */

/* Passo a passo da etapa inicial */
/* .form-step#step-tax ul {
  background: #f7f9fc;
  border-radius: 8px;
  padding: 18px 18px 18px 32px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(234, 86, 14, 0.05);
  font-size: 1.08rem;
  color: #222;
}

.form-step#step-tax ul li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1.08rem;
} */

/* .form-step#step-tax label[for="comprovanteTaxa"] {
  font-size: 1.08rem;
  color: #2B2862;
  margin-bottom: 8px;
} */

/* Destaca o campo de anexo na etapa da taxa */
/* .form-step#step-tax input[type="file"] {
  background: #e6f2ff;
  border: 2px solid #22c55e;
  border-radius: 8px;
  padding: 14px;
  font-size: 1.08rem;
  width: 100%;
  max-width: 350px;
  margin-bottom: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.08);
}
.form-step#step-tax input[type="file"]:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 2px #22c55e33;
} */

/* .form-step#step-tax input[type="file"] {
  background: #e6f2ff;
  border: 1.5px solid #b6c2d1;
  border-radius: 6px;
  padding: 10px;
  font-size: 1rem;
  width: 100%;
  max-width: 350px;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}

.form-step#step-tax input[type="file"]:focus {
  border-color: #22c55e;
} */

#procuradorCampos {
  display: flex;
  flex-direction: column;
}

/* Animação do checkbox */
#temProcurador:checked + label {
  color: #2b2862;
  font-weight: 500;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

/* Estilo para a checkbox-container quando selecionada */
.checkbox-container {
  display: flex;
  align-items: center;
  padding: 5px 0;
  transition: background-color 0.3s ease;
}

.checkbox-container:has(#temProcurador:checked) {
  background-color: rgba(234, 86, 14, 0.05);
  border-radius: 6px;
  padding: 5px 10px;
}

/* Ajuste para os selects e suas opções */
select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(136, 136, 136, 0.4);
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 4px;
  background: #f7f9fc;
  transition: border-color 0.2s;
  box-sizing: border-box;
  cursor: pointer;
  text-overflow: ellipsis;
}

/* Correção para o menu dropdown dos selects */
select option {
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  font-size: 0.95rem;
  padding: 8px;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Garantir que o menu dropdown não ultrapasse a largura do campo em navegadores webkit */
_::-webkit-full-page-media,
_:future,
:root select {
  text-overflow: ellipsis;
}

/* Correção para o tamanho das opções do select */
select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px top 50%;
  background-size: 12px auto;
  padding-right: 30px !important;
}

/* Força o tamanho máximo das opções */
select option {
  overflow-x: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Sobrescrever o estilo nativo do browser */
@supports (-webkit-appearance: none) or (-moz-appearance: none) or
  (appearance: none) {
  /* Para Chrome e Safari */
  select::-webkit-scrollbar {
    width: 6px;
  }

  select::-webkit-scrollbar-thumb {
    background-color: #2b2862;
    border-radius: 6px;
  }

  /* Para Firefox */
  @-moz-document url-prefix() {
    select {
      text-overflow: ellipsis !important;
      overflow: hidden !important;
    }

    select option {
      max-width: 100% !important;
      overflow: hidden !important;
    }
  }
}

/* Garantir que o dropdown se ajuste à largura do campo em todos os navegadores */
select.select-browser-default {
  width: 100% !important;
}

/* Estilos específicos para o Chrome */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  select {
    width: 100% !important;
  }

  select option {
    width: 100% !important;
  }
}

/* Botão destacado para anexar comprovante da taxa */
/* .destaque-btn {
  background: #22c55e;
  color: #fff;
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
  transition: background 0.2s, box-shadow 0.2s;
  margin-top: 18px;
  margin-bottom: 8px;
  font-weight: 600;
} */

/* .destaque-btn:hover,
.destaque-btn:focus {
  background: #16a34a;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.22);

} */

/* Passo a passo estilizado da etapa da taxa */
.form-step#step-tax ul.passo-tax-ul {
  background: #f7f9fc;
  border-radius: 10px;
  padding: 0px 28px 20px 28px;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0, 86, 179, 0.07);
  font-size: 1rem;
  color: #000000;
  list-style: none;
  text-align: justify;
  /* border: 1px solid red; */
  /* position: relative; */
}

.form-step#step-tax ul.passo-tax-ul li {
  /* position: relative; */
  margin-bottom: 18px;
  line-height: 1.7;
  font-size: 1rem;
}

.form-step#step-tax ul.passo-tax-ul strong {
  color: #2b2862;
  font-weight: 600;
  /* border-bottom: 1px solid red ; */
  font-size: 1.1rem;
}

.form-step#step-tax ul.passo-tax-ul strong.title-tax {
  border-bottom: 1px solid #ea560e;
}

.form-step#step-tax ul.passo-tax-ul li:last-child {
  margin-bottom: 0;
}

/* Ícone de seta azul para cada item
.form-step#step-tax ul.passo-tax-ul li::before {
  content: "➔";
  position: absolute;
  left: 0;
  top: 2px;
  color: #2B2862;
  font-size: 1.2em;
  font-weight: bold;
  opacity: 0.85;
}

.form-step#step-tax ul.passo-tax-ul li.aviso-contribuinte::before,
.form-step#step-tax ul.passo-tax-ul li.obs-li::before {
  content: none;
} */

.obs-li {
  background: #c4d8f598;
  border-radius: 15px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px;
  letter-spacing: 0.01em;
  /* border: 1px solid red; */
  transition: color 0.2s, border-bottom-color 0.2s;
}

.obs-li.destaque-importante {
  margin-bottom: 20px !important;
}

.link-portal {
  color: #2b2862;
  font-weight: 600;
  text-decoration: none;
  /* border-bottom: 1px solid #EA560E; */
  transition: color 0.2s;
}

.link-portal:hover,
.link-portal:focus {
  color: #ea560e;
  /* border-bottom-color: #1d4ed8; */
  text-decoration: none;
}

/* Passo a passo da etapa inicial */
/* .form-step#step-tax ul {
  background: #f7f9fc;
  border-radius: 8px;
  padding: 18px 18px 18px 32px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(234, 86, 14, 0.05);
  font-size: 1.08rem;
  color: #222;
  list-style: none;
}

.form-step#step-tax ul li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1.08rem;
}

.form-step#step-tax label[for="comprovanteTaxa"] {
  font-size: 1.08rem;
  color: #2B2862;
  margin-bottom: 8px;
} */

/* Destaca o campo de anexo na etapa da taxa */
.form-step#step-tax input[type="file"] {
  background: #e6f2ff;
  border: 2px solid #22c55e;
  border-radius: 8px;
  padding: 14px;
  font-size: 1.08rem;
  width: 100%;
  max-width: 350px;
  margin-bottom: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.08);
}
.form-step#step-tax input[type="file"]:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 2px #22c55e33;
}

.form-step#step-tax input[type="file"] {
  background: #e6f2ff;
  border: 1.5px solid #b6c2d1;
  border-radius: 6px;
  padding: 10px;
  font-size: 1rem;
  width: 100%;
  max-width: 350px;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}

.form-step#step-tax input[type="file"]:focus {
  border-color: #22c55e;
}

#procuradorCampos {
  display: flex;
  flex-direction: column;
}

/* Animação do checkbox */
#temProcurador:checked + label {
  color: #2b2862;
  font-weight: 500;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

/* Estilo para a checkbox-container quando selecionada */
.checkbox-container {
  display: flex;
  align-items: center;
  padding: 5px 0;
  transition: background-color 0.3s ease;
}

.checkbox-container:has(#temProcurador:checked) {
  background-color: rgba(234, 86, 14, 0.05);
  border-radius: 6px;
  padding: 5px 10px;
}

/* Ajuste para os selects e suas opções */
select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(136, 136, 136, 0.4);
  border-radius: 6px;
  font-size: 1rem;
  margin-top: 4px;
  background: #f7f9fc;
  transition: border-color 0.2s;
  box-sizing: border-box;
  cursor: pointer;
  text-overflow: ellipsis;
}

/* Correção para o menu dropdown dos selects */
select option {
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  font-size: 0.95rem;
  padding: 8px;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Garantir que o menu dropdown não ultrapasse a largura do campo em navegadores webkit */
_::-webkit-full-page-media,
_:future,
:root select {
  text-overflow: ellipsis;
}

/* Correção para o tamanho das opções do select */
select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px top 50%;
  background-size: 12px auto;
  padding-right: 30px !important;
}

/* Força o tamanho máximo das opções */
select option {
  overflow-x: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Sobrescrever o estilo nativo do browser */
@supports (-webkit-appearance: none) or (-moz-appearance: none) or
  (appearance: none) {
  /* Para Chrome e Safari */
  select::-webkit-scrollbar {
    width: 6px;
  }

  select::-webkit-scrollbar-thumb {
    background-color: #2b2862;
    border-radius: 6px;
  }

  /* Para Firefox */
  @-moz-document url-prefix() {
    select {
      text-overflow: ellipsis !important;
      overflow: hidden !important;
    }

    select option {
      max-width: 100% !important;
      overflow: hidden !important;
    }
  }
}

/* Garantir que o dropdown se ajuste à largura do campo em todos os navegadores */
select.select-browser-default {
  width: 100% !important;
}

/* Estilos específicos para o Chrome */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  select {
    width: 100% !important;
  }

  select option {
    width: 100% !important;
  }
}

/* Botão destacado para anexar comprovante da taxa */
/* .destaque-btn {
  background: #22c55e;
  color: #fff;
  font-size: 1.1rem;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
  transition: background 0.2s, box-shadow 0.2s;
  margin-top: 18px;
  margin-bottom: 8px;
  font-weight: 600;
} */

/* .destaque-btn:hover,
.destaque-btn:focus {
  background: #16a34a;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.22);
} */

/* Passo a passo da etapa inicial */
/* .form-step#step-tax ol {
  background: #f7f9fc;
  border-radius: 8px;
  padding: 18px 18px 18px 32px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(234, 86, 14, 0.05);
  font-size: 1.08rem;
  color: #222;
}

.form-step#step-tax ol li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 1.08rem;
} */

.form-step#step-tax label[for="comprovanteTaxa"],
.form-step#step-tax label[for="guiaTaxa"] {
  font-size: 1.08rem;
  color: #2b2862;
  margin-bottom: 4px;
}

.anexo-duplo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.anexo-item {
  margin: 0;
  width: 220px;
}

.form-step#step-tax input[type="file"] {
  background: #e6f2ff;
  border: 2px solid #22c55e;
  border-radius: 8px;
  padding: 14px;
  font-size: 1.08rem;
  width: 100%;
  max-width: 350px;
  margin-bottom: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.08);
}
.form-step#step-tax input[type="file"]:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 2px #22c55e33;
}

.form-step#step-tax input[type="file"] {
  background: #e6f2ff;
  border: 1.5px solid #b6c2d1;
  border-radius: 6px;
  padding: 10px;
  font-size: 1rem;
  width: 100%;
  max-width: 350px;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}

.form-step#step-tax input[type="file"]:focus {
  border-color: #22c55e;
}

.sucesso-campo {
  color: #22c55e;
  font-size: 1rem;
  font-weight: 500;
  display: block;
  min-height: 18px;
  border-radius: 4px;
  /* padding: 2px 6px; */
}

.erro-campo {
  color: #e53935;
  font-size: 1rem;
  font-weight: 500;
  display: block;
  min-height: 18px;
  border-radius: 4px;
}

/* Alinhar erro-campo à esquerda na página de observações */
.etapa-observacoes .erro-campo,
.etapa-observacoes .anexo-campo .erro-campo {
  text-align: left !important;
}

/* Estilos para anexos do procurador em telas maiores que 768px */
@media (min-width: 769px) {
  .docs-procurador-anexos {
    width: 100%;
    background: #f8f9fa;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: space-between;
  }

  .docs-procurador-anexos .linha-anexo {
    border: 1px solid #c4d8f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* min-height: 180px; */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 86, 179, 0.06);
    padding: 10px 5px;
  }

  .docs-procurador-anexos .titulo-anexo {
    /* border: 1px solid blue; */
    font-size: 0.9rem;
    color: #2b2862;
    font-weight: 600;
    text-align: center;
    /* margin-bottom: 8px; */
  }

  /* .docs-procurador-anexos .grupo-opcoes-anexo {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
  } */

  /* .docs-procurador-anexos .doc-radio {
    margin-right: 6px;
    vertical-align: middle;
  } */

  /* .docs-procurador-anexos .label-radio {
    font-size: 1rem;
    margin-right: 18px;
    margin-left: 2px;
    font-weight: 400;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid orange;
  } */

  .form-step#step-tax .upload-btn-doc,
  .anexo-campo .upload-btn,
  .planta {
    width: 100%;
    min-width: 180px;
    max-width: 350px;
    color: #fff !important;
    border: none;
    background: #2b2862;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
  }

  .anexo-campo .upload-btn,
  .planta {
    margin: 8px 0;
  }

  .anexo-campo .peticao {
    /* border: 1px solid red; */
    margin-bottom: 20px !important;
  }

  .upload-btn,
  .upload-btn-doc {
    width: 100%;
    min-width: 180px;
    max-width: 350px;
    color: #fff !important;
    border: none;
    background: #2b2862;
    border-radius: 8px;
    padding: 10px 18px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(43, 40, 98, 0.2);
    transform: translateY(0);
  }

  .upload-btn:hover,
  .upload-btn-doc:hover {
    background: #d84a0a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(234, 86, 14, 0.3);
  }

  /* Estado disabled */
  .upload-btn:has(input:disabled),
  .upload-btn-doc:has(input:disabled) {
    background: #94a3b8;
    cursor: not-allowed;
    opacity: 0.7;
  }

  .upload-btn:has(input:disabled):hover,
  .upload-btn-doc:has(input:disabled):hover {
    background: #94a3b8;
  }

  .upload-btn i,
  .upload-btn-doc i {
    font-size: 1rem;
    color: #fff;
  }

  .upload-btn p,
  .upload-btn-doc p,
  .upload-btn span,
  .upload-btn-doc span {
    margin: 0;
    color: #fff;
    font-weight: 600;
  }

  .docs-procurador-anexos .anexo-erro {
    /* margin-top: 8px; */
    font-size: 0.98rem;
    font-weight: 500;
    text-align: center;
  }

  /* Botão interno do input file */
  /* .docs-procurador-anexos input[type="file"]::file-selector-button {
    background-color: #2B2862;
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 4px;
    margin-right: 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: block;
  } */

  /* Exibe o nome do arquivo selecionado */
  /* .docs-procurador-anexos input[type="file"] {
    white-space: normal;
    text-overflow: ellipsis;
    overflow-x: auto;
    border: 1px solid #c4d8f5;
    width: 100%;
  } */
}

/* Tooltip para o indicador */
.docs-table input[type="file"].has-attachment::before {
  content: "Arquivo anexado";
  position: absolute;
  top: -35px;
  right: -10px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
  z-index: 20;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  pointer-events: none; /* Para não interferir com o clique no input */
}

.docs-table input[type="file"].has-attachment:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Animação de pulso para a bolinha */
@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Indicador de arquivo anexado em forma de bolinha */

/* Bolinha de notificação no canto superior direito do botão */
.docs-table input[type="file"] {
  position: relative;
  overflow: visible; /* Importante para que a bolinha fique visível fora do elemento */
}

.docs-table input[type="file"]::after {
  content: "✓"; /* Símbolo de verificação */
  position: absolute;
  top: -8px;
  right: -8px;
  width: 18px;
  height: 18px;
  background-color: #22c55e; /* Verde */
  border-radius: 50%;
  border: 2px solid white;
  display: none; /* Inicialmente oculto */
  z-index: 9999 !important; /* Valor alto para garantir que fique acima de tudo */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
  transform: scale(0.8);
  pointer-events: none; /* Para não interferir com o clique no input */
}

.docs-table input[type="file"].has-attachment::after {
  display: flex !important; /* Usar flex para centralizar o conteúdo */
  align-items: center;
  justify-content: center;
  animation: pulse 1.2s ease-out;
  transform: scale(1);
  /* Efeito de brilho ao redor da bolinha */
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3), 0 0 10px rgba(34, 197, 94, 0.7);
  z-index: 9999 !important; /* Garante que fique acima de tudo */
}

/* Tooltip para o indicador */
.docs-table input[type="file"].has-attachment::before {
  content: "Arquivo anexado";
  position: absolute;
  top: -35px;
  right: -10px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
  z-index: 20;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  pointer-events: none; /* Para não interferir com o clique no input */
}

.docs-table input[type="file"].has-attachment:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Estilo para erro na tabela de documentos */
#erro-documentos {
  background-color: rgba(229, 57, 53, 0.1);
  padding: 12px;
  border-left: 4px solid #e53935;
  margin: 15px 0;
  font-size: 0.95rem;
  line-height: 1.5;
  display: none; /* Inicialmente oculto */
  text-align: left;
  border-radius: 4px;
}

#erro-documentos strong {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
  color: #e53935;
}

/* Estilo para a linha da tabela quando há erro */
tr.erro-doc {
  background-color: rgba(229, 57, 53, 0.08) !important;
}

tr.erro-doc td {
  border-color: rgba(229, 57, 53, 0.3);
}

/* Estilo para inputs de arquivo que precisam de anexo */
.docs-table input[type="file"].precisa-anexo {
  background-color: rgba(255, 200, 200, 0.85); /* Fundo vermelho claro */
  transition: all 0.3s ease;
  animation: background-pulse 1.5s infinite; /* Animação de pulso para o fundo */
}

/* Estilo para hover em inputs que precisam de anexo */
.docs-table input[type="file"].precisa-anexo:hover {
  background-color: rgba(255, 160, 160, 0.9); /* Vermelho com opacidade */
  border-color: #e53935;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(229, 57, 53, 0.3);
}

/* Estilo para o botão interno do input que precisa de anexo */
.docs-table input[type="file"].precisa-anexo::file-selector-button {
  background-color: #e53935;
  color: white;
  border: none;
  box-shadow: 0 2px 4px rgba(229, 57, 53, 0.25);
}

/* Estilo para o hover do botão interno quando precisa de anexo */
.docs-table input[type="file"].precisa-anexo::file-selector-button:hover {
  background-color: #c62828; /* Vermelho mais escuro */
  opacity: 0.95;
  box-shadow: 0 3px 6px rgba(229, 57, 53, 0.4);
}

/* Animação de pulso suave para o fundo do botão de upload inválido */
@keyframes background-pulse {
  0% {
    background-color: rgba(255, 200, 200, 0.85);
  }
  50% {
    background-color: rgba(255, 160, 160, 0.95);
  }
  100% {
    background-color: rgba(255, 200, 200, 0.85);
  }
}
.marca-todos-nao {
  background-color: #f0f2f5;
  color: #2b2862;
  border: 1px solid #2b2862;
  border-radius: 4px;
  padding: 6px 12px;
  margin-left: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.marca-todos-nao:hover {
  background-color: #2b2862;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(43, 40, 98, 0.3);
}
.opcoes-notificacao {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.opcoes-notificacao label {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  font-size: 1.05rem;
  padding: 8px 16px;
  background-color: #f7f9fc;
  border-radius: 8px;
  border: 1px solid rgba(136, 136, 136, 0.25);
  transition: all 0.2s ease;
  cursor: pointer;
}

.opcoes-notificacao label:hover {
  background-color: #edf2f7;
  border-color: rgba(136, 136, 136, 0.4);
}

.opcoes-notificacao input[type="checkbox"]:checked + span {
  font-weight: 500;
}

.opcoes-notificacao label.selecionada {
  background-color: #e0f0ff;
  border-color: #2b2862;
}

/* Estilo específico para o erro de notificação */
#erro-notificacao {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #d32f2f;
  margin-top: 8px;
  margin-bottom: 16px;
}

#erro-notificacao strong {
  font-weight: 600;
  color: #b71c1c;
}

/* Animação para os campos do procurador */
#procuradorCampos {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, opacity 0.4s ease-in-out,
    margin 0.4s ease-in-out;
  opacity: 0;
  margin-top: 0;
}

#procuradorCampos.mostrar {
  max-height: 1000px; /* Valor alto o suficiente para acomodar todo o conteúdo */
  opacity: 1;
  margin-top: 15px;
}

.anexo-mensagem {
  width: 100%;
  display: flex;
  position: relative;
  min-height: 22px; /* altura mínima para o espaço da mensagem */
  text-align: center;
  margin-top: 8px;
}

.anexo-mensagem .erro-campo,
.anexo-mensagem .sucesso-campo {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  margin: 0 auto;
  display: none;
}

.anexo-mensagem .erro-campo[style*="display: block"],
.anexo-mensagem .erro-campo[style*="display: inline"],
.anexo-mensagem .sucesso-campo[style*="display: block"],
.anexo-mensagem .sucesso-campo[style*="display: inline"] {
  display: block;
}

.container-btnTaxa {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.next-btn,
.prev-btn {
  background: #2b2862;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  transition: all 0.3s ease !important;
  transform: translateY(0) !important;
  box-shadow: 0 2px 4px rgba(43, 40, 98, 0.2) !important;
}

#btnObservacaoEnviar {
  margin: 0;
  background: #2b2862;
}

#btnObservacaoEnviar:hover {
  background: #ea560e !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(234, 86, 14, 0.3) !important;
}

.next-btn:hover,
.prev-btn:hover {
  background: #ea560e !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(67, 63, 135, 0.3) !important;
}

/* DOCUMENTAÇÃO NECESSÁRIA */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 20px;
  row-gap: 30px;
  column-gap: 20px;
}

.doc-card {
  border: 1px solid #c4d8f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px 12px 12px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 86, 179, 0.06);
  gap: 12px;
}

.doc-options {
  display: flex;
  align-items: center;
  gap: 20px;
}

.doc-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #2b2862;
  text-align: center;
  margin-bottom: 0;
  line-height: 1.3;
}

.inscricoes-salvas-display {
  /* border: 1px solid red; */
  margin-left: 15px;
  text-transform: capitalize;
}

/* Hover effect para o link "Qual é o padrão do meu imóvel?" */
#duvidasPadraoConstrucao {
  color: #2b2862 !important;
  font-weight: 500 !important;
  font-size: 0.95em !important;
  margin-top: 10px !important;
  display: inline-block !important;
  text-decoration: none !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
  border: 2px solid transparent !important;
  background: rgba(43, 40, 98, 0.05) !important;
}

#duvidasPadraoConstrucao:hover {
  color: #fff !important;
  background: #ea560e !important;
  border-color: #ea560e !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(234, 86, 14, 0.3) !important;
  text-decoration: none !important;
}

#duvidasPadraoConstrucao:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 4px rgba(234, 86, 14, 0.2) !important;
}

/* QR Code Loading Animation */
.qrcode-loading {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 0 auto;
}

.qrcode-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(43, 40, 98, 0.2);
  border-top: 4px solid #2b2862;
  border-radius: 50%;
  animation: qrcode-spin 1s linear infinite;
}

@keyframes qrcode-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#qrcode {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
