@import url("./core/tokens.css");
@import url("./core/typography.css");
@import url("./components/bms_auth.css");
@import url("./components/initial_connection_modal.css");
@import url("./components/loading_replay_modal.css");
@import url("./components/confirm_slider_popup.css");
@import url("./components/preloader.css");
@import url("./layout/layout.css");
@import url("./components/info_panels.css");
@import url("./components/notifications_panel.css");
@import url("./components/actuators_panel.css");
@import url("./components/menus.css");
@import url("./components/forms.css");

.video-element {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

.cesium-container {
	pointer-events: all;
	flex: 1;
}

#token-prompt-button {
	pointer-events: all;
	z-index: 3;
	width: fit-content;
	height: 24px;
	padding: 0 8px;
	align-items: center;
	gap: 10px;
	border-radius: var(--border-radius-sm, 5px);
	background: var(--Color-dull-blue, #2b3f65);
	text-align: right;
	font-family: var(--font-family-inter);
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: -0.12px;
	flex-direction: column;
	justify-content: center;
}

#token-prompt-container {
	font-family: var(--font-family-base);
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	background-color: var(--base-100);
	pointer-events: all;
}

#token-prompt {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: var(--base-0);
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	text-align: center;
}

input[type="password"] {
	padding: 8px;
	margin: 10px 0;
	width: 200px;
}

#viewer-frame {
	display: flex;
	padding: 8px;
	align-items: stretch;
	gap: 8px;
	flex: 1;
	min-height: 0;
	align-self: stretch;
	border-radius: var(--border-radius-sm, 5px);
	/*background: var(--base-800);*/
}

#side-bar {
	display: flex;
	flex-direction: column;
	width: 320px;
	height: 100%;
	gap: 4px;
	opacity: 1;
}

.drone-card.selected {
	background-color: var(--base-600);
}

#attitude-container {
	position: relative;
	height: 124px;
	gap: 5px;
	opacity: 1;
	overflow: hidden;
	display: none;
	width: 360px;
}

#attitude-background-container {
	display: grid;
	position: absolute;
	width: 133px;
	height: 133px;
	left: calc(50% - 66px);
	top: 0px;
	overflow: hidden;
	z-index: 0;
}

.attitude-widget-background {
	position: relative;
	grid-column: 1;
	grid-row: 1;
	top: -66px;
	left: -33px;
	z-index: -1;
}

#attitude-widget-container {
	position: absolute;
	display: grid;
}

#attitude-widget-svg {
	position: relative;
	width: 100%;
	height: 100%;
	grid-column: 1;
	grid-row: 1;
	z-index: 0;
}

#attitude-widget-dial-svg {
	position: relative;
	width: 110px;
	height: 108px;
	grid-column: 1;
	grid-row: 1;
	z-index: 2;
	left: calc(50% - 55px);
	top: 13px;
}

.attitude-widget-label {
	position: relative;
	grid-column: 1;
	grid-row: 1;
	z-index: 1;
	text-align: center;
	align-self: center;
	font-family: var(--font-family-inter);
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	color: var(--base-0);
}

.attitude-widget-label-name {
	position: relative;
	grid-column: 1;
	grid-row: 1;
	z-index: 1;
	text-align: center;
	align-self: center;
	font-family: var(--font-family-inter);
	font-style: normal;
	font-weight: 600;
	color: var(--base-0);
	width: 28px;
	font-size: 12px;
	opacity: 0.6;
}

.small-font {
	font-size: 16px;
	font-weight: 400;
}

#attitude-widget-label-eas {
	right: 68%;
	text-align: right;
}

#attitude-widget-label-eas-top {
	left: -10%;
	top: 20%;
}

#attitude-widget-label-eas-bot {
	left: -10%;
	top: 50%;
}

#attitude-widget-label-agl {
	left: 68%;
	text-align: left;
}

#attitude-widget-label-agl-top {
	left: 10%;
	top: 20%;
}

#attitude-widget-label-agl-bot {
	left: 10%;
	top: 50%;
}

#attitude-widget-label-name-eas {
	transform: rotate(-90deg);
	left: calc(15% - 28px);
}

#attitude-widget-label-name-agl {
	transform: rotate(90deg);
	left: 85%;
}

.attitude-widget-gradient {
	position: relative;
	grid-column: 1;
	grid-row: 1;
	z-index: 1;
	text-align: center;
	align-self: center;
	height: 53px;
	width: 126px;
}

