/**
 * Styles standalone WERegcus login and registration forms.
 *
 * @package WERegcus
 */
.weregcus-inline-login {
	width: min(100%, 520px);
	margin: 0 auto;
	padding: 28px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
}

.weregcus-inline-login__title {
	margin-top: 0;
}

.weregcus-inline-login__form button[type="submit"] {
	min-height: 44px;
	padding: 9px 18px;
	border: 0;
	border-radius: 7px;
	cursor: pointer;
}

.weregcus-inline-login__form button[type="submit"]:disabled {
	cursor: wait;
	opacity: 0.65;
}

.weregcus-inline-login__logged-in {
	text-align: center;
}

@media (max-width: 575px) {
	.weregcus-inline-login {
		padding: 24px 18px;
	}
}

.weregcus-inline-login__recovery {
	margin: 4px 0 0;
}

.weregcus-inline-login__register-cta {
	margin-top: 22px;
	text-align: center;
}

.weregcus-inline-login__divider {
	height: 1px;
	margin-bottom: 18px;
	background: #e2e8f0;
}

.weregcus-inline-login__register-label {
	margin: 0 0 10px;
	color: #475569;
}

.weregcus-inline-login__register-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	padding: 9px 18px;
	border: 1px solid #cbd5e1;
	border-radius: 7px;
	background: #fff;
	color: #1e293b;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.weregcus-inline-login__register-button:hover,
.weregcus-inline-login__register-button:focus {
	border-color: #94a3b8;
	background: #f8fafc;
	color: #0f172a;
	text-decoration: none;
}

.weregcus-inline-login__register-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
