/* ========== 现代化注册页样式 ========== */
* {
  margin: 0;
  padding: 0;
}

/* 背景图片 */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  min-height: 100vh;
  background-image: url('../img/home/beijing.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
}

/* 浮动光斑 */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, rgba(200, 180, 255, 0.4), rgba(180, 200, 255, 0.3));
  top: -200px;
  right: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, rgba(255, 200, 220, 0.3), rgba(255, 220, 200, 0.3));
  bottom: -150px;
  left: -100px;
  animation-delay: -5s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(200, 230, 255, 0.3), rgba(220, 255, 240, 0.3));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

/* 主容器 */
#regist {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 1200px;
  gap: 120px;
  flex-direction: row;
}

/* 顶部按钮 */
.login-jump-btn {
  position: fixed;
  top: 20px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 100;
}

.login-jump-btn .btn {
  border-radius: 8px;
}

.login-jump-btn .btn a {
  color: #fff;
  text-decoration: none;
}

/* 左上角Logo */
.login-logo {
  position: fixed;
  top: 15px;
  left: 30px;
  z-index: 100;
  display: block;
  line-height: 0;
}

.login-logo img {
  max-height: 36px;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

/* 品牌介绍区域 */
.brand-section {
  flex: 1;
  max-width: 450px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  order: 2;
}

.brand-welcome {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: 8px;
  opacity: 0.9;
  font-family: 'Arial Black', sans-serif;
}

.brand-title {
  font-size: 28px;
  font-weight: 500;
  margin-top: 16px;
  line-height: 1.4;
}

.brand-desc {
  font-size: 16px;
  margin-top: 20px;
  opacity: 0.85;
  line-height: 1.8;
}

/* 隐藏原有背景 */
.container-back {
  display: none;
}

/* 注册卡片 */
.container-before {
  width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 10;
  order: 1;
}

.container-before::-webkit-scrollbar {
  width: 6px;
}

.container-before::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.login {
  padding: 50px 55px;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  position: relative;
}

/* 标题 */
.login-text {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.login-text-title {
  font-size: 26px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.3;
}

.login-text-regist {
  margin-top: 8px;
  color: #666;
  font-size: 14px;
}

.login-text-regist a {
  color: var(--color-primary);
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}

.login-text-regist a:hover {
  opacity: 0.8;
}

/* 表单区域 */
.login-form {
  margin-top: 30px;
}

.login-top {
  display: flex;
  gap: 8px;
  background: #f5f5f7;
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.login-email,
.login-phone {
  flex: 1;
  padding: 10px 16px;
  text-align: center;
  color: #666;
  cursor: pointer;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  height: auto;
}

.login-email.active,
.login-phone.active {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-bottom: none;
}

.form-main {
  margin-top: 0;
}

.form-item {
  margin-top: 16px;
}

.form-item:first-child {
  margin-top: 0;
}

.form-item .el-input__inner {
  height: 48px;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-item .el-input__inner:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(64, 158, 255, 0.1);
}

.input-with-select .el-input-group__prepend {
  background: #fff;
  border-radius: 10px 0 0 10px;
  width: 80px;
}

.input-with-select .el-input__inner {
  border-radius: 0 10px 10px 0 !important;
}

.input-with-select .el-select .el-input__inner {
  border: none !important;
  box-shadow: none !important;
  padding-right: 25px;
}

.empty-input {
  display: none;
}

.code-item {
  display: flex;
  gap: 10px;
}

.code-btn {
  border-radius: 10px !important;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
}

/* 自定义表单 */
.custom-form {
  margin-top: 16px;
}

.custom-form .el-form-item {
  margin-bottom: 16px;
}

.custom-form .el-form-item__label {
  line-height: 1;
  padding-bottom: 8px;
  color: #666;
  font-size: 14px;
}

.custom-form .el-select {
  width: 100%;
}

.custom-form .el-input__inner {
  height: 48px;
  border-radius: 10px;
}

/* 协议勾选 */
.read-item {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
}

.read-item .el-checkbox {
  margin-top: 2px;
}

.read-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
  padding: 0 8px;
  color: #888;
}

.read-text a {
  color: var(--color-primary);
  cursor: pointer;
  text-decoration: none;
}

/* 注册按钮 */
.login-btn {
  width: 100%;
  height: 48px;
  border-radius: 10px !important;
  font-size: 15px;
  font-weight: 500;
  margin-top: 24px;
  transition: all 0.3s ease;
  background: var(--color-primary);
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(64, 158, 255, 0.35);
}

/* 响应式 */
@media screen and (max-width: 768px) {
  #regist {
    justify-content: center;
    padding: 20px;
    min-height: 100vh;
  }
  
  .login-container {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    gap: 0;
  }
  
  .brand-section {
    display: none;
  }
  
  .login-logo {
    position: static;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .container-before {
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 40px);
    border-radius: 16px;
    margin: 0 10px;
  }
  
  .login {
    padding: 35px 25px;
  }
  
  .login-text-title {
    font-size: 22px;
  }
  
  .login-text-regist {
    font-size: 13px;
  }
  
  .login-form {
    margin-top: 24px;
  }
  
  .login-top {
    margin-bottom: 20px;
  }
  
  .login-email,
  .login-phone {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .form-item {
    margin-top: 14px;
  }
  
  .form-item .el-input__inner {
    height: 44px;
    font-size: 14px;
  }
  
  .input-with-select .el-input-group__prepend {
    width: 65px;
  }
  
  .custom-form {
    margin-top: 14px;
  }
  
  .custom-form .el-form-item {
    margin-bottom: 14px;
  }
  
  .custom-form .el-input__inner {
    height: 44px;
  }
  
  .login-btn {
    height: 44px;
    font-size: 14px;
    margin-top: 20px;
  }
  
  .code-btn {
    height: 44px !important;
    font-size: 13px;
  }
  
  .read-text {
    font-size: 12px;
  }
  
  .orb-1, .orb-2, .orb-3 {
    opacity: 0.3;
  }
  
  .orb-1 {
    width: 300px;
    height: 300px;
  }
  
  .orb-2 {
    width: 250px;
    height: 250px;
  }
  
  .orb-3 {
    width: 200px;
    height: 200px;
  }
  
  .login-jump-btn {
    top: 10px;
    right: 15px;
  }
  
  .read-item .check-div {
    display: flex;
    white-space: inherit;
  }
}


/* 底部版权信息 */
.footer-copyright {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  text-align: center;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copyright a,
.footer-copyright span {
  color: #999;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-copyright a:hover {
  color: var(--color-primary);
}

.footer-copyright .divider {
  color: #ccc;
  margin: 0 4px;
}

@media screen and (max-width: 768px) {
  .footer-copyright {
    display: none;
  }
}
