.ezces-cb-player {
	clear: both;
	margin: 24px 0;
}

.ezces-cb-player-header {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 12px;
}

.ezces-cb-player-header h2 {
	font-size: 1.25rem;
	margin: 0;
}

.ezces-cb-status {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	color: #50575e;
	font-size: 13px;
	line-height: 1;
	padding: 7px 9px;
}

.ezces-cb-status.is-complete {
	background: #edfaef;
	border-color: #68de7c;
	color: #0a6b1d;
}

.ezces-cb-iframe,
.ezces-cb-lightbox iframe {
	background: #fff;
	border: 1px solid #dcdcde;
	box-sizing: border-box;
	display: block;
	min-height: 520px;
	width: 100%;
}

.ezces-cb-incomplete-message {
	color: #646970;
	font-size: 14px;
	margin-top: 8px;
}

.ezces-cb-locked-button {
	cursor: not-allowed !important;
	opacity: 0.45 !important;
}

.ezces-cb-hidden-until-complete {
	display: none !important;
}

.ezces-cb-lightbox {
	background: #fff;
	bottom: 24px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
	left: 24px;
	position: fixed;
	right: 24px;
	top: 24px;
	z-index: 999999;
}

.ezces-cb-lightbox-bar {
	background: #f6f7f7;
	border-bottom: 1px solid #dcdcde;
	padding: 8px;
	text-align: right;
}

.ezces-cb-lightbox iframe {
	border: 0;
	height: calc(100% - 49px) !important;
	min-height: 0;
}

.ezces-cb-warning {
	background: #fff8e5;
	border-left: 4px solid #dba617;
	margin: 16px 0;
	padding: 12px;
}

.ezces-cb-debug {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	color: #1d2327;
	font-size: 13px;
	margin-top: 16px;
	padding: 12px;
}

.ezces-cb-debug dl {
	display: grid;
	gap: 6px 12px;
	grid-template-columns: max-content 1fr;
	margin: 8px 0 0;
}

.ezces-cb-debug dt {
	font-weight: 600;
}

.ezces-cb-debug dd {
	margin: 0;
}

.ezces-cb-debug-url {
	display: inline-block;
	max-width: 100%;
	overflow-wrap: anywhere;
	white-space: normal;
}

.ezces-cb-debug-raw {
	margin-top: 10px;
}

.ezces-cb-debug-raw pre {
	background: #fff;
	border: 1px solid #dcdcde;
	max-height: 280px;
	overflow: auto;
	padding: 10px;
	white-space: pre-wrap;
}

@media (max-width: 782px) {
	.ezces-cb-player-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.ezces-cb-iframe {
		min-height: 460px;
	}

	.ezces-cb-lightbox {
		bottom: 8px;
		left: 8px;
		right: 8px;
		top: 8px;
	}
}
