/**
 * Node-AUTH-D/E: 安锐认证表单样式（注册+登录共用）.
 *
 * 所有 class 以 .aiterich-auth- 开头，避免污染 WordPress 主题。
 * 包含：Tab 切换、输入框（浮动标签）、验证码计时、倒计时、错误提示、密码强度
 */

/* ===== 容器与基础布局 ===== */

.aiterich-auth-container {
	max-width: 440px;
	margin: 30px auto;
	padding: 0;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	font-size: 14px;
	color: #333;
}

.aiterich-auth-banner {
	background: #e8f4f8;
	border-bottom: 1px solid #d0e8f0;
	padding: 12px 20px;
	border-radius: 8px 8px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: #0d7377;
}

.aiterich-auth-banner strong {
	font-weight: 600;
	color: #0d7377;
}

.aiterich-auth-inner {
	padding: 30px;
}

/* ===== Tab 切换 ===== */

.aiterich-auth-tabs {
	display: flex;
	gap: 0;
	border-bottom: 2px solid #f0f0f0;
	margin: 0 0 30px 0;
	padding: 0;
}

.aiterich-auth-tab {
	flex: 1;
	padding: 12px 0;
	border: none;
	background: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	color: #999;
	text-align: center;
	transition: color 0.2s, border-color 0.2s;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	position: relative;
	top: 2px;
}

.aiterich-auth-tab:hover {
	color: #666;
}

.aiterich-auth-tab.active {
	color: #000;
	font-weight: 700;
	border-bottom-color: #000;
}

/* ===== 表单组件 ===== */

.aiterich-auth-form-group {
	margin-bottom: 20px;
	position: relative;
}

.aiterich-auth-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #999;
	margin-bottom: 8px;
	transition: all 0.2s;
}

.aiterich-auth-form-group.has-value .aiterich-auth-label,
.aiterich-auth-form-group.focused .aiterich-auth-label {
	color: #333;
}

.aiterich-auth-form-group.error .aiterich-auth-label {
	color: #d32f2f;
}

.aiterich-auth-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0;
}

.aiterich-auth-input {
	flex: 1;
	padding: 12px 16px;
	font-size: 14px;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	background: #fff;
	color: #333;
	line-height: 1.5;
}

.aiterich-auth-input:focus {
	border-color: #000;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.aiterich-auth-form-group.error .aiterich-auth-input {
	border-color: #d32f2f;
	box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.05);
}

/* ===== 内嵌发送按钮（手机号/邮箱输入框右侧） ===== */

.aiterich-auth-send-btn {
	padding: 8px 16px;
	margin-left: 8px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background: #000;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	white-space: nowrap;
	transition: opacity 0.2s, background-color 0.2s;
	min-width: 80px;
	text-align: center;
}

.aiterich-auth-send-btn:hover:not(:disabled) {
	opacity: 0.85;
}

.aiterich-auth-send-btn:disabled {
	background: #ccc;
	cursor: not-allowed;
	color: #999;
}

.aiterich-auth-send-btn.cooldown {
	background: #999;
	cursor: not-allowed;
}

.aiterich-auth-send-btn-countdown {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.8);
}

/* ===== 密码显隐切换（眼睛图标） ===== */

.aiterich-auth-password-toggle {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	color: #999;
	font-size: 16px;
	padding: 4px;
	transition: color 0.2s;
}

.aiterich-auth-password-toggle:hover {
	color: #333;
}

.aiterich-auth-input-wrapper.has-toggle .aiterich-auth-input {
	padding-right: 40px;
}

/* ===== 错误提示文字 ===== */

.aiterich-auth-error {
	display: none;
	font-size: 12px;
	color: #d32f2f;
	margin-top: 6px;
	line-height: 1.4;
}

.aiterich-auth-form-group.error .aiterich-auth-error {
	display: block;
}

.aiterich-auth-error-inline {
	display: inline;
	color: #d32f2f;
	font-weight: 600;
}

/* ===== 密码强度条 ===== */

.aiterich-auth-password-strength-wrapper {
	margin-top: 8px;
	display: none;
}

.aiterich-auth-password-strength-wrapper.visible {
	display: block;
}

.aiterich-auth-password-strength-bar {
	height: 4px;
	background: #f0f0f0;
	border-radius: 2px;
	overflow: hidden;
	margin-bottom: 4px;
}

