/* 登陆页CSS开发QQ2807016 */
.signin-view {
   
    background-size:100% 100% ;
    background-color: #F5F5F5;
}

.signin {
    width: 70%;
    height: 100%;
    margin-left: 15%;
    text-align: center;
}
.signin-header {
    margin-top: 0.8rem;
    margin-bottom:0.2rem;
}
.signin-header .system-logo{
		width: auto;
		height: auto;
		margin: 0 auto;
		max-width: 600px;
		max-height: 300px;
}
.signin-header .system-logo img {
    width: 80%;
    /*height: 50%;*/
}
.signin-header .system-name{
		width: 100%;
		height: 0.3rem;
		line-height: 0.3rem;
		text-align: center;
		color: #e9b747;
		font-size: 0.2rem;
		font-family: "微软雅黑";
}
.signin-content > .list {
    width: 100%;
    height: 1rem;
    margin-bottom: 0.1rem;
}
.signin-content > p{
		width: 100%;
		height: 0.25rem;
}
.signin-content > p > span{
		display: block;
		width: 100%;
		height: 0.25rem;
		line-height: 0.25rem;
		font-size: 0.14rem;
		text-align: center;
		color: #fa2e42;
}
.signin-content > .list > .item {
    height: 0.45rem;
    line-height: 0.45rem;
    margin-bottom: 0.1rem;
    border-width: 0px;
    border-radius: 0.05rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 0;
}

.signin-content > .list > .item > .input-icon {
		display:inline-block ;
		vertical-align: top;
		font-size: 0.2rem;
    width: 0.4rem;
    color: #fff;
    text-align: center;
    height: 0.45rem;
    margin-top: 0.24rem;
}

.signin-content > .list > .item > input {
    color: white;
    font-size: 0.14rem;
    padding: 0rem;
    border: none;
    background-color: transparent !important;
}

.signin-content > .signin-action {
    padding: 0.05rem 0.1rem;
}

.signin-action .sign_button{
	width: 100%;
}

.signin-footer {
    text-align: center;
    margin-top: 0.2rem;
}

.signin-footer > a {
    color: #000000;
    font-size: .14rem;
    text-decoration: none;
}
.signin-tools {
    padding: 0px;
    height: 30px !important;
}

.signin-tools p {
    font-size: 12px;
    white-space: normal;
    text-align: left;
    padding: 5px;
    padding-left: 10px;
}

.signin-tools p a {
    color: #666;
}

.signin-tools.item-select {
    padding: 16px;
}

.signin-tools select {
    left: 0px;
    color: rgb(200, 200, 200);
    font-size: 12px;
    background-color: #1d1d25;
}

.signin-tools.item-checkbox {
    border: none !important;
}

.signin-tools .item-checkbox {
    padding: 5px;
    padding-top: 10px;
    padding-left: 35px;
    font-size: 12px;
    text-align: left;
    border: none;
    color: rgb(200, 200, 200);
    background-color: rgba(0, 0, 0, 0);
}

.signin-tools .item-checkbox .checkbox-icon:before {
    width: 14px;
    height: 14px;
    margin-top: 9px;
    border-radius: 2px !important;
}

.signin-tools .item-checkbox .checkbox-icon:after {
    position: static;
    margin-top: -12px;
}

.spinner-view {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 4;
    opacity: 0;
    background-color: rgb(31, 32, 36);
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    -o-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
}

.spinner-view.open {
    opacity: 100;
    background-color: rgb(31, 32, 36);
}

.spinner-view .message {
    top:50%;
    width:100%;
    opacity: 0;
    padding-top:30px;
    text-align: center;
    position: absolute;
    color: rgb(200, 200, 200);
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    -o-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
}

.spinner-view .message.fadein {
    opacity: 100;
}

/*注册页样式*/

