.theme-copy-video-container {
	display: block;
	overflow: hidden;
}

.theme-copy-video-preview {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.theme-copy-custom-icon {
	width: 1em;
	height: 1em;
	object-fit: contain;
	vertical-align: middle;
}

.theme-copy-popup[hidden] {
	display: none !important;
}

.theme-copy-popup {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 1rem;
	box-sizing: border-box;
}

.theme-copy-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(0 0 0 / 0.65);
}

.theme-copy-popup__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 48rem);
	max-height: min(90vh, 56rem);
	overflow: auto;
	padding: 2rem;
	background: #fff;
	color: #222;
	border-radius: 0.75rem;
	box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 0.25);
	box-sizing: border-box;
}

.theme-copy-popup__close {
	position: sticky;
	top: 0;
	float: right;
	min-width: 2.75rem;
	min-height: 2.75rem;
	margin: -1rem -1rem 0 1rem;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 1.75rem;
	cursor: pointer;
}

.theme-copy-popup__dialog:focus-visible,
.theme-copy-popup__close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.theme-copy-popup__title {
	margin-top: 0;
}

.theme-copy-popup__content {
	clear: both;
}

@media (max-width: 600px) {
	.theme-copy-popup__dialog {
		padding: 1.5rem;
	}
}