.aiterich-auth-password-strength-fill {
	height: 100%;
	width: 0%;
	transition: width 0.2s, background-color 0.2s;
}

.aiterich-auth-password-strength-fill.weak {
	width: 33%;
	background: #d32f2f;
}

.aiterich-auth-password-strength-fill.medium {
	width: 66%;
	background: #f57c00;
}

.aiterich-auth-password-strength-fill.strong {
	width: 100%;
	background: #388e3c;
}

.aiterich-auth-password-strength-text {
	font-size: 12px;
	color: #666;
}

.aiterich-auth-password-strength-text.weak {
	color: #d32f2f;
}

.aiterich-auth-password-strength-text.medium {
	color: #f57c00;
}

.aiterich-auth-password-strength-text.strong {
	color: #388e3c;
}

/* ===== 主要按钮 ===== */

.aiterich-auth-btn-primary {
	width: 100%;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 700;
	background: #000;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: opacity 0.2s, background-color 0.2s;
	text-align: center;
	margin-top: 10px;
}

.aiterich-auth-btn-primary:hover:not(:disabled) {
	opacity: 0.85;
}

.aiterich-auth-btn-primary:disabled {
	background: #ccc;
	cursor: not-allowed;
	color: #999;
}

.aiterich-auth-btn-primary.loading {
	position: relative;
	color: transparent;
}

.aiterich-auth-btn-primary.loading::after {
	content: '';
	position: absolute;
	width: 14px;
	height: 14px;
	top: 50%;
	left: 50%;
	margin-left: -7px;
	margin-top: -7px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: aiterich-spin 0.6s linear infinite;
}

@keyframes aiterich-spin {
	to { transform: rotate(360deg); }
}

/* ===== 次级按钮（文字链接） ===== */

.aiterich-auth-btn-link {
	background: none;
	border: none;
	color: #0d7377;
	cursor: pointer;
	font-size: 12px;
	padding: 0;
	text-decoration: underline;
	transition: color 0.2s;
	font-weight: 500;
}

.aiterich-auth-btn-link:hover {
	color: #0a5a61;
}

.aiterich-auth-btn-link.inline {
	display: inline;
	margin: 0 2px;
}

/* ===== Step 指示器 ===== */

.aiterich-auth-steps {
	display: flex;
	gap: 12px;
	margin-bottom: 24px;
	justify-content: center;
}

.aiterich-auth-step {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #f0f0f0;
	border: 2px solid #d9d9d9;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	color: #999;
	transition: all 0.2s;
}

.aiterich-auth-step.active {
	background: #000;
	color: #fff;
	border-color: #000;
}

.aiterich-auth-step.completed {
	background: #388e3c;
	color: #fff;
	border-color: #388e3c;
}

/* ===== 高级：折叠密码字段 ===== */

.aiterich-auth-collapse-trigger {
	cursor: pointer;
	color: #0d7377;
	font-weight: 600;
	font-size: 13px;
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 16px 0;
	transition: color 0.2s;
}

.aiterich-auth-collapse-trigger:hover {
	color: #0a5a61;
}

.aiterich-auth-collapse-icon {
	display: inline-block;
	transition: transform 0.2s;
}

.aiterich-auth-collapse-trigger.expanded .aiterich-auth-collapse-icon {
	transform: rotate(-180deg);
}

.aiterich-auth-collapsible {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
}

.aiterich-auth-collapsible.expanded {
	max-height: 400px;
}

/* ===== 模态提示 & 通知 ===== */

.aiterich-auth-alert {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 16px;
	font-size: 13px;
	line-height: 1.5;
	display: none;
}