input[disabled], select[disabled], textarea[disabled], input[readonly]:not(.cloned-text-input), textarea[readonly]:not(.cloned-text-input), select[readonly]{
	background: transparent !important;
}
.sign_up{
	width: 100%;
	height: 100%;
	padding-top:0.2rem ;
	position: relative;
}
.remake{
	width: 100%;
	height: 100%;
	position: absolute;
	top:0;
	left:0;
	display: flex;
	align-items: center;
	background: rgba(0,0,0,.9);
	z-index: 100;
}
.remakecon{
	width: 80%;
	margin-left: 10%;
	background: #fff;
	border-radius:0.04rem ;
	text-align: center;
}
.remakecon header{
	width: 100%;
	height: 0.4rem;
	line-height: 0.4rem;
	font-size: 0.14rem;
	border-top-left-radius:0.04rem ;
	border-top-right-radius:0.04rem ;
	background: #e8af2e;
	color: #fff;
	text-align: center;
	position: relative;
}
.remakecon header .close{
	width: 0.4rem;
	height: 0.4rem;
	position: absolute;
	right: 0;
	top:0;
	font-size: 0.3rem;
}
#versvg svg{
	width: 1.5rem;
	height: 0.5rem;
	margin: 0.1rem auto;
}
.remakecon .newinput{
	border: none;
	padding: 0;
}
.remakecon .newinput .input-text{
	color: #3c3c3c;
	border: none;
}
.ver_btn{
	margin:0.1rem auto;
}
.newinput{
	width: 100%;
	height: 0.51rem;
	border-bottom:1px solid #343438 ;
	padding-top:0.2rem ;
}
.sign_up_list{
	width: 80%;
	margin-left: 10%;
}
.input_iphone_code{
	position: relative;
}
.input_iphone_code .code_btn{
	position: absolute;
	right: 0;
	top:0.1rem;
	height: 0.3rem;
	width: 1rem;
	color: #abacae;
	line-height: 0.3rem;
	text-align: center;
	font-size: 0.12rem;
	background: transparent;
	border-radius:0.05rem ;
	border: 1px solid #343438;
	padding: 0;
}
.newinput .input-text{
	display: inline-block;
	vertical-align: top;
	/*width: 0.6rem;*/
	height: 0.3rem;
	text-align: right;
	font-size: 0.12rem;
	line-height: 0.3rem;
	color: #000000;
}
.newinput input{
	display: inline-block;
	vertical-align: top;
	border: none;
	padding: 0;
	width: 2rem;
	height: 0.3rem;
	color: #fdbe19;
	background: transparent;
	font-size: 0.14rem;
	line-height: 0.3rem;
	margin-left:0.1rem ;
}
.sign_up_check{
	width: 100%;
	height: 1rem;
	margin-top: 0.2rem;
	line-height: 0.3rem;
	color: white;
}
.sign_up_check .item-content p{
	color: white;
	font-size: 0.12rem;
	padding-left:0.35rem;
}
.sign_up_check a{
	vertical-align: top;
	display: inline-block;
	height: 0.3rem;
	line-height: 0.3rem;
	width: auto;
	color: white;
	font-size: 0.14rem;
	text-decoration: underline;
}
.sign_up_check .item{
	background: transparent;
	border: none;
	padding:0 ;
	height: 0.3rem;
	line-height: 0.3rem;
	color: #FFFFFF;
	font-size: 0.12rem;
	position: relative;
	width: 32%;
	display: inline-block;
	vertical-align: top;
}
.sign_up_check .item span{
	display: inline-block;
	width: 0.2rem;
	height: 0.2rem;
	border: 1px solid #343438;
	border-radius:0.02rem ;
}
.sign_up_check .item-checkbox .checkbox{
	top:0.05rem;
	left: 0;
	margin: 0;
	padding: 0;
}
.sign_up_check .item-checkbox .checkbox .checkbox-icon{
	width: 0.2rem;
	height: 0.2rem;
	line-height: 0.2rem;
	text-align: center;
}
.sign_up_check .checkbox input:before, .checkbox-icon:before{
	background: transparent !important;
	border-radius:0 ;
	border: 1px solid #343438 !important;
	border-color: #343438 !important;
}
.sign_up_btn{
	width: 70%;
	margin-left: 15%;
	margin-top:0.2rem;
}
.sign_up_check .item-content span{
	display: inline-block;
	width: 80%;
	height: 0.3rem;
	font-size: 0.12rem;
	border: none;
	margin-left: 0.3rem;
}
.sign_up_check .checkbox input:after, .checkbox-icon:after{
	border-color: #fdbe19;
	width: 0.14rem;
	height: 0.06rem;
}
.agreement{
	background: #1b1b1d !important;
}
.agreement pre{
	font-size: 0.14rem;
	color: white;
}

