@charset "utf-8";
/* 全局样式重置与基础设置 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Microsoft YaHei", Arial, sans-serif;
}

body {
	/* background-color: #f5f7fa; */
	background: linear-gradient(#dbedfb 0%, #ffffff 100%);
	color: #333;
	line-height: 1.6;
}

/* 头部导航栏 */
.header {
	background: linear-gradient(135deg, #439cff 0%, #0F48D1 100%);
	height: 70px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 40px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .title {
	font-size: 24px;
	color: #fff;
	font-weight: 600;
}

.header .register-btn {
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	padding: 8px 16px;
	border: 1px solid #fff;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.header .register-btn:hover {
	background-color: #fff;
	color: #439cff;
}

/* 登录主体容器 - 调整为左右布局 */
.login-container {
	width: 100%;
	/*  max-width: 900px;*/
	width:900px;
	margin: 50px auto;
	background-color: #fff;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	padding: 0;
	display: flex;
	overflow: hidden;
}

/* 左侧友情提示区域 */
.tips {
	width: 420px;
	padding: 40px 30px;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.tips .tips-title {
	font-size: 24px;
	font-weight: 600;
	color: #333;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e8e8e8;
}

.tips ul {
	padding-left: 20px;
	font-size: 18px;
	color: #666;
	flex: 1;
}

.tips ul li {
	margin-bottom: 10px;
	line-height: 1.7;
}

.tips ul li a {
	color: #165DFF;
	text-decoration: none;
}

/* 右侧登录内容区域 */
.login-content {
	flex: 1;
	padding: 40px;
	border-left: 1px solid #e8e8e8;
}

/* 登录标签切换 */
.login-tabs {
	display: flex;
	border-bottom: 1px solid #e8e8e8;
	margin-bottom: 30px;
	padding-bottom: 10px;
}

.login-tab {
	padding: 10px 0;
	font-size: 18px;
	font-weight: 500;
	margin-right: 30px;
	cursor: pointer;
	position: relative;
	color: #666;
}

.login-tab.active {
	color: #439cff;
	font-weight:bold;
}

.login-tab.active::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: #439cff;
	border-radius: 3px 3px 0 0;
}
.switch-login {
	margin-left: auto;
	font-size: 14px;
	position:relative;
}

.switch-login a {
	color: #fff;
	text-decoration: none;
	padding: 10px;
	background-color: #f40;
	border-radius: 4px;
	cursor: pointer;
	font-weight:bold;
}
/* 二维码登录区域 - 新增二维码失败提示样式 */
.qrcode-login {
	text-align: center;
	display: block;
	padding-top: 20px;
}

.qrcode-tip {
	font-size: 16px;
	color: #666;
	margin-bottom: 20px;
}

.qrcode-tip a {
	color: #165DFF;
	text-decoration: none;
}

.qrcode-box {
	display: inline-block;
	padding: 15px;
	background-color: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	margin-bottom: 15px;
	/* 新增：让容器内部元素居中对齐，适配按钮在图片下方 */
	text-align: center;
}

.qrcode-box img {
	width: 200px;
	height: 200px;
	/* 新增：图片下方预留按钮间距 */
	margin-bottom: 10px;
}

/* 新增：二维码加载失败提示样式 */
.qrcode-error {
	display: none; /* 默认隐藏 */
	font-size: 14px;
	color: #e53e3e;
	margin-bottom: 10px;
}

/* 新增：重新加载二维码按钮样式 */
.reload-qrcode-btn {
	display: none;/*默认隐藏 */
	padding: 6px 16px;
	background-color: #f0f7ff;
	color: #439cff;
	border: 1px solid #439cff;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin: 0 auto;
}

.reload-qrcode-btn:hover {
	background-color: #439cff;
	color: #fff;
}

/* 账号密码登录区域 */
.pwd-login {
	display: none;
}

.login-form .form-item {
	margin-bottom: 20px;
}

.login-form .form-label {
	display: block;
	font-size: 14px;
	color: #333;
	margin-bottom: 8px;
	font-weight: 500;
}

.login-form .form-input {
	width: 100%;
	height: 44px;
	padding: 0 15px;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
	font-size: 16px;
	transition: border-color 0.3s ease;
}

.login-form .form-input:focus {
	outline: none;
	border-color: #165DFF;
	box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
}

.form-row {
	display: flex;
	gap: 15px;
}

.form-row .form-item {
	flex: 1;
}

.login-btn {
	width: 100%;
	height: 48px;
	background-color: #439cff;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
	margin-top: 10px;
}

.login-btn:hover {
	background-color: #0F48D1;
}

.login-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	font-size: 14px;
}

.remember-me {
	display: flex;
	align-items: center;
	color: #666;
}

.remember-me input {
	margin-right: 6px;
	width: 16px;
	height: 16px;
}

.forget-pwd {
	color: #165DFF;
	text-decoration: none;
}
/* 版权信息样式 */
.footer {
	text-align: center;
	padding: 25px 0;
	background-color: #fff;
	margin-top: auto;
	border-top: 1px solid #e8e8e8;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.copyright {
	font-size: 14px;
	color: #999;
	margin-bottom: 8px;
}

.footer-links {
	display: flex;
	justify-content: center;
	gap: 20px;
	font-size: 13px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.footer-links a {
	color: #666;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-links a:hover {
	color: #439cff;
}

.safe-tip {
	font-size: 12px;
	color: #999;
}

/* 响应式适配
@media (max-width: 768px) {
    .header {
        padding: 0 20px;
        height: 60px;
    }

    .header .title {
        font-size: 20px;
    }

    .login-container {
        flex-direction: column;
        margin: 20px;
        max-width: none;
    }

    .tips {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        padding: 20px;
    }

    .login-content {
        padding: 20px;
    }

    .qrcode-box img {
        width: 160px;
        height: 160px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}*/
.change_login{   width: 42px;
	height: 43px;
	display: inline-block;
	position: absolute;
	margin-left:350px;
	background: url(http://cdn.cpta.com.cn/tyzpwb/images/zh.png) no-repeat right top;
	z-index: 2;}
.change_login.cur{background-image:url(http://cdn.cpta.com.cn/tyzpwb/images/qr-code.png)}

.change_login:after{content: "切换到账号密码登录";
	right: 0;
	display: inline-block;
	background: #f40;
	padding: 10px;
	color: #fff;
	left: 58px;
	white-space: nowrap;
	position: relative;
}
.change_login:before{content: "";
	border-width: 10px;
	border-style: dashed dashed solid dashed;
	border-color: transparent transparent #f40 transparent;
	position: absolute;
	right: -26px;
	top: 3px;}
.change_login.cur:after{content:"切换到扫码登录"}

