/* Login Page Section */
.login-page-section {
	position: relative;
	width: 100%;
	min-height: 100vh;
	background-color: #ffffff;
	padding: 80px 0 40px 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Hide header and footer on login page */
body:has(.login-page-section) .header.pc,
body:has(.login-page-section) .header.mb,
body:has(.login-page-section) .footer-section {
	display: none;
}

.login-page-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 60px;
}

/* Logo */
.login-page-logo {
	width: 230px;
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
}

.login-page-logo img {
	width: 100%;
}


/* Login Content Wrapper */
.login-content-wrapper {
	display: flex;
	justify-content: space-between;
	gap: 100px;
	width: 100%;
	max-width: 1000px;
	align-items: center;
	position: relative;
}

/* Login Form Wrapper */
.login-form-wrapper {
	width: 100%;
}

.login-form-title {
	font-size: 22px;
	font-weight: 400;
	color: var(--sec-color);
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.login-form-description {
	font-size: 16px;
	font-weight: 400;
	color: #6B7280;
	margin: 0 0 12px 0;
	line-height: 1.5;
}

.login-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* 覆盖 Layui 表单默认样式 */
.login-form.layui-form {
	margin: 0;
}

.login-form.layui-form .layui-form-item {
	margin-bottom: 0;
}

/* Input Groups */
.login-input-group {
	position: relative;
	display: flex;
	align-items: center;
	background-color: #ffffff;
	border: 1px solid #D1D5DB;
	border-radius: 2px;
	padding: 0 16px;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.login-input-group:focus-within {
	background-color: #D1E9F8;
	border-color: var(--sec-color);
}

.login-input-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 12px;
}

.login-input {
	width: 100%;
	padding: 14px 0;
	border: none;
	background: transparent;
	font-size: 16px;
	color: var(--main-color);
	outline: none;
}

/* 覆盖 Layui 的默认样式 */
.login-input-group .layui-input {
	border: none;
	background: transparent;
	padding: 12px 0;
	height: auto;
	line-height: normal;
}

.login-input-group .layui-input:focus {
	border: none;
	box-shadow: none;
}

.login-input::placeholder {
	color: #9CA3AF;
}

/* Forgot Password */
.login-forgot-wrapper {
	display: flex;
	justify-content: flex-end;
	margin-top: -8px;
}

.login-forgot-link {
	font-size: 14px;
	color: #9CA3AF;
	text-decoration: none;
	transition: color 0.2s ease;
	min-width: 138px;
	display: flex;
	align-items: center;
	justify-content: flex-end;

}

.login-forgot-link:hover {
	color: var(--sec-color);
}

/* Login Button */
.login-submit-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 32px;
	background-color: var(--sec-color);
	color: #ffffff;
	border: 1px solid var(--sec-color);
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
	width: 100%;
}

/* 覆盖 Layui 按钮样式 */
.login-submit-btn.layui-btn {
	background-color: var(--sec-color);
	border: none;
	height: auto;
	line-height: normal;
}

.login-submit-btn.layui-btn:hover {
	background-color: var(--main-color);
	transform: translateY(-1px);
}

.login-submit-btn.layui-btn:active {
	transform: translateY(0);
	background-color: var(--main-color);
}

.login-submit-btn svg {
	flex-shrink: 0;
}

/* Create Account */
.login-create-account {
	margin-top: 8px;
	text-align: left;
	font-size: 14px;
	color: #6B7280;
}

.login-create-link {
	color: var(--sec-color);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.login-create-link:hover {
	color: var(--main-color);
	text-decoration: underline;
}

/* Company Introduction */
.company-intro {
	width: 100%;
	padding: 0;
	position: relative;
}

.company-intro::before {
	content: '';
	position: absolute;
	width: 1px;
	height: 80%;
	background-color: rgba(50, 151, 219, 0.3);
	left: -50px;
	top: 50%;
	transform: translateY(-50%);
}

.company-intro-title {
	font-size: 22px;
	color: var(--sec-color);
	margin: 0 0 12px 0;
}

.company-intro-text {
	font-size: 16px;
	font-weight: 400;
	color: #1F2937;
	line-height: 1.6;
	margin: 0 0 16px 0;
}

.company-intro-text:last-of-type {
	margin-bottom: 20px;
}

.company-intro-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
}

.company-intro-list li {
	font-size: 15px;
	font-weight: 400;
	color: #374151;
	line-height: 1.6;
	margin: 0 0 12px 0;
	padding-left: 24px;
	position: relative;
}

