.elementor-widget-aiop-floating-video {
	height: 0;
	margin: 0;
	padding: 0;
	overflow: visible;
}

.elementor-widget-aiop-floating-video.aiop-floating-video-widget--edit-preview {
	height: auto;
	min-height: 120px;
	padding: 12px 0;
}

.aiop-floating-video {
	position: static;
}

.aiop-floating-video__panel {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 99990;
	width: min(320px, calc(100vw - 32px));
	border: 1px solid #ffffff;
	background-color: #111827;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	opacity: 0;
	pointer-events: none;
	transform: translate3d(0, 16px, 0);
	transition: opacity 0.64s ease, transform 0.64s ease;
	overflow: hidden;
	backface-visibility: hidden;
}

.aiop-floating-video__panel.is-visible:not(.is-exiting) {
	opacity: 1;
	pointer-events: auto;
	transform: translate3d(0, 0, 0);
}

.aiop-floating-video__panel.is-exiting {
	opacity: 0;
	pointer-events: none;
	transform: translate3d(0, 16px, 0);
}

.aiop-floating-video__panel.is-hiding {
	pointer-events: none;
}

.aiop-floating-video__panel.is-dismissed {
	display: none;
}

.aiop-floating-video__panel--edit-preview,
.aiop-floating-video--edit-preview .aiop-floating-video__panel {
	position: relative;
	right: auto;
	bottom: auto;
	top: auto;
	left: auto;
	margin-left: auto;
	margin-right: 0;
	z-index: 1;
	opacity: 1;
	pointer-events: auto;
	transform: none;
	transition: none;
	outline: 1px dashed rgba(99, 102, 241, 0.45);
	outline-offset: 4px;
}

.aiop-floating-video__close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 999px;
	background-color: rgba(0, 0, 0, 0.55);
	color: #ffffff;
	cursor: pointer;
	line-height: 1;
	font-size: 22px;
	padding: 0;
}

.aiop-floating-video__close:hover,
.aiop-floating-video__close:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.aiop-floating-video__media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000000;
	overflow: hidden;
}

.aiop-floating-video__video,
.aiop-floating-video__iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

.aiop-floating-video__body {
	padding: 12px 14px 14px;
}

.aiop-floating-video__text-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.aiop-floating-video__text-link:hover .aiop-floating-video__title,
.aiop-floating-video__text-link:focus-visible .aiop-floating-video__title {
	text-decoration: underline;
}

.aiop-floating-video__subtitle {
	margin: 0 0 4px;
	font-size: 0.75rem;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.aiop-floating-video__title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.35;
	font-weight: 600;
}

@media (max-width: 767px) {
	.aiop-floating-video__panel:not(.aiop-floating-video__panel--edit-preview) {
		right: 16px;
		bottom: 16px;
		width: min(280px, calc(100vw - 32px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.aiop-floating-video__panel {
		transition: none;
		transform: none;
	}
}