#attitude-widget-gradient-tr {
	background: linear-gradient(180deg, #35799b 0%, #2b2b2b00 65%);
	top: -26px;
	left: 50%;
	border-radius: 0px 53px;
	clip-path: path("m0 0a52.8 52.8 90 0152.8 52.8h72.6v-52.8h-125.4Z");
}

#attitude-widget-gradient-br {
	background: linear-gradient(180deg, #2b2b2b00 35%, #35799b 100%); /* #b20 */
	top: 26px;
	left: 50%;
	border-radius: 0px 0px 53px 0px;
	clip-path: path("m0 52.8a52.8 52.8 90 0052.8-52.8h72.6v52.8h-125.4Z");
}

#attitude-widget-gradient-bl {
	background: linear-gradient(180deg, #2b2b2b00 35%, #35799b 100%); /* #b20 */
	top: 26px;
	left: calc(50% - 126px);
	border-radius: 0px 0px 0px 53px;
	clip-path: path("m125.4 52.8a52.8 52.8 90 01-52.8-52.8h-72.6v52.8h125.4Z");
}

#attitude-widget-gradient-tl {
	background: linear-gradient(180deg, #35799b 0%, #2b2b2b00 65%);
	top: -26px;
	left: calc(50% - 126px);
	border-radius: 53px 0px 0px 0px;
	clip-path: path("m125.4 0a52.8 52.8 90 00-52.8 52.8h-72.6v-52.8h125.4Z");
}

.drone-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0px;
	flex: 1 0 0;
	align-self: stretch;
	background: var(--base-800);
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.drone-card {
	display: flex;
	width: 100%;
	flex-direction: column;
	align-items: center;
	border-radius: 5px;
	background: var(--base-800);
	pointer-events: all;
	padding: 0;
	text-align: left;
	box-sizing: border-box;
	border: none;
	padding-top: 4px;
	padding-bottom: 4px;
}

.drone-card-header {
	display: flex;
	padding: 8px 10px 4px 10px;
	align-items: center;
	gap: 8px;
	align-self: stretch;
}

.drone-card-title {
	color: var(--base-0);
	font-family: var(--font-family-inter);
	font-size: var(--font-size-13);
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

.drone-card-status {
	display: flex;
	padding: 2px 6px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	border-radius: 5px;
	background: var(--base-200);
	color: var(--base-900);
	text-align: right;
	font-family: var(--font-family-inter);
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: -0.12px;
	flex-shrink: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 60px;
}

.drone-card-state-block {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
	flex: 1 0 0;
}

.drone-card-state-block-selected {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	flex: 1 0 0;
}

.drone-card-state-connection {
	position: relative;
	width: 28px;
	height: 14px;
	display: inline-flex;
	align-items: flex-end;
	gap: 4px;
	scale: 0.7;
}

.drone-card-state-connection-icon {
	position: absolute;
	width: 10px;
	height: 10px;
	top: -2px;
	left: -5px;
}

.drone-card-state-connection-bar {
	width: 4px;
	border-radius: 1px;
	background: var(--base-400);
}

.connection-bar-first {
	height: 4px;
}

.connection-bar-second {
	height: 8px;
}

.connection-bar-third {
	height: 12px;
}

.connection-bar-fourth {
	height: 16px;
}

.drone-card-state-connection-bar.active {
	background: var(--base-0);
}

.drone-card-state-battery-icon {
	position: relative;
	width: 26px;
	height: 14px;
	clip-path: path(
		"M25.3 0c.7 0 1.15.55 1.15 1.15V3.45h2.3c.7 0 1.15.55 1.15 1.15v6.9c0 .7-.45 1.15-1.15 1.15H26.45v2.3c0 .7-.45 1.15-1.15 1.15H1.15c-.7 0-1.15-.45-1.15-1.15V1.15C0 .55.45 0 1.15 0H25.3Z"
	);
	border-radius: 1px;
	background: var(--base-400);
}

.drone-card-state-battery-level {
	width: 26px;
	height: 14px;
	background: var(--base-0);
}

.drone-card-state-battery-text {
	position: relative;
	height: 12px;
	top: 0px;
	left: 3px;
	color: var(--base-900);
	text-align: center;
	justify-content: center;
	font-family: var(--font-family-inter);
	font-size: var(--font-size-13);
	font-style: normal;
	font-weight: 700;
	line-height: 12px;
	letter-spacing: -0.6px;
}

.drone-card-state-voltage {
	position: absolute;
	top: 15px;
	right: 0px;
	width: 100px;
	text-align: right;
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}

.drone-card-state-indicator {
	display: flex;
	height: 24px;
	padding: 4px 10px;
	align-items: center;
	gap: 12px;
	align-self: stretch;
	padding-left: 46px;
	padding-top: 0px;
}

.drone-card-state {
	display: flex;
	justify-content: left;
	align-items: center;
	gap: 4px;
	min-width: 60px;
}

.drone-card-state-text {
	color: var(--base-200);
	text-align: center;
	/* card/info-label */
	font-family: var(--font-family-inter);
	font-size: var(--font-size-10);
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}

.drone-card-state-icon {
	width: 10px;
	height: 10px;
}

.drone-card-home {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 6px;
	flex: 1 0 0;
	height: 12px;
}

.drone-card-home-icon {
	width: 12px;
	height: 12px;
}

.drone-card-icon-scale {
	scale: 0.8;
}

.drone-card-home-text {
	color: var(--base-200);
	text-align: center;
	/* card/info-label */
	font-family: var(--font-family-inter);
	font-size: var(--font-size-10);
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}

.drone-card-error-list {
	display: flex;
	padding: 0 6px;
	align-items: center;
	align-content: center;
	gap: 4px;
	align-self: stretch;
	flex-wrap: wrap;
}

.drone-card-error-class {
	display: flex;
	padding: 2px 6px;
	justify-content: center;
	align-items: center;
	gap: 4px;
	border-radius: 5px;
	background: var(--base-800);
}

.drone-card-error-icon-class {
	width: 10px;
	height: 10px;
}

.drone-card-error-text-class {
	color: var(--base-0);
	text-align: right;
	/* card/error-label */
	font-family: var(--font-family-inter);
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	text-transform: uppercase;
}

#drone-card {
	display: none;
}

