.video-capture-field {
	margin: 1em 0;
}

.video-capture-intro {
	margin-bottom: 0.75em;
	color: #50575e;
	font-size: 0.9em;
}

.video-capture-stage {
	margin-bottom: 0.5em;
}

.video-capture-preview-wrap {
	position: relative;
	margin-bottom: 0.5em;
}

.video-capture-countdown {
	position: absolute;
	bottom: 12px;
	right: 12px;
	z-index: 2;
	padding: 8px 12px;
	background: rgba(0, 0, 0, 0.78);
	color: #fff;
	border-radius: 6px;
	text-align: right;
	pointer-events: none;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.video-capture-countdown[hidden] {
	display: none !important;
}

.video-capture-countdown-label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	opacity: 0.88;
	margin-bottom: 3px;
}

.video-capture-countdown-value {
	display: block;
	font-size: 22px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	line-height: 1.2;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.video-capture-preview {
	min-height: 120px;
	background: #1a1a1a;
	border-radius: 4px;
	overflow: hidden;
}

.video-capture-preview video {
	display: block;
	max-width: 100%;
}

.video-capture-audio-preview {
	padding: 1em 1.25em;
	color: #c3c4c7;
}

.video-capture-audio-preview-label {
	margin: 0 0 0.75em;
	font-size: 0.95em;
}

.video-capture-audio-preview audio {
	display: block;
	width: 100%;
	height: 0;
	opacity: 0;
	pointer-events: none;
}

.video-capture-audio-meter {
	height: 10px;
	background: #2c3338;
	border-radius: 4px;
	overflow: hidden;
	margin-top: 0.5em;
}

.video-capture-audio-meter[hidden] {
	display: none !important;
}

.video-capture-audio-meter-fill {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #2271b1, #72aee6);
	border-radius: 4px;
	transition: width 0.05s linear;
}

.video-capture-controls {
	margin-bottom: 0.5em;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	align-items: center;
}

.video-capture-controls button {
	padding: 0.5em 1em;
	cursor: pointer;
	background: #2271b1;
	color: #fff;
	border: 1px solid #2271b1;
	border-radius: 4px;
	font-size: 14px;
}

.video-capture-controls button:hover {
	background: #135e96;
	border-color: #135e96;
}

.video-capture-controls button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.video-capture-stop-preview {
	background: #646970 !important;
	border-color: #646970 !important;
}

.video-capture-stop-preview:hover {
	background: #50575e !important;
	border-color: #50575e !important;
}

.video-capture-review .video-capture-start-over {
	padding: 0.5em 1em;
	cursor: pointer;
	border-radius: 4px;
	font-size: 14px;
	background: #fff;
	color: #b32d2e;
	border: 1px solid #b32d2e;
}

.video-capture-review .video-capture-start-over:hover {
	background: #fcf0f1;
}

.video-capture-status {
	font-size: 13px;
	color: #646970;
	margin-top: 0.25em;
}

.video-capture-status.video-capture-error {
	color: #d63638;
}

.video-capture-review {
	padding: 1em;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	margin-top: 0.5em;
}

.video-capture-review-heading {
	margin: 0 0 0.75em;
	font-size: 1em;
	font-weight: 600;
	color: #1d2327;
}

.video-capture-review-player {
	margin-bottom: 1em;
}

.video-capture-review-player video {
	display: block;
	max-width: 100%;
	border-radius: 4px;
	background: #000;
}

.video-capture-review-player audio {
	display: block;
	width: 100%;
}
