/* 现代化评论样式 */
.comment-container {
    max-width: 100%;
    margin: 20px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    overflow: hidden;
}

/* 评论头部 */
.comment-header {
    background: linear-gradient(135deg, #00A7EB, #3690cf);
    padding: 20px 30px;
    color: white;
}

.comment-title {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.comment-title i {
    margin-right: 10px;
    font-size: 20px;
}

/* 评论列表 */
.comment-list {
    padding: 0;
}

.comment-item {
    display: flex;
    padding: 25px 30px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.comment-item:hover {
    background: #fafbfc;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #00A7EB, #3690cf);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.comment-item:hover:before {
    opacity: 1;
}

/* 评论头像 */
.comment-avatar {
    flex-shrink: 0;
    margin-right: 20px;
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #e8e8e8;
    transition: all 0.3s ease;
    object-fit: cover;
}

.comment-item:hover .comment-avatar img {
    border-color: #00A7EB;
    transform: scale(1.05);
}

/* 评论内容 */
.comment-content {
    flex: 1;
    min-width: 0;
}

.comment-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 15px;
}

.comment-author {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.comment-author a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-author a:hover {
    color: #00A7EB;
}

.comment-time {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
}

.comment-time i {
    margin-right: 5px;
    font-size: 12px;
}

.comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    word-wrap: break-word;
}

.comment-actions {
    display: flex;
    align-items: center;
}

.reply-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #f5f5f5;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.reply-btn:hover {
    background: #00A7EB;
    color: white;
    border-color: #00A7EB;
    transform: translateY(-1px);
}

.reply-btn i {
    margin-right: 5px;
    font-size: 12px;
}

/* 回复表单 */
.reply-form {
    margin-top: 20px;
    padding: 20px;
    background: #fafbfc;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.reply-form.none {
    display: none;
}

.reply-textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #fff;
}

.reply-textarea:focus {
    border-color: #00A7EB;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 167, 235, 0.1);
}

.form-actions {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}

.submit-reply-btn {
    background: linear-gradient(135deg, #00A7EB, #3690cf);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.submit-reply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 167, 235, 0.3);
}

.submit-reply-btn i {
    margin-right: 5px;
}

/* 空评论状态 */
.empty-comments {
    padding: 60px 30px;
    text-align: center;
    color: #999;
}

.empty-icon {
    margin-bottom: 20px;
}

.empty-icon i {
    font-size: 48px;
    color: #ddd;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.empty-text {
    font-size: 16px;
    margin: 0;
    color: #999;
}

/* 发表评论表单 */
.comment-form {
    padding: 30px;
    background: #fafbfc;
    border-top: 1px solid #e8e8e8;
}

.form-title {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
}

.comment-textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #fff;
}

.comment-textarea:focus {
    border-color: #00A7EB;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 167, 235, 0.1);
}

.submit-comment-btn {
    background: linear-gradient(135deg, #00A7EB, #3690cf);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 167, 235, 0.3);
}

.submit-comment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 167, 235, 0.4);
}

.submit-comment-btn i {
    margin-right: 8px;
}

/* 覆盖原有样式 */
.news_pl {
    margin: 20px 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

.news_pl h2 {
    display: none !important;
}

.gbko {
    display: none !important;
}

.textarea {
    display: none !important;
}

.sub_btn {
    display: none !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .comment-container {
        margin: 15px 0;
        border-radius: 8px;
    }
    
    .comment-header {
        padding: 15px 20px;
    }
    
    .comment-title {
        font-size: 16px;
    }
    
    .comment-item {
        padding: 20px;
        flex-direction: column;
    }
    
    .comment-avatar {
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .comment-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .comment-form {
        padding: 20px;
    }
    
    .reply-form {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .comment-header {
        padding: 12px 15px;
    }
    
    .comment-item {
        padding: 15px;
    }
    
    .comment-avatar img {
        width: 40px;
        height: 40px;
    }
    
    .comment-form {
        padding: 15px;
    }
    
    .submit-comment-btn {
        width: 100%;
        justify-content: center;
    }
} 