#drone-card-error {
	display: none;
}

#selection-container {
	display: block;
	width: 100%;
	border-radius: 5px;
	border: 2px solid var(--base-400);
}

/* Selected Drone Panel */
.selected-drone-panel {
	display: flex;
	/*width: 360px;*/
	flex-direction: column;
	align-items: stretch;
	gap: var(--spacing-sm);
	background: transparent;
}

/* Command Panel */
.command-panel {
	--gap: calc(var(--spacing-sm) + var(--spacing-xs));
	display: flex;
	flex-direction: column;
	gap: var(--gap);
	padding: 8px 10px;
	align-self: stretch;
}
/* legacy command button
.command-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 6px;
	border: none;
	border-radius: 5px;
	background: var(--base-400);
	color: var(--base-0);
	font-family: var(--font-family-inter);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.5px;
	cursor: pointer;
	text-transform: uppercase;
}

.command-btn-large {
	width: 100%;
	padding: 10px;
	font-size: 14px;
}

.command-btn-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.command-btn:hover:not(:disabled) {
	background: var(--base-300);
}

.command-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

*/
.command-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--gap);
}

.danger-zone {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--gap);
	margin-top: calc(var(--btn-height) - var(--gap)); /* Dynamic separation of 1 button high */
}

#right-panel {
	display: flex;
	flex-direction: column;
	width: 340px;
	height: 100%;
}

#hsi-block-container {
	display: none;
	width: 100%;
	height: 66px;
	overflow: hidden;
	position: relative;
}

#hsi-block-svg {
	width: 133px;
	height: 133px;
	position: absolute;
	left: 112px;
	top: 133px;
}

#hsi-block-heading {
	width: 48px;
	height: fit-content;
	position: absolute;
	text-align: center;
	color: var(--base-0);
	left: 155px;
	top: 30px;
	font-family: var(--font-family-inter);
	font-size: 26px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}

#hsi-block-indicator {
	width: 24px;
	height: 12px;
	position: absolute;
	left: 168px;
	top: 16px;
}

#video-fullscreen-button {
	pointer-events: all;
	position: absolute;
	width: 32px;
	height: 32px;
	right: 0;
	top: 0;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
}

.swap-button {
	pointer-events: all;
	position: absolute;
	width: 32px;
	height: 32px;
	right: 0;
	bottom: 0;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	z-index: 2;
	background: rgba(0, 0, 0, 0.6);
}

