/* CSS estrutura geral */

:root {
  --primary-color: #0f4098;
  --font-color-primary: #fff;
  --tamanho-DDD: 6rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.bg-image {
  background-image: url(../images/bg-image.jpg);
  background-size: cover;
}

.center-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 79vh;
}

.form-box {
  display: flex;
  flex-wrap: wrap;
}

html {
  font-size: 62.5%;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  position: relative;
  min-height: 100%;
}

a {
  all: unset;
  cursor: pointer;
}

area[coords="47,10,160,28"] {
  border-right: 1px solid gray;
  margin-left: 1vw;
  vertical-align: middle;
}

input,
select {
  border: 1px solid #0f4098;
  border-radius: 3rem !important;
  resize: vertical;
}
/* Messages */
.message {
  padding: 2px;
  border: 1px solid black;
  background: gray;
  color: white;
  text-align: center;
  font-size: 125%;
}

.message-error {
  border: 1px solid black;
  background: red;
}

.message-success {
  border: 1px solid black;
  background: rgb(35, 196, 35);
}

/* CSS header */

.user-box, .admin-box, .staff-box {
  border: 1px solid white;
  padding: 1rem;
  margin-right: 2rem;
  color: var(--font-color-primary);
  font-size: 1.5rem;
  background-color: transparent;
}

.user-box span, .admin-box span, .staff-box span {
  font-weight: bold;
  padding-left: 0.4rem;
}

.logo {
  margin-left: 2rem;
}

.user-box, .admin-box {
  border: 1px solid white;
  padding: 1rem;
  margin-right: 2rem;
  color: var(--font-color-primary);
  font-size: 1.5rem;
}

.right-boxes {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#titulo {
  flex: auto;
}

h1 {
  margin-block: revert !important;
  color: white;
  border-left: 1px solid gray;
  padding-left: 1vw;
  margin-left: 0.5vw;
}

header {
  background-color: var(--primary-color);
  padding-top: 1rem;
  padding-bottom: 1rem;
  min-height: 5.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* CSS footer */

.copyright {
  float: right;
  font-size: 1.6rem;
  display: flex;
  margin-bottom: 1rem;
  margin-right: 1rem;
}

.copyright span {
  margin-top: 1rem;
  margin-right: 0.5rem;
}

footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

/* CSS conteúdo */

/* inscricao.html */

.inscricao {
  display: flex;
  justify-content: center;
}

.tab {
  width: 900px;
  margin: 5rem auto;
}

.tab > input[type] {
  display: none;
}

.tab > label:hover,
.tab input:checked + label {
  background: #0f4098;
  color: #fff;
}

.tab > label {
  display: block;
  float: left;
  padding: 1.2rem 2rem;
  margin-right: 0.5rem;
  cursor: pointer;
}

.tabs {
  clear: both;
  perspective: 40rem;
  -webkit-perspective: 40rem;
}

.tabs .conteudo {
  background: #fff;
  position: relative;
  border: 2px solid #0f4098;
  padding: 1rem 3rem 4rem;
  line-height: 1.4em;
  display: none;
}

#tab-pessoal:checked ~ .tabs .conteudo:nth-of-type(1),
#tab-endereco:checked ~ .tabs .conteudo:nth-of-type(2),
#tab-curso:checked ~ .tabs .conteudo:nth-of-type(3),
#tab-conta:checked ~ .tabs .conteudo:nth-of-type(4),
#tab-deficiencia:checked ~ .tabs .conteudo:nth-of-type(5),
#tab-responsavel:checked ~ .tabs .conteudo:nth-of-type(6),
#tab-morador:checked ~ .tabs .conteudo:nth-of-type(7),
#tab-renda:checked ~ .tabs .conteudo:nth-of-type(8) {
  display: inherit;
}