/*注册二维码页面样式*/
.sign_up_erweima{
	background:#1b1b1b;
	width: 100%;
	height: 100%;
}
.sign_up_erweima header{
	height: 0.9rem;
	width: 100%;
	text-align: center;
	padding:0.3rem 0 0.2rem 0rem;
}
.sign_up_erweima header h2{
	font-size: 0.13rem;
	color: white;
	height: 0.2rem;
	line-height: 0.2rem;
	margin: 0;
}
.sign_up_erweima header h2 span{
	font-size: 0.15rem;
}
.sign_up_erweima header p{
	height: 0.2rem;
	line-height:0.2rem;
	color: #707070;
	font-size: 0.11rem;
}
.sign_up_erweima article{
	width: 60%;
	height: 2.8rem;
	background: white;
	margin-left: 20%;
	border-radius:0.1rem ;
	padding-top: 0.4rem;
	text-align: center;
	color: #838383;
}
.sign_up_erweima section{
	position: absolute;
	top:2rem;
	left:30%;
	width: 1.5rem;
	height: 1.5rem;
	margin: 0 auto;
}
.sign_up_erweima section img{
	width: 100%;
	height: 100%;
}
.sign_up_erweima article h3{
	margin: 0;
	height: 0.4rem;
	line-height: 0.4rem;
	font-size: 0.14rem;
	color: #838383;
}
.sign_up_erweima article h3 span{
	font-size: 0.15rem;
	color: #22bd39;
}
.sign_up_erweima article p{
	height: 0.2rem;
	line-height: 0.2rem;
	margin: 0;
	font-size: 0.13rem;
}
.sign_up_erweima a{
	text-decoration: none;
	display: block;
	width: 66%;
	margin-left: 17%;
	margin-top: 0.4rem;
}

/* =========================================================
   深色卡片风格：登录 / 注册（参考 ByBit 设计）
   ========================================================= */
/* ionic 的 .pane 默认 overflow:hidden，会把超出屏幕的卡片内容裁掉（iPhone 上看不到注册按钮）
   这里用更高优先级改成可滚动容器 */
.pane.signin-card-view {
    background: #0a0a0c !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.signin-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    /* 覆盖旧规则 .signin { height:100% }：高度要随内容撑开，否则超出部分背景断裂 */
    height: auto;
    min-height: 100%;
    margin: 0 auto;
    padding: 0.2rem 0.24rem 0.4rem;
    box-sizing: border-box;
    text-align: left;
    background: #131316;
    color: #e8e8ec;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Helvetica, Arial, sans-serif;
}

/* ---------- 顶部条：语言 / 关闭 ---------- */
.card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 0.4rem;
}

.signin-card .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 0.4rem;
    height: 0.4rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #b7b7c0;
    font-size: 0.29rem;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}

.signin-card .lang-btn {
    font-size: 0.29rem;
    color: #cfcfd6;
}

.signin-card .icon-btn i {
    display: block;
    width: 1em;
    height: 1em;
    line-height: 1;
    font-style: normal;
    /* reset.css 的 `em,strong,i{font-size:large}` 会把图标钉死在 18px，必须显式继承按钮字号 */
    font-size: inherit;
}

.signin-card .close-btn {
    background: #f0c14b;
    color: #141414;
    font-size: 0.21rem;
    border-radius: 50%;
}

.lang-switch {
    position: relative;
}

