h1 {
  text-align: center;
}
h2 {
  text-align: center;
}
h3 {
  text-align: center;
}
nav {
  background-color: #333;
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
nav a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
}
nav a:hover {
  background-color: #ddd;
  color: black;
}
.alphabet {
  margin-bottom: 20px;
  text-align: center;
}
.alphabet a {
  text-decoration: none;
  color: #333;
  margin-right: 10px;
  font-weight: bold;
}
.alphabet a:hover {
  text-decoration: underline;
}
.active {
  color: #fff;
  background-color: #007bff;
  padding: 5px 10px;
  border-radius: 5px;
}
.pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}
.pagination-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.pagination a, .pagination span {
  background-color: #333;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  margin: 4px;
  border-radius: 5px;
  text-align: center;
}
.pagination a:hover {
  background-color: #ddd;
  color: black;
}
.pagination .active-page {
  background-color: #007bff;
  color: white;
}
.per-page-form {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin: 15px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
table, th, td {
  border: 1px solid #ddd;
}
th, td {
  padding: 8px;
  text-align: left;
}
th {
  background-color: #4d4d4d;
  color: #fff;
}
th a {
  color: inherit;
  text-decoration: none;
}
th a:hover {
  color: inherit;
  text-decoration: none;
}
tbody tr:nth-child(even) {
  background-color: #f2f2f2;
}
td input[type="text"] {
  width: 100%;
  box-sizing: border-box;
}
.col-datum {
  white-space: nowrap;
  min-width: 160px;
}
.community-entry td {
  color: #8b4513;
}
.community-entry a {
  color: #8b4513;
}
.centered-panel {
  max-width: 720px;
  margin: 20px auto;
}
.centered-form {
  max-width: 520px;
  margin: 20px auto;
}
.centered-form input[type="text"],
.centered-form input[type="email"],
.centered-form input[type="password"],
.centered-form textarea {
  width: 100%;
  box-sizing: border-box;
}
.centered-actions {
  text-align: center;
  margin: 20px 0;
}
.add-entry-form {
  background-color: #f0f0f0;
  border: 1px solid #000;
  border-radius: 5px;
  padding: 20px;
}
.auth-container {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.auth-box,
.message-box {
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 6px;
  background: #f9f9f9;
  min-width: 320px;
}
.message-box.success {
  border-color: #2e7d32;
  color: #2e7d32;
}
.message-box.error {
  border-color: #c62828;
  color: #c62828;
}
.admin-actions form,
.entry-form {
  margin: 0;
}
.status-pill {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  background: #eee;
}
