.one-on-one-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.32s ease, visibility 0.32s ease;
}

.one-on-one-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.one-on-one-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.78);
	backdrop-filter: blur(6px);
}

.one-on-one-modal__panel {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: min(100%, 560px);
	max-height: min(92vh, 820px);
	transform: translateY(12px) scale(0.98);
	transition: transform 0.32s ease;
}

.one-on-one-modal.is-open .one-on-one-modal__panel {
	transform: translateY(0) scale(1);
}

.one-on-one-modal__dialog {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	border-radius: 16px;
	border: 1px solid rgba(0, 246, 255, 0.35);
	background: #0a0a0a;
	box-shadow:
		0 0 0 1px rgba(0, 246, 255, 0.15),
		0 24px 80px rgba(0, 0, 0, 0.65),
		0 0 48px rgba(0, 246, 255, 0.12);
	padding: 1rem 1rem 1.25rem;
}

.one-on-one-modal__close {
	position: relative;
	align-self: flex-end;
	flex-shrink: 0;
	z-index: 2;
	margin: 0 0 0.65rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 0;
	color: transparent;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.one-on-one-modal__close::before {
	content: "×";
	display: block;
	color: #fff;
	font-size: 1.35rem;
	font-family: system-ui, -apple-system, sans-serif;
	line-height: 1;
	transform: translateY(-0.5px);
}

.one-on-one-modal__close:hover {
	border-color: rgba(0, 246, 255, 0.45);
}

.one-on-one-modal__close:hover::before {
	color: #00f6ff;
}

.one-on-one-modal__title {
	margin: 0 2rem 0.75rem 0;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.one-on-one-modal__embed .one-on-one-app {
	max-width: none;
	margin: 0;
}

.one-on-one-modal__embed .one-on-one-form-header h3 {
	display: none;
}

body.one-on-one-modal-open {
	overflow: hidden;
}

body.page-acl-recovery-pro.one-on-one-modal-open .aclr-landing button.btn-cta,
body.page-acl-recovery-pro.one-on-one-modal-open .aclr-landing button.btn-cta-orange {
	/* keep landing CTA styles while modal open */
}

@media (prefers-reduced-motion: reduce) {
	.one-on-one-modal,
	.one-on-one-modal__panel {
		transition: none;
	}
}