.company-intro-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 6px;
	height: 6px;
	background-color: var(--sec-color);
	border-radius: 50%;
}

.company-intro-list li:last-child {
	margin-bottom: 0;
}

.company-intro-highlight {
	font-size: 15px;
	font-weight: 500;
	color: var(--sec-color);
	line-height: 1.6;
	margin: 0;
	padding: 16px;
	background-color: #F0F9FF;
	border-left: 3px solid var(--sec-color);
	border-radius: 4px;
}

/* Social Login Wrapper */
.social-login-wrapper {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.social-login-buttons {
	display: flex;
	align-items: center;
}

.social-login-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid #D1D5DB;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	width: 100%;
	text-align: left;
	font-size: 15px;
	font-weight: 500;
	color: #374151;
	background-color: #ffffff;
	padding: 12px 16px;
}

.social-login-btn:hover {
	border-color: #9CA3AF;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.social-login-btn:active {
	transform: translateY(0);
}

.social-btn-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.social-btn-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.social-btn-icon svg {
	width: 100%;
	height: 100%;
}

.social-btn-text {
	color: #374151;
}

/* Terms */
.login-terms {
	width: 100%;
	text-align: center;
	margin-bottom: 20px;
}

.login-terms .terms-text {
	font-size: 13px;
	color: #6B7280;
	line-height: 1.6;
	margin: 0 0 4px 0;
}

.login-terms .terms-text:last-child {
	margin-bottom: 0;
}

.login-terms .terms-link {
	color: #1B66FF;
	text-decoration: underline;
	transition: color 0.2s ease;
}

.login-terms .terms-link:hover {
	color: #1554CC;
	text-decoration: underline;
}

/* Copyright */
.login-copyright {
	margin-top: auto;
	text-align: center;
}

.login-copyright p,
.login-copyright a {
	font-size: 13px;
	color: #6B7280;
	margin: 0;
}

.login-copyright a:hover {
	text-decoration: underline;
}

/* Forgot Password Page */
.forgot-password-wrapper {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

.forgot-password-form-container {
	width: 100%;
	max-width: 500px;
	background-color: #ffffff;
	border-radius: 12px;
	padding: 40px;
	border: 1px solid #E2E8F0;
	box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
	position: relative;
}

.forgot-password-title {
	font-size: 24px;
	font-weight: 600;
	color: #1B3C8D;
	margin: 0 0 32px 0;
	line-height: 1.3;
	display: flex;
	align-items: center;
	gap: 12px;
}

.forgot-password-title::after {
	content: '';
	flex: 1;
	height: 1px;
	background-color: #E2E8F0;
}

.forgot-password-description {
	font-size: 16px;
	font-weight: 400;
	color: #6B7280;
	margin: 0 0 32px 0;
	line-height: 1.5;
}

.forgot-password-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* 覆盖 Layui 表单默认样式 */
.forgot-password-form.layui-form {
	margin: 0;
}

.forgot-password-form.layui-form .layui-form-item {
	margin-bottom: 0;
}

/* Forgot Password Buttons */
.forgot-password-buttons {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 8px;
}

.forgot-password-back-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px 32px;
	background-color: #F3F4F6;
	color: #374151;
	border: 1px solid #D1D5DB;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	flex: 1;
}

.forgot-password-back-btn:hover {
	background-color: #E5E7EB;
	border-color: #9CA3AF;
	transform: translateY(-1px);
}

.forgot-password-back-btn:active {
	transform: translateY(0);
}

.forgot-password-continue-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 32px;
	background-color: var(--sec-color);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
	flex: 1;
}

/* 覆盖 Layui 按钮样式 */
.forgot-password-continue-btn.layui-btn {
	background-color: var(--sec-color);
	border: none;
	height: auto;
	line-height: normal;
}

.forgot-password-continue-btn.layui-btn:hover {
	background-color: var(--main-color);
	transform: translateY(-1px);
}

.forgot-password-continue-btn.layui-btn:active {
	transform: translateY(0);
	background-color: var(--main-color);
}

.forgot-password-continue-btn svg {
	flex-shrink: 0;
}

/* Forgot Password Success State */
.forgot-password-success-state {
	display: flex;
	flex-direction: column;
	min-height: 220px;
}

.forgot-password-success-state .forgot-password-title {
	margin-bottom: 20px;
}