.aiterich-auth-alert.visible {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.aiterich-auth-alert.info {
	background: #e3f2fd;
	color: #1565c0;
	border: 1px solid #90caf9;
}

.aiterich-auth-alert.success {
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #81c784;
}

.aiterich-auth-alert.error {
	background: #ffebee;
	color: #c62828;
	border: 1px solid #ef5350;
}

.aiterich-auth-alert.warning {
	background: #fff3e0;
	color: #e65100;
	border: 1px solid #ffb74d;
}

.aiterich-auth-alert-icon {
	font-size: 16px;
	flex-shrink: 0;
	margin-top: 2px;
}

.aiterich-auth-alert-content {
	flex: 1;
}

/* ===== 响应式 ===== */

@media (max-width: 600px) {
	.aiterich-auth-container {
		max-width: 100%;
		border-radius: 0;
		box-shadow: none;
		margin: 0;
	}

	.aiterich-auth-inner {
		padding: 20px;
	}

	.aiterich-auth-input {
		font-size: 16px; /* iOS 不自动缩放 */
	}

	.aiterich-auth-send-btn {
		padding: 8px 12px;
		min-width: 70px;
		font-size: 11px;
	}
}

/* ===== 辅助类（隐藏、显示、加载状态） ===== */

.aiterich-auth-hidden {
	display: none !important;
}

.aiterich-auth-visible {
	display: block !important;
}

.aiterich-auth-loading {
	opacity: 0.6;
	pointer-events: none;
}

/* ===== 杂项：提示、链接、对齐 ===== */

.aiterich-auth-text-center {
	text-align: center;
}

.aiterich-auth-text-sm {
	font-size: 12px;
	color: #999;
}

.aiterich-auth-divider {
	border: none;
	border-top: 1px solid #e0e0e0;
	margin: 20px 0;
}

.aiterich-auth-hint {
	font-size: 12px;
	color: #999;
	margin-top: 8px;
	line-height: 1.4;
}

.aiterich-auth-inline-link {
	color: #0d7377;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s;
}

.aiterich-auth-inline-link:hover {
	color: #0a5a61;
	text-decoration: underline;
}

/* ===== TASK-WP-01: [aiterich_register] / [aiterich_login] shortcodes ===== */

.aiterich-auth-card {
	max-width: 420px;
	margin: 40px auto;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	padding: 36px 32px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
@media (max-width: 480px) {
	.aiterich-auth-card {
		margin: 0;
		border-radius: 0;
		padding: 24px 16px;
	}
}

.aiterich-auth-title {
	font-size: 22px;
	font-weight: 700;
	color: #111;
	margin: 0 0 24px;
}

.aiterich-float-field {
	position: relative;
	margin-bottom: 20px;
}
.aiterich-float-field input {
	width: 100%;
	height: 48px;
	padding: 16px 12px 4px;
	border: 1.5px solid #d1d5db;
	border-radius: 8px;
	font-size: 15px;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.2s;
}
.aiterich-float-field input:focus {
	border-color: #3b82f6;
}
.aiterich-float-field label {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 15px;
	color: #6b7280;
	pointer-events: none;
	transition: all 0.15s;
	background: #fff;
	padding: 0 2px;
}
.aiterich-float-field input:focus ~ label,
.aiterich-float-field input:not(:placeholder-shown) ~ label {
	top: 0;
	font-size: 11px;
	color: #3b82f6;
}

.aiterich-btn {
	display: block;
	width: 100%;
	height: 44px;
	background: #3b82f6;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	margin-top: 4px;
}
.aiterich-btn:hover:not(:disabled) {
	background: #2563eb;
}
.aiterich-btn:disabled {
	background: #93c5fd;
	cursor: not-allowed;
}

.aiterich-btn-outline {
	height: 44px;
	padding: 0 14px;
	background: #fff;
	color: #3b82f6;
	border: 1.5px solid #3b82f6;
	border-radius: 8px;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
}
.aiterich-btn-text {
	background: none;
	border: none;
	color: #3b82f6;
	cursor: pointer;
	font-size: 13px;
}
.aiterich-btn-text:disabled {
	color: #9ca3af;
	cursor: not-allowed;
}

.aiterich-error {
	padding: 10px 12px;
	background: #fef2f2;
	border: 1px solid #fca5a5;
	border-radius: 6px;
	color: #dc2626;
	font-size: 13px;
	margin-bottom: 12px;
}
.aiterich-hint {
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 12px;
}

.aiterich-tabs {
	display: flex;
	gap: 4px;
	margin-bottom: 20px;
	border-bottom: 1px solid #e5e7eb;
}
.aiterich-tab {
	flex: 1;
	padding: 8px 0;
	background: none;
	border: none;
	font-size: 14px;
	color: #6b7280;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}
.aiterich-tab.active {
	color: #3b82f6;
	border-bottom-color: #3b82f6;
	font-weight: 600;
}

.aiterich-strength-bar {
	height: 4px;
	background: #e5e7eb;
	border-radius: 2px;
	margin: -12px 0 16px;
}
.aiterich-strength-fill {
	height: 100%;
	border-radius: 2px;
	transition: all 0.3s;
}

.aiterich-eye {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	font-size: 16px;
	padding: 4px;
}
.aiterich-footer-link {
	text-align: center;
	margin-top: 16px;
	font-size: 13px;
	color: #6b7280;
}
.aiterich-footer-link a {
	color: #3b82f6;
	text-decoration: none;
}

/* P1-B: 修复步骤显示 — hidden 属性必须生效，不被 display:block 覆盖 */
.aiterich-step:not([hidden]) {
	display: block;
}
.aiterich-step[hidden] {
	display: none !important;
}

/* ===== 统一认证页 ST 风格（左右卡片、游客文案、底部说明） ===== */
.aiterich-auth-unified {
	max-width: 920px;
	margin: 24px auto;
	padding: 0 16px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 14px;
	color: #333;
}
.aiterich-auth-visitor-copy {
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	border-radius: 8px;
	padding: 12px 16px;
	margin: 0 0 24px;
	font-size: 13px;
	line-height: 1.5;
	color: #0369a1;
}
.aiterich-auth-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 20px;
}
@media (max-width: 640px) {
	.aiterich-auth-cards { grid-template-columns: 1fr; }
}
.aiterich-auth-unified .aiterich-auth-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	padding: 24px;
	border: 1px solid #e5e7eb;
}
.aiterich-auth-unified .aiterich-auth-title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 600;
	color: #111;
}
.aiterich-auth-unified .aiterich-auth-card-inner {
	padding: 0;
}
.aiterich-auth-role-hint {
	margin: 12px 0;
	padding: 10px 14px;
	background: #f8fafc;
	border-radius: 6px;
	font-size: 13px;
	color: #475569;
	min-height: 20px;
}
.aiterich-auth-footer-note {
	margin: 20px 0 0;
	padding: 12px 16px;
	background: #fefce8;
	border: 1px solid #fef08a;
	border-radius: 8px;
	font-size: 12px;
	line-height: 1.5;
	color: #854d0e;
}
.aiterich-auth-logged-in {
	max-width: 440px;
	margin: 30px auto;
	text-align: center;
}
.aiterich-auth-logged-in .aiterich-btn {
	display: inline-block;
	margin: 0 8px 8px 0;
	padding: 10px 20px;
	background: #3b82f6;
	color: #fff;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
}
.aiterich-nav-person-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	text-decoration: none;
	color: inherit;
	font-size: 0;
	line-height: 0;
	transition: background 0.2s, color 0.2s;
	/* 菜单项显示 SVG 图标：隐藏文字（如 👤），用 mask 使图标继承链接颜色 */
	text-indent: -9999px;
	overflow: hidden;
	-webkit-mask: url(../images/nav-icon-login.svg) no-repeat center;
	mask: url(../images/nav-icon-login.svg) no-repeat center;
	-webkit-mask-size: 24px 24px;
	mask-size: 24px 24px;
	background-color: currentColor;
}
.aiterich-nav-person-icon:hover {
	background-color: currentColor;
}
.aiterich-nav-person-icon-img {
	display: block;
	width: 20px;
	height: 20px;
	color: inherit;
}

