/* body {
    height: 100vh;
    background-image: url(https://assets.windchime.top/image/login-bg.png);
    background-repeat: no-repeat;
    overflow: hidden;
    background-size: cover;
} */

#checkSpanBlock {
    display: inline
}

body {
    margin: 0;
    padding: 0;
    overflow-y: auto;
    /* 去除固定高度设置，让内容决定高度  */
    min-height: 50vh;
    height: auto;
    /* display: flex;  */
}

.separator {
    border-top: 1px solid rgb(150, 150, 150);
    width: 400px;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.box {
    /* position: relative;
    top: 120px;
    left: 550px; */
    width: auto;
    height: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    transition: .1s ease;
}


/* 
.box:hover{
transform: scale(1.005);
} */

.box>h2 {
    color: rgba(0, 0, 0, 0.9);
    margin-bottom: 30px;
}

.box .input-box {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.box .input-box label {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.9);
    margin-bottom: 5px;
}

.box .input-box input,
select {
    letter-spacing: 1px;
    font-size: 14px;
    box-sizing: border-box;
    width: 400px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid rgb(0, 0, 0);
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    padding: 0 12px;
    color: rgba(0, 0, 0, 0.9);
    transition: 0.2s;
}

.box .input-box input:focus,
select:focus {
    border: 3px solid rgba(0, 106, 255, 0.8);
}

.box .input-box span {
    position: relative;
    top: -35px;
    left: 120px;
    color: rgba(0, 0, 0, 0.9);
}

.box .check-box {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.box .check-box label {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.9);
}

.box .check-box input {
    letter-spacing: 1px;
    font-size: 14px;
    box-sizing: border-box;
    width: 400px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid rgb(0, 0, 0);
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    padding: 0 12px;
    color: rgba(0, 0, 0, 0.9);
    transition: 0.2s;
}

.box .check-box input:focus,
select:focus {
    border: 3px solid rgba(0, 106, 255, 0.8);
}

#invalidPassMessage {
    position: inherit;
    color: rgb(230, 0, 0);
    display: none;
    font-size: 10px;
}

.birthday {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

.birthday select {
    width: auto;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.box .btn-box {
    width: 250px;
}

.btn-a {
    position: relative;
    /* 设置元素为相对定位，为伪元素提供定位上下文 */
    left: 150px;
    display: inline-block;
    /* 让元素包裹文本内容，以实现文字下划线 */
    text-decoration: none;
    color: rgb(15, 0, 180);
    font-size: 15px;
}

.btn-a:before {
    content: "";
    /* 生成一个伪元素 */
    position: absolute;
    /* 设置伪元素为绝对定位，相对于包含块 */
    border-radius: 12px;
    top: 20px;
    left: 0;
    /* 将伪元素的左边距设置为0，以实现从左到右的运动效果 */
    width: 0;
    /* 将伪元素的宽度设置为0，初始时不可见 */
    height: 2px;
    /* 设置伪元素的高度为2像素，作为下划线的宽度 */
    background-color: rgb(15, 0, 180);
    /* 设置下划线的颜色为黑色 */
    transition: width 0.3s;
    /* 使用过渡动画实现从0到100%宽度的效果 */
}

.btn-a:hover::before {
    width: 100%;
    /* 悬停时将伪元素的宽度设置为100%，显示完整的下划线 */
}

.box .btn-box>div {
    margin-left: 135px;
    margin-top: 10px;
    display: block;
}

.btn-btn {
    display: flex;
    justify-content: space-between;
}

.btn-btn>button {
    flex: 1;
    margin: 0 5px;
    height: 35px;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 85, 255, 0.7);
    background: rgba(0, 85, 255, 0.783);
    border-radius: 5px;
    font-size: 14px;
    transition: 0.2s;
    width: 120px;
    /* 固定宽度 */
}

.btn-btn>button:hover {
    border: 1px solid rgb(0, 132, 255);
    background: rgba(0, 132, 255, 0.774);
}


/* button */

.cr-info {
    position: absolute;
    color: rgb(0, 0, 0);
    bottom: 0;
    left: 10px;
    width: 100%;
}