/* Autonemo login — centered card inside standard site layout */

body.autonemo-auth-login-active {
	background: #f4f6f9 !important;
}

body.autonemo-auth-login-active .page-content-wrapper {
	padding-top: 36px;
	padding-bottom: 56px;
}

.autonemo-auth-page {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px 24px;
}

.autonemo-auth-shell {
	width: 100%;
	max-width: 420px;
}

.autonemo-auth-card {
	padding: 36px 32px 32px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid #e8edf3;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.autonemo-auth-card__brand {
	display: flex;
	justify-content: center;
	margin-bottom: 24px;
}

.autonemo-auth-brand__logo img {
	display: block;
	max-width: 124px;
	height: auto;
}

.autonemo-auth-brand__logo--text {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.autonemo-auth-brand__mark {
	color: var(--autonemo-black, #0b0c0c);
}

.autonemo-auth-brand__suffix {
	color: var(--autonemo-red, #e2231a);
}

.autonemo-auth-card__title {
	margin: 0 0 6px;
	text-align: center;
	font-size: 1.65rem;
	line-height: 1.15;
	color: var(--autonemo-black, #0b0c0c) !important;
	-webkit-text-fill-color: var(--autonemo-black, #0b0c0c) !important;
}

.autonemo-auth-card__lead {
	margin: 0 0 24px;
	text-align: center;
	font-size: 0.92rem;
	line-height: 1.5;
	color: #64748b !important;
	-webkit-text-fill-color: #64748b !important;
}

.autonemo-auth-alert {
	margin: 0 0 18px;
	padding: 11px 13px;
	border-radius: 10px;
	background: #fff7f6;
	border: 1px solid rgba(226, 35, 26, 0.14);
	color: #7f1d1d;
	font-size: 0.86rem;
	line-height: 1.45;
}

.autonemo-auth-alert a {
	color: var(--autonemo-red, #e2231a);
	font-weight: 600;
}

.autonemo-auth-form {
	width: 100%;
}

.autonemo-auth-field {
	margin-bottom: 14px;
}

.autonemo-auth-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.82rem;
	font-weight: 600;
	color: #475569;
}

.autonemo-auth-field input {
	width: 100%;
	height: 46px;
	padding: 0 13px;
	border: 1px solid #dbe3ec;
	border-radius: 10px;
	background: #fff;
	color: #0f172a;
	font-size: 0.94rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.autonemo-auth-field input:focus {
	outline: none;
	border-color: rgba(226, 35, 26, 0.45);
	box-shadow: 0 0 0 3px rgba(226, 35, 26, 0.08);
}

.autonemo-auth-form__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.autonemo-auth-check {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.82rem;
	color: #64748b;
	cursor: pointer;
}

.autonemo-auth-check input {
	width: 15px;
	height: 15px;
	accent-color: var(--autonemo-red, #e2231a);
}

.autonemo-auth-link,
.autonemo-auth-help a {
	color: var(--autonemo-red, #e2231a);
	font-weight: 600;
	text-decoration: none;
	font-size: 0.82rem;
}

.autonemo-auth-link:hover,
.autonemo-auth-help a:hover {
	text-decoration: underline;
}

.autonemo-auth-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background: var(--autonemo-red, #e2231a);
	color: #fff !important;
	font-size: 0.94rem;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.autonemo-auth-submit:hover {
	background: #c91d15;
	box-shadow: 0 8px 20px rgba(226, 35, 26, 0.18);
}

.autonemo-auth-help {
	margin: 18px 0 0;
	text-align: center;
	font-size: 0.84rem;
	color: #64748b;
}

body.autonemo-auth-login-active.dark,
body.dark.autonemo-auth-login-active {
	background: #f4f6f9 !important;
}

body.autonemo-auth-login-active.dark .autonemo-auth-card,
body.dark.autonemo-auth-login-active .autonemo-auth-card {
	background: #fff !important;
}

@media (max-width: 575px) {
	body.autonemo-auth-login-active .page-content-wrapper {
		padding-top: 24px;
		padding-bottom: 40px;
	}

	.autonemo-auth-page {
		padding: 4px 14px 16px;
	}

	.autonemo-auth-card {
		padding: 28px 22px 26px;
		border-radius: 16px;
	}

	.autonemo-auth-form__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}
