@charset "utf-8";

/* Tabela Genérica */

.gen-table {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  margin-bottom: 20px;
  display: block;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #333;
  table-layout: fixed;
}

.gen-table caption {
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 18px;
}

.gen-table th {
  font-weight: bold;
  text-align: left;
  background-color: #f2f2f2;
  padding: 8px;
  border-bottom: 1px solid #ccc;
}

.gen-table td {
  padding: 8px;
  border-bottom: 1px solid #ccc;
}

.gen-table tbody tr:last-child td {
  border-bottom: none;
}

.gen-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.gen-table tbody tr:hover {
  background-color: #eaeaea;
}

.gen-table tfoot {
  background-color: #f2f2f2;
}

.gen-table tfoot td {
  padding: 8px;
  text-align: right;
  font-style: italic;
  font-size: 12px;
  color: #666;
}

.gen-table tfoot .button {
  font-style: normal;
  font-size: 14px;
  margin: 6px 0;
  color: #fff;
  background-color: #007bff;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.gen-table tfoot .button:hover {
  background-color: #0056b3;
}

.gen-table thead th:first-child,
.gen-table tbody td:first-child {
  border-left: none;
}

.gen-table thead th:last-child,
.gen-table tbody td:last-child {
  border-right: none;
}

.gen-table thead th:first-child {
  border-top-left-radius: 4px;
}

.gen-table thead th:last-child {
  border-top-right-radius: 4px;
}

.gen-table tbody td:first-child {
  border-bottom-left-radius: 4px;
}

.gen-table tbody td:last-child {
  border-bottom-right-radius: 4px;
}

.gen-table a {
  color: #007bff;
  text-decoration: none;
}

.gen-table a:hover {
  text-decoration: underline;
}

.gen-table th {
  white-space: normal;
  text-align: left;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

@media screen and (max-width: 767px) {
  .gen-table {
    font-size: 10px;
  }

  .gen-table th,
  .gen-table td {
    padding: 6px;
  }
}
