
html{
  overflow-x: hidden;
}
body{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100dvh;
  /* border: 10px solid red; */
  overflow-x: hidden;
}


.container{
  /* height: 300px;
  width: 300px; */
  /* border: 2px solid red; */
  display: flex;

}

.container > div{
  height: 600px;
  width: 500px;
  /* border: 2px solid blue; */
}

.tab-input{
  display: none;
}

.left-section-main > .tab-content{
  /* width: 300px; */
  /* height: 280px; */
  /* border: 2px solid green; */
  position: absolute;
  opacity: 0;
  bottom: 0;
  transition: opacity 0.2s;
}

.tab-input:checked + label +.tab-content{
  opacity: 1;
}


.left-section{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 30px;
}

.left-section-main{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  width: 300px;
  height: 240px;
  /* border: 2px solid red; */
  /* gap: 20px; */
}

.left-section-titles{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.left-section-titles > span:first-child{
  font-size: 1.8rem;
  font-weight: 700;
}

.left-section-titles > span:nth-child(2){
  font-weight: 700;
}

.left-section-titles > span:nth-child(3){
  color: rgb(143, 143, 143);
  font-weight: 500;
  font-size: 0.8rem;
}


.left-section-main > label{
  /* background-color: rgb(220, 220, 220); */
  padding: 6px 10px;
  font-weight: 700;
  font-size: 0.8rem;
  transition: background-color 0.2s;
}


.tab-input:checked + label {
  background-color: rgb(228, 228, 228);
}

.account-box{
  display: flex;
  flex-direction: column;
  align-items: center;
}


.input-container{
  display: flex;
  flex-direction: column;
  gap:15px;
}

.tab-content-input{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tab-content-input > span{
  font-size: 0.8rem;
}
.tab-content-input > input{
  width: 250px;
  height: 26px;
  padding-left: 5px;
  outline: none;
}

.tab-content-input > input::placeholder{
  font-size: 0.6rem;
  color: rgb(195, 195, 195);
}


.account-hints{
  display: flex;
  font-size: 0.6rem;
  justify-content: space-between;
  /* border: 1px solid red; */
  width: 100%;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
}


.account-hints > div:first-child{
  display: flex;
  align-items: center;
  gap: 5px;
}

.account-hints > span{
  font-weight: 700;
}

.account-box > span:last-child{
  width: 100%;
  height: 40px;
  border-radius: 4px;
  background-color: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
}


/* 扫码登录 */
.wechat-qr-content{
  width: 150px;
  /* height: 150px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  top: 40px;
}

.wechat-qr-content > img{
  width: 100%;
}

.wechat-icon{
  width: 30px;
  margin-top: 10px;
}

.wechat-qr-content > :last-child{
  font-size: 0.6rem;
  text-wrap: nowrap;
  margin-top: 10px;
}

.right-section > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

@media screen and (max-width: 1024px) {
  .container > div{
    width: 400px;
    height: 500px;
  }
}
@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }
  .container > div.right-section{
    width: 500px;
    height: 300px;
  }
  .container > div.left-section{
    height: 420px;
  }
}

@media screen and (max-width: 480px){
  .container > div.right-section{
    width: 80vw;
  }
}