body {
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1,
h2 {
    margin-bottom: 15px;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin: 0 auto 20px;
    border: 1px solid black;
}

th,
td {
    padding: 5px 10px;
    border: 1px solid black;
    text-align: left;
}

th {
    background-color: #f8f8f8;
}

td a {
    color: #0366d6;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}

.subreddit,
.username {
    width: 15em;
    max-width: 15em;
    overflow: hidden;
    white-space: nowrap;
}

#confirmation-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    cursor: pointer;
}

button.red {
    background-color: #ffdddd;
}

button.green{ 
    background-color: #ddffdd;
}

button:hover {
    font-weight: bold;
}

.error-box {
    background-color: #ffdddd;
    padding: 10px;
    border: 1px solid #dc3545;
    margin-bottom: 20px;
}

.error-box p {
    margin-bottom: 10px;
}

.error-box ul {
    list-style-type: none;
    padding: 0;
}

.error-box li {
    color: #dc3545;
}
