﻿/* ========== 服务商入驻页面样式 ========== */

/* Banner 区域 */
.zh_page_banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 0;
}

#zh_page_canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.zh_page_banner_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none; /* 隐藏静态图片，使用Canvas代替 */
}

.zh_page_banner_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(11, 17, 56, 0.3), rgba(13, 27, 66, 0.5));
  z-index: 1;
}

.zh_page_banner_content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 100%;
  padding: 0 20px;
}

.zh_page_banner_title {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  margin: 0;
  position: relative;
  display: inline-block;
}

.zh_page_banner_title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
}

/* 面包屑导航 */
.zh_breadcrumb {
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  border-radius: 0 0 10px 10px;
  position: relative;
  z-index: 10;
}

.zh_container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.zh_breadcrumb_container {
  display: flex;
  align-items: center;
}

.zh_breadcrumb_icon {
  width: 16px;
  height: 16px;
  margin-right: 10px;
}

.zh_breadcrumb_text {
  font-size: 14px;
  color: #4a5568;
}

.zh_breadcrumb_text a {
  color: #0072ff;
  text-decoration: none;
  transition: color 0.3s;
}

.zh_breadcrumb_text a:hover {
  color: #00c6ff;
}

/* 商户入驻内容区 */
.zh_merchant_container {
  padding: 60px 0;
  background-color: #f8faff;
}

.zh_merchant_wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* 左侧信息区 */
.zh_merchant_info {
  flex: 0 0 30%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 40px;
  position: sticky;
  top: 80px;
}

.zh_merchant_info_icon {
  margin-bottom: 30px;
  text-align: center;
}

.zh_merchant_info_icon img {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 114, 255, 0.1);
  padding: 20px;
  background: linear-gradient(135deg, #f8faff, #e6f0ff);
  transition: all 0.3s;
}

.zh_merchant_info_icon:hover img {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 114, 255, 0.15);
}

.zh_merchant_info_title {
  font-size: 28px;
  color: #0b1138;
  margin: 0 0 20px;
  font-weight: 700;
  position: relative;
  text-align: center;
}

.zh_merchant_info_divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  margin: 0 auto 30px;
  border-radius: 1.5px;
}

.zh_merchant_info_text {
  font-size: 16px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 20px;
}

.zh_merchant_info_text:last-child {
  margin-bottom: 0;
}

/* 右侧表单区 */
.zh_merchant_form {
  flex: 1;
  position: relative;
}

#formContainer {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 40px;
}

.zh_form_title {
  font-size: 24px;
  color: #0b1138;
  margin: 0 0 30px;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.zh_form_title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  border-radius: 1.5px;
}

/* 选项卡样式 */
.zh_tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  position: relative;
}

.zh_tabs::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #edf2f7;
}

.zh_tab {
  padding: 12px 30px;
  margin: 0 10px;
  background-color: #f8faff;
  color: #4a5568;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #edf2f7;
  position: relative;
  z-index: 1;
}

.zh_tab.active {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 114, 255, 0.2);
  border-color: transparent;
}

.zh_tab:hover:not(.active) {
  background-color: #edf2f7;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

/* 表单部分样式 */
.zh_form_section {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #edf2f7;
}

.zh_form_section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 30px;
}

.zh_form_section_title {
  font-size: 18px;
  color: #0b1138;
  margin: 0 0 25px;
  position: relative;
  padding-left: 15px;
  font-weight: 600;
}

.zh_form_section_title:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: linear-gradient(to bottom, #00c6ff, #0072ff);
  border-radius: 2px;
}

.zh_form_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.zh_form_field {
  position: relative;
  margin-bottom: 5px;
}

.zh_form_field_full {
  grid-column: span 2;
}

.zh_form_label {
  display: block;
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 8px;
  font-weight: 500;
}

.zh_form_input {
  width: 100%;
  height: 48px;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background-color: #f8faff;
  color: #0b1138;
  font-size: 15px;
  transition: all 0.3s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.zh_form_input:focus {
  border-color: #0072ff;
  box-shadow: 0 0 0 3px rgba(0, 114, 255, 0.1);
  outline: none;
  background-color: #fff;
}

.zh_form_input.error {
  border-color: #e53e3e;
  background-color: #fff8f8;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.zh_form_upload {
  border: 2px dashed #e2e8f0;
  padding: 20px;
  border-radius: 10px;
  background-color: #f8faff;
  position: relative;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.zh_form_upload:hover {
  border-color: #0072ff;
  background-color: #f0f7ff;
}

.zh_form_upload.error {
  border-color: #e53e3e;
  background-color: #fff8f8;
}

.zh_form_file {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.zh_upload_btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  margin-bottom: 10px;
  transition: all 0.3s;
}

.zh_form_upload:hover .zh_upload_btn {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.2);
}

.zh_upload_text {
  font-size: 14px;
  color: #718096;
}

.zh_form_error {
  color: #e53e3e;
  font-size: 13px;
  margin-top: 5px;
  display: none;
}

.zh_form_buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.zh_form_button {
  min-width: 150px;
  height: 48px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zh_form_submit {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.3);
}

.zh_form_submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 114, 255, 0.4);
}

.zh_form_reset {
  background-color: #f8faff;
  color: #4a5568;
  border: 1px solid #e2e8f0;
}

.zh_form_reset:hover {
  background-color: #edf2f7;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 提交成功提示 */
.zh_form_success {
  display: none;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 60px 40px;
  text-align: center;
}

.zh_success_icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  font-size: 40px;
  border-radius: 50%;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0, 114, 255, 0.2);
}

.zh_success_title {
  font-size: 24px;
  color: #0b1138;
  margin: 0 0 20px;
  font-weight: 700;
}

.zh_success_message {
  font-size: 16px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.zh_success_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 48px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.3);
}

.zh_success_btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 114, 255, 0.4);
}

/* 响应式样式 */
@media (max-width: 1199px) {
  .zh_container {
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  .zh_merchant_wrapper {
    flex-direction: column;
    gap: 30px;
  }
  
  .zh_merchant_info {
    width: 100%;
    position: static;
  }
  
  .zh_form_grid {
    grid-template-columns: 1fr;
  }
  
  .zh_form_field_full {
    grid-column: span 1;
  }
}

@media (max-width: 767px) {
  .zh_page_banner {
    height: 300px;
  }
  
  .zh_page_banner_title {
    font-size: 2.5rem;
  }
  
  .zh_merchant_container {
    padding: 40px 0;
  }
  
  #formContainer,
  .zh_form_success {
    padding: 30px 20px;
  }
  
  .zh_tabs {
    flex-direction: column;
    gap: 15px;
  }
  
  .zh_tab {
    width: 100%;
    margin: 0;
  }
  
  .zh_form_buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .zh_form_button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .zh_page_banner_title {
    font-size: 2rem;
  }
  
  .zh_merchant_info_title {
    font-size: 22px;
  }
  
  .zh_form_title {
    font-size: 20px;
  }
  
  .zh_success_title {
    font-size: 20px;
  }
} 