/* Account-required modal (guests only) */
.atoz-account-locked {
	overflow: hidden;
}

.atoz-account-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: 18px;
	direction: rtl;
}

.atoz-account-modal[hidden] {
	display: none !important;
}

.atoz-account-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 30, 22, 0.62);
	backdrop-filter: blur(3px);
}

.atoz-account-dialog {
	position: relative;
	z-index: 1;
	width: min(430px, 100%);
	padding: 28px 24px 24px;
	background: #fff;
	border: 1px solid #E7E3EC;
	border-radius: 24px;
	box-shadow: 0 24px 70px rgba(6, 30, 20, 0.28);
	text-align: center;
	font-family: "Cairo", Tahoma, "Segoe UI", Arial, sans-serif;
	color: #1B2027;
}

.atoz-account-close {
	position: absolute;
	top: 12px;
	inset-inline-start: 14px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: #EEF3FB;
	color: #667085;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.atoz-account-icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 14px;
	background: #FDEFF3;
	border-radius: 20px;
	color: #1D467C;
}

.atoz-account-icon svg {
	width: 31px;
	height: 31px;
}

.atoz-account-dialog h2 {
	margin: 0 0 8px;
	color: #16345C;
	font-size: 23px;
	font-weight: 900;
	line-height: 1.4;
}

.atoz-account-dialog p {
	margin: 0 0 18px;
	color: #667085;
	font-size: 13px;
	line-height: 1.9;
}

.atoz-account-primary,
.atoz-account-secondary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.atoz-account-primary {
	padding: 13px 18px;
	background: #1D467C;
	color: #fff;
	box-shadow: 0 8px 20px rgba(29, 70, 124, 0.22);
}

.atoz-account-primary:hover {
	background: #16345C;
	color: #fff;
}

.atoz-account-secondary {
	margin-top: 9px;
	padding: 11px 18px;
	background: #EEF3FB;
	color: #1D467C;
}

.atoz-account-secondary:hover {
	background: #FDEFF3;
	color: #16345C;
}

.atoz-account-dialog small {
	display: block;
	margin-top: 14px;
	color: #98A2B3;
	font-size: 10.5px;
	line-height: 1.7;
}

@media (max-width: 480px) {
	.atoz-account-dialog {
		padding: 26px 18px 20px;
		border-radius: 20px;
	}

	.atoz-account-dialog h2 {
		font-size: 21px;
	}
}

/* Registration helpers */
#reg_username_field { display: none !important; }
.atoz-register-note { margin-top: -6px; }
.atoz-register-note small { color: #6b7d74; font-size: 11px; line-height: 1.7; }