.lang-menu {
    position: absolute;
    top: 0.42rem;
    left: -0.06rem;
    z-index: 30;
    display: none;
    min-width: 1.3rem;
    background: #1c1c21;
    border: 1px solid #2a2a31;
    border-radius: 0.08rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.lang-menu a {
    display: block;
    padding: 0.11rem 0.14rem;
    font-size: 0.135rem;
    color: #c9c9d0;
    text-decoration: none;
}

.lang-menu a:hover,
.lang-menu a:active {
    background: #26262c;
    color: #f0c14b;
}

/* ---------- Logo + 标题 ---------- */
.card-logo {
    margin-top: 0.26rem;
}

.card-logo img {
    display: block;
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 50%;
}

.card-title {
    margin: 0.16rem 0 0.26rem;
    font-size: 0.26rem;
    line-height: 1.3;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.01em;
}

.card-sub {
    margin: -0.16rem 0 0.24rem;
    font-size: 0.14rem;
    line-height: 1.6;
    color: #8b8b93;
}

/* ---------- 登录方式切换 ---------- */
.card-tabs {
    display: flex;
    padding: 0.05rem;
    margin-bottom: 0.2rem;
    background: #0d0d10;
    border: 1px solid #26262c;
    border-radius: 0.5rem;
}

.card-tabs .tab {
    flex: 1;
    height: 0.46rem;
    border: none;
    border-radius: 0.45rem;
    background: transparent;
    color: #8b8b93;
    font-size: 0.15rem;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.card-tabs .tab.is-active {
    background: #f0c14b;
    color: #141414;
    font-weight: 600;
}

/* ---------- 提示框 ---------- */
.card-notice {
    display: flex;
    margin-bottom: 0.14rem;
    padding: 0.13rem 0.14rem;
    background: #1a1a1e;
    border: 1px solid rgba(240, 193, 75, 0.45);
    border-radius: 0.1rem;
    box-sizing: border-box;
}

.card-notice i {
    margin-right: 0.09rem;
    color: #f0c14b;
    font-size: 0.17rem;
    line-height: 1.5;
    font-style: normal;
}

.card-notice p {
    flex: 1;
    margin: 0;
    font-size: 0.125rem;
    line-height: 1.6;
    color: #a2a2aa;
    text-align: left;
}

.card-tip {
    display: flex;
    align-items: flex-start;
    margin: 0 0 0.24rem;
    font-size: 0.125rem;
    line-height: 1.5;
    color: #8b8b93;
}

.card-tip i {
    margin-right: 0.07rem;
    color: #f0c14b;
    font-size: 0.15rem;
    font-style: normal;
}

/* ---------- 表单 ---------- */
.card-field {
    margin-bottom: 0.2rem;
    text-align: left;
}

.card-field label {
    display: block;
    margin-bottom: 0.09rem;
    font-size: 0.145rem;
    font-weight: 500;
    color: #eaeaef;
}

.signin-card .signin-input {
    width: 100%;
    height: 0.48rem;
    box-sizing: border-box;
    padding: 0 0.15rem;
    /* iOS Safari：字号 <16px 聚焦时会强制放大页面，故用 0.16rem（≥16px） */
    font-size: 0.16rem;
    color: #fff;
    background: #17171b;
    border: 1px solid #2b2b32;
    border-radius: 0.09rem;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.signin-card .signin-input::placeholder {
    color: #65656e;
}

.signin-card .signin-input:focus {
    border-color: #f0c14b;
}

.pwd-box {
    position: relative;
}

.pwd-box .signin-input {
    padding-right: 0.46rem;
}

.pwd-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 0.46rem;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    color: #8b8b93;
    font-size: 0.2rem;
    cursor: pointer;
}

.pwd-toggle i {
    font-style: normal;
    font-size: 0.17rem;
}

.pwd-toggle:active {
    color: #f0c14b;
}

/* 密码强度 */
.pwd-strength {
    display: flex;
    align-items: center;
    margin-top: 0.1rem;
    font-size: 0.12rem;
    color: #8b8b93;
}

.pwd-strength .bars {
    display: flex;
    flex: 1;
    margin-right: 0.1rem;
}

.pwd-strength .bars span {
    flex: 1;
    height: 4px;
    margin-right: 5px;
    background: #2b2b32;
    border-radius: 2px;
}

.pwd-strength .bars span:last-child {
    margin-right: 0;
}

.pwd-strength.level-1 .bars span:nth-child(1) { background: #e05252; }
.pwd-strength.level-2 .bars span:nth-child(-n+2) { background: #e0a63a; }
.pwd-strength.level-3 .bars span:nth-child(-n+3) { background: #7fb03a; }
.pwd-strength.level-4 .bars span { background: #f0c14b; }

/* ---------- 忘记密码 / 按钮 ---------- */
.card-forgot {
    margin-top: -0.04rem;
    margin-bottom: 0.18rem;
    text-align: right;
}

.card-forgot a {
    font-size: 0.135rem;
    color: #e5b93c;
    text-decoration: none;
}

.signin-card .signin-action {
    padding: 0;
}

.signin-card .sign_button {
    width: 100%;
    height: 0.5rem;
    line-height: 0.5rem;
    background: #f0c14b;
    color: #141414;
    font-size: 0.17rem;
    font-weight: 600;
    border: none;
    border-radius: 0.1rem;
    cursor: pointer;
}

/* 老页面遗留的 .sign_up_btn{width:70%; margin-left:15%} 会把按钮整体右推15%并溢出卡片，
   这里在卡片作用域内清掉（宽度已被 .signin-card .sign_button 覆盖，外边距此前漏了） */
.signin-card .sign_up_btn {
    width: 100%;
    margin: 0;
}

.signin-card .sign_button:active {
    background: #e0b23c;
}

.signin-card .sign_button:disabled {
    background: #4a4a52;
    color: #8b8b93;
}

/* ---------- 协议勾选 ---------- */
.card-agree {
    display: flex;
    align-items: flex-start;
    margin: 0.04rem 0 0.22rem;
    font-size: 0.13rem;
    line-height: 1.6;
    color: #a2a2aa;
    text-align: left;
}

/* reset.css 把所有 input 设成 -webkit-appearance:none 且 border:none，
   原生勾选框会变成一个透明空盒（肉眼看不见），这里改成自绘的金色勾选框 */
.signin-card .card-agree input[type="checkbox"] {
    flex: none;
    box-sizing: border-box;
    width: 0.18rem;
    height: 0.18rem;
    margin: 0.02rem 0.09rem 0 0;
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #4a4a52;
    border-radius: 0.04rem;
    background-color: #17171b;
    cursor: pointer;
    vertical-align: top;
    accent-color: #f0c14b;
}

.signin-card .card-agree input[type="checkbox"]:checked {
    background-color: #f0c14b;
    border-color: #f0c14b;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3l2.6 2.6L9.8 3.6' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.13rem 0.13rem;
}

.card-agree a {
    color: #e5b93c;
    text-decoration: underline;
}

/* ---------- 底部 ---------- */
.card-bottom {
    margin-top: 0.3rem;
    text-align: center;
}

.card-reg {
    font-size: 0.15rem;
    color: #c9c9d0;
}

.card-reg a {
    margin-left: 0.05rem;
    color: #e5b93c;
    font-weight: 600;
    text-decoration: underline;
}

.card-terms {
    margin-top: 0.16rem;
    font-size: 0.135rem;
}

.card-terms a {
    color: #e5b93c;
    text-decoration: underline;
}

.card-terms span {
    margin: 0 0.1rem;
    color: #3a3a42;
}

/* reset.css 里 `a{display:block}` 会把「还没有账号？立即注册」「服务条款 | 隐私政策」
   「我已阅读并同意 用户协议 和 隐私政策」拆成竖排，这里恢复行内 */
.signin-card .card-reg a,
.signin-card .card-terms a,
.signin-card .card-agree a {
    display: inline;
}

.card-divider {
    display: flex;
    align-items: center;
    margin: 0.24rem 0 0.2rem;
    color: #4a4a52;
    font-size: 0.125rem;
}

.card-divider::before,
.card-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #26262c;
}

/* ---------- 细节补充 ---------- */
.signin-card .icon-btn {
    text-decoration: none;
}

.signin-card .pwd-strength em {
    font-style: normal;
    color: #8b8b93;
}

.signin-card .pwd-strength.level-1 em { color: #e05252; }
.signin-card .pwd-strength.level-2 em { color: #e0a63a; }
.signin-card .pwd-strength.level-3 em { color: #7fb03a; }
.signin-card .pwd-strength.level-4 em { color: #f0c14b; }

.signin-card .card-agree {
    cursor: pointer;
}

/* ---------- 验证码输入（找回密码 / 设置密码） ---------- */
.signin-card .code-box {
    position: relative;
}

.signin-card .code-box .signin-input {
    padding-right: 1.5rem;
}

.signin-card .card-code-btn {
    position: absolute;
    top: 0;
    right: 0.05rem;
    height: 100%;
    padding: 0 0.1rem;
    border: none;
    background: transparent;
    color: #f0c14b;
    font-size: 0.135rem;
    white-space: nowrap;
    cursor: pointer;
}

.signin-card .card-code-btn:active {
    color: #e0b23c;
}
