/* Layout Geral */
.ouvidoria-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

/* Container dos Cards */
.govbr-cards-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
}

/* O Card Estilo Meridiano - Reset total de interferências */
.govbr-card {
  background: #ffffff !important;
  border: 1px solid #e1e1e1 !important;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1) !important;
  width: 380px !important;
  height: 300px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  transition: all 0.3s ease-in-out;

  /* Técnica de centralização absoluta */
  display: grid !important;
  place-items: center !important;
  align-content: center !important;
  padding: 20px !important;
  margin: 0 !important;
}

.govbr-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-5px);
  border-color: #00478a !important;
}

/* Conteúdo Interno */
.govbr-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Evita que o clique no ícone se comporte diferente do card */
}

/* Reset agressivo nos ícones para evitar que fiquem "tortos" */
.govbr-card-content i {
  font-size: 100px !important; /* Tamanho grande conforme sua imagem */
  color: #00478a !important;
  margin: 0 0 20px 0 !important; /* Apenas margem embaixo */
  padding: 0 !important;
  line-height: 1 !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  text-align: center !important;
  /* Remove sombras ou bordas que o tema possa injetar */
  background: none !important;
  border: none !important;
}

/* Limpeza de pseudo-elementos do Tema Gov */
.govbr-card::before,
.govbr-card::after,
.govbr-card-content::before,
.govbr-card-content::after {
  display: none !important;
  content: "" !important;
}

/* Texto do Card */
.govbr-card-label {
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  text-transform: uppercase !important;
  color: #00478a !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  display: block !important;
}

/* Link de Consulta */
.link-consulta-protocolo {
  display: inline-block;
  margin-top: 40px;
  color: #00478a !important;
  text-decoration: underline !important;
  font-weight: 600;
}

/* Formulário de Consulta */
.form-consulta-protocolo {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.form-consulta-protocolo input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 300px;
}

/* Resultado */
.resultado-consulta {
  text-align: left;
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  border-left: 5px solid #00478a;
  margin-top: 20px;
}

.status-badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  color: #fff;
}

.status-pendente {
  background: #6c757d;
}
.status-analise {
  background: #ffc107;
  color: #000;
}
.status-concluido {
  background: #28a745;
}

.resposta-box {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px dashed #ccc;
}

.conteudo-resposta {
  background: #fff;
  padding: 15px;
  border: 1px solid #e1e1e1;
  margin-top: 10px;
  border-radius: 4px;
}

.alerta-erro {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 15px;
  border-radius: 4px;
}

.tabela-govbr {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
}

.tabela-govbr th,
.tabela-govbr td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.tabela-govbr th {
  background-color: #f8f9fa;
  color: #00478a;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn-ver-mais {
  background: none;
  border: 1px solid #00478a;
  color: #00478a;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
}

.btn-ver-mais:hover {
  background: #00478a;
  color: #fff;
}

.item-anexo {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px;
  background: #f1f1f1;
  border-radius: 4px;
}

.item-anexo input[type="text"] {
  flex: 1;
}

.btn-secundario {
  background: #6c757d;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

/* Garante que o editor ocupe a largura correta */
.wp-editor-wrap {
  margin-bottom: 20px;
  border: 1px solid #ccc;
}

.texto-timeline {
  line-height: 1.6;
}

.texto-timeline a {
  color: #00478a;
  text-decoration: underline;
  font-weight: bold;
}

.texto-timeline a:hover {
  color: #d93025;
}
.texto-timeline strong {
  display: inline-block;
  margin-top: 10px; /* Dá um espaço entre o texto e o ícone do clipe */
}

.interacao-cidadao {
  margin-top: 30px;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.campo-anexo {
  margin: 15px 0;
}

.alerta-concluido {
  margin-top: 30px;
  padding: 20px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  color: #92400e;
  border-radius: 8px;
  text-align: center;
}

.btn-enviar-gov {
  background: #00478a;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

/* Estilo para os Labels (Nomes dos campos) */
.br-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #133052; /* Azul escuro do Gov.br */
  margin-bottom: 8px;
  font-family: "Rawline", sans-serif;
}

/* O Select Customizado */
.br-select-custom {
  width: 100%;
  max-width: 450px; /* Largura máxima idêntica ao padrão Gov.br */
  height: 40px;
  padding: 0 16px;
  font-size: 16px;
  color: #4b4b4b;
  background-color: #ffffff;
  border: 1px solid #888888;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23133052'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: block; /* Garante que se comporte como bloco */
  margin: 0 auto; /* Reforça a centralização */
}

/* Efeito de foco (quando o usuário clica) */
.br-select-custom:focus {
  outline: none;
  border-color: #00478a; /* Azul Gov.br */
  box-shadow: 0 0 0 2px rgba(0, 71, 138, 0.2);
}

/* Espaçamento entre os campos */
.field-container {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centraliza o conteúdo horizontalmente */
  text-align: center; /* Centraliza o texto do label */
}

/* Botão Enviar (Seguindo o padrão azul) */
.btn-enviar-gov {
  background-color: #133052 !important;
  color: #fff !important;
  padding: 12px 32px !important;
  border-radius: 100px !important; /* Botão arredondado Gov.br */
  font-weight: bold !important;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-enviar-gov:hover {
  background-color: #2670e8 !important;
}

/* Comprovante de manifestação */

.ouvidoria-comprovante-sucesso {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.alerta-verde {
  background: #e8f5e9;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.check-icon {
  font-size: 50px;
  color: #2e7d32;
  display: block;
  margin-bottom: 10px;
}

.prot-num {
  color: #00478a;
  font-size: 1.5em;
  font-weight: bold;
}

.acoes-final {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.btn-imprimir {
  background: #00478a;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
}

.btn-voltar {
  background: #f5f5f5;
  color: #555;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}