#tab-dados:checked ~ .tabs .conteudo:nth-of-type(1),
#tab-conta-das:checked ~ .tabs .conteudo:nth-of-type(2),
#tab-responsavel-das:checked ~ .tabs .conteudo:nth-of-type(3),
#tab-moradores:checked ~ .tabs .conteudo:nth-of-type(4), 
#tab-documentos:checked ~ .tabs .conteudo:nth-of-type(5), 
#tab-recurso:checked ~ .tabs .conteudo:nth-of-type(6){
  display: inherit;
}

.label-form {
  display: block;
}

.tab-invisivel {
  display: none !important;
}

.container-botoes{
  margin-top: auto;  
  width: 100%; 
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box fieldset {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: fit-content;
  border: 1px solid var(--primary-color);
  border-radius: 2rem;
  padding: 3rem;
}

.form-box fieldset {
  border: 1px solid var(--primary-color);
  border-radius: 2rem;
  padding: 3rem;
}

.field-group-login span {
  display: block;
  font-size: 1.5rem;
}

.btn-round {
  border-width: 1px;
  border-radius: 3rem;
  padding: 1rem 2.3rem;
  cursor: pointer;
  border-color: transparent;
  margin-top: 1rem;
}

.btn-enter {
  background-color: var(--primary-color);
  color: var(--font-color-primary);
}

.btn-stop {
  background-color: red;
  color: var(--font-color-primary);
}

.btn-wait {
  background-color: rgb(181, 181, 32);
  color: var(--font-color-primary);
}

.btn-run {
  background-color: green;
  color: var(--font-color-primary);
}

.btn-undo {
  background-color: gray;
  color: var(--font-color-primary);
}

.field-group-form {
  display: flex;
}

.field-group-login input,
.field-group-form input {
  font-size: 1.5rem;
  line-height: 1.2;
  color: #333;
  display: block;
  width: 100%;
  background: #fff;
  height: 3.4rem;
  border-radius: 2.5rem;
  padding: 0 3rem 0 1rem;
  margin: 1rem;
  border: 1px solid var(--primary-color);
}

.clear {
  clear: both;
}

legend {
  font-size: 2rem;
  color: var(--primary-color);
}

nav {
  height: auto;
  width: 100%;
  background: #308d46;
}

nav ul {
  display: flex;
  list-style-type: none;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 0px;
  margin-bottom: 0px;
  padding-left: 4rem;
}

.row-form {
  /* por padrão, todos os campos ocuparão 100%*/
  width: 100%;
  margin-top: 2rem;
}

.row-form input {
  /* por padrão, todos os inputs ocuparão 97% */
  width: 97%;
}

.form-box > .inf-pessoais:nth-of-type(1),
.form-box > .inf-pessoais:nth-of-type(2),
.form-box > .inf-pessoais:nth-of-type(3),
.form-box > .inf-pessoais:nth-of-type(4),
.form-box > .inf-pessoais:nth-of-type(5),
.form-box > .inf-pessoais:nth-of-type(6),
.form-box > .inf-pessoais:nth-of-type(19),
.form-box > .inf-pessoais:nth-of-type(20) {
  /* Seletor do nome, nome social, data de nascimento e sexo  */
  width: 50%;
}

.form-box > .inf-pessoais:nth-of-type(1) input,
.form-box > .inf-pessoais:nth-of-type(2) input,
.form-box > .inf-pessoais:nth-of-type(3) input,
.form-box > .inf-pessoais:nth-of-type(4) select,
.form-box > .inf-pessoais:nth-of-type(5) input,
.form-box > .inf-pessoais:nth-of-type(6) input,
.form-box > .inf-pessoais:nth-of-type(19) input,
.form-box > .inf-pessoais:nth-of-type(20) input {
  /* Seletor do nome, nome social, data de nascimento e sexo  */
  width: 93%;
}

.form-box > .inf-pessoais:nth-of-type(4) select {
  /* Seletor de sexo */
  padding: 0.9rem;
}

.form-box > .inf-pessoais:nth-of-type(5)
.form-box > .inf-pessoais:nth-of-type(6),
.form-box > .inf-pessoais:nth-of-type(7),
.form-box > .inf-pessoais:nth-of-type(8),
.form-box > .inf-pessoais:nth-of-type(9),
.form-box > .inf-pessoais:nth-of-type(16),
.form-box > .inf-pessoais:nth-of-type(17),
.form-box > .inf-pessoais:nth-of-type(18),
.form-box > .endereco:nth-of-type(5),
.form-box > .endereco:nth-of-type(6),
.form-box > .endereco:nth-of-type(7),
.form-box > .curso:nth-of-type(4),
.form-box > .curso:nth-of-type(5),
.form-box > .curso:nth-of-type(6),
.form-box > .responsavel:nth-of-type(5),
.form-box > .responsavel:nth-of-type(6),
.form-box > .responsavel:nth-of-type(7),
.form-box > .morador:nth-of-type(5),
.form-box > .morador:nth-of-type(6),
.form-box > .morador:nth-of-type(7) {
  /* seletor dos campos das linhas que tem 3 campos. */
  width: 33%;
}

.form-box > .inf-pessoais:nth-of-type(6) input,
.form-box > .inf-pessoais:nth-of-type(7) input,
.form-box > .inf-pessoais:nth-of-type(8) input,
.form-box > .inf-pessoais:nth-of-type(16) input,
.form-box > .inf-pessoais:nth-of-type(17) input,
.form-box > .inf-pessoais:nth-of-type(18) input,
.form-box > .endereco:nth-of-type(5) select,
.form-box > .endereco:nth-of-type(6) input,
.form-box > .endereco:nth-of-type(7) input,
.form-box > .curso:nth-of-type(4) input,
.form-box > .curso:nth-of-type(5) input,
.form-box > .curso:nth-of-type(6) input,
.form-box > .responsavel:nth-of-type(5) input,
.form-box > .responsavel:nth-of-type(6) input,
.form-box > .responsavel:nth-of-type(7) input,
.form-box > .morador:nth-of-type(5) input,
.form-box > .morador:nth-of-type(6) input,
.form-box > .morador:nth-of-type(7) input {
  /* seletor dos campos das linhas que tem 3 campos: RG, Órgão emissor, Data expedição, bairro, município e UF */
  width: 94%;
}

.form-box > .inf-pessoais:nth-of-type(10),
.form-box > .inf-pessoais:nth-of-type(12),
.form-box > .responsavel:nth-of-type(3) {
  /* Seletor de DDD */
  width: var(--tamanho-DDD) !important;
}

.form-box > .inf-pessoais:nth-of-type(10) input,
.form-box > .inf-pessoais:nth-of-type(12) input,
.form-box > .responsavel:nth-of-type(3) input {
  /* Seletor de DDD*/
  width: calc(var(--tamanho-DDD) - 1rem) !important;
}

.form-box > .inf-pessoais:nth-of-type(11),
.form-box > .inf-pessoais:nth-of-type(13),
.form-box > .responsavel:nth-of-type(4) {
  /* seletor dos campos que vem depois do DDD: Telefone e celular */
  width: calc(100% - var(--tamanho-DDD)) !important;
}

input[type="submit"] {
  display: block;
  margin-left: auto;
}

label.invalido {
  box-shadow: inset 0 4px 0 red;
}

#incluir-morador, #incluir-renda {
  display: block;
  margin: 1em auto 10px;
}

