/* Login, register and password reset pages */
:root {
	--yy-auth-ink: #17212b;
	--yy-auth-muted: #697684;
	--yy-auth-line: #d8e0e8;
	--yy-auth-surface: #ffffff;
	--yy-auth-canvas: #edf1f4;
	--yy-auth-brand: #146ef5;
	--yy-auth-brand-hover: #0d5fd8;
	--yy-auth-aside: #17362f;
	--yy-auth-aside-soft: #d7f4e9;
	--yy-auth-accent: #f2c66d;
}

body.yy-auth-body {
	min-height: 100vh;
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: var(--yy-auth-ink);
	background: var(--yy-auth-canvas);
}

.yy-auth-body *,
.yy-auth-body *::before,
.yy-auth-body *::after {
	box-sizing: border-box;
}

.yy-auth-section {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.yy-auth-shell {
	display: grid;
	grid-template-columns: minmax(320px, 0.8fr) minmax(480px, 1.2fr);
	width: min(980px, 100%);
	min-height: 680px;
	background: var(--yy-auth-surface);
	border: 1px solid #dfe5eb;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 18px 48px rgba(29, 43, 54, 0.12);
}

.yy-auth-shell--compact {
	min-height: 600px;
}

.yy-auth-aside {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 44px 40px;
	color: #fff;
	background: var(--yy-auth-aside);
}

.yy-auth-aside::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 88px;
	height: 4px;
	background: var(--yy-auth-accent);
}

.yy-auth-logo {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: 44px;
	text-decoration: none;
}

.yy-auth-brand-text {
	color: var(--yy-auth-ink);
	font-size: 21px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
}

.yy-auth-aside .yy-auth-brand-text {
	color: #fff;
}

.yy-auth-aside-copy {
	margin: auto 0;
}

.yy-auth-eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	margin-bottom: 18px;
	padding: 4px 10px;
	color: var(--yy-auth-aside-soft);
	border: 1px solid rgba(215, 244, 233, 0.3);
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
}

.yy-auth-aside h2 {
	max-width: 300px;
	margin: 0 0 14px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
}

.yy-auth-aside p {
	max-width: 300px;
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	line-height: 1.8;
}

.yy-auth-benefits {
	display: grid;
	gap: 14px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.yy-auth-benefits li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 13px;
}

.yy-auth-benefits svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: #6ed3b7;
}

.yy-auth-aside-footer {
	margin-top: 32px;
	color: rgba(255, 255, 255, 0.44);
	font-size: 12px;
}

.yy-auth-main {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 42px 52px;
	background: #fff;
}

.yy-auth-form-wrap {
	width: 100%;
	max-width: 430px;
}

.yy-auth-mobile-logo {
	display: none;
}

.yy-auth-title {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 750;
	line-height: 1.3;
	color: var(--yy-auth-ink);
}

.yy-auth-sub {
	margin: 0 0 28px;
	color: var(--yy-auth-muted);
	font-size: 14px;
}

.yy-auth-form .form-group {
	margin: 0 0 16px;
}

.yy-auth-form .form-control-label,
.yy-auth-form .form-group > label {
	display: inline-block;
	margin: 0 0 7px;
	color: #35414d;
	font-size: 13px;
	font-weight: 650;
}

.yy-auth-control,
.yy-auth-form .input-group {
	position: relative;
	display: flex;
	align-items: stretch;
	width: 100%;
}

.yy-auth-control-icon {
	position: absolute;
	top: 50%;
	left: 15px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: #788694;
	transform: translateY(-50%);
	pointer-events: none;
}

.yy-auth-control-icon svg {
	width: 18px;
	height: 18px;
}

