/* AI Marketplace — вход/регистрация (переоформлено под тему BitRich) */

.aimp-auth {
	max-width: 360px;
	border: 1px solid #E6E8F3;
	border-radius: 16px;
	padding: 1.2em;
	background: #fff;
	font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
	color: #1B1E2B;
}

.aimp-auth-tabs {
	display: flex;
	gap: 0.5em;
	margin-bottom: 1em;
}

.aimp-auth-tab {
	flex: 1;
	border: 1.5px solid #E6E8F3;
	background: #F6F7FC;
	border-radius: 20px;
	padding: 0.55em;
	cursor: pointer;
	font-weight: 700;
	color: #565B71;
	font-family: inherit;
}

.aimp-auth-tab-active {
	background: #4F46E5;
	border-color: #4F46E5;
	color: #fff;
}

.aimp-auth-error {
	background: #FCEBEB;
	border: 1px solid #F7C1C1;
	color: #A32D2D;
	border-radius: 10px;
	padding: 0.6em 0.9em;
	font-size: 0.9em;
	margin-bottom: 0.8em;
	font-weight: 600;
}

.aimp-auth-notice {
	font-size: 0.9em;
	color: #B4720F;
}

.aimp-auth-form p,
.aimp-auth-pane-login form p {
	margin-bottom: 0.8em;
}

.aimp-auth-form label,
.aimp-auth-pane-login form label {
	display: block;
	margin-bottom: 0.3em;
	font-size: 0.85em;
	font-weight: 700;
	color: #1B1E2B;
}

.aimp-auth-form input[type="text"],
.aimp-auth-form input[type="email"],
.aimp-auth-form input[type="password"],
.aimp-auth-pane-login input[type="text"],
.aimp-auth-pane-login input[type="password"] {
	width: 100%;
	padding: 0.6em 0.8em;
	border: 1.5px solid #E6E8F3;
	border-radius: 10px;
	box-sizing: border-box;
	font-family: inherit;
	background: #F6F7FC;
}

.aimp-auth-form input:focus,
.aimp-auth-pane-login input:focus {
	outline: none;
	border-color: #4F46E5;
	background: #fff;
}

.aimp-auth-submit,
.aimp-auth-pane-login button[type="submit"] {
	width: 100%;
	padding: 0.7em;
	background: #4F46E5;
	color: #fff;
	border: none;
	border-radius: 20px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.15s;
}

.aimp-auth-submit:hover,
.aimp-auth-pane-login button[type="submit"]:hover {
	background: #3D34C9;
}

.aimp-auth-logged-in {
	text-align: center;
}

.aimp-auth-greeting {
	font-weight: 800;
	margin-bottom: 0.7em;
}

.aimp-auth-balance {
	display: flex;
	justify-content: space-between;
	background: #EDECFC;
	border-radius: 12px;
	padding: 0.7em 0.9em;
	margin-bottom: 0.7em;
	font-size: 0.95em;
	font-weight: 600;
}

.aimp-auth-balance-value {
	font-weight: 800;
	color: #4338CA;
}

.aimp-auth-stat {
	font-size: 0.85em;
	color: #8B8FA3;
	margin-bottom: 0.9em;
	font-weight: 600;
}

.aimp-auth-account-link {
	display: block;
	padding: 0.6em;
	background: #1B1E2B;
	color: #fff;
	border-radius: 20px;
	text-decoration: none;
	font-weight: 700;
	margin-bottom: 0.6em;
}

.aimp-auth-account-link:hover {
	background: #4F46E5;
	color: #fff;
}

.aimp-auth-logout-link {
	font-size: 0.85em;
	color: #8B8FA3;
	text-decoration: underline;
}

/* Honeypot-поле в форме регистрации (см. class-aimp-auth-shortcode.php) —
   скрыто от людей, но остаётся в разметке и доступно ботам, которые не
   исполняют CSS и заполняют все поля подряд. */
.aimp-auth-hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}