.forgot-password-success-message {
	font-size: 16px;
	color: #1F2937;
	line-height: 1.7;
	text-align: left;
	margin: 0 0 16px 0;
	padding: 0;
}

.forgot-password-email-display {
	font-weight: 700;
	color: #1B3C8D;
}

.forgot-password-success-button {
	display: flex;
	justify-content: flex-end;
	margin-top: 24px;
}

.forgot-password-success-button .forgot-password-back-btn {
	width: auto;
	min-width: 150px;
	background-color: #EFF2F7;
	color: #4B5563;
	border: 1px solid #D1D5DB;
}

.forgot-password-success-button .forgot-password-back-btn:hover {
	background-color: #E2E8F0;
	border-color: #CBD5F5;
	color: #1F2937;
}

/* Register Page Buttons */
.register-buttons {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 8px;
}

.register-back-btn {
	text-align: center;
	padding: 12px 32px;
	background-color: #ffffff;
	color: #374151;
	border: 1px solid #D1D5DB;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.register-back-btn:hover {
	background-color: #E5E7EB;
	border-color: #9CA3AF;
	transform: translateY(-1px);
}

.register-back-btn:active {
	transform: translateY(0);
}

.register-submit-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 32px;
	background-color: var(--sec-color);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
	flex: 1;
}

/* 覆盖 Layui 按钮样式 */
.register-submit-btn.layui-btn {
	background-color: var(--sec-color);
	border: none;
	height: auto;
	line-height: normal;
}

.register-submit-btn.layui-btn:hover {
	background-color: var(--main-color);
	transform: translateY(-1px);
}

.register-submit-btn.layui-btn:active {
	transform: translateY(0);
	background-color: var(--main-color);
}

.register-submit-btn svg {
	flex-shrink: 0;
}

/* Register Form State */
.register-form-state {
	width: 100%;
	display: flex;
	align-items: center;
}

.register-btns-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.register-back-btn,
.register-btns-wrapper .login-submit-btn {
	width: fit-content;
}

/* Two-Factor Authentication Method Selection State */
.auth-method-selection-state {
	width: 100%;
	max-width: 1000px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	margin: 0 auto;
}

.auth-method-selection-container {
	width: 100%;
	max-width: 600px;
	background-color: #ffffff;
	border-radius: 12px;
	padding: 40px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	position: relative;
	min-height: 300px;
	display: flex;
	flex-direction: column;
}

.auth-method-selection-title {
	font-size: 24px;
	font-weight: 600;
	color: var(--sec-color);
	margin: 0 0 24px 0;
	line-height: 1.3;
}

.auth-method-selection-description {
	font-size: 16px;
	font-weight: 400;
	color: #1F2937;
	margin: 0 0 32px 0;
	line-height: 1.6;
}

.auth-method-options {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1;
}

.auth-method-option {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	background-color: #ffffff;
	border: 1px solid #D1D5DB;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.auth-method-option:hover {
	border-color: var(--sec-color);
	background-color: #F0F9FF;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(50, 151, 219, 0.1);
}

.auth-method-option:active {
	transform: translateY(0);
}

.auth-method-icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.auth-method-icon svg {
	width: 100%;
	height: 100%;
}

.auth-method-text {
	font-size: 16px;
	font-weight: 500;
	color: #1F2937;
	flex: 1;
}

.auth-method-selection-footer {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-top: auto;
	padding-top: 24px;
	border-top: none;
}

