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

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

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

    .index-auth-card {
      position: relative;
      z-index: 1;
      width: min(399px, 100%);
      min-height: 488px;
      padding: 48px 47px 28px;
      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-auth-brand {
      display: block;
      width: 114px;
      height: 47px;
      margin: 0 auto 39px;
      object-fit: contain;
    }

    .index-auth-mode {
      display: flex;
      margin: 0 0 18px;
      border-bottom: 1px solid rgba(220, 228, 241, .9);
    }

    .index-auth-mode button {
      flex: 1;
      height: 38px;
      padding: 0;
      border: 0;
      border-bottom: 2px solid transparent;
      background: transparent;
      color: #758197;
      cursor: pointer;
      font: inherit;
    }

    .index-auth-mode button.is-active {
      border-bottom-color: #0066ff;
      color: #0066ff;
    }

    .index-auth-form .layui-form-item {
      position: relative;
      margin: 0 0 16px;
    }

    .index-auth-form .layui-input {
      width: 100%;
      height: 48px;
      padding: 0 24px;
      border: 0;
      border-radius: 24px;
      background: #fff;
      color: #1a1a1a;
      font-size: 14px;
      box-sizing: border-box;
      box-shadow: none;
    }

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

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

    .index-auth-captcha .layui-input {
      padding-right: 132px;
    }

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

    .index-auth-sms .layui-input {
      padding-right: 116px;
    }

    .index-auth-sms .layui-btn {
      position: absolute;
      top: 5px;
      right: 6px;
      height: 38px;
      padding: 0 10px;
      border-radius: 19px;
      font-size: 13px;
      line-height: 38px;
    }

    .index-auth-submit {
      width: 100%;
      height: 48px;
      margin-top: 8px;
      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-auth-submit:hover,
    .index-auth-submit:focus {
      background: #0057d9;
      color: #fff;
    }

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

    .index-auth-options {
      display: grid;
      grid-template-columns: 1fr auto auto;
      align-items: center;
      column-gap: 16px;
      min-height: 28px;
      margin-top: 8px;
      font-size: 14px;
    }

    .index-auth-options .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-auth-options .layui-form-checkbox[lay-skin="primary"] span {
      padding-right: 0;
      font-size: 13px;
    }

    .index-auth-options .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-auth-options .layui-form-checked[lay-skin="primary"] i {
      border-color: #0066ff;
      background-color: #0066ff;
    }

    .index-auth-link {
      color: #666;
      line-height: 20px;
      white-space: nowrap;
    }

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

    .index-auth-wechat {
      margin-top: 14px;
      text-align: center;
    }

    .index-auth-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-auth-wechat .layui-btn:hover {
      background: #f1fff7;
      color: #078b43;
    }

    .index-auth-wechat-tip {
      margin: 8px 4px 0;
      color: #777;
      font-size: 12px;
      line-height: 1.6;
    }

    .index-auth-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-auth-footer span {
      display: inline-block;
      margin: 0 4px;
    }

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

      .index-auth-card {
        min-height: 0;
        padding: 40px 28px 26px;
        border-radius: 18px;
      }

      .index-auth-brand {
        margin-bottom: 32px;
      }

      .index-auth-options {
        column-gap: 10px;
      }

      .index-auth-options .layui-form-checkbox[lay-skin="primary"] span {
        font-size: 12px;
      }

      .index-auth-link {
        font-size: 13px;
      }
    }
