/* Exit Link Notice */

html.eln-open,
html.eln-open body {
	overflow: hidden !important;
}

.eln-overlay {
	--eln-accent: #00467f;
	position: fixed;
	inset: 0;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
	background: rgba(15, 23, 42, 0.65);
	animation: eln-fade 0.15s ease-out;
}

.eln-overlay[hidden] {
	display: none !important;
}

.eln-overlay *,
.eln-overlay *::before,
.eln-overlay *::after {
	box-sizing: border-box;
}

.eln-overlay .eln-dialog {
	position: relative;
	width: 100%;
	max-width: 520px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	margin: 0;
	padding: 32px 28px 24px;
	background: #ffffff;
	color: #1f2933;
	border-radius: 10px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	text-align: left;
	animation: eln-rise 0.18s ease-out;
}

.eln-overlay .eln-dialog:focus {
	outline: none;
}

.eln-overlay .eln-title {
	margin: 0 32px 12px 0;
	padding: 0;
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: #111827;
	text-transform: none;
	letter-spacing: normal;
	background: none;
	border: 0;
}

.eln-overlay .eln-body {
	margin: 0 0 16px;
	color: #374151;
}

.eln-overlay .eln-body p {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.55;
	color: inherit;
}

.eln-overlay .eln-body p:last-child {
	margin-bottom: 0;
}

.eln-overlay .eln-body a {
	color: var(--eln-accent);
	text-decoration: underline;
}

.eln-overlay .eln-dest {
	margin: 0 0 20px;
	padding: 10px 12px;
	background: #f3f4f6;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.4;
	color: #374151;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.eln-overlay .eln-dest[hidden] {
	display: none;
}

.eln-overlay .eln-dest-label {
	font-weight: 600;
}

.eln-overlay .eln-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 12px;
}

.eln-overlay .eln-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	min-height: 44px;
	margin: 0;
	padding: 10px 20px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: normal;
	text-decoration: none;
	border-radius: 6px;
	border: 2px solid var(--eln-accent);
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.15s ease, color 0.15s ease, filter 0.15s ease;
}

.eln-overlay .eln-cancel {
	background: #ffffff;
	color: var(--eln-accent);
}

.eln-overlay .eln-cancel:hover {
	background: #f3f4f6;
}

.eln-overlay .eln-continue {
	background: var(--eln-accent);
	color: #ffffff;
}

.eln-overlay .eln-continue:hover {
	filter: brightness(1.12);
}

.eln-overlay .eln-btn:focus-visible,
.eln-overlay .eln-close:focus-visible {
	outline: 3px solid #f59e0b;
	outline-offset: 2px;
}

.eln-overlay .eln-close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	color: #4b5563;
	border: 0;
	border-radius: 50%;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}

.eln-overlay .eln-close:hover {
	background: #f3f4f6;
	color: #111827;
}

.eln-overlay .eln-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (max-width: 480px) {
	.eln-overlay .eln-dialog {
		padding: 28px 20px 20px;
	}

	.eln-overlay .eln-title {
		font-size: 20px;
	}

	.eln-overlay .eln-actions {
		flex-direction: column-reverse;
	}

	.eln-overlay .eln-btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eln-overlay,
	.eln-overlay .eln-dialog {
		animation: none;
	}
}

@keyframes eln-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes eln-rise {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}
