body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f5f5f5;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    color: #333;
    margin-bottom: 10px;
}

.info {
    color: #666;
    font-size: 0.9em;
}

.search-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.search-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.search-field {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.search-field label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.search-field input,
.search-field select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.search-buttons {
    display: flex;
    gap: 10px;
    align-items: end;
}

.search-buttons button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.search-buttons a {
    padding: 8px 15px;
}

.btn-search {
    background-color: #4CAF50;
    color: white;
}

.btn-clear {
    background-color: #f44336;
    color: white;
}

.btn-search:hover {
    background-color: #45a049;
}

.btn-clear:hover {
    background-color: #da392b;
}

.search-results {
    margin: 10px 0;
    font-style: italic;
    color: #666;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stats-card {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats-card h3 {
    margin-top: 0;
    color: #4CAF50;
}

.container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.table-wrapper {
    overflow-x: auto;
    max-height: 70vh;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8em;
}

th,
td {
    border: 1px solid #ddd;
    padding: 6px 10px;
    text-align: left;
    word-wrap: break-word;
    max-width: 150px;
}

th {
    background-color: #4CAF50;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f1f1f1;
}

.arquivo-origem {
    background-color: #fff3cd;
    font-size: 0.7em;
    font-weight: bold;
}

.highlight {
    background-color: yellow;
    font-weight: bold;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.pagination button {
    margin: 0 5px;
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.pagination button:hover {
    background-color: #45a049;
}

.pagination button.active {
    background-color: #2d6a2d;
    font-weight: bold;
}

.page-info {
    text-align: center;
    margin: 10px 0;
    font-style: italic;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

.btn-link {
    padding: 8px 15px;
    background-color: #2196F3;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-link:hover {
    background-color: #0b7dda;
    color: white;
    text-decoration: none;
}