* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  background: #ffffff;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 顶部导航栏 */
.top-header {
  background-color: #ffffff;
  border-bottom: 1px solid #ffffff;
  padding: 10px 0;
  font-size: 13px;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.welcome-text {
  color: #666;
}

.site-name {
  color: #333;
  font-weight: 500;
}

.right-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: #0066cc;
  text-decoration: none;
  padding: 4px 12px;
  border: 1px solid #0066cc;
  border-radius: 15px;
  transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
  background-color: #0066cc;
  color: white;
}

.divider {
  color: #ccc;
}

/* Logo 和标题区域 */
.header-banner {
  background-color: #ffffff;
  padding: 15px 0;
  border-bottom: 1px solid #e5e5e5;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.emblem {
  width: 70px;
  height: 70px;
}

.title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.platform-tag {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 3px;
  display: inline-block;
  width: fit-content;
  font-weight: 500;
}

.main-title {
  font-size: 24px;
  color: #333;
  font-weight: bold;
  margin: 3px 0;
}

.title-uyghur {
  font-size: 13px;
  color: #666;
  font-family: "UKIJ Tuz", "Microsoft Uighur", Arial, sans-serif;
}

.location-section {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 15px;
  background: #f5f5f5;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.location-icon {
  flex-shrink: 0;
}

.location-text {
  color: #333;
  font-size: 14px;
}

.location-dropdown {
  background: none;
  border: none;
  color: #0066cc;
  font-size: 13px;
  cursor: pointer;
  padding: 0 5px;
}

.location-dropdown:hover {
  color: #0052a3;
}

.header-right {
  display: flex;
  align-items: center;
}

.gov-site-text {
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

/* 主导航菜单 */
.main-nav {
  background-color: #ffffff;
  border-bottom: 2px solid #e5e5e5;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.nav-menu li {
  flex: 0 0 auto;
}

.nav-menu a {
  display: block;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  padding: 15px 30px;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
  position: relative;
}

.nav-menu a:hover {
  color: #0066cc;
  background-color: #f5f5f5;
}

.nav-menu a.active {
  color: #0066cc;
  border-bottom-color: #0066cc;
  font-weight: 500;
}

/* 登录主体区域 */
/* 外层全屏宽度容器 - 显示背景图 */
.login-wrapper {
  width: 100%;
  background-image: url("images/bg.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #f0f2f5;
  padding: 30px 0;
}

/* 内层登录容器 */
.login-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 520px;
  border-radius: 0;
  overflow: hidden;
}

/* 左侧蓝色背景区域 */
.login-left {
  flex: 0 0 40%;
  position: relative;
  display: flex;
  background-color: transparent;
}

/* 右侧登录表单区域 */
.login-right {
  flex: 0 0 60%;
  background: white;
  display: flex;
  flex-direction: row;
  padding: 0;
}

/* 登录盒子 */
.login-box {
  flex: 0 0 65%;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* 上半部分：左右布局 */
.top-section {
  display: flex;
  gap: 0;
  flex: 1;
  border-bottom: 1px solid #e5e5e5;
  flex-direction: column;
}

/* 左侧微信登录区域 */
.wechat-login-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: white;
}

/* 登录类型切换标签 */
.login-tabs {
  display: flex;
  gap: 0;
  background: white;
}

.tab-btn {
  flex: 1;
  padding: 15px 30px;
  background: #f0f0f0;
  border: none;
  color: #666;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  font-weight: 400;
}

.tab-btn.active {
  background: white;
  color: #0066cc;
  font-weight: 500;
}

/* 微信二维码区域 */
.wechat-qrcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px;
  flex: 1;
}

.qrcode-box-large {
  width: 260px;
  height: 260px;
  padding: 10px;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wechat-tip {
  font-size: 22px;
  color: #333;
  text-align: center;
}

.wechat-text {
  color: #07c160;
  font-weight: 600;
}

/* 右侧扫码登录区域 */
.scan-login-section {
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 30px 15px;
  border-left: 1px solid #e5e5e5;
  background: white;
  padding-top: 80px;
}

.scan-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
}

.qrcode-box-medium {
  width: 180px;
  height: 180px;
  padding: 8px;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.scan-tip {
  text-align: center;
}

.tip-text {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

.tip-highlight {
  color: #ff4d4f;
  font-weight: 500;
}

/* 底部：其他登录方式 */
.other-login-methods {
  /* flex: 0 0 100%; */
  padding: 30px 0;
  background: white;
  display: flex;
  flex-direction: column;
  margin-left: 40%;
  width: 60%;
  padding-left: 40px;
  padding-right: 40px;
}

.methods-title {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
  font-weight: 400;
}

.methods-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.method-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 10px;
  flex: 0 0 auto;
}

.method-item:hover {
  transform: translateY(-3px);
}

.method-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.2s;
}

