button,
input,
optgroup,
select,
textarea {
	font-family: 'Joe Font';
}

/* .joe_main {
	display: flex;
	justify-content: center;
	width: 100%;
} */

.joe_main .card-body {
	padding: 2rem;
	background: var(--background);
	border-radius: 5px;
	width: 100%;
	/* max-width: 90vw; */
	box-shadow: var(--box-shadow);
	margin-bottom: 30px;
}

.joe_main .card-body>form {
	/* width: 500px; */
	margin: auto;
}

.joe_main .text-muted {
	/* margin-bottom: 30px; */
}

.joe_main .card-body>.title {
	text-align: center;
	margin-bottom: 1.5rem;
}

.joe_main .title>h4 {
	font-weight: 700;
	margin-bottom: 10px;
	font-size: 1.125rem;
	color: var(--routine);
}

.joe_main .title>p {
	color: var(--routine);
}

.joe_main .form-group {
	margin-bottom: 1.5rem;
}

.joe_main .input-group {
	display: flex;
}

.joe_main .form-group>label {
	color: var(--routine);
	font-weight: 600;
	display: inline-block;
	margin-bottom: .5rem;
}

.joe_main .form-group>a {

	/* color: var(--minor); */
}

.joe_main .form-control {
	display: block;
	width: 100%;
	padding: .45rem .9rem;
	font-size: .875rem;
	line-height: 1.5;
	color: var(--routine);
	background: var(--background);
	border: 2px solid var(--classA);
	border-radius: .1rem;
	transition: 0.3s;
}

.joe_main .form-control:focus {
	border-color: var(--theme);
}

.joe_main .btn {
	text-align: center;
	font-weight: 400;
	white-space: nowrap;
	user-select: none;
	font-size: .875rem;
	transition: 0.3s;
}

.joe_main .btn-primary {
	display: block;
	padding: .45rem 1.2rem;
	line-height: 1.5;
	border-radius: var(--main-radius);
	color: #fff;
	background: var(--theme);
	border-color: var(--classB);
	margin: auto;
	box-shadow: 1px 1px 3px -1px var(--theme);
	border: none;
}

.joe_main .btn-primary:hover {
	opacity: 0.9;
}

.joe_main .btn-primary:active {
	opacity: 0.7;
}

.joe_main .input-group>.form-control {
	border-right: none;
}

.joe_main .input-group>.btn {
	border: 2px solid var(--classA);
	border-left: none;
	/* padding: .45rem .9rem; */
	background: var(--classB);
	color: var(--main);
	width: 120px;
}

.joe_main .input-group>.btn:hover {
	border-color: var(--seat);
	background: var(--classA);
}

.joe_main .input-group>.btn:focus {
	background: var(--seat);
}

.joe_main .text-muted {
	/* color: var(--minor); */
	text-align: center
}
/* ============================================================
   登录 / 注册页（2026-10 重做）
   两栏：左边品牌说明，右边表单。小屏折成单栏。
   ============================================================ */
.ymw-auth-stage {
	max-width: 1000px;
	margin: -46px auto -26px;
	padding: 90px 0;
	overflow: hidden;
}

.ymw-auth {
	display: grid;
	grid-template-columns: minmax(280px, .88fr) minmax(0, 1.12fr);
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	background: var(--background);
	border: 1px solid var(--classA);
	overflow: hidden;
}

.ymw-auth__brand {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 560px;
	padding: 38px 36px 30px;
	color: #eef8ff;
	background-color: #01284f;
	overflow: hidden;
}

.ymw-auth__photo {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
	pointer-events: none;
}

.ymw-auth__brand.is-register .ymw-auth__photo {
	object-position: center 50%;
}

.ymw-auth__brand::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(circle at 14% 9%, rgba(1, 17, 33, .62), transparent 38%),
		linear-gradient(180deg, rgba(1, 17, 33, .5) 0%, rgba(1, 17, 33, .46) 52%, rgba(1, 17, 33, .94) 100%);
	pointer-events: none;
}

.ymw-auth__logo {
	display: inline-block;
	line-height: 0;
	position: relative;
	z-index: 2;
}

.ymw-auth__logo img {
	display: block;
	width: 154px;
	max-width: 70%;
	height: auto;
}

.ymw-auth__brand h3 {
	position: relative;
	z-index: 2;
	margin: 0;
	font-size: 31px;
	line-height: 1.34;
	font-weight: 800;
	letter-spacing: -.01em;
	color: #f5fbff;
}

.ymw-auth__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 46px 50px 38px;
}

.ymw-auth__head {
	margin-bottom: 30px;
}

.ymw-auth__head h1 {
	margin: 0;
	font-size: 28px;
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--main);
}

/* 标题下的一句说明：登录页没有，注册/重置密码用来说明「为什么要填这些」 */
.ymw-auth__sub {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.8;
	color: var(--minor);
}

