/* 默认元素 */
body {
    font-family: "Microsoft Yahei", Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.3;
    color: #555;
    background-color: #f8f8f8;
}
a {
    text-decoration: none;
    outline: none;
    color: #555;
}
a:hover {
    color: #000;
}
ul {
    list-style: none;
}
input[type="text"],
input[type="password"],
input[type="email"] {
    display: block;
    width: 100%;
    outline-style: none;
    border: none;
    padding: 6px 0;
    font-size: 16px;
    line-height: 1;
    background-color: transparent;
}
/*取消浏览器的密码小眼睛样式*/
input[type="password"]::-ms-reveal {
    display: none;
}
input:-internal-autofill-previewed,
input:-internal-autofill-selected {
    background-color: transparent;
    -webkit-text-fill-color: #000 !important;
    transition: background-color 5000s ease-out 0.5s !important;
}
input:disabled {
    color: #999;
}

/* app样式 */
.app {
    position: relative;
    width: 100vw;
    height: 100vh;
    max-width: 800px;
    max-height: 600px;
    min-width: 480px;
    margin: 0 auto;
}

/* 头部样式 */
.header {
    position: relative;
    margin: 0 20px;
    padding: 10px 10px;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/bg-line.png") no-repeat center bottom;
    background-size: 100%;
}
.header h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    color: #000;
}

/* 内容层样式 */
.content {
    padding: 10px 20px;
}
.flex-col {
    display: flex;
    align-items: center;
    margin: 15px 0;
}
.flex-col header {
    flex: auto;
    box-sizing: border-box;
}
.flex-col footer {
    flex: none;
    width: 130px;
    margin-left: 10px;
    box-sizing: border-box;
}
.flex-col footer a {
    display: block;
}

/* 登录方式 */
.login-dl {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 8px 15px 8px 12px;
    border: 1px solid #e9e9e9;
    border-radius: 100px;
    font-size: 16px;
    background-color: #fff;
    box-sizing: border-box;
}
.login-dl dt {
    flex: none;
    line-height: 0;
}
.login-dl dt i {
    display: block;
}
.login-dl dd {
    flex: auto;
    margin-left: 10px;
    color: #888;
}
.login-dl dd a {
    display: block;
    color: #888;
}
.login-dl dd a:hover {
    color: #000;
}
.login-dl dd.icons {
    flex: none;
}
.login-forward,
.login-browser {
    position: relative;
    padding-right: 30px;
}
.login-forward::after {
    content: "";
    display: block;
    position: absolute;
    top: -2px;
    right: 0;
    width: 24px;
    height: 24px;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/icon-login.png") no-repeat;
    background-size: 100% 100%;
    opacity: 0.3;
    transition: all 0.3s ease;
}
.login-browser::after {
    content: "";
    display: block;
    position: absolute;
    top: -2px;
    right: 0;
    width: 24px;
    height: 24px;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/icon-browser.png") no-repeat;
    background-size: 100% 100%;
    opacity: 0.3;
    transition: all 0.3s ease;
}
.login-forward:hover::after,
.login-browser:hover::after {
    opacity: 1;
}

/* 表单项样式 */
.form-item {
    display: flex;
    align-items: center;
    margin: 20px 0;
}
.form-item header {
    flex: none;
    width: 35px;
    margin-right: 15px;
    text-align: right;
}
.form-item article {
    flex: auto;
}
.form-item footer {
    flex: none;
    margin-left: 15px;
}
.form-input {
    padding: 5px 20px;
    border-radius: 100px;
    border: 1px solid #e9e9e9;
    background-color: #fff;
    box-sizing: border-box;
}

/*弹层样式*/
.message {
    position: absolute;
    top: 25px;
    left: 10px;
    right: 10px;
    z-index: 20;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    word-wrap: break-word;
    word-break: break-all;
    background-color: #fff;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.2);
}
.mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.7);
}
.mask-box {
    width: 90vw;
    max-width: 700px;
    margin: 15vh auto 0;
    padding: 15px;
    border-radius: 8px;
    box-sizing: border-box;
    background-color: #fff;
}
.mask-loading {
    width: 120px;
    margin: 50vh auto 0;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    background-color: #fff;
    box-sizing: border-box;
    transform: translateY(-50%);
}
.mask-loading img {
    display: block;
    width: 50px;
    height: auto;
    margin: 0 auto;
}

