/*
 * 注册 / 登录表单样式
 *
 * 只作用于 .regform / .logonbox / .form-error —— 这三个类名是本次新加的，
 * 页面其他部分（忘记密码表单、注册成功页）保持原样。
 *
 * 沿用 B 方案「战报新闻」：纸底、墨黑字、印章红主按钮。
 */

/* ---------- 错误提示 ---------- */
.form-error{
	margin: 0 0 20px;
	padding: 12px 14px;
	background: var(--seal-wash);
	border: 1px solid var(--seal-line);
	border-left: 4px solid var(--seal);
	border-radius: 3px;
	color: var(--seal-deep);
}
.form-error p{
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
}
.form-error-hint{
	margin-top: 6px !important;
	color: var(--seal-line);
	font-size: 13.5px !important;
}

/* ---------- 分步标题 ---------- */
.regform-lead{
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--seal);
	font-weight: bold;
	margin: 22px 0 10px;
	padding-bottom: 5px;
	border-bottom: 1px solid var(--paper-sink);
}
.regform-lead:first-child{
	margin-top: 4px;
}

/* ---------- 字段 ---------- */
.regform-field{
	margin: 0 0 14px;
}
.regform-field label{
	display: block;
	font-size: 14px;
	font-weight: bold;
	color: var(--ink);
	margin-bottom: 5px;
}
.regform-field input{
	width: 100%;
	box-sizing: border-box;
	min-height: 44px;
	padding: 8px 11px;
	font-size: 16px;/* 16px 可避免 iOS 聚焦时自动放大 */
	font-family: inherit;
	color: var(--ink);
	background: var(--paper-pure);
	border: 1px solid var(--rule-double);
	border-radius: 3px;
}
.regform-field input:focus{
	outline: none;
	border-color: var(--seal);
	box-shadow: 0 0 0 3px rgba(158,43,37,.14);
}
.regform-hint{
	display: block;
	font-size: 13px;
	color: var(--ink-soft);
	margin-top: 4px;
	line-height: 1.5;
}

/* ---------- 记住我 ---------- */
.regform-check{
	margin: 0 0 18px;
}
.regform-check label{
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--ink);
	cursor: pointer;
}
.regform-check input[type="checkbox"]{
	width: 18px;
	height: 18px;
	margin: 0;
	cursor: pointer;
}
.regform-check .regform-hint{
	margin-top: 2px;
}

/* ---------- 提交 ---------- */
.regform-submit{
	margin: 22px 0 0;
}
.regform-submit input{
	width: 100%;
	min-height: 48px;
	padding: 0 20px;
	font-size: 16px;
	font-weight: bold;
	font-family: inherit;
	color: var(--paper-pure);
	background: var(--seal);
	border: 1px solid var(--seal);
	border-radius: 3px;
	cursor: pointer;
	transition: background 150ms ease-out, border-color 150ms ease-out;
}
.regform-submit input:hover{
	background: var(--seal-bright);
	border-color: var(--seal-bright);
}

/* ---------- 底部备用链接 ---------- */
.regform-alt{
	margin: 16px 0 0;
	font-size: 14px;
	color: var(--ink-soft);
	line-height: 1.6;
}
.regform-alt a{
	color: var(--seal);
}

/* ---------- 登录框 ---------- */
.logonbox{
	max-width: 420px;
}

/*
 * global.css:1137 已给 input[type=text|password].login 设了 width:100%、
 * padding、border 与圆角，本来就可用；这里只补上与注册页一致的
 * 字号、聚焦态和最小高度，不重复定义外观。
 */
input[type=text].login,
input[type=password].login{
	font-size: 16px;
	font-family: inherit;
	min-height: 44px;
	padding: 8px 11px;
	background: var(--paper-pure);
	border-color: var(--rule-double);
	border-radius: 3px;
}
input[type=text].login:focus,
input[type=password].login:focus{
	outline: none;
	border-color: var(--seal);
	box-shadow: 0 0 0 3px rgba(158,43,37,.14);
}

/* ---------- 移动端 ---------- */
@media (max-width: 620px){
	.form-error{ padding: 11px 12px; }
	.regform-field input{ min-height: 46px; }
	.regform-submit input{ min-height: 50px; }
}