/* index.html */

#bem-vindo {
  text-align: center;
}

#lista {
  width: 60rem;
  height: min-content;
  max-width: 60rem;
  display: flex;
  border: 1px solid #2268fd;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem;
  font-size: larger;
}

#principal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

th {
  background-color: var(--primary-color);
  color: white;
}

.excluir-morador, .excluir-renda {
  border: none;
  cursor: pointer;
  background: transparent;
}
/* geral */

.column {
  display: flex !important;
  flex-direction: column !important;
  margin-right: 2vw;
}

@media (min-width: 576px) {
  .col-sm-2 {
    max-width: none;
  }
}
main {
  position: relative;
  margin-bottom: 6rem;
}

input,
select {
  padding: 12px;
  margin-right: 1.5rem;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-scale-up-01);
  margin-bottom: var(--spacing-scale-half);
  line-height: var(--font-line-height-low);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

select {
  padding: 1.2rem;
}

.erro {
  color: tomato;
  display: inline-block;
  width: 94%;
  max-width: 94%;
}

.erro:empty {
  display: none;
}

/* .endereco input:required,
.endereco input:invalid,
label[for="tab2"] {
} */

.esconder_conta,
.esconder_deficiencia {
  width: 100%;
}

select[readonly] {
  cursor: no-drop;
  pointer-events: none;
}

