/***** Error overlay (SSD-7622, shared by AccountLogin, UserAccountRecovery, MfaConfiguration) *****/
.error-overlay {
	border: none;
	border-radius: 6px;
	padding: 0;
	max-width: var(--overlay-width, 420px);
	width: 90%;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.error-overlay::backdrop {
	background: rgba(0, 0, 0, 0.5);
}

/* Doubled up as .error-overlay .error-overlay-content (not just
   .error-overlay-content) so these win over the page's own .alert rules
   (same margin/padding properties, equal specificity otherwise) regardless
   of which stylesheet's <link> tag happens to load first - relying on load
   order here is what caused the dialog's own background to show through as
   a gap below the alert box. */
.error-overlay .error-overlay-content {
	position: relative;
	margin: 0;
	padding: 1.5rem 2rem 1.5rem 1.5rem;
}

.error-overlay .error-overlay-close {
	position: absolute;
	top: 0.25rem;
	right: 0.5rem;
	background: none;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: #888;
}

.error-overlay .error-overlay-close:hover {
	color: #333;
}
