/* 达人详情页样式 */

/* Hero区域 */
.hero.daren-hero {
  background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
  padding: 40px 0;
}

.daren-header {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.daren-avatar {
  position: relative;
}

.daren-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #ff7d00;
  object-fit: cover;
}

.verified-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 28px;
  height: 28px;
  background: #ff7d00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.daren-info {
  flex: 1;
}

.daren-name {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.daren-title {
  font-size: 15px;
  color: #666;
  margin-bottom: 12px;
}

.daren-score {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.daren-score i {
  color: #ffc53d;
}

.score-value {
  font-size: 24px;
  font-weight: 700;
  color: #ff7d00;
}

.score-label {
  font-size: 14px;
  color: #999;
}

.daren-tags {
  display: flex;
  gap: 10px;
}

.cert-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: #fff8f0;
  color: #ff7d00;
  font-size: 13px;
  border-radius: 20px;
}

.cert-tag i {
  font-size: 12px;
}

.daren-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.action-btn.btn-primary {
  background: linear-gradient(135deg, #ff7d00, #ff9500);
  color: #fff;
  border: none;
}

.action-btn.btn-primary:hover {
  opacity: 0.9;
}

.action-btn.btn-secondary {
  background: #fff;
  color: #ff7d00;
  border: 1px solid #ff7d00;
}

.action-btn.btn-secondary:hover {
  background: #fff8f0;
}

/* 主内容区域 */
.main-content {
  display: flex;
  gap: 24px;
  margin-top: 30px;
  padding-bottom: 50px;
}

.content-left {
  flex: 1;
}

.section-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title i {
  color: #ff7d00;
}

.more-link {
  font-size: 14px;
  color: #ff7d00;
}

/* 服务信息 */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-item {
  text-align: center;
  padding: 16px;
  background: #f9f9f9;
  border-radius: 8px;
}

.service-icon {
  font-size: 24px;
  color: #ff7d00;
  margin-bottom: 8px;
}

.service-label {
  font-size: 13px;
  color: #999;
  margin-bottom: 4px;
}

.service-value {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

/* 服务范围 */
.scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scope-item {
  padding: 8px 16px;
  background: #f9f9f9;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease;
}

.scope-item.active {
  background: linear-gradient(135deg, #ff7d00, #ff9500);
  color: #fff;
}

/* 擅长品牌 */
.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #f9f9f9;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
}

.brand-item i {
  color: #ff7d00;
}

/* 成交案例 */
.deals-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #f9f9f9;
  border-radius: 8px;
}

.deal-car {
  font-weight: 500;
  color: #333;
}

.deal-info {
  font-size: 13px;
  color: #999;
}

.deal-savings {
  font-size: 16px;
  font-weight: 700;
  color: #ff4d4f;
}

/* 用户评价 */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-item {
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  background: #ff7d00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.reviewer-detail {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-weight: 500;
  color: #333;
}

.review-date {
  font-size: 12px;
  color: #999;
}

.review-score {
  color: #ffc53d;
}

.review-content {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
}

.review-tag {
  font-size: 12px;
  color: #999;
}

/* 侧边栏 */
.sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  height: fit-content;
}

.sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.sidebar-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

/* 联系信息 */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #666;
}

.contact-item i {
  color: #ff7d00;
}

.contact-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #ff7d00, #ff9500);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.3s ease;
}

.contact-btn:hover {
  opacity: 0.9;
}

/* 服务保障 */
.service-guarantee {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-guarantee li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  color: #666;
}

.service-guarantee li:last-child {
  border-bottom: none;
}

.service-guarantee i {
  color: #52c41a;
}

/* 公告 */
.announcement {
  background: #fff8f0;
  border-radius: 8px;
  padding: 16px;
}

.announcement p {
  font-size: 14px;
  color: #ff7d00;
  margin-bottom: 12px;
}

.announcement-btn {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #ff7d00, #ff9500);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

/* 相关达人 */
.related-daren {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-item a{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
 
}

.related-item a:hover {
  background: #fff8f0;
}

.related-item img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.related-info {
  display: flex;
  flex-direction: column;
   overflow: hidden;
}

.related-name {
  font-weight: 500;
  color: #333;
}

.related-score {
  font-size: 12px;
  color: #ff7d00;
}

.related-score i {
  color: #ffc53d;
}

/* 咨询弹窗样式 */
.chat-form {
  padding: 20px 0;
}

.chat-form .form-group {
  margin-bottom: 16px;
}

.chat-form label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
}

.chat-form .form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}

.chat-form .form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 14px;
  resize: none;
  box-sizing: border-box;
}

/* 响应式 */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    position: static;
  }
  
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .daren-header {
    flex-direction: column;
    text-align: center;
  }
  
  .daren-tags {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .daren-actions {
    flex-direction: row;
    width: 100%;
    justify-content: center;
  }
}
