/* Comments Area - Minimal Flat Design */
.comments-area {
    margin: 40px 0;
    padding: 0;
}

.comments-title {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

/* Comment List */
.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list ol {
    list-style: none;
    margin-left: 50px;
}

.comment-body {
    display: flex;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.comment-avatar {
    margin-right: 15px;
    flex-shrink: 0;
}

.comment-avatar .avatar {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    margin-bottom: 8px;
}

.comment-author {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    display: inline-block;
    margin-right: 10px;
}

.comment-author a {
    color: #2c3e50;
    text-decoration: none;
}

.comment-metadata {
    font-size: 13px;
    color: #7f8c8d;
    display: inline-block;
}

.comment-metadata a {
    color: #7f8c8d;
    text-decoration: none;
}

.edit-link {
    margin-left: 8px;
    color: #95a5a6;
}

.comment-text {
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 10px;
    font-size: 14px;
}

.comment-awaiting-moderation {
    color: #e67e22;
    font-size: 13px;
    font-style: italic;
}

.comment-reply {
    margin-top: 8px;
}

.reply-link a {
    color: #3498db;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.reply-link a:hover {
    text-decoration: underline;
}

/* Comment Navigation */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid #ecf0f1;
}

.nav-previous a,
.nav-next a {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.nav-previous a:hover,
.nav-next a:hover {
    text-decoration: underline;
}

/* No Comments */
.no-comments {
    color: #7f8c8d;
    font-style: italic;
    text-align: center;
    padding: 40px 0;
    font-size: 14px;
}

/* Comment Form */
.comment-form {
    margin-top: 30px;
}

.comment-reply-title {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.comment-form .comment-notes {
    display: none;
}

/* Main Comment Container */
.comment-form-comment {
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    background: white;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.comment-form-comment:focus-within {
    border-color: #3498db;
}

/* Textarea */
.comment-form-comment textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: none;
    border-radius: 6px 6px 0 0;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    box-sizing: border-box;
    background: transparent;
    outline: none;
    display: block;
}

/* Bottom Fields Container */
.comment-form-fields {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-top: 1px solid #ecf0f1;
    background: #f8f9fa;
    border-radius: 0 0 4px 4px;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
    flex: 1;
    margin: 0;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #bdc3c7;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    background: white;
    transition: border-color 0.3s ease;
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
    outline: none;
    border-color: #3498db;
}

/* Submit Button */
.comment-form .form-submit {
    margin: 0;
}

.comment-form .submit {
    padding: 12px 30px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.comment-form .submit:hover {
    background: #2980b9;
}

/* Logged in user info */
.comment-form .logged-in-as {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.comment-form .logged-in-as a {
    color: #3498db;
    text-decoration: none;
}

.comment-form .logged-in-as a:hover {
    text-decoration: underline;
}
a#cancel-comment-reply-link {
    /* text-align: right; */
    color: #bd4545;
    padding: 0 4px;
}
/* Cookie consent */
.comment-form-cookies-consent {
    font-size: 13px;
    color: #7f8c8d;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-form-cookies-consent input {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .comment-body {
        padding: 15px;
    }
    
    .comment-avatar {
        margin-bottom: 10px;
    }
    
    .comment-list ol {
        margin-left: 20px;
    }
    
    .comment-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .comment-form-fields {
        flex-direction: column;
        gap: 8px;
    }
    
    .comment-form-author,
    .comment-form-email,
    .comment-form-url {
        width: 100%;
    }
    
    .comment-form .form-submit {
        width: 100%;
    }
    
    .comment-form .submit {
        width: 100%;
    }
}

/* Children comments */
.comment-list .children {
    margin-left: 50px;
}

/* Logged in state - no bottom fields */
.logged-in .comment-form-comment textarea {
    border-radius: 6px;
}