input[readonly] {
  background-color: #f0f0f0;
}

select:not([readonly]):not([disabled]),
select:not([readonly]):not([disabled]) option {
  background-color: #fff;
}

select[readonly] option,
select[readonly] optgroup {
  display: none;
}

summary {
  padding: var(--spacing-scale-2x);
}

.survey-form {
    background-color: white; 
    width: 50%;            
    margin: 0 auto;  
    margin-top: 20px;  
    padding: 20px;          
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    overflow: hidden; 
  }

.survey-form button {
    display: block;                   
    margin-top: 10px;
    float: right;      
}

.survey-form ul {
  list-style-type: none; 
  padding: 0;
}

.survey-form label {
  font-size: 1.6rem;
  font-weight: var(--font-weight-medium);
}

.grupo-campo {
  font-family: sans-serif;
  border: 5px solid #1F497D;
  background: #f4f4f4;
  border-radius: 5px;
  margin-top: 5px;
  margin-bottom: 2rem;
  padding: 20px 5px 5px;
  position: relative; 
  display: flex; 
  flex-wrap: wrap;
}

.grupo-campo-legend {
  background: #1F497D;
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
  position: absolute;
  top: -14px; 
  left: 10px; 
}

.grupo-campo div {
  flex-basis: calc(50%);
  margin-bottom: 10px;
}

div.renda-container {
  display: flex;
  flex-direction: column; 
  flex-basis: 100%; 
  justify-content: center; 
  margin-bottom: 1rem;
  margin-top: 3rem;
}

.input-renda-ds{
  margin-right: 4rem;
  padding: 0.2rem;
}

.input-banco-ds{
  padding: 0.2rem;
  width: 13rem;
}

.banco-select{
  padding: 0.2rem;
  width: 23rem;
  font-size: 1.4rem;
}

.editar-conta{
  flex: 0 1 6rem !important;
}

.corrigir-banco{
  display: none;
}

.input-banco-ds[readonly] {
  background-color: #f0f0f0;
  color: #6c757d;
  border: 1px solid #ced4da;
}

.corrigir-banco-dv{
  display: flex; 
  justify-content: center;
}

div.agencia-adm-dv{
  flex-basis: calc(35%);
}

div.conta-adm-dv{
  flex-basis: calc(43%);
}

.renda-container div.botao-corrigir-container {
  display: flex;
  justify-content: center;
  margin-top: 20px; 
}

.renda-container div{
  display: flex;
  flex-direction: row; 
  justify-content: space-between; 
  width: 100%; 
  margin-bottom: 10px; 
}

div.grupo-renda-ds{
  display: inline;
}

.tb-documentos {
  display: none;
}

.tb-documentos td:nth-child(1) {
  width: 67%;
}

.tb-documentos td:nth-child(2) {
  text-align: right;
}

.tb-candidato-nome {
    text-decoration: none; 
    display: inline-block; 
    padding: 5px 10px; 
    margin-right: 5px;  
    border: 2px solid var(--primary-color); 
    cursor: pointer; 
    color: var(--primary-color);
    background-color: white !important;
}

.candidato-nome.active {
  border-bottom: 1px solid white;
}

.tb-dashboard thead tr {
  display: flex; 
  width: 120%;
  color: var(--primary-color);
  flex-wrap: wrap;
}

