

/*.Margins_color{*/
/*	background-color: #babbbc;*/
/*	height: 100%;*/
/*}*/
/*.middle_color{*/
/*	background-color: silver;*/
/*	height: 100%;*/
/*}*/

/*body {*/
/*	background-image: url(../Image/3.jpg);*/
/*	background-repeat: no-repeat;*/
/*	background-size: 100% 100%;*/
/*	position: relative;*/
/*	width: 100%;*/
/*}*/

/*.container {*/
/*	width: 100px;*/
/*	height: 720px;*/
/*}*/

/*.register {*/
/*	width: 614px;*/
/*	height: 512px;*/
/*	!*	background-color:rgba(255,255,255,1)*!*/
/*	background: #ffffff;*/
/*	margin-top: 20px;*/
/*	margin-left: 700px;*/
/*	position: absolute;*/
/*}*/

/*.regester_title {*/
/*	width: 414px;*/
/*	height: 30px;*/
/*	display: block;*/
/*	text-align: center;*/
/*	margin: 50px auto;*/
/*	line-height: 30px;*/
/*	font-size: 30px;*/
/*}*/

/*.register_input {*/
/*	font-size: 20px;*/
/*	margin-left: 80px;*/

/*}*/

/*.registerbutton {*/
/*	width: 300px;*/
/*	height: 40px;*/
/*	margin: 30px 0px 0px 120px;*/
/*	background: #86ce2f;*/
/*	color: white;*/
/*	font-size: 18px;*/
/*}*/

/*input {*/
/*	margin-left: 2px;*/
/*	width: 235px;*/
/*	height: 30px;*/
/*}*/

/*#tj {
	margin-r: 0,auto;
	background: #86ce2f;
	border: none;
	color: white;
	font-size: 18px;
}*/

/* 全局样式 */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.card {
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.card-title {
    color: #333;
    font-weight: 600;
}

.form-label {
    font-weight: 500;
    color: #555;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(102, 126, 234, 0.45);
}

.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* 密码强度条 */
.password-strength {
    display: flex;
    align-items: center;
    gap: 8px;
}

.strength-bar {
    height: 4px;
    flex: 1;
    border-radius: 99px;
    background: #eee;
    transition: all 0.3s;
    width: 0%;
}

.strength-text {
    min-width: 40px;
    text-align: right;
    color: #999;
}

/* 消息提示 */
#registerMessage {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
}

#registerMessage.error {
    background: #ffe8e8;
    color: #c0392b;
    border: 1px solid #f5c6cb;
}

#registerMessage.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* 复选框 */
.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

/* 链接 */
a {
    color: #667eea;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== 返回登录 ===== */
/* 标题左侧的圆形返回按钮；右侧留同样宽度的空占位，保证标题真正居中 */
.back-link {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    background: #eef0fb;
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.back-link:hover {
    background: #667eea;
    color: #fff;
    text-decoration: none;
    transform: translateX(-2px);
}

.back-link:active {
    transform: scale(.94);
}

.back-link-gap {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
}

/* 注册按钮下方的返回登录文字链接 */
.switch-login {
    font-size: .9rem;
    color: #8a8f9c;
}

.switch-login a {
    color: #667eea;
    font-weight: 600;
    margin-left: .15rem;
}