/* Splash page template */
.cfn-splash-body {
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

.cfn-splash {
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
}

/* Text link styling inside Elementor Text Editor widgets */
body .elementor-widget-text-editor a {
	color: #fff;
	text-decoration: underline;
	transition: color 0.15s ease;
}

body .elementor-widget-text-editor a:hover,
body .elementor-widget-text-editor a:focus,
body .elementor-widget-text-editor a:active {
	color: var(--e-global-color-accent);
	text-decoration: none;
}

/* Acceptance field → link + modal */
.elementor-field-type-acceptance[data-cfn-acceptance-ready] .cfn-acceptance-link {
	cursor: pointer;
}

body.cfn-modal-open {
	overflow: hidden;
}

.cfn-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.cfn-modal.is-open {
	display: flex;
}

.cfn-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.cfn-modal__dialog {
	position: relative;
	background: #fff;
	color: #111;
	max-width: 640px;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
	padding: 2rem;
	border-radius: 4px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cfn-modal__title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
}

.cfn-modal__body {
	line-height: 1.6;
}

.cfn-modal .cfn-modal__close,
.cfn-modal .cfn-modal__close:focus,
.cfn-modal .cfn-modal__close:active {
	position: absolute;
	top: 0.5rem;
	right: 0.75rem;
	background: none;
	border: 0;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	color: var(--e-global-color-secondary);
	transition: color 0.15s ease;
}

.cfn-modal .cfn-modal__close:hover {
	color: var(--e-global-color-accent);
}
