* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  overflow: hidden;
  body.login {
    background: #ecf0f3;
  }

  #login {
    position: relative;
    width: 600px;
    min-height: 600px;
    padding: 25px;
    margin: 0;
    background-color: #ecf0f3;

    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
    // 提示
    .notice {
      border: none;
      background: none;
      box-shadow: none;
      text-align: center;
    }
  }
  // 登录 注册 忘记密码 设置新密码 表单
  form#loginform,
  form#registerform,
  form#lostpasswordform,
  form#resetpassform {
    background: none;
    border: none;
    box-shadow: none;
    // 输入框
    input {
      outline: none;
      border: none;
      background-color: #ecf0f3;
      transition: 0.25s ease;
      border-radius: 8px;
      box-shadow: inset 2px 2px 4px #d1d9e6, inset -2px -2px 4px #f9f9f9;
      // 聚焦状态
      &:focus {
        box-shadow: inset 4px 4px 4px #d1d9e6, inset -4px -4px 4px #f9f9f9;
      }
    }
    // 提交按钮父级盒子
    .submit {
      display: flex;
      align-items: center;
      // justify-content: center;
      justify-content: space-evenly;
      width: 100%;
      //生成密码
      .button.wp-generate-pw.hide-if-no-js.skip-aria-expanded{
        width: 180px;
        height: 50px;
        border-radius: 25px;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 1.15px;
        background-color: #4b70e2;
        color: #f9f9f9;
        box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #f9f9f9;
        border: none;
        outline: none;
      }
      // 提交按钮
      #wp-submit {
        width: 180px;
        height: 50px;
        border-radius: 25px;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 1.15px;
        background-color: #4b70e2;
        color: #f9f9f9;
        box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #f9f9f9;
        border: none;
        outline: none;
         // 鼠标移入效果
         &:hover {
          background-color: #3a5abf; // 改变背景颜色
          box-shadow: 12px 12px 20px #d1d9e6, -12px -12px 20px #f9f9f9; // 改变阴影
      }
      }
    }
    // 注册页面的‘记住我’
    .forgetmenot {
      display: block;
      width: 100%;
    }
  }

  // 登录注册的父级盒子
  #login-wrapper {
    display: flex;
    justify-content: center;
    margin: 15vh auto 0;
    width: fit-content;
    box-shadow: 10px 10px 10px #d1d9e6, -10px -10px 10px #f9f9f9;

    // js添加的兄弟盒子
    #login-sibling {
      width: 400px;
      background: #ecf0f3;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
      z-index: 200;
      box-shadow: 4px 4px 10px #d1d9e6, -4px -4px 10px #f9f9f9;
      padding: 50px 55px;
      transition: 1.25s;

      &::after {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background-color: #ecf0f3;
        box-shadow: inset 8px 8px 12px #d1d9e6, inset -8px -8px 12px #f9f9f9;
        bottom: -60%;
        left: -60%;
      }
      &::before {
        content: "";
        position: absolute;
        border-radius: 50%;
        background-color: #ecf0f3;
        box-shadow: inset 8px 8px 12px #d1d9e6, inset -8px -8px 12px #f9f9f9;
        transition: 1.25s;
        top: -30%;
        left: 60%;
        width: 300px;
        height: 300px;
      }
      .l_s_title {
        font-size: 24px;
        font-weight: 700;
        line-height: 2;
        color: #181818;
        padding-bottom: 30px;
      }
      .l_s_des {
        font-size: 14px;
        letter-spacing: 0.25px;
        text-align: center;
        line-height: 1.6;
      }
      .l_s_but {
        width: 180px;
        height: 50px;
        border-radius: 25px;
        margin-top: 50px;
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 1.15px;
        background-color: #4b70e2;
        color: #f9f9f9;
        box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #f9f9f9;
        border: none;
        outline: none;
        cursor: pointer;
    
        // 鼠标移入效果
        &:hover {
            background-color: #3a5abf; // 改变背景颜色
            box-shadow: 12px 12px 20px #d1d9e6, -12px -12px 20px #f9f9f9; // 改变阴影
        }
    }
    }
  }
  //隐藏中英切换
  #language-switcher{
    display: none;
  }
  //弹出层协议
  .tipswindown {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 30px 100px 30px;
    overflow-y: auto;
    transition: all 0.3s linear;
    > h2 {
      font-size: 25px;
    }
    > p {
      font-size: 14px;
    }
  }
  /* 设置垂直滚动条的宽度 */
  .tipswindown::-webkit-scrollbar {
    width: 5px;
  }
  /* 滚动条滑块的样式 */
  .tipswindown::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #4b70e2;
  }
  /* 滚动条轨道的样式 */
  .tipswindown::-webkit-scrollbar-track {
    background-color: #ffffff;
  }
  //协议阅读按钮
  .haveRead {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 75px;
    background-color: #fff;
    box-shadow: 4px 4px 10px #d1d9e6, -4px -4px 10px #f9f9f9;
    transition: all 0.3s linear;
  }
  .haveRead_button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75px;
    height: auto;
    padding: 6px 0px;
    border-radius: 4px;
    cursor: pointer;
  }
  .haveRead_button_yes {
    background-color: #4b70e2;
    border: 1px solid #4b70e2;
    color: #fff;
  }
  .haveRead_button_no {
    background-color: #b6b7b8;
    border: 1px solid #b6b7b8;
    color: #fff;
  }

  //适配手机端
  @media screen and (max-width: 750px) {
    #login-wrapper {
      margin: 7vh auto 0;
      // padding-top: 10vh;
      box-shadow: none;
      //隐藏左侧
      #login-sibling {
        display: none;
      }
      // 右侧占满屏宽
      #login {
        width: 100%;
        input{
          font-size: 18px;
        }
        .submit {
          flex-direction: column;
          gap: 20px;
        }
      }
    }
  }
}
//取消原先的hidden，允许出现滚动条
@media screen and (max-width:750px){
  html{
    overflow: visible;
    height: auto;
  }
}
