html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    font-family: Arial, sans-serif;
    position: relative;
    margin: 0px;
}

*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: #f1f1f1;
}

*::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #555;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

.content-title.p {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 1000;
  display: flex;
  backdrop-filter: blur(5px);
  background-color: rgba(255, 255, 255, .5);
  padding: 0em 0em 0.3em;
}

.content-title.p img {
  width: 180px;
}

.content-title.p h2 {
    font-family: sans-serif;
    color: #320b8a;
    font-size: 1.3em;
    margin: auto;
    margin-left: 0em;
}

.leaflet-control-zoom {
    top: 60px !important;
    right: 0px !important;
}

.leaflet-control-container .leaflet-top.leaflet-left {
  left: auto !important;
  right: 450px !important;
}

#mapa-brasil {
    /* Configurações iniciais para o mapa */
    width: 600px;
    height: 400px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.18);
    margin: 20px auto;
}

#dados-tribunal {
    /* Configurações iniciais para a área de dados do tribunal */
    width: 80%;
    height: 400px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.18);
    margin: 20px auto;
    display: none; /* Inicialmente oculto */
}

.tribunal-list {
  width: 30%;
  overflow-y: auto;
  padding: 20px;
  position: absolute;
  top: 0px;
  z-index: 1000;
  height: 93%;
  right: 0%;
  height: calc(100% - 40px);
}

.card {
  background-color: #22222294;
  margin-bottom: 20px;
  padding: 20px;
  border-left: 5px solid cyan;
  backdrop-filter: blur(11px);
}

.card h2, .card p {
  margin: 0;
  color: #ddd;
}

.card h2 {
  color: #fff;
  margin-bottom: 10px;
}

/* Estilo adicional para o mapa */
.leaflet-container {
  background-color: #333333;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

div#modalTribunal {
  z-index: 1000;
  width: 100%;
  height: 100%;
  margin: 0px;
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background-color: rgba(255,255,255,.6);
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 93%;
  height: calc(95% - 43px);
  margin: auto;
  border-radius: 3px;
}

.modal-header {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
  opacity: .8;
}

.modal-header h2 {
  margin-top: 0;
  margin-bottom: 0;
}

.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-body {
  height: 98%;
}

.modal-footer {
  padding: 2px 16px;
  background-color: transparent;
  color: white;
  display: flex;
  width: 95%;
  position: absolute;
  bottom: -13px;
}

#btnVoltar {
  margin: auto;
  appearance: none;
  background: rgb(255 48 73);
  border: none;
  padding: 1em;
  border-radius: 3em;
  color: #FFF;
  box-shadow: 0 0 30px rgba(0,0,0,.3);
  cursor: pointer;
  transition: 500ms ease;
}

button#btnVoltar:hover {
  background: rgb(248 120 135);
}

.search-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.2);
  width: calc( 100% - 2em );
  padding: 0.5em 1em;
}

.search-input {
  padding: 8px;
  padding-left: 36px; /* Espaço para o ícone da lupa */
  background-image: url('lupa-icon-path'); /* Substitua 'lupa-icon-path' pelo caminho do seu ícone */
  background-position: 8px 50%; /* Posição do ícone da lupa dentro do campo */
  background-repeat: no-repeat;
  border: 1px solid #ccc;
  min-width: 230px;
}

.data-input {
  padding: 8px;
  border: 1px solid #ccc;
}

#dashboard {
  display: flex;
  height: 91%;
}

.lado-esquerdo, .lado-direito {
  flex: 1;
}

.lado-esquerdo {
  flex: 0.2;
  width: 206px;
}

#linhaEvolutiva {
  display: inline-block;
  justify-content: space-between;
  position: relative;
  margin: 20px 0px 0px 0px;
  height: calc(97% - 2em);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 30px;
  padding-bottom: 2em;
}

.etapa {
  flex-grow: 1;
  position: relative;
  text-align: center;
  margin-bottom: 30px;
  width: 100%;
}

.etapa.b {
  position: fixed;
  width: inherit;
  z-index: 100;
  bottom: -10px;
  backdrop-filter: blur(10px);
}

.etapa.b .card-b {
  background-color: #f8f9fa40;
  border-radius: 8px 8px 0px 0px;
}

.etapa.b::after {
  content: '';
  position: absolute;
  left: 0%;
  bottom: 0px;
  width: 0px;
  height: 0px;
  background-color: transparent;
  z-index: -5;
  width: 0px;
}

.etapa::after {
  content: '';
  position: absolute;
  left: 53%;
  bottom: -30px;
  width: 2px;
  height: 30px;
  background-color: #ddd;
  z-index: -1;
  width: 4px;
}

.etapa:last-child::after {
  display: none;
}

.card-b {
  position: relative;
  display: inline-block;
  padding: 10px;
  /* border: 2px solid #007bff; */
  border-radius: 0px 0px 8px 8px;
  background-color: #f8f9fa87;
  /* margin-bottom: 20px; */
  width: 150px;
  z-index: 1;
  width: 100%;
}

.conversao {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #007bff;
  z-index: 0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 0px 10px;
  /* border-radius: 8px; */
}

.lado-direito {
  display: inline-block;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 20px;
  width: 81%;
  height: 93%;
  overflow: auto;
}

