html,
body {
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.access-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 1rem;
  max-width: 100vw;
  box-sizing: border-box;
}

.access-table {
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 20px;
  text-align: left;
  background-color: var(--branco);
  border-radius: 0.6rem;
  overflow: hidden;
  box-sizing: border-box;
  table-layout: auto;
  white-space: nowrap;
  width: 100%;
  min-width: max-content;
}

.access-table thead {
  background-color: var(--cinza-medio);
  color: var(--branco);
}

.access-table th,
.access-table td {
  padding: 12px 15px;
  border: none;
  word-break: break-word;
  white-space: normal;
  max-width: unset;
}

.access-table td[title] {
  cursor: help;
}

.access-table th.acoes,
.access-table td.acoes {
  white-space: nowrap;
}

.access-table tbody tr:nth-child(odd) {
  background-color: var(--branco);
}

.access-table tbody tr:nth-child(even) {
  background-color: var(--cinza-claro-100);
}

.access-table tbody tr {
  border-bottom: 1px solid var(--cinza-escuro);
}

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

.paginacao-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.paginacao-container button {
  padding: 0.5rem 1rem;
  border: 1px solid var(--cinza-claro);
  background-color: var(--branco);
  cursor: pointer;
  font-size: 0.9rem;
}

.paginacao-container button.active {
  font-weight: bold;
  background-color: var(--cinza-claro);
}

@media (max-width: 768px) {
  .btn-criar-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .paginacao-container button {
    width: auto;
    max-width: 100px;
    font-size: 0.85rem;
  }
}

@media (max-width: 1589px) {
thead {
  font-size: 0.85rem;
  font-weight: lighter;
}

.access-table td.principal {
  max-width: 95px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.access-table td.secundario {
  max-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.access-table td.texto-longo {
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

}