.swap-button:hover {
	background: rgba(0, 0, 0, 0.8);
}

.connection-lost-overlay {
	position: fixed;
	top: 75%;
	left: calc(50vw + 184px);
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.7);
	color: var(--color-red-alert);
	font-size: 2rem;
	font-weight: 700;
	padding: 1.5rem 3rem;
	border: 2px solid var(--color-red-alert);
	border-radius: 8px;
	z-index: 9999;
	pointer-events: none;
	letter-spacing: 0.1em;
}

.view-wrapper {
	width: 100%;
	height: 100%;
}

.video-element {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	cursor: pointer;
	background: var(--base-800);
	border-radius: var(--border-radius-sm);
}

.video-fullscreen-button-fullscreen {
	width: 165px !important;
	left: calc(100% - 165px) !important;
}

#video-container {
	position: relative;
	height: 200px;
	min-height: 200px;
	max-height: 200px;
	flex: 0 0 200px;
	background: #000;
	overflow: hidden;
}

#main-video-container {
	flex: 1;
	background: #000;
	position: relative;
	min-height: 0;
	display: flex;
}

#main-video-container #video-drone-label {
	display: flex;
	top: 20px;
	left: 20px;
}

#main-video-container #video-fullscreen-button {
	top: 20px;
	right: 20px;
}

#video-container:fullscreen #video-drone-label,
#main-video-container:fullscreen #video-drone-label {
	display: flex;
	top: 20px;
	left: 20px;
	z-index: 2;
	background: rgba(0, 0, 0, 0.5);
	font-size: 24px;
	height: auto;
	padding: 10px 20px;
}

#video-container:fullscreen #video-fullscreen-button,
#main-video-container:fullscreen #video-fullscreen-button {
	top: 20px;
	right: 20px;
	z-index: 2;
}

#video-drone-label {
	position: absolute;
	/* Hidden when video is small (not in fullscreen and not main view) */
	display: none;
	height: 24px;
	padding: 0 8px;
	justify-content: center;
	align-items: center;
	gap: 16px;
	border-radius: var(--border-radius-sm, 5px);
	background: var(--Base-700, #282626);
	color: var(--Base-0, #fff);
	text-align: right;
	/* card/error-label */
	font-family: Inter;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	text-transform: uppercase;
}

.video-drone-label-fullscreen {
	display: flex !important;
	height: 120px !important;
	font-size: 60px !important;
}

#sniffer-container {
	pointer-events: all;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	background: var(--base-800);
	overflow: hidden;
}

#sniffer-toolbar {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 10px;
	background: var(--base-700);
}

#sniffer-stream-select,
#sniffer-type-select {
	width: 100%;
	padding: 10px;
	background: var(--base-800);
	border: none;
	color: var(--base-0);
	font-family: var(--font-family-inter);
	font-size: 16px;
	cursor: pointer;
	box-sizing: border-box;
}

#sniffer-stream-select option,
#sniffer-type-select option {
	background: var(--base-800);
	color: var(--base-0);
}

#sniffer-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

#sniffer-message-panel {
	flex: 1;
	overflow-y: auto;
	background: var(--base-900);
	padding: 10px;
	box-sizing: border-box;
}

.sniffer-message-content {
	margin: 0;
	padding: 0;
	flex: 1;
	overflow: auto;
}

.sniffer-message-content code {
	display: block;
	font-size: 14px;
	line-height: 1.6;
	color: #7a7c80;
}

.sniffer-message-content .hljs-number {
	color: #56b6c2;
}

.sniffer-message-content .hljs-attr {
	color: #e06c75;
}

.sniffer-message-content .hljs-string {
	color: #98c379;
}

.sniffer-message-content .hljs-literal {
	color: #d19a66;
}

.sniffer-message-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.sniffer-message-time {
	color: var(--base-200);
	font-family: var(--font-family-inter);
	font-size: 13px;
}

.sniffer-message-hint {
	color: var(--base-300);
	font-family: var(--font-family-inter);
	font-size: 20px;
	font-style: italic;
}

.sniffer-special-type-separator {
	border-top: 2px solid var(--base-300);
}

.intercept-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	align-self: stretch;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 8px;
	box-sizing: border-box;
}

.intruder-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	align-self: stretch;
	border-radius: var(--border-radius-sm, 5px);
	background: transparent;
	position: relative;
	cursor: pointer;
}

