html,
    body {
      min-height: 100%;
    }

    body {
      margin: 0;
      color: #1a1a1a;
      font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    }

    .index-reg-page {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      min-height: 100svh;
      padding: 30px 18px 74px;
      overflow: hidden;
      box-sizing: border-box;
      background: #f7f7f7 url("/app/index/index-register-background.png") center / cover no-repeat;
    }

    .index-reg-card {
      position: relative;
      z-index: 1;
      width: min(399px, 100%);
      padding: 28px 47px 30px;
      border: 1px solid #fff;
      border-radius: 22px;
      box-sizing: border-box;
      background: rgba(255, 255, 255, 0.27);
      box-shadow: 0 18px 42px rgba(66, 110, 166, 0.1);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }

    .index-reg-header {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 70px;
    }

    .index-reg-back {
      position: absolute;
      top: 0;
      left: 0;
      color: #0066ff;
      font-size: 14px;
      line-height: 20px;
    }

    .index-reg-back:hover {
      color: #0057d9;
    }

    .index-reg-title {
      margin: 10px 0 0;
      color: #1a1a1a;
      font-size: 24px;
      font-weight: 500;
      line-height: 1;
    }

    .index-reg-form .layui-form-item {
      position: relative;
      margin: 0 0 10px;
    }

    .index-reg-form .layui-input {
      width: 100%;
      height: 48px;
      padding: 0 24px;
      border: 1px solid rgba(112, 112, 112, 0.3);
      border-radius: 24px;
      background: #fff;
      color: #1a1a1a;
      font-size: 14px;
      box-sizing: border-box;
      box-shadow: none;
    }

    .index-reg-form .layui-input::placeholder {
      color: #999;
    }

    .index-reg-form .layui-input:focus {
      border-color: #0066ff;
      box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
    }

    .index-reg-inline .layui-input {
      padding-right: 138px;
    }

    .index-reg-captcha-image {
      position: absolute;
      top: 5px;
      right: 8px;
      display: block;
      width: 110px;
      height: 38px;
      border-radius: 2px;
      cursor: pointer;
      object-fit: cover;
    }

    .index-reg-sms-button {
      position: absolute;
      top: 10px;
      right: 8px;
      min-width: 102px;
      height: 28px;
      padding: 0 8px;
      border: 0;
      border-left: 1px solid #eee;
      border-radius: 0;
      background: transparent;
      color: #1a1a1a;
      font-size: 14px;
      line-height: 28px;
    }

    .index-reg-sms-button:hover,
    .index-reg-sms-button:focus {
      background: transparent;
      color: #0066ff;
    }

    .index-reg-agreement {
      display: flex;
      align-items: center;
      min-height: 22px;
      margin: 2px 0 0;
    }

    .index-reg-agreement .layui-form-checkbox[lay-skin="primary"] {
      min-width: 0;
      height: 18px;
      margin: 0;
      padding-right: 0;
      border: 0;
      background: transparent;
      color: #666;
      line-height: 18px;
    }

    .index-reg-agreement .layui-form-checkbox[lay-skin="primary"] span {
      padding-right: 0;
      font-size: 13px;
    }

    .index-reg-agreement-links {
      color: #666;
      font-size: 13px;
      line-height: 18px;
      white-space: nowrap;
    }

    .index-reg-agreement-links a {
      color: #0066ff;
      text-decoration: none;
    }

    .index-reg-agreement-links a:hover,
    .index-reg-agreement-links a:focus {
      text-decoration: underline;
    }

    .index-reg-agreement .layui-form-checkbox[lay-skin="primary"] i {
      top: 0;
      width: 16px;
      height: 16px;
      border-color: #b7b7b7;
      border-radius: 3px;
      font-size: 12px;
      line-height: 14px;
    }

    .index-reg-agreement .layui-form-checked[lay-skin="primary"] i {
      border-color: #0066ff;
      background-color: #0066ff;
    }

    .index-reg-submit {
      width: 100%;
      height: 48px;
      margin-top: 10px;
      border: 0;
      border-radius: 24px;
      background: #0066ff;
      color: #fff;
      font-size: 16px;
      line-height: 48px;
      transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .index-reg-submit:hover,
    .index-reg-submit:focus {
      background: #0057d9;
      color: #fff;
    }

    .index-reg-submit:active {
      transform: translateY(1px);
    }

    .index-reg-login-link {
      display: block;
      margin-top: 16px;
      color: #999;
      font-size: 16px;
      line-height: 20px;
      text-align: center;
    }

    .index-reg-login-link:hover {
      color: #0066ff;
    }

    .index-reg-wechat {
      margin-top: 12px;
      text-align: center;
    }

    .index-reg-wechat .layui-btn {
      width: 100%;
      height: 42px;
      border: 1px solid #07c160;
      border-radius: 21px;
      background: #fff;
      color: #07a950;
      font-size: 14px;
      line-height: 40px;
      box-sizing: border-box;
    }

    .index-reg-wechat .layui-btn:hover {
      background: #f1fff7;
      color: #078b43;
    }

    .index-reg-footer {
      position: absolute;
      right: 18px;
      bottom: 22px;
      left: 18px;
      z-index: 1;
      margin: 0;
      color: rgba(26, 26, 26, 0.45);
      font-size: 12px;
      line-height: 1.7;
      text-align: center;
    }

    .index-reg-footer span {
      display: inline-block;
      margin: 0 4px;
    }

    @media screen and (max-width: 480px) {
      .index-reg-page {
        align-items: flex-start;
        padding-top: 26px;
      }

      .index-reg-card {
        padding: 26px 28px 28px;
        border-radius: 18px;
      }

      .index-reg-title {
        font-size: 22px;
      }

      .index-reg-login-link {
        font-size: 14px;
      }
    }
