.content {
  padding: 20px;
}

h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

input {
  background-color: #e0f7fa;
  border: none;
  width: 35%;
  text-align: center;
}

td {
  text-align: center;
}

/* Bộ lọc và tìm kiếm */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filters label {
    margin-right: 10px;
    font-weight: bold;
}

.filters input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.filters button {
    padding: 8px 16px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.filters button:hover {
    background-color: #555;
}

/* Danh sách confessions */
#userPosts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.post {
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stats {
    border-collapse: collapse;
    width: 100%;
}

.stats td {
    padding: 10px;
    border: 2px solid #ddd;
}

/* Phân trang */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.pagination button {
    padding: 8px 16px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.pagination button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.pagination button:hover:not(:disabled) {
    background-color: #555;
}

/* Responsive */
@media (max-width: 600px) {
    .filters {
        flex-direction: column;
    }
    .filters input, .filters button {
        width: 100%;
    }
}