.intruder-container.selected {
	background: rgba(255, 0, 0, 0.4);
}

.intruder-header {
	display: flex;
	padding: 6px;
	align-items: center;
	align-self: stretch;
}

.intruder-label {
	flex: 1 0 0;
	color: var(--Base-0, #fff);
	/* card/card-name */
	font-family: Inter;
	font-size: 20px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}

.intruder-icon {
	width: 16px;
	height: 16px;
	position: absolute;
	top: 0px;
	right: 0px;
}

.intruder-state-class {
	display: flex;
	padding: 0 6px 6px 6px;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 12px;
	align-self: stretch;
}

.intruder-state-class-labels {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
}

.intruder-state-class-text {
	color: var(--Base-0, #fff);
	text-align: center;
	/* card/info-label */
	font-family: Inter;
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}

.intruder-state-indicator {
	display: flex;
	padding: 0 6px 6px 6px;
	align-items: center;
	gap: 12px;
	align-self: stretch;
}

.intruder-eas {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2px;
}

.intruder-eas-text {
	color: var(--Base-0, #fff);
	text-align: center;
	/* card/info-label */
	font-family: Inter;
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}

.intruder-eas-icon {
	width: 10px;
	height: 8px;
}

.intruder-agl {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2px;
}

.intruder-agl-text {
	color: var(--Base-0, #fff);
	text-align: center;
	/* card/info-label */
	font-family: Inter;
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
}

.intruder-agl-icon {
	width: 10px;
	height: 8px;
	border-top: 2px solid var(--base-300);
}

/* ==========================================================================
   HSI BOTTOM PANEL
   ========================================================================== */

.hsi-bottom-panel {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 0 var(--spacing-md) var(--spacing-xl);
}

/* --- Side indicators (GS, etc.) --- */

.hsi-bottom-indicator {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 5px;
	border-radius: 10px;
	flex-shrink: 0;
	text-align: center;
	font-family: var(--font-family-inter);
	font-weight: var(--font-weight-semibold);
	width: 70px;
	gap: 2px;
}

.hsi-bottom-indicator-label {
	font-size: var(--font-size-sm);
	color: var(--base-0);
	line-height: var(--line-height-none);
	opacity: 0.5;
}

.hsi-bottom-indicator-value {
	font-size: var(--font-size-base);
	color: var(--base-0);
	line-height: var(--line-height-none);
	white-space: nowrap;
}

/* --- HSI flat compass --- */

.hsi-flat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--spacing-xs);
	position: relative;
	width: 168px;
	flex-shrink: 0;
	user-select: none;
}

.hsi-flat-heading {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-family-inter);
	font-weight: var(--font-weight-semibold);
	font-size: var(--font-size-xl);
	line-height: 26px;
}

.hsi-flat-heading-current {
	width: 36px;
	text-align: center;
	color: var(--base-0);
}

.hsi-flat-heading-course {
	width: 36px;
	text-align: center;
	color: var(--color-red-bright);
}

.hsi-flat-compass {
	position: relative;
	width: 100%;
	height: 18px;
	background: var(--base-700);
	background: linear-gradient(270deg, #141414 0%, #484747 48.08%, #141414 100%);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.hsi-flat-strip {
	display: flex;
	height: 100%;
	will-change: transform;
}

.hsi-flat-tick {
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
	width: 24px;
	flex-shrink: 0;
	height: 100%;
}

.hsi-flat-tick-line {
	width: 1.5px;
	height: 6px;
	background: var(--base-0);
	flex-shrink: 0;
}

.hsi-flat-tick-label {
	font-family: var(--font-family-inter);
	font-weight: var(--font-weight-semibold);
	font-size: var(--font-size-10);
	color: var(--base-0);
	text-align: center;
	line-height: var(--line-height-none);
}

.hsi-flat-tick-label--north {
	color: var(--color-red-bright);
}

.hsi-flat-indicator {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 8px solid var(--base-0);
	z-index: 1;
	pointer-events: none;
}

/* Video Stream specific styles */
.video-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	background: black;
}

.video-element {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.video-overlay-center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
}

.video-stop-button {
	pointer-events: all;
	position: absolute;
	width: 32px;
	height: 32px;
	right: 32px;
	top: 0;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-stop-button:hover {
	color: #ff4444;
}
