body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

header {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.logoutButton {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px;
    background: #FF4136;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.logoutButton:hover {
    background: #CC3328;
}

.inputText, .passwordText {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
}

.actionButton {
    padding: 10px;
    background: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.actionButton:hover {
    background: #0056b3;
}

main {
    max-width: 600px;
    margin: 0 auto;
}

.notification {
    text-align: center;
    padding: 10px;
    margin: 20px 0;
    border-radius: 5px;
    display: none;
}

.notification.success {
    background: #28a745;
    color: #fff;
    display: block;
}

.notification.error {
    background: #dc3545;
    color: #fff;
    display: block;
}

.notification.info {
    background: #17a2b8;
    color: #fff;
    display: block;
}

#result, #decryptedResult {
    margin-top: 20px;
}

#blog-section {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

#blog-section h2 {
    font-size: 1.1rem;
    margin: 0 0 0.8rem 0;
    color: #666;
}

.post-preview {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #eee;
}

.post-preview:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post-preview h2 {
    font-size: 1rem;
    margin: 0 0 0.2rem 0;
}

.post-preview h2 a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s;
}

.post-preview h2 a:hover {
    color: #007bff;
}

.post-meta {
    margin-bottom: 0.3rem;
    color: #888;
    font-size: 0.8rem;
}

.post-description {
    display: none;
}

.read-more {
    display: none;
}

.pagination-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1rem;
}

.pagination-button {
    padding: 0.3rem 0.6rem;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #666;
    cursor: pointer;
    border-radius: 3px;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.pagination-button:hover {
    background-color: #f8f9fa;
    border-color: #007bff;
    color: #007bff;
}

.pagination-button.active {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

.pagination-ellipsis {
    color: #888;
    padding: 0 0.3rem;
    font-size: 0.8rem;
}

.section-divider {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #eee;
}
