﻿/* === 公共样式 === */
.reviewsTop {
  border: 1px #ccc solid !important;
  border-radius: 20px;
  padding: 50px 15px !important;
  margin-top: 30px;
}

/* === 问答表单 === */
.jdgm-question-form-wrapper {
  padding: 24px 0px;
  display: none;
}

.jdgm-ask-question-btn {
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: white;
  border: 2px solid #000;
  border-radius: 25px;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

/* === 评论操作栏 === */
.reviews_actions {
  position: relative;
  overflow: hidden;
}

.reviews_actions .jdgm-subtab {
  float: left;
}

.reviews_actions .jdgm-sort-dropdown {
  position: absolute;
  top: 18px;
  right: 15px;
  padding: 0px;
}

.reviews_actions .layui-icon-down {
  position: absolute;
  top: 20px;
  right: 8px;
}

/* === 问答卡片 === */
.question-card {
  display: flex;
  gap: 16px;
  width: 100%;
  margin: 24px 0;
  padding: 20px;
  background: #fff;
  background-color: white;
  border-bottom: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0px 4px 16px rgba(0,0,0,0.1);
}

.question-card:last-child {
  border-bottom: none;
}

/* 卡片左侧 */
.question-card .qc-left {
  flex-shrink: 0;
}

.question-card .qc-left img {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

/* 卡片右侧 */
.question-card .qc-right {
  flex: 1;
  min-width: 0;
}

/* 卡片头部 */
.question-card .cardHead {
  position: relative;
  margin-bottom: 0px;
  line-height: 28px;
}

.question-card .cardHead .qn-name {
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: #48586b;
}

.question-card .cardHead .qn-date {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 13px;
  color: #999;
}

/* 问题内容 */
.question-card .CardQuestion {
  margin-bottom: 10px;
  text-align: left;
  font-size: 15px;
  line-height: 1.5;
  color: #222;
  font-weight: bold;
}

/* 回答内容 */
.question-card .CardAnswer {
  position: relative;
  margin: 5px 0;
  padding: 12px 16px;
  border: 1px solid #c9ccd0;
  background: #ecf1f3;
  border-radius: 6px;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.question-card .CardAnswer b {
  color: #333;
}

.question-card .CardAnswer .qn-reply-date {
  float: right;
  margin-left: 10px;
  font-size: 12px;
  color: #999;
}