/* 我的帐户：登录标题行 + 弹窗注册 */

.anbuyer-login-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.anbuyer-login-heading h2 {
	margin: 0;
}

.anbuyer-open-register-modal {
	flex-shrink: 0;
}

.anbuyer-register-dialog {
	padding: 0;
	border: none;
	border-radius: 8px;
	max-width: 480px;
	width: calc(100% - 2rem);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.anbuyer-register-dialog::backdrop {
	background: rgba(0, 0, 0, 0.45);
}

.anbuyer-register-dialog__inner {
	padding: 1.25rem 1.5rem 1.5rem;
}

.anbuyer-register-dialog__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.anbuyer-register-dialog__header h2 {
	margin: 0;
	font-size: 1.35rem;
}

.anbuyer-register-dialog__close {
	background: transparent;
	border: 0;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	padding: 0 0.25rem;
	opacity: 0.7;
}

.anbuyer-register-dialog__close:hover {
	opacity: 1;
}

.anbuyer-register-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.anbuyer-register-modal__errors {
	margin-bottom: 1rem;
	padding: 0.75rem 1rem;
}

.anbuyer-register-modal__errors[hidden] {
	display: none !important;
}

.anbuyer-register-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: flex-end;
	margin-bottom: 0;
}

.anbuyer-dialog-polyfill-open {
	display: block;
	position: fixed;
	z-index: 100000;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