.tb-dashboard tbody tr {
  border: 2px solid var(--primary-color);
}

.tb-dashboard thead th {
  flex: 1 0 10%;
  white-space: nowrap; 
  text-align: left;
  padding: 1px; 
  background-color: white;
  flex-grow: 0; 
  flex-shrink: 0;
  flex-basis: auto;
}

.tb-dashboard thead tr th:active{
  color: green;
}

.active {
	text-decoration: underline;
  background-color: midnightblue;
}

.tb-titulo{
  background-color: #f4f4f4;
  text-align: center !important;
  color: var(--primary-color);
}

.tb-destaque{
  background-color: #b8b2b2;
  font-weight: bold;
}

.tabbed-table tbody tr td span{
  color: var(--primary-color);
}

.documento-obrigatorio, .documento-obrigatorio span{
  color:red !important;
}

.titulo-documento{
  font-weight: bold;
}

.custom-button, .custom-button-anterior {
  display: inline-block;
  padding: 6px 6px;
  cursor: pointer;
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #555;
  text-decoration: none; /* Remove o sublinhado dos links */
}

.custom-button:hover, .custom-button-anterior:hover {
  background-image: linear-gradient(rgba(var(--interactive-rgb),var(--pressed)),rgba(var(--interactive-rgb),var(--pressed)));
}

.tb-documentos .history-button{
  font-size: 1.5rem;
  margin-right: 0.1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.documento-analise{
  color: rgb(181, 181, 42) !important; 
  font-weight: bold;
  font-size: 1.2rem;
}

.documento-aprovado{
  color: green !important; 
  font-weight: bold;
  font-size: 1.2rem;
}

.documento-reprovado{
  color: red !important; 
  font-weight: bold;
  font-size: 1.2rem;
}

.modal_dashboard {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 50%;
}

.modal_upload, .modal_inscricao, .modal_devolucao, .modal_historico, .modal_recurso {
  position: fixed;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 30%;
}

.modal-content, .modal-footer {
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: space-around; 
  width: 100%; 
}

.modal-content {
  text-align: center;
}

.modal-footer {
  margin: 1rem 0;
  text-align: center;
}

.modal-content textarea {
  width: 90%; 
  height: 15rem;
  margin-bottom: 1rem; 
  border: 0.2rem solid var(--primary-color); 
  border-radius: 0.8rem;
  resize: vertical; 
  outline: none;
}

.modal-content h4{
  color: var(--primary-color);
  margin-bottom: 4rem;
}

.modal-footer button {
  margin: 0.5rem; 
  padding: 1rem 2rem; 
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 25px;
  font-weight: bold;
  cursor: pointer;
  color: red;
}

.modal_historico, .modal_aviso_morador {
  overflow: auto;  
  background-color: #fff;
}

.modal-body {
  background-image: linear-gradient(to bottom, rgba(220, 220, 220, 0.5) 1px, transparent 1px);
  background-size: 100% 25px, 25px 100%; 
  padding: 20px; 
  max-height: 300px; 
  overflow-y: auto;
  font-family: cursive;
}

.historico-container{
  font-family: cursive;
  font-size: 1.4rem;
}

.linha-historico{
  line-height: 1.6;
  margin-bottom: 10px;
}

.icone-reprovacao{
  cursor: pointer;
  font-size: 2rem;
  padding-left: 0.7rem;
}

div.visualizar-rejeicao{
  text-align: left; 
  min-width: 90%;
  min-height: 20rem;
  background-color: #f2f2f2; 
  padding: 1rem; 
  border-radius: 0.5rem; 
  border: 0.2rem solid var(--primary-color); 
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); 
  margin-bottom: 1rem;
  overflow-y: auto;
}

.back-button-container {
  margin-bottom: 20px;
}

.back-button {
  display: inline-block;
  color: var(--primary-color);
  padding: 10px 15px;
  text-decoration: none;
  font-weight: bold;
}

