@CHARSET "UTF-8";

body, html {
    margin: 0;
    padding: 0;
    font-family: "MS PGothic";
}

#bg_img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.main_bar {
    width: 100%;
    height: 100%;
}

#login_form {
    width: 500px;
    height: 400px;
    margin: 80px auto;
    border-radius: 20px; /*设置圆角样式*/
}

.title {
    width: 100%;
    height: 55px;
    color: #ffffff;
    font-size: 32px;
    line-height: 55px;
    text-align: center;
    margin-top: 20px;
}

#form_widget {
    width: 100%;
    height: 295px;
}

.txt {
    display: block; /*设置为独立块（换行）*/
    width: 72%;
    margin: 0 auto;
    height: 35px;
    font-size: 15px;
    border-radius: 5px; /*设置圆角样式*/
    border: 0;
    padding-left: 8px;
    box-sizing: border-box; /*宽度含内边距，不受浏览器默认 padding 影响，各浏览器渲染一致*/
}

.txt_code {
    width: 70%;
    margin: 0 auto;
    height: 35px;
    font-size: 15px;
    border-radius: 5px; /*设置圆角样式*/
    border: 0;
    padding-left: 8px;
}

#vcode {
    height: 35px;
    width: 43%;
    font-size: 15px;
    margin-left: 14%;
    border-radius: 5px;
    border: 0;
    padding-left: 8px;
}

#code {
    margin-left: 5%;
}

/* 宽度与 .txt 一致（同为 72% + border-box），整行与上面两行左右边缘严格对齐 */
.captcha_row {
    width: 72%;
    margin: 0 auto;
    box-sizing: border-box;
    font-size: 0; /* 消除 inline-block 元素之间的空白字符间隙 */
    white-space: nowrap;
}

.verify_code {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 110px); /* 右侧留给图片：100px 图 + 10px 间距 */
    height: 35px;
    font-size: 15px; /* 与 .txt 一致 */
    box-sizing: border-box;
    border: 0;
    border-radius: 5px;
    padding-left: 8px;
}

.verify_code_img {
    display: inline-block;
    vertical-align: middle;
    width: 100px;
    height: 35px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 4px;
}

/*层级选择器*/
#search_pass_link a {
    color: #000000;
    text-decoration: none;
}

/*伪类*/
#search_pass_link a:hover {
    color: #55abe2;
    text-decoration: underline;
}

.btn {
    display: block;
    width: 72%;
    margin: 20px auto;
    height: 40px;
    border: 0;
    font-size: 14px;
    background-color: #0080c0;
    color: #ffffff;
    cursor: pointer; /*设置指针鼠标的样式*/
    border-radius: 5px; /*设置圆角样式*/
}

#copyright {
    width: 100%;
    text-align: center;
    padding-top: 20px;
    color: #ffffff;
}
