/* Shared ACTRA elections video player (admin modal + public directory). */

.actra-video-shell {
	background: #000;
}

.actra-video-shell video {
	display: block !important;
	margin: 0 auto !important;
	background: #000 !important;
	object-fit: contain !important;
	max-width: 100% !important;
}

.actra-video-shell.is-landscape video {
	width: 100% !important;
	height: auto !important;
	min-height: 220px;
	aspect-ratio: 16 / 9;
}

.actra-video-shell.is-portrait {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #000;
}

.actra-video-shell.is-portrait video {
	width: auto !important;
	height: min(70vh, 680px) !important;
	max-height: min(70vh, 680px) !important;
	max-width: 100% !important;
}

.actra-video-frame {
	width: 100% !important;
	height: 420px !important;
	min-height: 280px !important;
	border: 0 !important;
	display: block !important;
	background: #000 !important;
}

.actra-video-toolbar {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
	padding: 10px 12px;
	background: #0b1329;
}

.actra-video-toolbar span {
	color: #94a3b8;
	font-size: 12px;
	flex: 1;
	min-width: 160px;
	line-height: 1.4;
}

.actra-video-toolbar a {
	display: inline-block;
	background: #3d606d;
	color: #fff !important;
	padding: 8px 12px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 700;
	font-size: 12px;
}

.actra-video-empty {
	padding: 32px;
	text-align: center;
	color: #94a3b8;
	font-size: 13px;
	background: #0b1329;
}

.actra-video-modal {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	height: 100dvh !important;
	z-index: 2147483000 !important;
	background: rgba(0, 0, 0, 0.72);
	display: none;
	align-items: flex-start;
	justify-content: center;
	padding: 16px;
	overflow-y: auto;
	isolation: isolate;
	transform: none !important;
}

.actra-video-modal.is-open {
	display: flex !important;
}

.actra-video-modal-dialog {
	background: #000d1e;
	width: min(960px, 100%);
	margin: auto 0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
	position: relative;
	z-index: 1;
}

.actra-video-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	background: #000d1e;
	color: #fff;
}

.actra-video-modal-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #9bd5b8;
}

.actra-video-modal-close {
	background: transparent;
	border: 0;
	color: #cbd5e1;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.actra-video-modal-player {
	background: #000;
}

body.actra-video-modal-open {
	overflow: hidden !important;
}

body.actra-video-modal-open footer,
body.actra-video-modal-open .site-footer,
body.actra-video-modal-open #colophon,
body.actra-video-modal-open #footer,
body.actra-video-modal-open .elementor-location-footer,
body.actra-video-modal-open .et-l--footer,
body.actra-video-modal-open .fusion-footer {
	z-index: 0 !important;
}
