/* daren 页面专属样式 */

/* 顶部筛选/搜索栏 */
.search-section {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}
.search-container {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.search-bar {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.search-input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
}
.search-input:focus {
  border-color: #ff7d00;
  box-shadow: 0 0 0 3px rgba(255, 125, 0, 0.1);
}
.search-btn {
  padding: 12px 32px;
  background: #ff7d00;
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s;
  white-space: nowrap;
}
.search-btn:hover {
  background: #e86d00;
}
.filter-group {
  display: flex;
  gap: 12px;
  align-items: center;
}
.filter-select {
  padding: 12px 36px 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  background: #fff;
  min-width: 120px;
  transition: 0.3s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'12\' height=\'12\' viewBox=\'0 0 12 12\'%3E%3Cpath fill=\'%23666\' d=\'M6 8L1 3h10z\'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.filter-select:hover {
  border-color: #ff7d00;
}
.filter-select:focus {
  border-color: #ff7d00;
  box-shadow: 0 0 0 3px rgba(255, 125, 0, 0.1);
}

.publish-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #ff7d00, #ff9500);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255, 125, 0, 0.3);
}

.publish-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 125, 0, 0.4);
}

.publish-btn i {
  font-size: 18px;
}

/* 金刚区 */
.quick-entry {
  background: #fff;
  padding: 20px 0;
  margin: 16px 0;
}
.entry-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0;
}
.entry-list::-webkit-scrollbar {
  display: none;
}
.entry-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: #f9f9f9;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 14px;
  border: 1px solid transparent;
}
.entry-item:hover,
.entry-item.active {
  background: #fff1e0;
  border-color: #ff7d00;
  color: #ff7d00;
}
.entry-icon {
  font-size: 16px;
}

/* 排序/筛选栏 */
.sort-section {
  background: #fff;
  padding: 14px 0;
  margin-bottom: 16px;
  border-radius: 8px;
}
.sort-list {
  display: flex;
  gap: 20px;
}
.sort-item {
  font-size: 15px;
  color: #666;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: 0.3s;
}
.sort-item:hover,
.sort-item.active {
  color: #ff7d00;
  background: #fff1e0;
  font-weight: 500;
}

/* 达人列表 */
.daren-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin: 20px 0 40px 0;
}
.daren-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: 0.3s;
  border: 1px solid #e8e8e8;
}
.daren-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: #ff7d00;
}
.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.avatar {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: #f5f5f5;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header-info {
  flex: 1;
}
.daren-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}
.daren-score {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #ffb800;
  margin-top: 4px;
}
.daren-score i {
  color: #ffb800;
}
.cert-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.cert-tag {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #36b37e;
}
.cert-tag i {
  color: #36b37e;
}
.info-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}
.info-row i {
  color: #999;
}
.divider {
  height: 1px;
  background: #f0f0f0;
  margin: 15px 0;
}
.service-fee {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}
.service-fee i {
  color: #ff7d00;
}
.service-stats {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
  margin-top: 6px;
}
.service-stats i {
  color: #999;
}
.recent-deals {
  margin-bottom: 10px;
}
.deals-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin-bottom: 8px;
}
.deals-title i {
  color: #ff7d00;
}
.deals-list {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #666;
}
.deal-divider {
  color: #ddd;
}
.review {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.review i {
  color: #999;
}
.review-author {
  text-align: right;
  color: #999;
  font-size: 12px;
}
.card-actions {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}
.action-btn {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid;
  transition: 0.3s;
}
.action-btn.btn-primary {
  background: #ff7d00;
  color: #fff;
  border-color: #ff7d00;
}
.action-btn.btn-primary:hover {
  background: #e86d00;
  border-color: #e86d00;
}
.action-btn.btn-secondary {
  background: #fff;
  color: #ff7d00;
  border-color: #ff7d00;
}
.action-btn.btn-secondary:hover {
  background: #fff9f0;
}

/* 底部加载 */
.load-more {
  text-align: center;
  padding: 40px 0;
}
.load-more-btn {
  padding: 14px 50px;
  background: #fff;
  border: 1px solid #ff7d00;
  color: #ff7d00;
  border-radius: 50px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
}
.load-more-btn:hover {
  background: #ff7d00;
  color: #fff;
}
.load-end {
  color: #999;
  font-size: 14px;
}

/* 移动端响应式 */
@media (max-width: 768px) {
  .search-section {
    padding: 12px 0;
  }

  .search-container {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .search-bar {
    flex-direction: column;
    gap: 10px;
  }

  .search-input {
    padding: 12px 16px 12px 36px;
    font-size: 14px;
    border-radius: 25px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23999' d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
  }

  .filter-group {
    display: flex;
    gap: 8px;
  }

  .filter-select {
    flex: 1;
    padding: 10px 24px 10px 12px;
    font-size: 13px;
    min-width: 0;
    border-radius: 20px;
  }

  .search-btn {
    display: none;
  }

  .publish-btn {
    display: none;
  }

  .daren-list {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 12px 0 30px 0;
  }

  .daren-card {
    padding: 16px;
  }

  .avatar {
    width: 50px;
    height: 50px;
  }

  .daren-name {
    font-size: 16px;
  }

  .info-row {
    font-size: 13px;
  }

  .service-stats {
    font-size: 12px;
  }

  .deals-list {
    flex-wrap: wrap;
    gap: 6px;
  }
}