/* ===== P0 customer-path convergence ===== */

.aiterich-auth-shell {
	max-width: 1180px;
	margin: 0 auto;
	padding: 32px 0 48px;
}

.aiterich-auth-shell-hero {
	border-radius: 28px;
	padding: 36px;
	background:
		linear-gradient(135deg, rgba(15, 95, 154, 0.08) 0%, rgba(56, 189, 248, 0.12) 100%),
		#f8fbfe;
	box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
	border: 1px solid #dceaf5;
	color: #0f172a;
}

.aiterich-auth-shell-kicker {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #0f5f9a;
}

.aiterich-auth-shell-title {
	margin: 16px 0 0;
	font-size: 38px;
	line-height: 1.24;
	font-weight: 700;
	color: #0f172a;
}

.aiterich-auth-shell-desc {
	margin: 16px 0 0;
	max-width: 760px;
	font-size: 15px;
	line-height: 1.8;
	color: #475569;
}

.aiterich-auth-shell-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.aiterich-auth-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 20px;
	border-radius: 999px;
	background: #fff;
	color: #0f3a63;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #d5e6f3;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.aiterich-auth-pill:hover {
	transform: translateY(-1px);
	border-color: #8dc0e6;
	box-shadow: 0 10px 18px rgba(15, 95, 154, 0.12);
}

