.ap-monitor-wrapper {
	width: 100%;
}

.ap-monitor {
	position: relative;
	display: inline-block;
	width: 100%;
	max-width: 600px;
	line-height: 0;
}

.ap-monitor--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	padding: 24px;
	text-align: center;
	background: #f0f0f1;
	border: 2px dashed #c3c4c7;
	border-radius: 8px;
	color: #50575e;
	font-size: 14px;
	line-height: 1.5;
}

.ap-monitor__frame-img {
	display: block;
	width: 100%;
	height: auto;
	position: relative;
	z-index: 2;
	pointer-events: none;
	user-select: none;
}

.ap-monitor__screen {
	position: absolute;
	z-index: 1;
	overflow: hidden;
	background: #000;
	top: 8%;
	left: 6%;
	width: 88%;
	height: 72%;
}

.ap-monitor__slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.ap-monitor__slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: translateY(-100%);
	transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
	z-index: 1;
}

.ap-monitor__slide.is-active {
	transform: translateY(0);
	z-index: 2;
}

.ap-monitor__slide.is-above {
	transform: translateY(-100%);
}

.ap-monitor__slide.is-exiting {
	transform: translateY(100%);
	z-index: 1;
}

.ap-monitor__slide.is-entering {
	transform: translateY(0);
	z-index: 2;
}

.ap-monitor__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: #000;
}

.ap-monitor.is-transitioning .ap-monitor__slide {
	pointer-events: none;
}

.ap-monitor__controls {
	position: absolute;
	z-index: 3;
	pointer-events: none;
	top: 8%;
	left: 6%;
	width: 88%;
	height: 72%;
}

.ap-monitor__mute-btn {
	position: absolute;
	top: 8px;
	inset-inline-end: 8px;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.58);
	color: #fff;
	cursor: pointer;
	pointer-events: auto;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
	transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease, border-color 0.2s ease;
	line-height: 0;
}

.ap-monitor__mute-btn:hover {
	background: rgba(0, 0, 0, 0.62);
	color: #fff;
}

.ap-monitor__mute-btn:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.75);
	outline-offset: 2px;
}

.ap-monitor__mute-btn:active {
	transform: scale(0.94);
}

.ap-monitor__mute-icon {
	display: block;
	width: 20px;
	height: 20px;
}

.ap-monitor__mute-waves,
.ap-monitor__mute-slash {
	transition: opacity 0.2s ease;
}

.ap-monitor__mute-slash {
	opacity: 0;
}

.ap-monitor__mute-btn.is-muted .ap-monitor__mute-waves {
	opacity: 0;
}

.ap-monitor__mute-btn.is-muted .ap-monitor__mute-slash {
	opacity: 1;
}
