/**
 * 注册 / 找回密码 / 重置密码 — 与 account_login 设小盒主题一致
 */
html.auth-doc-root {
	min-width: 0 !important;
}

.auth-page {
	margin: 0;
	min-height: 100vh;
	width: 100%;
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
	background:
		radial-gradient(circle at 0% 0%, #ffe7f7 0, rgba(255, 231, 247, 0) 55%),
		radial-gradient(circle at 100% 100%, #fff4d6 0, rgba(255, 244, 214, 0) 55%),
		#f7fafc;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 16px;
	box-sizing: border-box;
}

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

.auth-shell {
	width: 100%;
	max-width: 440px;
	position: relative;
}

.auth-card {
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
	padding: 32px 36px 28px;
	width: 100%;
}

.auth-title {
	font-size: 24px;
	font-weight: 700;
	color: #111827;
	margin: 0 0 8px;
	text-align: center;
}

.auth-subtitle {
	font-size: 13px;
	color: #6b7280;
	margin: 0 0 22px;
	line-height: 1.55;
	text-align: center;
}

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

.auth-form .auth-field:last-of-type {
	margin-bottom: 0;
}

.auth-page .form-control {
	width: 100%;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid #d1d5db;
	font-size: 14px;
	background: #f9fafb;
	outline: none;
	transition: border-color 0.18s ease-out, box-shadow 0.18s ease-out, background 0.18s ease-out;
}

.auth-page .form-control:focus {
	background: #ffffff;
	border-color: #22c55e;
	box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
}

.auth-page .form-control::placeholder {
	color: #9ca3af;
}

.auth-input-group {
	display: flex;
	align-items: stretch;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #d1d5db;
	background: #f9fafb;
}

.auth-input-group:focus-within {
	border-color: #22c55e;
	box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
	background: #fff;
}

.auth-input-group .form-control {
	border: none;
	border-radius: 0;
	flex: 1;
	min-width: 0;
	background: transparent;
}

.auth-input-group .auth-send-code {
	flex-shrink: 0;
	padding: 0 14px;
	font-size: 13px;
	font-weight: 600;
	color: #10b981;
	background: rgba(16, 185, 129, 0.08);
	border: none;
	border-left: 1px solid #e5e7eb;
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
	transition: background 0.15s ease-out, color 0.15s ease-out;
}

.auth-input-group .auth-send-code:hover:not(:disabled) {
	background: rgba(16, 185, 129, 0.16);
	color: #059669;
}

.auth-input-group .auth-send-code:disabled,
.auth-input-group .auth-send-code.is-disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.auth-btn-submit {
	width: 100%;
	margin-top: 22px;
	border: none;
	border-radius: 999px;
	padding: 12px 18px;
	font-size: 15px;
	font-weight: 600;
	color: #ffffff;
	background: linear-gradient(135deg, #00b894 0%, #008f72 100%);
	box-shadow: 0 10px 25px rgba(16, 185, 129, 0.45);
	cursor: pointer;
	transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.auth-btn-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(16, 185, 129, 0.55);
}

.auth-btn-submit:active {
	transform: translateY(0);
	box-shadow: 0 8px 20px rgba(16, 185, 129, 0.45);
}

.auth-links {
	margin-top: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
}

.auth-links a {
	color: #10b981;
	text-decoration: none;
	font-weight: 500;
}

.auth-links a:hover {
	text-decoration: underline;
}

.auth-footer {
	margin-top: 18px;
	font-size: 12px;
	color: #9ca3af;
	text-align: center;
}

.auth-closed-note {
	font-size: 14px;
	color: #4b5563;
	line-height: 1.6;
	text-align: center;
	margin: 0 0 12px;
}

.auth-badge-qq {
	display: inline-block;
	margin-top: 8px;
	padding: 6px 12px;
	border-radius: 8px;
	background: rgba(16, 185, 129, 0.12);
	color: #047857;
	font-weight: 600;
	font-size: 14px;
}

@media (max-width: 480px) {
	.auth-card {
		padding: 26px 22px 22px;
		border-radius: 16px;
	}
	.auth-title {
		font-size: 22px;
	}
}

/* -------------------------------------------------------------------------
 * dialog.msg（common.js）轻提示：在已引入 common.css 基础上，强化为卡片式提示框
 * 仅本页引入 account_auth_shell.css 时生效，不影响全站其它页面
 * ------------------------------------------------------------------------- */
.sucaiDialog-dialog.sucaiDialog-dialog-dialog.sucaiDialog-dialog-hui {
	border-radius: 14px !important;
	overflow: hidden;
	box-shadow: 0 16px 44px rgba(15, 23, 42, 0.2) !important;
	border: none !important;
	max-width: min(360px, calc(100vw - 32px));
}

.sucaiDialog-dialog-hui .sucaiDialog-dialog-content {
	font-size: 14px !important;
	line-height: 1.55 !important;
	font-weight: 500 !important;
	padding: 14px 22px !important;
	text-align: center !important;
}

/* 原 common 为半透明色块；改为与白卡片一致的实底 + 语义色 */
.sucaiDialog-dialog-dialog.sucaiDialog-dialog-hui.dialog-msg-info {
	background: #fff !important;
	color: #0f766e !important;
	filter: none !important;
	box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(13, 148, 136, 0.25) !important;
}

.sucaiDialog-dialog-dialog.sucaiDialog-dialog-hui.dialog-msg-info .sucaiDialog-dialog-content {
	color: #115e59 !important;
}

.sucaiDialog-dialog-dialog.sucaiDialog-dialog-hui.dialog-msg-error {
	background: #fff1f2 !important;
	color: #b91c1c !important;
	filter: none !important;
	box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(248, 113, 113, 0.45) !important;
}

.sucaiDialog-dialog-dialog.sucaiDialog-dialog-hui.dialog-msg-error .sucaiDialog-dialog-content {
	color: #991b1b !important;
}

.sucaiDialog-dialog-dialog.sucaiDialog-dialog-hui.dialog-msg-success {
	background: #ecfdf5 !important;
	color: #047857 !important;
	filter: none !important;
	box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(16, 185, 129, 0.35) !important;
}

.sucaiDialog-dialog-dialog.sucaiDialog-dialog-hui.dialog-msg-success .sucaiDialog-dialog-content {
	color: #065f46 !important;
}

.sucaiDialog-dialog-content .mr-1 {
	margin-right: 8px !important;
}

.sucaiDialog-dialog-content .adt-icon {
	display: inline-block;
	vertical-align: -0.12em;
	font-style: normal;
}