.back-button:hover {
  background-color: #e0e0e0;
  border-color: #ccc;
}

#submeter-documentos{
  width: 20%;
  margin-left: inherit;
}

.submeter-documentos-container, .aviso-status-inscricao-container{
  display:flex;
  justify-content:center;
  margin-top: 2rem;
}

.manipular-inscricao-container {
  display: flex;
  justify-content: center;
  gap: 10px; 
  width: 100%; 
  align-items: center;
}

.manipular-inscricao-container form {
  display: flex;
  gap: 10px;
}

tr.inscricao-vencida{
  background-color: rgb(237, 172, 172) !important;
}

#submit-inscricao{
  position: absolute;
  left: 82%;
  top: 102%;
}

.inscricao-insubmetida, .inscricao-submetida{
  color: white;
  text-align: center; 
  font-weight: bold; 
  padding: 10px; 
  margin: 20px 0; 
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  width: 30%;
  margin: 20px auto;
}

.inscricao-insubmetida{
  background-color: rgb(169, 50, 24);
}

.erro-questao{
  border: 2px solid rgb(169, 50, 24);
  padding: 5px;
  margin-bottom: 15px;
}

.inscricao-submetida{
  background-color: rgb(17, 159, 17);
}

.arrow-container {
  display: inline-block;
  margin-left: 4px;
}

.up-arrow, .down-arrow {
  display: block;
  margin: auto;
}

.up-arrow {
  width: 0;
  height: 0;
  border: solid 5px transparent;
  background: transparent;
  border-bottom: solid 7px white;
  border-top-width: 0;
  cursor: pointer; 
}

.down-arrow {
  width: 0;
  height: 0;
  border: solid 5px transparent;
  background: transparent;
  border-top: solid 7px white;
  border-bottom-width: 0;
  margin-top: 1px;
  cursor: pointer;
}

.label_search{
  color: var(--primary-color);
  font-weight: bold;
}

.custom-tooltip {
  background-color: #fff;
  display: block;
  position: absolute;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 5px;
  border-radius: 5px;
  z-index: 9999;
  max-width: 60rem;
  word-wrap: break-word;
  font-family: cursive;
}

.icone-redo{
  color: #4e4e4e;
  cursor: pointer;
  margin-left:0.3rem;
}

.recurso_form{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 5%;
}

.recurso_form textarea{
  width: 50%;
  height: 40rem;
  margin-bottom: 1rem;
  border: 1px solid var(--primary-color);
  background-color: transparent;
}

.recurso_form div{
  margin-top: 4rem;
  margin-bottom: 4rem;
}
.recurso_form span{
  font-weight: bold;
}

.recurso_form input[type="checkbox"]{
  padding-top: 1px;
}

.justificativa-recurso {
    margin: var(--spacing-scale-2x) 0 var(--spacing-scale-4x);
    padding: var(--spacing-scale-2x);
    font-family: monospace;
    font-size: 1em;
    background: var(--gray-5);
}

div.nome-recurso{
    font-weight: bold;
    color: var(--primary-color);
}

div.renda-per-capita{
  font-weight: bold;
  text-align: center;
  font-size: 1.7rem;
  color: var(--primary-color);
}

.table-relatorio {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40%;
  border-collapse: collapse;
  text-align: center;
}

.table-relatorio th:first-child {
  width: 90%;
}

.table-relatorio .relatorio-periodo-select {
  width: 280px;
  min-width: 280px;
  padding: 0.45rem 0.75rem;
  border: 1px solid #cfd7e3;
  border-radius: 8px;
  background: #fff;
  color: #243447;
}

.table-relatorio .relatorio-gerar-btn {
  padding: 0.55rem 1.1rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #0056b3, #0a7cff);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(10, 124, 255, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.table-relatorio .relatorio-gerar-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(10, 124, 255, 0.28);
  filter: brightness(1.03);
}

.table-relatorio .relatorio-gerar-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(10, 124, 255, 0.2);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 1001;
  border: 2px solid var(--primary-color);
}