.ymw-auth .form-group {
	margin-bottom: 16px;
}

.ymw-auth .form-group>label {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 7px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .02em;
	color: var(--routine);
}

.ymw-auth__hint {
	font-size: 10px;
	font-weight: 400;
	color: var(--seat);
}

.ymw-auth__label-link {
	font-size: 11px;
	font-weight: 500;
	color: var(--minor);
}

.ymw-auth__label-link:hover {
	color: var(--theme);
}

.ymw-auth__control {
	position: relative;
}

.ymw-auth__control>svg {
	position: absolute;
	left: 14px;
	top: 50%;
	width: 17px;
	height: 17px;
	transform: translateY(-50%);
	fill: none;
	stroke: var(--minor);
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	pointer-events: none;
}

.ymw-auth .form-control {
	display: block;
	width: 100%;
	height: 46px;
	padding: 0 14px 0 42px;
	font-size: 13px;
	line-height: 46px;
	color: var(--main);
	background: var(--body-bg-color);
	border: 1px solid var(--classA);
	border-radius: 2px;
	transition: border-color .15s, background .15s;
}

.ymw-auth .form-control::placeholder {
	color: var(--seat);
}

.ymw-auth .form-control:focus {
	outline: none;
	background: var(--background);
	border-color: var(--theme);
}

.ymw-auth__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

/* 验证码这一行做成「输入框 + 附着件」：图像 / 获取按钮跟输入框拼成一条，
   中间只留一条 1px 竖线。原来中间 10px 的空隙让这行断成两块，
   眼睛会把它们读成两个不相干的控件。 */
.ymw-auth__captcha {
	display: flex;
	align-items: stretch;
	gap: 0;
}

.ymw-auth__captcha .ymw-auth__control {
	flex: 1;
	min-width: 0;
}

.ymw-auth__captcha .form-control {
	border-radius: 2px 0 0 2px;
}

.ymw-auth__captcha-img {
	flex: none;
	/* 图本身是 130×50（宽高比 2.6），这里按 46×2.6≈120 给宽度，
	   比例对上了就不会被 object-fit 裁掉左右两端的字符。 */
	width: 120px;
	height: 46px;
	object-fit: cover;
	/* 左边界由输入框的右边框来画，否则两条线并排会变成 2px 粗边 */
	border: 1px solid var(--classA);
	border-left: 0;
	border-radius: 0 2px 2px 0;
	cursor: pointer;
	background: #fff;
}

.ymw-auth__code {
	display: flex;
	align-items: stretch;
	gap: 0;
}

.ymw-auth__code .ymw-auth__control {
	flex: 1;
	min-width: 0;
}

.ymw-auth__code .form-control {
	border-radius: 2px 0 0 2px;
}

.ymw-auth__code-btn {
	flex: none;
	width: 124px;
	height: 46px;
	padding: 0 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--main);
	background: var(--classB);
	border: 1px solid var(--classA);
	border-left: 0;
	border-radius: 0 2px 2px 0;
	cursor: pointer;
	transition: border-color .15s, color .15s;
}

.ymw-auth__code-btn:hover {
	border-color: var(--theme);
	color: var(--theme);
}

.ymw-auth__code-btn:disabled {
	opacity: .6;
	cursor: default;
}

.ymw-auth__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	height: 48px;
	margin-top: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .18em;
	color: #fff;
	background: var(--theme);
	border: 0;
	border-radius: 2px;
	cursor: pointer;
	transition: filter .15s;
}

.ymw-auth__submit:hover {
	filter: brightness(.94);
}

.ymw-auth__submit:active {
	filter: brightness(.88);
}

.ymw-auth__arrow {
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
}

.ymw-auth__switch {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--classA);
	font-size: 12px;
	text-align: center;
	color: var(--minor);
}

.ymw-auth__switch a {
	margin-left: 4px;
	font-weight: 700;
	color: var(--theme);
}

@media (max-width: 860px) {
	.ymw-auth-stage {
		margin: 22px auto 40px;
		padding: 0;
		overflow: visible;
	}

	.ymw-auth {
		grid-template-columns: 1fr;
		margin: 0 auto;
	}

	.ymw-auth__brand {
		min-height: 0;
		padding: 26px 24px 22px;
	}

	.ymw-auth__logo img {
		width: 128px;
	}

	.ymw-auth__brand h3 {
		margin: 22px 0 0;
		font-size: 23px;
	}

	.ymw-auth__panel {
		padding: 28px 22px 26px;
	}

	.ymw-auth__head {
		margin-bottom: 22px;
	}

	.ymw-auth__head h1 {
		font-size: 23px;
	}

	.ymw-auth__row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

@media (max-width: 420px) {
	/* 验证码图宽度不能压：压了就会被裁字，让输入框窄一点即可 */
	.ymw-auth__code-btn {
		width: 112px;
		font-size: 11px;
	}
}