.method-item:hover .method-icon {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.method-name {
  font-size: 12px;
  color: #666;
  text-align: center;
  line-height: 1.4;
  max-width: 100px;
}

/* 法人登录表单样式 */
.enterprise-login-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 60px;
  background: white;
}

.form-group {
  margin-bottom: 20px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 15px;
  z-index: 1;
  pointer-events: none;
}

.form-control {
  width: 100%;
  height: 50px;
  padding: 12px 15px 12px 45px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  font-size: 15px;
  color: #333;
  background: #f8f9fa;
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: #0066cc;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-control::placeholder {
  color: #999;
}

.toggle-password {
  position: absolute;
  right: 15px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.toggle-password:hover {
  opacity: 0.7;
}

.btn-login {
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

.btn-login:hover {
  background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
  transform: translateY(-1px);
}

.btn-login:active {
  transform: translateY(0);
}

.btn-login:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.link-text {
  color: #0066cc;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.link-text:hover {
  color: #0052a3;
  text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .login-container {
    flex-direction: column;
    margin: 20px;
  }

  .login-left {
    flex: 0 0 auto;
    min-height: 300px;
  }

  .login-right {
    flex: 0 0 auto;
    flex-direction: column;
  }

  .login-box {
    flex: 1;
  }

  .top-section {
    flex-direction: column;
  }

  .wechat-login-section,
  .scan-login-section {
    border: none;
    padding: 30px 20px;
  }

  .scan-login-section {
    border-top: 1px solid #e5e5e5;
    border-left: none;
    padding-top: 30px;
  }

  .methods-row {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .logo-section {
    width: 100%;
  }

  .location-section {
    width: 100%;
    justify-content: center;
  }

  .header-right {
    width: 100%;
    justify-content: center;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-menu li {
    flex: 0 0 auto;
  }

  .nav-menu a {
    padding: 12px 20px;
    font-size: 14px;
  }

  .login-left {
    padding: 40px 20px;
  }

  .top-nav {
    flex-direction: column;
    gap: 10px;
  }

  .emblem {
    width: 60px;
    height: 60px;
  }

  .main-title {
    font-size: 20px;
  }

  .qrcode-box-large {
    width: 220px;
    height: 220px;
  }

  .qrcode-box-medium {
    width: 180px;
    height: 180px;
  }

  .methods-row {
    gap: 15px;
  }

  .method-icon {
    width: 48px;
    height: 48px;
  }

  .method-name {
    font-size: 11px;
  }

  .other-login-methods {
    padding: 25px 20px;
  }
}

/* 页面底部样式 */
.page-footer {
  background-color: #f5f5f5;
  padding: 40px 0 20px;
  border-top: 1px solid #e0e0e0;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid #d0d0d0;
}

/* 为每个footer-section添加白色背景 */
.footer-section {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 联系我们部分 */
.contact-section {
  flex: 0 0 18%;
  flex: 1;
}

.footer-title {
  font-size: 16px;
  color: #333;
  font-weight: 600;
  margin-bottom: 15px;
}

.contact-item {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* 相关链接部分 */
.links-section {
  flex: 0 0 22%;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-item {
  line-height: 1.6;
}

.footer-link {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
}

.footer-link:hover {
  color: #0066cc;
  text-decoration: underline;
}

/* APP和小程序部分 */
.app-section {
  flex: 0 0 30%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
}

.app-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.app-qrcode-item {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.qr-icon-wrapper {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.app-name {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  margin: 0;
}

/* 热线部分 */
.hotline-item {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.hotline-icon-wrapper {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotline-icon {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.hotline-link {
  color: #0066cc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.hotline-link:hover {
  color: #0052a3;
  text-decoration: underline;
}

/* 政府网站标识部分 */
.badge-section {
  flex: 0 0 20%;
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-link {
  display: block;
  transition: transform 0.3s, opacity 0.3s;
}

.badge-link:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.badge-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
}

/* 底部备案信息 */
.footer-bottom {
  padding-top: 20px;
}

.footer-info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}

.info-item {
  white-space: nowrap;
}

.info-divider {
  color: #999;
}

/* 响应式设计 - 底部 */
@media (max-width: 1200px) {
  .footer-content {
    flex-wrap: wrap;
    gap: 30px;
  }

  .contact-section,
  .links-section,
  .app-section,
  .badge-section {
    flex: 0 0 48%;
  }
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 25px;
  }

  .contact-section,
  .links-section,
  .app-section,
  .badge-section {
    flex: 0 0 100%;
  }

  .app-section {
    flex-wrap: wrap;
    justify-content: center;
  }

  .badge-section {
    justify-content: center;
  }

  .footer-info {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .info-divider {
    display: none;
  }
}
