.body {
  font-family: Arial, sans-serif;
  padding: 30px;
  background-color: #f9f9f9;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper input[type="text"] {
  padding: 10px 15px 10px 40px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #c8e6c9;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  transition: all 0.3s ease;
}

.search-icon {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  fill: #2e7d32;
  pointer-events: none;
}

.search-input-wrapper input[type="text"]:focus {
  outline: none;
  border-color: #2e7d32;
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

/* Efeito de placeholder */
.search-input-wrapper input::placeholder {
  color: #90a4ae;
  opacity: 0.8;
}

.tabela-decretos {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-top: 10px;
  font-family: Arial, sans-serif;
}

.tabela-decretos th,
.tabela-decretos td {
  border: 1px solid #e0e0e0;
  padding: 10px;
  text-align: center;
  vertical-align: middle;
}

.tabela-decretos th {
  background-color: #2e7d32;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9em;
}

/* Efeito zebrado com tons de verde */

/* Zebramento dinâmico */
.tabela-decretos tr.linha-odd {
  background-color: #e8f5e9;
}

.tabela-decretos tr.linha-even {
  background-color: #f1f8e9;
}

.tabela-decretos tr:hover {
  background-color: #c8e6c9 !important;
}

.tabela-decretos td {
  color: #333;
}

.tabela-decretos th:nth-child(1),
.tabela-decretos td:nth-child(1) {
  width: 15%;
}

.tabela-decretos th:nth-child(2),
.tabela-decretos td:nth-child(2) {
  width: 55%;
}

.tabela-decretos th:nth-child(3),
.tabela-decretos td:nth-child(3) {
  width: 15%;
}

.tabela-decretos th:nth-child(4),
.tabela-decretos td:nth-child(4) {
  width: 15%;
}

.link {
  color: blue;
  text-decoration: underline;
}

/* Estilo para a paginação */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.pagination button {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.pagination button.active,
.pagination button:hover {
  background-color: #c8e6c9;
  color: #1b5e20;
  font-weight: bold;
}

/* Estilo para o carregamento */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease-out;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db; 
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    margin-top: 20px;
    font-size: 1.2em;
    color: #333;
    font-family: sans-serif;
}

.hidden {
    opacity: 0;
    pointer-events: none; 
}

.filters-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #2e7d32;
    border-radius: 8px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    color: white;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 16px;
}

.filter-group select {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #c8e6c9;
    font-size: 15px;
    min-width: 250px; 
}

.search-container {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    border: none;
    padding: 16px;
    background-color: #f5faf5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);;
    margin-bottom: 25px;
    max-width: 600px;
}

.search-wrapper {
    flex-grow: 1;
    max-width: none;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    background-color: #f5faf5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-label {
    font-weight: bold;
    color: #2e7d32;
    font-size: 16px;
    margin-bottom: 4px;
}

.clear-button {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: bold;
    color: white;
    background-color: #e53935;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 42px; 
}

.clear-button:hover {
    background-color: #c62828;
}