.aiterich-auth-pill--light {
	background: #eef7fd;
	border: 1px solid #cfe6f8;
	color: #0f5f9a;
}

.aiterich-auth-shell-grid {
	display: grid;
	grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
	gap: 24px;
	margin-top: 24px;
}

.aiterich-auth-shell-panel {
	border: 1px solid #dbe7f2;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.aiterich-auth-shell-panel--brand {
	padding: 30px 26px;
	background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

.aiterich-auth-shell-panel--forms {
	padding: 24px;
}

.aiterich-auth-primary-tabs {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 6px;
	margin: 18px 0 0;
	border-radius: 999px;
	background: #f1f5f9;
	border: 1px solid #dbe7f2;
}

.aiterich-auth-primary-tab {
	border: 0;
	background: transparent;
	color: #475569;
	padding: 10px 20px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.aiterich-auth-primary-tab.active {
	background: #0f5f9a;
	color: #fff;
	box-shadow: 0 10px 22px rgba(15, 95, 154, 0.22);
}

.aiterich-auth-panels {
	margin-top: 18px;
}

.aiterich-auth-panel {
	display: none;
}

.aiterich-auth-panel.active {
	display: block;
}

.aiterich-auth-shell-section {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #0f3a63;
}

.aiterich-auth-shell-list {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.aiterich-auth-shell-list li {
	position: relative;
	padding-left: 18px;
	margin-bottom: 14px;
	font-size: 14px;
	line-height: 1.8;
	color: #475569;
}

.aiterich-auth-shell-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 11px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #38bdf8;
}

.aiterich-auth-shell-note {
	margin-top: 24px;
	padding: 16px 18px;
	border-radius: 18px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.aiterich-auth-shell-note-title {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
}

.aiterich-auth-shell-note p {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
	color: #475569;
}

.aiterich-auth-visitor-copy {
	padding: 16px 18px;
	border-radius: 18px;
	border: 1px solid #cfe6f8;
	background: #f4fbff;
	line-height: 1.8;
	color: #0f4c75;
}

.aiterich-auth-unified .aiterich-auth-cards {
	margin-top: 18px;
	gap: 18px;
}

.aiterich-auth-unified .aiterich-auth-card {
	margin: 0;
	border-radius: 24px;
	padding: 24px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
	background: #fff;
}

.aiterich-auth-panel-subtitle {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.7;
	color: #64748b;
}

.aiterich-auth-inline-row {
	margin: 12px 0 0;
	text-align: right;
}

.aiterich-auth-inline-split {
	display: flex;
	gap: 10px;
	align-items: flex-end;
}

.aiterich-auth-inline-grow {
	flex: 1;
	margin-bottom: 0;
}

.aiterich-auth-text-link {
	color: #0f5f9a;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}

.aiterich-auth-text-link:hover {
	text-decoration: underline;
}

.aiterich-auth-role-hint {
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: 18px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #475569;
}

.aiterich-auth-footer-note {
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: 18px;
	border: 1px solid #f5d08a;
	background: #fff7e8;
	line-height: 1.7;
	color: #8a5a00;
}

.aiterich-auth-logged-in .aiterich-auth-shell-card {
	padding: 28px;
	border-radius: 24px;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
}

@media (max-width: 980px) {
	.aiterich-auth-shell-grid {
		grid-template-columns: 1fr;
	}

	.aiterich-auth-shell-title {
		font-size: 30px;
	}
}

@media (max-width: 640px) {
	.aiterich-auth-shell {
		padding-top: 20px;
	}

	.aiterich-auth-shell-hero,
	.aiterich-auth-shell-panel--brand,
	.aiterich-auth-shell-panel--forms,
	.aiterich-auth-unified .aiterich-auth-card {
		padding: 20px;
		border-radius: 22px;
	}

	.aiterich-auth-shell-title {
		font-size: 26px;
	}

	.aiterich-auth-primary-tabs {
		display: flex;
		width: 100%;
	}

	.aiterich-auth-primary-tab {
		flex: 1;
		padding-left: 14px;
		padding-right: 14px;
	}

	.aiterich-auth-inline-split {
		flex-direction: column;
		align-items: stretch;
	}
}
