.centerContainer {
  max-width: 900px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(45, 127, 249, 0.04);
}

th,
td {
  padding: 0.8rem 0.5rem;
  text-align: center;
}

th {
  background: #e9eefb;
  color: #2d7ff9;
  font-weight: 600;
}

tr:nth-child(even) {
  background: #f4f7fb;
}

tr:hover {
  background: #e3eefd;
}

td {
  color: #222;
}

.filterRow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  width: 100%;
}

#typeInput {
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  border: 1.5px solid #2d7ff9;
  font-size: 1rem;
  background: #f8f9fa;
  color: #222;
  transition: border 0.2s, box-shadow 0.2s;
  outline: none;
  min-width: 120px;
  max-width: 180px;
  margin: 0;
  box-sizing: border-box;
}

#typeInput:focus {
  border-color: #1a68d4;
  box-shadow: 0 0 0 2px #e9eefb;
}

#submitButton {
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  border: none;
  background: #2d7ff9;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  transition: background 0.2s;
}

#submitButton:hover {
  background: #1a68d4;
}

.actionButton {
  padding: 0.35rem 0.65rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  margin: 0 0.2rem;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.actionButton.view {
  background-color: #2d7ff9;
  color: white;
}

.actionButton.view:hover {
  background-color: #1a68d4;
}

.actionButton.user {
  background-color: #28a745;
  color: white;
}

.actionButton.user:hover {
  background-color: #218838;
}

.actionButton.delete {
  background-color: #dc3545;
  color: white;
}

.actionButton.delete:hover {
  background-color: #bd2130;
}

.tableResponsive {
  overflow-x: auto;
}

@media (max-width: 700px) {
  .centerContainer {
    padding: 1.2rem 0.5rem;
    max-width: 100vw;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  th {
    display: none;
  }

  td {
    padding: 0.7rem 0.3rem;
    border-bottom: 1px solid #e9eefb;
    position: relative;
  }

  td:before {
    content: attr(data-label);
    font-weight: bold;
    color: #2d7ff9;
    display: block;
    margin-bottom: 0.2rem;
  }
}
