/* 登录页专用样式 */

/* ==================== 登录页面容器 ==================== */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==================== 顶部导航栏 ==================== */
.login-header {
  background: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-dark);
}

/* 用户状态 */
.user-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-info {
  text-align: right;
}

.user-greet {
  font-size: 14px;
  color: var(--text-gray);
}

.user-welcome {
  font-size: 12px;
  color: var(--text-light-gray);
}

/* ==================== 主体区域 ==================== */
.login-main {
  flex: 1;
  display: flex;
  background-image: url(../images/login-bg.png) ;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  overflow: hidden;

}

/* 网点纹理背景 */
.login-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

/* ==================== 左侧宣传区 ==================== */
.login-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.login-left-content {
  text-align: center;
  padding: 40px;
}

/* 平台标签 */
.platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 30px;
}

.platform-tag span {
  color: var(--text-white);
  font-size: 14px;
}

/* 平台名称 */
.platform-title {
  margin-bottom: 60px;
}

.title-line1,
.title-line2 {
  font-size: 56px;
  font-weight: bold;
  color: var(--text-white);
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 4px;
}

.title-line1 {
  position: relative;
  display: inline-block;
}

.title-line1::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 0;
  width: 4px;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  transform: skewX(-15deg);
}

/* 城市地标插画 */
.city-illustration {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  opacity: 0.9;
}

.building {
  opacity: 0.85;
  transition: transform 0.3s ease;
}

.building:hover {
  transform: translateY(-5px);
  opacity: 1;
}

/* ==================== 右侧登录区 ==================== */
.login-right {
    width: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: absolute;
    z-index: 1;
    right: 83px;
    top: 103px;
}

/* 登录卡片 */
.login-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.login-card-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 30px;
}

/* 表单样式 */
.login-form {
  /* 表单容器 */
}

.form-group {
  margin-bottom: 20px;
}

.form-input {
  width: 100%;
  height: 48px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--text-dark);
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--primary-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.form-input::placeholder {
  color: var(--text-light-gray);
}

/* 验证码输入组 */
.form-group-code {
  display: flex;
  gap: 12px;
}

.form-input-code {
  flex: 1;
}

.btn-code {
  width: 120px;
  height: 48px;
  background: var(--primary-blue);
  border: none;
  border-radius: 8px;
  color: var(--text-white);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-code:hover {
  background: var(--primary-dark);
}

.btn-code:disabled {
  background: #bdbdbd;
  cursor: not-allowed;
}

/* 辅助链接 */
.form-links {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  font-size: 14px;
}

.link-register {
  color: var(--primary-blue);
}

.link-register:hover {
  text-decoration: underline;
}

.link-forgot {
  color: var(--text-light-gray);
}

.link-forgot:hover {
  color: var(--text-gray);
}

/* 登录按钮 */
.btn-login {
  width: 100%;
  height: 48px;
  background: var(--primary-blue);
  border: none;
  border-radius: 8px;
  color: var(--text-white);
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
}

.btn-login:active {
  transform: translateY(0);
}

/* ==================== 响应式适配 ==================== */
@media screen and (max-width: 992px) {
  .login-main {
    flex-direction: column;
  }

  .login-left {
    padding: 40px 20px;
  }

  .title-line1,
  .title-line2 {
    font-size: 36px;
  }

  .city-illustration {
    display: none;
  }

  .login-right {
    width: 100%;
    padding: 20px;
  }

  .login-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 480px) {
  .login-header-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .user-status {
    flex-direction: column;
    text-align: center;
  }

  .user-info {
    text-align: center;
  }

  .logo-text {
    font-size: 14px;
  }

  .title-line1,
  .title-line2 {
    font-size: 28px;
  }

  .login-card {
    padding: 30px 20px;
  }

  .btn-code {
    width: 100px;
    font-size: 12px;
  }
}