input[type="text"],
input[type="email"],
input[type="url"],
textarea {
    padding: 8px 12px;
    border: 1px solid #999999;
    width: 100%;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    background-color: var(--background-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
textarea:focus {
    border-color: #474747;
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

textarea {
    resize: vertical;
}

.comment-content a {
    border-bottom: 1px solid #E5E7EB;
}

.comment-content a:hover {
    border-bottom-color: transparent;
}

#comments {
    padding-top: 24px;
}

.comment-list,
.comment-list ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list li {
    padding: 16px;
    margin-top: 16px;
    border: 1px solid #999999;
    border-radius: 8px;
    background-color: var(--background-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.2s ease;
}

.comment-list li:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comment-list li.comment-level-odd {
    background-color: var(--code-background-color);
}

.comment-list li.comment-level-even {
    background-color: var(--background-color);
}

.comment-list li .comment-reply {
    text-align: right;
    font-size: 0.875rem;
    color: #6B7280;
}

.comment-meta a {
    color: #6B7280;
    font-size: 0.875rem;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

.comment-author cite {
    font-weight: 600;
    color: var(--text-color);
}

.comment-list .respond {
    margin-top: 24px;
    border-top: 1px solid #E5E7EB;
    padding-top: 24px;
}

.respond .cancel-comment-reply {
    float: right;
    margin-top: 16px;
    font-size: 0.875rem;
    color: #6B7280;
}

#comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

#comment-form .required:after {
    content: " *";
    color: #DC2626;
}

.comment-content {
    line-height: 1.6;
    color: var(--text-color);
}

.comment-content h2 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.comment-content img {
    max-width: 100%;
    border-radius: 4px;
}

.comment-content a img {
    background-color: var(--background-color);
    position: relative;
    bottom: -4px;
}

.comment-content hr {
    margin: 2rem auto;
    width: 100px;
    border: 0;
    border-top: 1px solid #E5E7EB;
}

button[type="submit"] {
    padding: 8px 16px;
    background-color: #474747;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button[type="submit"]:hover {
    background-color: #222222;
}

button[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.5);
}