.auth-method-logout-btn {
	padding: 12px 24px;
	background-color: var(--sec-color);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* 覆盖 Layui 按钮样式 */
.auth-method-logout-btn.layui-btn {
	background-color: var(--sec-color);
	border: none;
	height: auto;
	line-height: normal;
}

.auth-method-logout-btn.layui-btn:hover {
	background-color: var(--main-color);
	transform: translateY(-1px);
}

.auth-method-logout-btn.layui-btn:active {
	transform: translateY(0);
	background-color: var(--main-color);
}

/* Email Validation State */
.email-validation-state {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	margin: 0 auto;
}

.email-validation-card {
	width: 100%;
	max-width: 620px;
	padding: 36px 44px;
	background-color: #ffffff;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

.email-validation-logo {
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
}

.email-validation-logo img {
	width: 180px;
	height: auto;
}

.email-validation-title {
	font-size: 22px;
	font-weight: 600;
	color: #1B3C8D;
	margin: 0 0 18px 0;
}

.email-validation-thanks {
	font-size: 16px;
	color: #1F2937;
	margin: 0 0 16px 0;
}

.email-validation-message {
	font-size: 15px;
	color: #1F2937;
	line-height: 1.7;
	margin: 0 0 16px 0;
}

.email-validation-email-display {
	font-weight: 700;
	color: #1B3C8D;
}

.email-validation-troubleshoot {
	font-size: 15px;
	color: #1F2937;
	line-height: 1.7;
	margin: 0 0 24px 0;
}

.email-validation-buttons {
	display: flex;
	align-items: center;
	gap: 16px;
}

.email-validation-logout-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 22px;
	background-color: #F8F9FB;
	color: #1F2937;
	border: 1px solid #E2E8F0;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
}

.email-validation-logout-btn:hover {
	background-color: #EEF2FF;
	border-color: #CBD5F5;
	transform: translateY(-1px);
}

.email-validation-logout-btn svg {
	flex-shrink: 0;
}

.email-validation-resend-btn {
	padding: 12px 28px;
	background-color: #1B66FF;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
	margin-left: auto;
}

.email-validation-resend-btn.layui-btn {
	background-color: #1B66FF;
	border: none;
	height: auto;
	line-height: normal;
}

.email-validation-resend-btn.layui-btn:hover {
	background-color: #1554CC;
	transform: translateY(-1px);
}

.email-validation-resend-btn.layui-btn:active {
	transform: translateY(0);
	background-color: #1554CC;
}

/* Access Code Method Selection */
.access-code-method-selection {
	margin: 24px 0;
}

.access-code-method-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background-color: #ffffff;
	border: 1px solid #D1D5DB;
	border-radius: 2px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.access-code-method-option:hover {
	background-color: #D1E9F8;
	border-color: var(--sec-color);
}

.access-code-method-icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.access-code-method-icon svg {
	width: 100%;
	height: 100%;
}

.access-code-method-text {
	font-size: 16px;
	font-weight: 400;
	color: var(--main-color);
}

.access-code-logout-wrapper {
	display: flex;
	justify-content: flex-end;
	margin-top: 24px;
}

.access-code-logout-btn {
	padding: 12px 24px;
	background-color: var(--sec-color);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.access-code-logout-btn:hover {
	background-color: var(--main-color);
	transform: translateY(-1px);
}

.access-code-logout-btn:active {
	transform: translateY(0);
	background-color: var(--main-color);
}

/* Enter Email Access Code Section */
.access-code-input-wrapper {
	position: relative;
	margin-bottom: 16px;
}

.access-code-input-group {
	margin-bottom: 0;
}

.access-code-resend-link {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
	color: #6B7280;
	text-decoration: none;
	transition: color 0.2s ease;
	z-index: 1;
}

.access-code-resend-link:hover {
	color: var(--sec-color);
}

.access-code-resend-link.resend-countdown {
	color: #9CA3AF;
	cursor: not-allowed;
	pointer-events: none;
}

.access-code-resend-link.resend-countdown:hover {
	color: #9CA3AF;
}

.access-code-remember-checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	cursor: pointer;
	user-select: none;
}

.access-code-remember-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	cursor: pointer;
	accent-color: var(--sec-color);
}

.access-code-remember-checkbox span {
	font-size: 14px;
	color: var(--main-color);
}

.access-code-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 24px;
}

.access-code-back-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 12px 24px;
	background-color: var(--sec-color);
	color: #ffffff;
	border: 1px solid var(--sec-color);
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.access-code-back-btn:hover {
	background-color: var(--main-color);
	transform: translateY(-1px);
}

.access-code-back-btn:active {
	transform: translateY(0);
	background-color: var(--main-color);
}

.access-code-back-btn svg {
	flex-shrink: 0;
}

.access-code-login-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 12px 24px;
	background-color: #BFDBFE;
	color: #ffffff;
	border: 1px solid #BFDBFE;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 500;
	cursor: not-allowed;
	transition: background-color 0.2s ease;
}

.access-code-login-btn:not(:disabled) {
	background-color: var(--sec-color);
	border-color: var(--sec-color);
	cursor: pointer;
}

.access-code-login-btn:not(:disabled):hover {
	background-color: var(--main-color);
	transform: translateY(-1px);
}

.access-code-login-btn:not(:disabled):active {
	transform: translateY(0);
	background-color: var(--main-color);
}

.access-code-login-btn svg {
	flex-shrink: 0;
}

