/* 地陪展示页面样式 */

/* 页面标题 */
.page-header {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin-top: 64px;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.page-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

/* 筛选栏 */
.filter-section {
  padding: 30px 0;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-item label {
  font-size: 14px;
  font-weight: 500;
  color: #5a6c7d;
  white-space: nowrap;
}

.filter-item select {
  padding: 8px 12px;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font-size: 14px;
  min-width: 120px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-item select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 排序栏 */
.sort-section {
  padding: 20px 0;
  background: #f8f9fa;
}

.sort-bar {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sort-label {
  font-size: 14px;
  font-weight: 500;
  color: #5a6c7d;
}

.sort-bar a {
  padding: 6px 16px;
  font-size: 14px;
  color: #5a6c7d;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
}

.sort-bar a:hover {
  background: #ffffff;
  color: #dd1d4a;
}

.sort-bar a.active {
  background: #dd1d4a;
  color: #ffffff;
}

.result-count {
  margin-left: auto;
  font-size: 14px;
  color: #7a8a9a;
}

.result-count strong {
  color: #dd1d4a;
  font-weight: 600;
}

/* 地陪列表 */
.dipei-list-section {
  padding: 40px 0 80px;
  background: #ffffff;
}

.dipei-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.dipei-age-gender {
  font-size: 14px;
  color: #999;
  font-weight: 400;
}

.dipei-status {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.4);
}

.dipei-status.online {
  background: rgba(16, 185, 129, 0.95);
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.4);
}

.dipei-status.offline {
  background: rgba(148, 163, 184, 0.95);
  box-shadow: 0 2px 12px rgba(148, 163, 184, 0.3);
}

.dipei-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: rgba(221, 29, 74, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(221, 29, 74, 0.4);
}

.dipei-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}

.dipei-orders {
  font-size: 13px;
  color: #999;
  font-weight: 400;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn,
.page-num {
  padding: 8px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  color: #5a6c7d;
  text-decoration: none;
  transition: all 0.2s;
}

.page-btn:hover,
.page-num:hover {
  border-color: #dd1d4a;
  color: #dd1d4a;
}

.page-num.active {
  background: #dd1d4a;
  border-color: #dd1d4a;
  color: #ffffff;
}

/* 地陪详情页 */
.dipei-detail-section {
  padding: 100px 0 60px;
  background: #f8f9fa;
}

.detail-wrapper {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
}

.detail-left {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 100px;
  height: fit-content;
}

.detail-avatar {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}

.detail-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.status-badge.online {
  background: #10b981;
}

.status-badge.offline {
  background: #94a3b8;
}

.detail-name {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.verified-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #667eea;
  border-radius: 50%;
  color: #ffffff;
  font-size: 14px;
}

.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
}

.meta-item {
  font-size: 14px;
}

.meta-item .label {
  color: #7a8a9a;
}

.meta-item .value {
  color: #1a1a1a;
  font-weight: 500;
}

.detail-rating {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
}

.rating-score {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rating-score .score {
  font-size: 32px;
  font-weight: 700;
  color: #f59e0b;
}

.rating-score .stars {
  font-size: 18px;
  color: #f59e0b;
}

.rating-info {
  font-size: 13px;
  color: #7a8a9a;
}

.rating-info span {
  margin: 0 4px;
}

.detail-price {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
}

.price-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.price-value {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
}

.price-value span {
  font-size: 16px;
  font-weight: 400;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-primary,
.btn-secondary {
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-secondary:hover {
  background: #667eea;
  color: #ffffff;
}

.detail-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #667eea;
}

.intro-text {
  font-size: 15px;
  color: #5a6c7d;
  line-height: 1.8;
}

.service-tags,
.skill-tags,
.language-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-tag,
.skill-tag,
.language-tag {
  padding: 8px 16px;
  background: #f0f0f0;
  border-radius: 20px;
  font-size: 14px;
  color: #5a6c7d;
  transition: all 0.2s;
}

.service-tag:hover,
.skill-tag:hover,
.language-tag:hover {
  background: #667eea;
  color: #ffffff;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 15px;
  color: #1a1a1a;
}

.contact-item .icon {
  font-size: 20px;
}

.recommend-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.btn-back {
  padding: 8px 16px;
  background: #ffffff;
  color: #667eea;
  border: 1px solid #667eea;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-back:hover {
  background: #667eea;
  color: #ffffff;
}

/* 响应式 */
@media (max-width: 768px) {
  .detail-wrapper {
    grid-template-columns: 1fr;
  }
  
  .detail-left {
    position: static;
  }
  
  .filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-item {
    width: 100%;
  }
  
  .filter-item select {
    width: 100%;
  }
  
  .sort-bar {
    flex-wrap: wrap;
  }
  
  .result-count {
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
  }
}