.yy-auth-control .form-control,
.yy-auth-form .input-group > .form-control {
	min-width: 0;
	height: 46px;
	margin: 0;
	padding: 10px 14px;
	color: #26323d;
	background: #fff;
	border: 1px solid var(--yy-auth-line);
	border-radius: 6px;
	outline: 0;
	font: inherit;
	font-size: 14px;
	line-height: 24px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.yy-auth-control > .form-control {
	width: 100%;
	padding-left: 44px;
}

.yy-auth-control .form-control::placeholder,
.yy-auth-form .input-group > .form-control::placeholder {
	color: #a0aab4;
}

.yy-auth-control .form-control:focus,
.yy-auth-form .input-group > .form-control:focus {
	position: relative;
	z-index: 1;
	border-color: var(--yy-auth-brand);
	box-shadow: 0 0 0 3px rgba(20, 110, 245, 0.11);
}

.yy-auth-control-action > .form-control {
	border-radius: 6px 0 0 6px;
}

.yy-auth-action,
.yy-auth-form .input-group-append .btn {
	flex: 0 0 auto;
	min-width: 112px;
	height: 46px;
	margin: 0;
	padding: 0 16px;
	color: var(--yy-auth-brand);
	background: #f5f8ff;
	border: 1px solid var(--yy-auth-line);
	border-left: 0;
	border-radius: 0 6px 6px 0;
	font: inherit;
	font-size: 13px;
	font-weight: 650;
	cursor: pointer;
}

.yy-auth-action:hover,
.yy-auth-form .input-group-append .btn:hover {
	background: #eaf1ff;
}

.yy-auth-action:disabled,
.yy-auth-form .input-group-append .btn:disabled {
	color: #8d99a5;
	cursor: wait;
}

.yy-auth-form .input-group-append {
	display: flex;
	flex: 0 0 auto;
}

.yy-auth-form .input-group > .form-control:not(:last-child) {
	border-radius: 6px 0 0 6px;
}

.yy-auth-form .input-group-append img {
	display: block;
	width: 118px !important;
	height: 46px;
	object-fit: cover;
	border: 1px solid var(--yy-auth-line);
	border-left: 0;
	border-radius: 0 6px 6px 0;
	cursor: pointer;
}

.yy-auth-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 2px 0 20px;
	font-size: 13px;
}

.yy-auth-link,
.yy-auth-form a {
	color: var(--yy-auth-brand);
	font-weight: 650;
	text-decoration: none;
}

.yy-auth-link:hover,
.yy-auth-form a:hover {
	color: var(--yy-auth-brand-hover);
	text-decoration: underline;
}

.yy-auth-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 48px;
	padding: 0 20px;
	color: #fff;
	background: var(--yy-auth-brand);
	border: 1px solid var(--yy-auth-brand);
	border-radius: 6px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.yy-auth-submit:hover {
	background: var(--yy-auth-brand-hover);
	border-color: var(--yy-auth-brand-hover);
}

.yy-auth-submit:active {
	transform: translateY(1px);
}

.yy-auth-submit:disabled {
	opacity: 0.7;
	cursor: wait;
	transform: none;
}

.yy-auth-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 8px;
	border: 2px solid rgba(255, 255, 255, 0.42);
	border-top-color: #fff;
	border-radius: 50%;
	animation: yy-auth-spin 0.75s linear infinite;
}

@keyframes yy-auth-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 860px) {
	.yy-auth-section {
		align-items: flex-start;
		padding: 20px;
	}

	.yy-auth-shell,
	.yy-auth-shell--compact {
		display: block;
		width: min(560px, 100%);
		min-height: 0;
	}

	.yy-auth-aside {
		display: none;
	}

	.yy-auth-main {
		padding: 38px 40px 42px;
	}

	.yy-auth-mobile-logo {
		display: inline-flex;
		align-items: center;
		min-height: 38px;
		margin-bottom: 28px;
		text-decoration: none;
	}

	.yy-auth-mobile-logo .yy-auth-brand-text {
		color: var(--yy-auth-ink);
		font-size: 19px;
	}
}

@media (max-width: 520px) {
	.yy-auth-section {
		padding: 0;
		background: #fff;
	}

	.yy-auth-shell,
	.yy-auth-shell--compact {
		width: 100%;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.yy-auth-main {
		align-items: flex-start;
		padding: 28px 22px 36px;
	}

	.yy-auth-mobile-logo {
		min-height: 34px;
		margin-bottom: 24px;
	}

	.yy-auth-title {
		font-size: 25px;
	}

	.yy-auth-sub {
		margin-bottom: 24px;
	}

	.yy-auth-action,
	.yy-auth-form .input-group-append .btn {
		min-width: 100px;
		padding: 0 12px;
	}

	.yy-auth-form .input-group-append img {
		width: 104px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.yy-auth-submit,
	.yy-auth-control .form-control,
	.yy-auth-form .input-group > .form-control {
		transition: none;
	}
}
