.comments-section {
    margin-top: 48px;
}

.comments-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f1f1f;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comments-count {
    font-size: 16px;
    color: #8a8a8a;
    font-weight: normal;
}

.comment-form-wrapper {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 24px;
    margin-bottom: 32px;
}

.comment-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
    border: 1px solid;
}

.comment-alert.alert-success {
    border-color: #b7eb8f;
    background: #f6ffed;
}

.comment-alert.alert-error {
    border-color: #ffccc7;
    background: #fff1f0;
}

.comment-alert .alert-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.comment-alert.alert-success {
    color: #389e0d;
}

.comment-alert.alert-error {
    color: #cf1322;
}

.qq-input-group {
    margin-bottom: 16px;
}

.form-input-large {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #d9d9d9;
    background: #ffffff;
    transition: border-color 0.3s;
    outline: none;
}

.form-input-large:hover {
    border-color: #40a9ff;
}

.form-input-large:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.form-input-large::placeholder {
    color: #bfbfbf;
}

.qq-status {
    margin-top: 8px;
    padding: 8px 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qq-status i {
    font-size: 14px;
}

.status-loading {
    color: #1890ff;
    background: #e6f7ff;
    border: 1px solid #91d5ff;
}

.status-success {
    color: #52c41a;
    background: #f6ffed;
    border: 1px solid #b7eb8f;
}

.status-error {
    color: #ff4d4f;
    background: #fff1f0;
    border: 1px solid #ffccc7;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
}

.comment-form .form-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #d9d9d9;
    resize: vertical;
    transition: border-color 0.3s;
    outline: none;
    margin-bottom: 12px;
    font-family: inherit;
}

.comment-form .form-textarea:hover {
    border-color: #40a9ff;
}

.comment-form .form-textarea:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.comment-form .form-textarea::placeholder {
    color: #bfbfbf;
}

.comment-form .submit-btn {
    height: 36px;
    padding: 0 24px;
    background: #1890ff;
    color: #ffffff;
    font-size: 14px;
    font-weight: normal;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.comment-form .submit-btn:hover {
    background: #40a9ff;
}

.comment-form .submit-btn:active {
    background: #096dd9;
}

.comment-form .submit-btn:disabled {
    background: #f5f5f5;
    color: rgba(0, 0, 0, 0.25);
    cursor: not-allowed;
}

.comment-list {
    margin-top: 24px;
}

.comment-item {
    display: flex;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-item:first-child {
    padding-top: 0;
}

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

.comment-avatar-wrap {
    flex-shrink: 0;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.comment-avatar-default {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bfbfbf;
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-item .comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 600;
    color: #262626;
    font-size: 14px;
}

.comment-time {
    font-size: 13px;
    color: #8c8c8c;
}

.comment-content {
    font-size: 14px;
    line-height: 1.8;
    color: #262626;
    word-wrap: break-word;
}

.admin-reply {
    margin-top: 12px;
    padding: 12px;
    background: #fafafa;
    border: 1px solid #d9d9d9;
}

.admin-reply-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #1890ff;
    font-weight: 600;
}

.admin-reply-header svg {
    width: 14px;
    height: 14px;
    fill: #1890ff;
}

.admin-reply-header .reply-time {
    margin-left: auto;
    font-weight: normal;
    color: #8c8c8c;
}

.admin-reply-content {
    font-size: 14px;
    line-height: 1.6;
    color: #595959;
}

.empty-comments {
    text-align: center;
    padding: 48px 24px;
    color: #8c8c8c;
}

.empty-comments svg {
    margin-bottom: 16px;
    color: #d9d9d9;
}

.empty-comments p {
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .comments-section {
        padding: 0 16px;
    }
    
    .comment-form-wrapper {
        padding: 20px 16px;
    }
    
    .comment-list {
        padding: 0 16px;
    /*    margin-left: -16px;
        margin-right: -16px;*/
    }
    
    .form-input-large {
        height: 40px;
        font-size: 15px;
    }
    
    .comment-form .form-textarea {
        min-height: 90px;
    }
    
    .comment-item {
        gap: 12px;
        padding: 20px 0;
    }
    
    .comment-avatar,
    .comment-avatar-default {
        width: 40px;
        height: 40px;
    }
}
