body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    margin: 2em;
    color: #333;
}

h1 {
    color: #2c3e50;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.3em;
}

form {
    margin-bottom: 1em;
}

input[type="text"] {
    padding: 0.5em;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button, input[type="submit"] {
    background-color: #3498db;
    color: white;
    padding: 0.5em 1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover, input[type="submit"]:hover {
    background-color: #2980b9;
}

a {
    color: #2980b9;
    text-decoration: none;
    margin-right: 1em;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    background-color: #fff;
    margin-bottom: 0.5em;
    padding: 0.8em;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.back-to-top {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f8f8f8;
    text-align: center;
    padding: 10px;
    border-top: 1px solid #ccc;
    z-index: 1000; 
}

.article-meta {
    font-size: 0.9em;
    color: #666;
    margin-top: 4px;
}

.article-item {
    display: flex;
    align-items: center;
    gap: 1em;
}

.article-thumbnail {
    width: 100px;
    height: auto;
    border-radius: 4px;
}

.inline-form {
    display: inline;
}

.error-message {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}