.card-card {
  display: flex;
  overflow-x: auto;
  width: 100%;
  padding-bottom: 8px;
  /* height: 85px; */
  /* overflow-y: hidden; */
}

.card-c {
  width: 300px;
  background: rgba(255,255,255,.6);
  padding: 0em 2em;
  margin-right: 1em;
  border-radius: 3px;
  border-left: 5px solid #0e861f;
  display: flex;
}

.card-c .content {
  width: 200px;
}

.card-c h3 {
  margin-bottom: 0px;
  color: #047e53;
}

.card-c p {
  margin-top: 7px;
  color: #047e53de;
}

.card-c p small {
  font-weight: bolder;
}

.card-grafico.inline-graph {
  display: flex;
}

.card-grafico {
  flex-basis: 45%; /* Ajuste conforme necessário para seu layout */
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin: 10px;
  padding: 20px;
  background: rgba(255,255,255,.3);
  border-radius: 3px;
}

.pizz-inline {
  width: 50%;
}

.loader {
  border: 20px solid #f3f3f3;
  border-top: 20px solid #3498db;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  animation: spin 2s linear infinite;
  z-index: 100000;
  position: fixed;
  top: 45%;
  right: 45%;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.warning {
  z-index: 10000;
  background-color: rgba(255, 210, 10, 0.6);
  text-align: center;
  text-justify: center;
  width: 100%;
  border-radius: 3px;
  border:5px solid rgba(255, 210, 10);
  border-style: dashed;
  position: absolute;
  top: 100px;
  left: 0px;
  backdrop-filter: blur(5px);
  display: none;
}

.botao-area {
  display: inline-flex;
  border: 2px solid #3498db; /* Cor da borda */
  border-radius: 20px; /* Arredondamento da borda */
  overflow: hidden; /* Impede que o conteúdo ultrapasse a borda arredondada */
}

.botao-toggle {
  background-color: #3498db; /* Cor de fundo */
  color: white; /* Cor do texto */
  border: none; /* Remove a borda padrão do botão */
  padding: 10px 20px; /* Espaçamento interno */
  font-size: 11px; /* Tamanho do texto */
  cursor: pointer; /* Muda o cursor para indicar interatividade */
  outline: none; /* Remove o contorno ao focar (para navegadores que o aplicam) */
  transition: background-color 0.3s; /* Suaviza a transição de cores */
}

.botao-toggle:not(.ativo) {
  background-color: #2980b9; /* Cor de fundo para botão não ativo */
}

/* Estilização adicional para botão ativo */
.botao-toggle.ativo {
  background-color: #bdc3c7; /* Cor de fundo para botão ativo */
}

.botao-toggle:not(.ativo):hover {
  background-color: #bdc3c7; /* Cor de fundo ao passar o mouse */
}

div#progressBarContainer {
  position: absolute;
  top: 0px;
  height: 100%;
  backdrop-filter: blur(3px);
  z-index: 1000;
  text-align: center;
  display: none;
}

div#progressBar {
  text-align: center;
  display: flex;
  height: 100%;
  text-align-last: center;
  background: rgb(34 195 34 / 50%);
  transition: 1000ms;
}

#progressBar h1 {
  margin: auto;
  color: #fff;
}

.scroll-container {
  display: flex;
  overflow-x: auto; /* Habilita a rolagem lateral */
  white-space: nowrap; /* Impede quebra de linha dos contêineres */
  padding: 10px;
}

.container {
  display: inline-block;
  width: 300px;
  margin-right: 20px;
  vertical-align: top;
  background: rgba(0,0,0,.3);
  padding: 1em 1em;
  border-radius: 3px;
  width: fit-content;
}

.container .title {
  color: #fff;
}

.title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px; /* Espaçamento abaixo do título */
}

.field {
  margin: 10px 0;
}

.progress-bar-container {
  background-color: rgb(123 123 123 / 48%);
  border-radius: 5px;
  margin: 5px 0;
}

.progress-bar {
  background-color: #149c1a87;
  height: 20px;
  border-radius: 5px;
  color: white;
  text-align: center;
  line-height: 20px; /* Same as height to vertically center text */
}

.info {
  font-size: 0.8em;
  margin-top: 5px;
}

.accept-button {
  cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    background-color: rgb(67 209 67 / 74%);
    color: white;
    appearance: none;
    border: none;
    padding: 9px;
}

.accept-button.active {
  background-color: rgba(211, 51, 51, 0.676);
}

.filters p {
  margin: 5px 0;
  font-size: 14px;
  color: #fff;
}

.table-container {
  max-width: 100%;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: absolute;
  left: 10px;
  z-index: 1000;
  max-height: 135px;
  font-size: 55%;
  padding-top: 0em;
  padding-bottom: 1px;
}

.table-container.org {
  bottom: 10px;
  max-height: 80px;
}

.table-container.ifc {
  bottom: 100px;
}

.table-container.tts {
  bottom: 245px;
  max-height: 300px;
}

.table-container.eee {
  bottom: 555px;
  max-height: 55px;
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
}

.table-container th, td {
  text-align: left;
  padding: 8px;
  background: rgba(255, 255, 255, 0.3);
  border: solid 1px #ddd;
}

.table-container th {
  background: rgba(255, 255, 255, 0.5);
  top: 0;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
  z-index: 2;
}

.table-container thead th {
  position: sticky;
}
