/* 服务商列表页样式 - 基于首页设计风格 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: #1b1b1b;
  background: #fff;
}

.zh_container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 页面顶部Banner */
.zh_page_banner {
  background: linear-gradient(135deg, #e60000 0%, #ff4d4d 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.zh_page_banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.zh_page_banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.zh_page_banner_content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.zh_page_title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.zh_breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.zh_breadcrumb a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 500;
}

.zh_breadcrumb a:hover {
  opacity: 0.8;
}

.zh_breadcrumb i {
  font-size: 12px;
  opacity: 0.7;
}

.zh_breadcrumb span {
  font-weight: 600;
}

/* 服务商列表主区域 */
.zh_provider_main {
  padding: 80px 0;
  background: #f8f8f8;
}

.zh_provider_list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 60px;
}

/* 服务商列表项 */
.zh_provider_item {
  background: #fff;
  border-radius: 20px;
  padding: 35px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
  transition: all 0.3s;
  position: relative;
}

.zh_provider_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(230, 0, 0, 0.15);
  border-color: #e60000;
}

/* 认证徽章 */
.zh_provider_badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
  z-index: 2;
}

.zh_provider_badge i {
  color: #fff;
  font-size: 18px;
}

/* 服务商信息区域 */
.zh_provider_info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

/* 服务商头部 */
.zh_provider_header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.zh_provider_icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #e60000, #ff4d4d);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(230, 0, 0, 0.2);
}

.zh_provider_icon i {
  font-size: 26px;
  color: #fff;
}

.zh_provider_title_area {
  flex: 1;
}

.zh_provider_name {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.zh_provider_name a {
  color: #1b1b1b;
  text-decoration: none;
  transition: color 0.3s;
}

.zh_provider_name a:hover {
  color: #e60000;
}

.zh_provider_status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zh_status_tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(230, 0, 0, 0.1);
  color: #e60000;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}

/* 服务商简介 */
.zh_provider_desc {
  padding-left: 80px;
}

.zh_provider_desc p {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 联系信息 */
.zh_provider_contact {
  display: flex;
  gap: 30px;
  padding-left: 80px;
}

.zh_contact_item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.zh_contact_item i {
  color: #e60000;
  font-size: 16px;
}

.zh_contact_label {
  color: #999;
  font-weight: 500;
}

.zh_contact_value {
  color: #1b1b1b;
  font-weight: 600;
}

/* 查看详情按钮 */
.zh_provider_action {
  flex-shrink: 0;
}

.zh_provider_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #e60000;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  white-space: nowrap;
}

.zh_provider_btn:hover {
  background: #cc0000;
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(230, 0, 0, 0.3);
}

.zh_provider_btn i {
  font-size: 14px;
  transition: transform 0.3s;
}

.zh_provider_btn:hover i {
  transform: translateX(5px);
}

/* 分页样式 */
.zh_pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.zh_pagination .pagination {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.zh_pagination .pagination li {
  display: inline-block;
}

.zh_pagination .pagination li a,
.zh_pagination .pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 15px;
  background: #fff;
  color: #1b1b1b;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 15px;
}

.zh_pagination .pagination li a:hover {
  background: #e60000;
  color: #fff;
  border-color: #e60000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 0, 0, 0.3);
}

.zh_pagination .pagination li.active span {
  background: #e60000;
  color: #fff;
  border-color: #e60000;
  box-shadow: 0 4px 15px rgba(230, 0, 0, 0.3);
}

.zh_pagination .pagination li.disabled span {
  background: #f5f5f5;
  color: #ccc;
  border-color: #e8e8e8;
  cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .zh_provider_item {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .zh_provider_action {
    text-align: center;
  }

  .zh_provider_btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .zh_container {
    padding: 0 20px;
  }

  .zh_page_banner {
    padding: 60px 0 40px;
  }

  .zh_page_title {
    font-size: 32px;
  }

  .zh_provider_main {
    padding: 60px 0;
  }

  .zh_provider_item {
    padding: 25px;
  }

  .zh_provider_badge {
    width: 32px;
    height: 32px;
    top: 15px;
    right: 15px;
  }

  .zh_provider_badge i {
    font-size: 16px;
  }

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

  .zh_provider_icon i {
    font-size: 22px;
  }

  .zh_provider_name {
    font-size: 18px;
  }

  .zh_provider_desc {
    padding-left: 0;
  }

  .zh_provider_contact {
    flex-direction: column;
    gap: 15px;
    padding-left: 0;
  }

  .zh_pagination .pagination li a,
  .zh_pagination .pagination li span {
    min-width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .zh_page_title {
    font-size: 28px;
  }

  .zh_provider_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .zh_provider_name {
    font-size: 16px;
  }

  .zh_provider_desc p {
    font-size: 14px;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}
