#featureInfoWindow {
    position: absolute;
    top: 10%;
    right: 5%;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 300px;
    padding: 20px;
    display: none;
    border-radius: 8px;
}

#feature-info {
    position: absolute; 
    top: 100px;
    right: 420px;
    background-color: white;
    padding: 0;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); 
    display: none; 
    z-index: 0;
    height: fit-content;
    width: fit-content;
    border-radius: 18px;
    overflow: hidden;
}

#feature-info-content {
    max-height: 65vh;
    width: 400px;
    overflow-y: auto;
    padding: 15px 15px 0px 15px;
}

#feature-info-content ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#properties-list li {
    padding: 2px 0;
    border-bottom: 1px solid #eee;
}

.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
}

.tablinks {
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    padding: 10px 15px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    border-radius: 4px;
    margin-right: 5px;
    color: #333;
    transition: background-color 0.3s ease;
}

.tablinks.active {
    background-color: #424242;
    color: white;
    border: 1px solid #deeeff;
}

.tablinks:hover {
    background-color: #ddd;
}

/* .tabcontent {
    display: none;
    padding: 15px;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.tabcontent ul {
    list-style-type: none;
    padding-left: 0;
}

.tabcontent ul li {
    margin-bottom: 10px;
} */


.botao-informacoes-camada {
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #424242;
    background-color: #424242;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.botao-informacoes-camada:hover {
    background-color: #ffffff;
    color: #464646;
}

#Tab2 {
    text-align: center;
}

#Tab2 button {
    margin: 0 10px;
}

#secondLayerInfo {
    margin-top: 8px;
    text-align: left;
}

.informacoes-camada {
    list-style: none;
    padding-left: 0;
}

.informacoes-camada li {
    padding: 2px 0;
    border-bottom: 1px solid #eee;
}

.informacoes-camada li strong {
    color: #333;
}

.document-section-title h4 {
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center; 
    gap: 8px; 
    margin: 10px 0;
}

.document-list {
    list-style: none; 
    padding: 0;
    margin: 0;
}

.document-item {
    margin-bottom: 8px;
    word-wrap: break-word; 
    overflow-wrap: break-word;
}

.document-item a {
    text-decoration: none;
    color: #007bff;
    font-size: 14px;
    display: block; 
    max-width: 100%; 
    word-wrap: break-word;
}

.document-item a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.extra-buttons {
    padding-top: 5px;
}


/* #cadastro-tributario {
    position: absolute;
    background-color: red;
    top: 100px;
    left: 100px;
    background: white;
    border: 1px solid #ccc;
    padding: 10px;
} */

#cadastro-tributario {
    z-index: 1100; 
    position: absolute; 
    top: 100px;
    right: 420px;
    background-color: white;
    padding: 0;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: none; 
    z-index: 0;
    height: fit-content;
    width: 600px;
    border-radius: 18px;
    overflow: hidden;
}

#cadastro-tributario-content {
    max-height: 65vh;
    padding: 15px 15px 0px 15px;
}

#cadastro-tributario-content ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#cadastro-tributario {
    z-index: 1100;
    position: absolute;
    top: 100px;
    right: 420px;
    background-color: #d6d6d6;
    padding: 0;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: none;
    height: fit-content;
    width: 600px;
    border-radius: 18px;
    overflow: hidden;
}

#cadastro-tributario-content {
    max-height: 65vh;
    overflow-y: auto;
    padding: 15px 15px 0px 15px;
    background-color: #d6d6d6;
}

.dropbox-title {
    background-color: #424242;
    color: white;
    border-radius: 20px;
    padding: 7px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    margin-top: 5px;
    position: relative; 
    z-index: 2; 
}

details {
    margin-bottom: 10px;
}

details ul {
    margin: 10px 0 0 20px;
    padding: 0;
    list-style-type: none;
}

.botao-informacoes-camada {
    margin: 10px 5px;
    padding: 5px 10px;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
}


.unidades-dropdown-container {
    width: 100%;
    padding: 1px 10px;
  }
  
  .unidades-dropdown {
    width: 100%;
    height: 20px !important;
    border: 1px solid #ced4da;
    border-radius: 20px;
    background-color: white;
    color: #495057;
    font-size: 16px;
    cursor: pointer;
  }
  
  .unidades-dropdown:focus {
    outline: none;
    border-color: #009ad7;
    box-shadow: 0 0 0 0.2rem rgba(0, 154, 215, 0.25);
  }

  .informacoes-camada-trib {
    list-style: none;
    padding-left: 0;
}

.informacoes-camada-trib li {
    padding: 2px 0;
    border-bottom: 1px solid #eee;
}

.informacoes-camada-trib li strong {
    color: #333;
}


.tabela-informacoes {
    width: 96%;
    margin-left: 10px;
    border-collapse: collapse;
    background-color: white;
    font-size: 14px;
    border-radius: 0 0 8px 8px; 
    overflow: hidden; 
    margin-top: -2px;
    position: relative;
    z-index: 1; 
    border: 1px solid black;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); 
}


.tabela-informacoes thead {
    font-size: 15px;
}



.tabela-informacoes th,
.tabela-informacoes td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid #ddd;
}

.tabela-informacoes th:first-child,
.tabela-informacoes td:first-child {
    border-right: 1px solid #ddd;
}

.tabela-informacoes th {

    color: rgb(87, 87, 87);
}

.historico-container {
    margin: 10px 0;
}

.historico-ano {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.historico-ano h4 {
    margin: 0 0 10px 0;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}


/* Estilo para o footer */
.draggableWindow .footer {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    background: #d6d6d6;
}

.btnExportar {
    background: #424242;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btnExportar:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

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

.loading-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}