h1 {
  font-size: 20px;
  color: #333;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Changed height to min-height */
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    flex-direction: column; /* Added to stack elements vertically */
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box; /* Include padding in width calculation */
}
textarea {
    width: 100%;
    outline: 0 none;
    border-color: rgba(82, 168, 236, 0.8);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 108, 176, 0.6);
    padding: 10px; /* Added padding for better appearance */
    box-sizing: border-box;
}
table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    /* Removed max-width here, let content dictate for better display */
}
td.content-cell { /* Added a class for content cell */
    max-width: 250px; /* Set a max-width for content to prevent overly wide columns */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
th {
    background-color: #f2f2f2;
}
ul {
    list-style-type: none;
    padding: 0;
}
li {
    margin-bottom: 10px;
}
a {
    color: #007bff; /* Changed link color for better visibility */
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
@media (max-width: 600px) {
    form {
        padding: 10px;
    }
    th, td {
        font-size: 0.8em; /* Smaller font on small screens */
    }
    td.content-cell {
        max-width: 150px; /* Adjust max-width for content on smaller screens */
    }
}
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px; /* Add some space below pagination */
}

.pagination-container a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 6px;
    color: #333;
    text-decoration: none;
    background-color: #f2f2f2;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.pagination-container a:hover {
    background-color: #ddd;
}

.pagination-container .active {
    background-color: #007bff; /* Changed active color to match link */
    color: #fff;
}
.button {
    padding: 8px 15px;
    margin: 5px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.button:hover {
    background-color: #0056b3;
}
.base64c {
    width: 100%;
    text-align: center;
}