/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 注册容器 */
.register-container {
  min-height: 95vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
}

/* 注册卡片 */
.register-card {
  width: 100%;
  max-width: 450px; /* 注册页面稍宽一些 */
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  padding: 40px 35px;
  animation: fadeIn 0.6s ease-out;
  position: relative;
  overflow: hidden;
}

/* 注册Logo区域 */
.register-logo {
  text-align: center;
  margin-bottom: 30px;
}

.register-logo h1 {
  color: #2c3e50;
  font-size: 1.8rem; /* 标题稍小 */
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

/* 注册表单 */
.register-form {
  margin-top: 20px;
}

/* 输入框样式 */
:deep(.el-input__wrapper) {
  border-radius: 8px;
  padding: 0 15px;
  height: 48px;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 1px #dcdfe6;
}

:deep(.el-input__wrapper.is-focus) {
  box-shadow: 0 0 0 1px #409EFF;
}

:deep(.el-input__inner) {
  color: #303133;
}

:deep(.el-input__prefix) {
  margin-right: 8px;
  color: #909399;
}

/* 表单项 */
:deep(.el-form-item) {
  margin-bottom: 22px;
}

/* 发送验证码按钮 */
.send-code-btn {
  width: 100%;
  height: 48px;
  font-size: 14px;
}

/* 注册按钮 */
.register-btn {
  width: 100%;
  height: 48px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  background: linear-gradient(90deg, #409EFF, #66b1ff);
  border: none;
  transition: all 0.3s;
  margin-top: 10px;
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(64, 158, 255, 0.3);
}

.register-btn:active {
  transform: translateY(0);
}

/* 底部链接 */
.register-footer {
  text-align: center;
  margin-top: 20px;
  color: #909399;
  font-size: 14px;
}

.register-footer .el-link {
  margin-left: 5px;
  font-weight: 500;
}

/* 页脚 */
.register-footer-bottom {
  position: absolute;
  bottom: 20px;
  color: #909399;
  font-size: 13px;
  text-align: center;
  width: 100%;
}

/* 响应式调整 */
@media (max-width: 480px) {
  .register-card {
    padding: 30px 20px;
    margin: 0 15px;
  }

  .register-logo h1 {
    font-size: 1.6rem;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 装饰元素 */
.register-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #409EFF, #67C23A);
}