/* 通用样式 */
.mt {
    margin-top: 20px;
}
.mt-lg {
    margin-top: 30px;
}
.ml {
    margin-left: 20px;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.disabled {
    cursor: not-allowed;
}
.linkText {
    font-size: 16px;
    color: #3399CC;
}

/* 按钮样式 */
.btn-close {
    position: absolute;
    top: 12px;
    right: 0;
    width: 24px;
    height: 24px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/icon-close.png") no-repeat;
    background-size: 100% 100%;
    opacity: 0.4;
    transition: all 0.2s ease;
}
.btn-back {
    position: absolute;
    top: 12px;
    left: 0;
    width: 24px;
    height: 24px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/icon-back.png") no-repeat;
    background-size: 100% 100%;
    opacity: 0.4;
    transition: all 0.2s ease;
}
.btn-green {
    display: inline-block;
    border-radius: 100px;
    padding: 12px 25px;
    font-size: 16px;
    text-align: center;
    color: #fff;
    background-color: #4caf50;
    transition: all 0.3s ease;
}
.btn-yellow {
    display: inline-block;
    border-radius: 100px;
    padding: 12px 25px;
    font-size: 16px;
    text-align: center;
    color: #fff;
    background-color: #ffb607;
    transition: all 0.3s ease;
}
.btn-gray {
    display: inline-block;
    border-radius: 100px;
    padding: 12px 25px;
    font-size: 16px;
    text-align: center;
    color: #888;
    background-color: #bbb;
}
.btn-green-lg {
    display: block;
    padding: 15px 25px;
    border-radius: 100px;
    font-size: 16px;
    text-align: center;
    color: #fff;
    background-color: #4caf50;
    transition: all 0.3s ease;
}
.btn-yellow-lg {
    display: block;
    padding: 15px 25px;
    border-radius: 100px;
    font-size: 16px;
    text-align: center;
    color: #fff;
    background-color: #ffb607;
    transition: all 0.3s ease;
}
.btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}
.btn-back:hover {
    opacity: 1;
}
.btn-green:hover,
.btn-green-lg:hover {
    color: #fff;
    background-color: #46c44b;
}
.btn-yellow:hover,
.btn-yellow-lg:hover {
    color: #fff;
    background-color: #ffce0a;
}
.btn-gray:hover {
    color: #888;
}
.btn-eye-close {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/form-icon-eye-close.png") no-repeat;
    background-size: 100%;
}
.btn-eye-open {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/form-icon-eye-open.png") no-repeat;
    background-size: 100%;
}
.btn-modify-password {
    display: inline-block;
    width: 24px;
    height: 24px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/form-icon-modifypassword.png") no-repeat;
    background-size: 100%;
    opacity: 0.3;
    transition: all 0.3s ease;
}
.btn-modify-password:hover {
    opacity: 1;
}
.btn-register-account,
.btn-reset-password {
    display: inline-block;
    padding: 6px 0 6px 28px;
    font-size: 16px;
    line-height: 1.5;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/icon-register.png") no-repeat left center;
    background-size: 24px 24px;
}
.btn-reset-password {
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/icon-resetpassword.png") no-repeat left center;
    background-size: 24px 24px;
}

/* 图标样式 */
.ico-link {
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/icon-link.png") no-repeat;
    background-size: 100% 100%;
    vertical-align: sub;
}
.ico-switch {
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/icon-switch.png") no-repeat;
    background-size: 100% 100%;
    vertical-align: sub;
}
.icon-google {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/logo-google.png") no-repeat;
    background-size: 100%;
}
.icon-facebook {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/logo-facebook.png") no-repeat;
    background-size: 100%;
}
.icon-twitter {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/logo-twitter.png") no-repeat;
    background-size: 100%;
}
.icon-vk {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/logo-vk.png") no-repeat;
    background-size: 100%;
}
.icon-email {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/logos-email.png") no-repeat;
    background-size: 100%;
}
.icon-user {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/logo-user.png") no-repeat;
    background-size: 100%;
}
.icon-loading {
    display: inline-block;
    width: 48px;
    height: 48px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/loading.gif") no-repeat;
    background-size: 100%;
}
.form-icon-email {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/form-icon-email.png") no-repeat;
    background-size: 100%;
}
.form-icon-code {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/form-icon-code.png") no-repeat;
    background-size: 100%;
}
.form-icon-password {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/form-icon-password.png") no-repeat;
    background-size: 100%;
}
.form-icon-password-old {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/form-icon-password-old.png") no-repeat;
    background-size: 100%;
}
.form-icon-password-new {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/form-icon-password-new.png") no-repeat;
    background-size: 100%;
}
.form-icon-user {
    display: inline-block;
    width: 28px;
    height: 28px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/form-icon-user.png") no-repeat;
    background-size: 100%;
}
.btn-icon-browser {
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 0;
    line-height: 0;
    background: url("//content-us.game-bean.com/image/pcsdk-ucenter-hw/icon-browser-white.png") no-repeat;
    background-size: 100%;
    vertical-align: sub;
}
