.login-container {
  display: flex;
  min-height: 100vh;
}

.login-left {
  width: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #667eea 100%);
  position: relative;
  overflow: hidden;
}

.login-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-content {
  text-align: center;
  color: #fff;
  padding: 40px;
}

.bg-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.bg-content p {
  font-size: 18px;
  opacity: 0.9;
}

.login-right {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-white);
  padding: 40px;
}

.login-box {
  width: 100%;
  max-width: 400px;
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.login-header p {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.login-header a {
  color: var(--color-primary);
}

.login-tabs {
  display: flex;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border-light);
}

.tab-item {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  color: var(--color-text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.tab-item.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.login-form .el-form-item {
  margin-bottom: 20px;
}

.login-form .el-input__inner {
  height: 48px;
  line-height: 48px;
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.forget-link {
  font-size: 13px;
  color: var(--color-primary);
}

.login-btn {
  width: 100%;
  height: 48px;
  font-size: 16px;
}

.login-type-switch {
  text-align: center;
  margin-top: 16px;
}

.login-type-switch a {
  font-size: 13px;
  color: var(--color-text-secondary);
  cursor: pointer;
}

.login-type-switch a:hover {
  color: var(--color-primary);
}

.oauth-login {
  margin-top: 32px;
}

.divider {
  text-align: center;
  position: relative;
  margin-bottom: 24px;
}

.divider::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--color-border-light);
}

.divider span {
  background: var(--color-bg-white);
  padding: 0 16px;
  position: relative;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.oauth-list {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.oauth-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.oauth-item:hover {
  background: var(--color-primary-light);
}

.oauth-item img {
  width: 24px;
  height: 24px;
}

.login-lang {
  text-align: center;
  margin-top: 24px;
}

.login-lang span {
  font-size: 13px;
  color: var(--color-text-secondary);
  padding: 0 8px;
  cursor: pointer;
}

.login-lang span.active {
  color: var(--color-primary);
}

@media screen and (max-width: 992px) {
  .login-left {
    display: none;
  }
  
  .login-right {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .login-box {
    padding: 20px;
  }
  
  .login-header h2 {
    font-size: 24px;
  }
}
