/*
* Viasat colors:
*
* Dark Gray: #202e39
* Blue/Cyan: #009fe3
* Green:     #bed733
*/
:root {
	--vsat-gray: #202e39;
	--vsat-blue: #009fe3;
	--vsat-green: #bed733;
	--vsat-lt-gray: rgb(159, 175, 188);
}

@font-face {
	font-family: 'BootStrapIcons';
	src: url('/fonts/bootstrap-icons.woff2') format('woff2'), url('/fonts/bootstrap-icons.woff') format('woff');
}

body {
	font-family: sans-serif;
	display: flex;
	flex-direction: column;
/*	justify-content: center;*/
/*	align-items: center;*/
	min-height: 100vh;
	background-color: var(--vsat-gray) !important;
	color: #ffffff;
	margin: 10px;
/*	height: 100%;*/
}

/** Footer Styles **/
.footer {
	color: var(--vsat-lt-gray) !important;
	font-size: 0.75em;
	margin-top: auto;
	margin-bottom: 1em;
}

.footer span {
	display: inline-block;
	min-width: 15%;
	vertical-align: bottom;
}

.footer-link:link, .footer-link:active, .footer-link:visited, .footer-link:hover {
	color: var(--vsat-lt-gray) !important;
	border-bottom: 1px solid;
	text-decoration: none;
}

.footer-link:hover {
	font-size: 1.5em;
}

.camera-view {
	width: 100%;
	height: 100%;
	border: 2px solid var(--vsat-blue);
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
	overflow: hidden; /* Important for camera feed */
	margin: auto;
}

.camera-overlay {
	font-size: 3em;
	color: var(--vsat-green);
	position: absolute;
	left: 50%;
	top: 30%;
	z-index: 2;
	transform: translateX(-50%) translateY(50%);
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: var(--vsat-gray);
}

.camera-overlay img {
	height: 3em;
}

.debug_result_box {
	margin-top: 20px;
}

textarea {
	width: calc(100% - 20px);
	padding: 10px;
	border: 3px solid var(--vsat-blue);
	border-radius: 4px;
	resize: vertical;
	font-size: 16px;
}

#debug_location {
	width: calc(100% - 20px);
}

.qr-image {
	width: 50%;
	border: 3px solid var(--vsat-blue);
	border-radius: 10px;
}

/******************************************************************************/
form {
	text-align: left;
	width: 100%;
	max-width: 80%;
	padding: 15px;
	margin: 0 auto;
/*	border: 1px solid var(--vsat-blue);*/
/*	border-radius: 10px;*/
}

div.alert i.bi {
	font-size: 2em;
	vertical-align: middle;
}

form div div button i.bi {
	font-size: 1.2em;
	vertical-align: middle;
/*	display: inline-block;*/
}

/*** Bootstrap overrides*******************************************************/

.alert {
	--bs-alert-padding-y: 0.5rem;
}

/* Fix bug between table-light and alert-light colors */
.table-light {
	--bs-table-bg: #fcfcfd;
}

/* Our own default table theme */
.table-vsat {
	--bs-table-color: #ffffff;
	--bs-table-bg: var(--vsat-gray);
	--bs-table-border-color: #ffffff;
	--bs-table-striped-color: #ffffff;
	--bs-table-striped-bg: #636d74;
	--bs-table-active-color: var(--vsat-gray);
	--bs-table-active-bg: #66c5ee; /*var(--vsat-blue);*/
	--bs-table-hover-color: var(--vsat-blue); /*#ffffff;*/
	--bs-table-hover-bg: #4d5861;
	color: var(--bs-table-color);
	border-color: var(--bs-table-border-color);
}

.table-vsat td,.table-vsat th {
	width: 1%;
/*	min-width: 1%;*/
	white-space: nowrap;
}