/*@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&display=swap');*/
/*@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&display=swap');*/
/*@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;1,400&display=swap');*

/* Oxygen font */
/* Light */
@font-face {
	font-family: 'Oxygen';
	font-style: 'light';
	font-weight: 300;
	font-display: swap;
	src: url('../fonts/Oxygen/Oxygen-Light.ttf') format('truetype');
}

/* Normal */
@font-face {
	font-family: 'Oxygen';
	font-style: 'normal';
	font-weight: 300;
	font-display: swap;
	src: url('../fonts/Oxygen/Oxygen-Regular.ttf') format('truetype');
}

/* Bold */
@font-face {
	font-family: 'Oxygen';
	font-style: 'bold';
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/Oxygen/Oxygen-Bold.ttf') format('truetype');
}


/* Rubik font */
/* Light */
@font-face {
	font-family: 'Rubik';
	font-style: 'light';
	font-weight: 300;
	font-display: swap;
	src: url('../fonts/Rubik/Rubik-Light.ttf') format('truetype');
}

/* Normal */
@font-face {
	font-family: 'Rubik';
	font-style: 'normal';
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/Rubik/Rubik-Regular.ttf') format('truetype');
}

/* Italic */
@font-face {
	font-family: 'Rubik';
	font-style: 'italic';
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/Rubik/Rubik-Italic.ttf') format('truetype');
}

/* Bold */
@font-face {
	font-family: 'Rubik';
	font-style: 'bold';
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/Rubik/Rubik-Bold.ttf') format('truetype');
}


/* Open Sans font */
/* Light */
@font-face {
	font-family: 'Open Sans';
	font-style: 'light';
	font-weight: 300;
	font-display: swap;
	src: url('../fonts/OpenSans/OpenSans-Light.ttf') format('truetype');
}

/* Normal */
@font-face {
	font-family: 'Open Sans';
	font-style: 'normal';
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/OpenSans/OpenSans-Regular.ttf') format('truetype');
}

/* Italic */
@font-face {
	font-family: 'Open Sans';
	font-style: 'italic';
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/OpenSans/OpenSans-Italic.ttf') format('truetype');
}

/* Bold */
@font-face {
	font-family: 'Open Sans';
	font-style: 'bold';
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/OpenSans/OpenSans-Bold.ttf') format('truetype');
}

@font-face {
	font-family: 'Material Icons Small';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/Material_Symbols_Rounded/static/MaterialSymbolsRounded-Regular.ttf') format('truetype');
}

.material-icons-small {
	font-family: 'Material Icons Small';
	font-weight: normal;
	font-style: normal;
	font-size: 18px; /* Preferred icon size */
	display: inline-block;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;

	/* Support for all WebKit browsers. */
	-webkit-font-smoothing: antialiased;
	/* Support for Safari and Chrome. */
	text-rendering: optimizeLegibility;

	/* Support for Firefox. */
	-moz-osx-font-smoothing: grayscale;

	/* Support for IE. */
	font-feature-settings: 'liga';
}

@font-face {
	font-family: 'Material Icons';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/Material_Symbols_Rounded/static/MaterialSymbolsRounded-Regular.ttf') format('truetype');
}

.material-icons {
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	font-size: 24px; /* Preferred icon size */
	display: inline-block;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;

	/* Support for all WebKit browsers. */
	-webkit-font-smoothing: antialiased;
	/* Support for Safari and Chrome. */
	text-rendering: optimizeLegibility;

	/* Support for Firefox. */
	-moz-osx-font-smoothing: grayscale;

	/* Support for IE. */
	font-feature-settings: 'liga';
}

@font-face {
	font-family: 'Material Icons BIG';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/Material_Symbols_Rounded/static/MaterialSymbolsRounded-Regular.ttf') format('truetype');
}

.material-icons-big {
	font-family: 'Material Icons BIG';
	font-weight: normal;
	font-style: normal;
	font-size: 80px; /* Preferred icon size */
	display: inline-block;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;

	/* Support for all WebKit browsers. */
	-webkit-font-smoothing: antialiased;
	/* Support for Safari and Chrome. */
	text-rendering: optimizeLegibility;

	/* Support for Firefox. */
	-moz-osx-font-smoothing: grayscale;

	/* Support for IE. */
	font-feature-settings: 'liga';
}

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

body {
	line-height: 1;
}

ol,
ul {
	list-style: circle;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

a {
	text-decoration: none;
}

a:active {
	text-decoration: none;
}

a:visited {
	text-decoration: none;
}



.divcol {
	display: flex;
	flex-direction: column;
}

.divrow {
	display: flex;
	flex-direction: row;
}

.disallowed:hover {
	cursor: not-allowed;
}

.clickable:hover {
	cursor: pointer;
}

.centered {
	text-align: center;
}

.bolded {
	font-weight: bold;
}

.italics {
	font-weight: bold;
}

.underlined {
	text-decoration: underline;
}

.redbutton {
	font-weight: bold;
	transition: all .0s;
}


.bluebutton {
	font-weight: bold;
	transition: all .0s;
}


.greenbutton {
	font-weight: bold;
	transition: all .0s;
}


.noselect {
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

:root {
	--vap-black: rgb(0, 0, 0);
	--vap-white: rgb(255, 255, 255);
	--vap-off-white: #f5f5f7;
	--vap-blue: rgb(0, 12, 94);
	--vap-light-blue: rgb(0, 17, 128);
	--vap-confirm-blue: rgb(30, 55, 219);
	--vap-pale-blue: rgb(63, 82, 136);
	--vap-red: rgb(255, 46, 0);
	/*--vap-green: rgb(4,167,119);*/
	--vap-green: rgb(2, 54, 24);
	--vap-yellow: rgb(202, 162, 0);
	--vap-dark-gray: rgb(71, 78, 86);
	--vap-gray: rgb(113, 124, 137);
	--vap-light-gray: rgb(240, 240, 240);
	--vap-light-med-gray: rgb(220, 220, 220);
	--vap-med-gray: rgb(200, 200, 200);
	--vap-med-dark-gray: rgb(160, 160, 160);
	--vap-silver: rgb(234, 235, 239);

	/* Transparent colors */
	--vap-red-3q: rgba(255, 46, 0, 0.75);
	--vap-red-half: rgba(255, 46, 0, 0.5);
	--vap-red-1q: rgba(255, 46, 0, 0.25);

	--font-family: 'Oxygen', 'Rubik', Tahoma, Helvetica, Georgia, Garamond, Arial, Verdana, 'Trebuchet MS';

	/* Theme-specific colors (Light Mode defaults) */
	--desktop-background-color: #ffffff;
	--input-background-color: #ffffff;
	--text-primary: rgb(0, 0, 0);
	--text-secondary: rgb(113, 124, 137);
	--border-color: rgb(113, 124, 137);
	--card-background: #ffffff;
	--hover-background: rgb(200, 200, 200);

	/* Toast notification backgrounds */
	--toast-error-bg: rgb(155, 30, 20);
	--toast-success-bg: rgb(10, 78, 28);
	--toast-success-border: rgb(50, 185, 80);
	--toast-warning-bg: rgb(144, 105, 0);
	--toast-info-bg: rgb(19, 36, 162);

	/* Z-index scale (theme-invariant) */
	--z-elevated: 10;        /* small local overlays, close buttons */
	--z-panel: 100;          /* loading overlay, full-page panels */
	--z-navbar: 500;
	--z-modal-backdrop: 1000;
	--z-modal: 1010;
	--z-toast: 1200;         /* must stay above navbar */
}

/* Dark Mode Theme */
[data-theme="dark"],
body.dark-mode {
	/* Inverted base colors - softer white */
	--vap-black: rgb(229, 229, 234);
	--vap-white: rgb(18, 18, 18);
	--vap-off-white: rgb(28, 28, 30);

	/* Adjusted blues for dark mode */
	--vap-blue: rgb(100, 149, 237);
	--vap-light-blue: rgb(135, 169, 255);
	--vap-confirm-blue: rgb(90, 130, 255);
	--vap-pale-blue: rgb(140, 170, 220);

	/* Keep red vibrant */
	--vap-red: rgb(255, 69, 58);

	/* Adjusted green */
	--vap-green: rgb(48, 209, 88);

	/* Adjusted yellow */
	--vap-yellow: rgb(255, 214, 10);

	/* Dark mode grays - softer */
	--vap-dark-gray: rgb(200, 200, 200);
	--vap-gray: rgb(152, 152, 157);
	--vap-light-gray: rgb(44, 44, 46);
	--vap-light-med-gray: rgb(58, 58, 60);
	--vap-med-gray: rgb(72, 72, 74);
	--vap-med-dark-gray: rgb(99, 99, 102);
	--vap-silver: rgb(44, 44, 46);

	/* Transparent colors for dark mode */
	--vap-red-3q: rgba(255, 69, 58, 0.75);
	--vap-red-half: rgba(255, 69, 58, 0.5);
	--vap-red-1q: rgba(255, 69, 58, 0.25);

	/* Theme-specific colors for dark mode - softer white */
	--desktop-background-color: rgb(18, 18, 18);
	--input-background-color: rgb(28, 28, 30);
	--text-primary: rgb(229, 229, 234);
	--text-secondary: rgb(152, 152, 157);
	--border-color: rgb(58, 58, 60);
	--card-background: rgb(28, 28, 30);
	--hover-background: rgb(58, 58, 60);

	/* Toast notification backgrounds - slightly brighter to pop against dark UI */
	--toast-error-bg: rgb(130, 22, 15);
	--toast-success-bg: rgb(15, 100, 40);
	--toast-success-border: rgb(48, 209, 88);
	--toast-warning-bg: rgb(125, 78, 8);
	--toast-info-bg: rgb(28, 52, 175);
}

body {
	display: flex;
	flex-direction: column;

	min-height: 99vh;
	width: 100%;
	position: relative;
	background-color: var(--desktop-background-color);
	font-family: 'Oxygen', 'Rubik', Tahoma, Helvetica, Georgia, Garamond, Arial, Verdana, 'Trebuchet MS';
	color: var(--text-primary);

	-ms-overflow-style: none; /* Internet Explorer 10+ */
	scrollbar-width: none; /* Firefox */
}

body::-webkit-scrollbar {
	display: none;
}

/* Dark mode text and element overrides */
[data-theme="dark"] {
	color-scheme: dark;
}

[data-theme="dark"] body,
[data-theme="dark"] div,
[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] label,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
	color: var(--text-primary);
}

/* Button Types */
.elegant-button {
	position: relative;
	width: 150px;
	height: 40px;
	margin-bottom: 10px;

	border-style: solid;
	border-width: 1px;
	border-color: var(--border-color);
	border-radius: 20px;
	font-size: 14px;
	background-color: var(--card-background);
	color: var(--text-primary);

	transition: all .2s ease;
}

.elegant-button:hover {
	background-color: var(--hover-background);
	cursor: pointer;
}

.elegant-button:hover>.red-on-hover {
	color: var(--vap-red);
	font-weight: bold;
}

.elegant-button>.selected {
	background-color: var(--hover-background);
}

.elegant-button-inline {
	display: inline-block;
	position: relative;
	height: 24px;
	padding: 0 10px;

	border-style: solid;
	border-width: 1px;
	border-color: var(--border-color);
	border-radius: 20px;
	font-size: 14px;

	transition: all .2s ease;

	background-color: var(--card-background);
	color: var(--text-primary);
}

.elegant-button-inline:hover {
	background-color: var(--hover-background);
	cursor: pointer;
}

.elegant-button-inline>.selected {
	background-color: var(--hover-background);
}

.elegant-button-icon {
	position: relative;
	width: 40px;
	height: 40px;
	margin-bottom: 2vh;

	border-style: solid;
	border-width: 1px;
	border-radius: 20px;
	font-size: 14px;

	/* Centering for Icons */
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	box-sizing: border-box;
	display: -webkit-box;
	display: -webkit-flex;
	justify-content: center;

	transition: all .2s ease;
}

.elegant-button-icon:hover {
	background-color: var(--vap-med-gray);
	cursor: pointer;
}

.elegant-button-icon>.selected {
	background-color: var(--vap-med-gray);
}

.elegant-button-both {
	position: relative;
	width: 150px;
	height: 40px;

	border-style: solid;
	border-width: 1px;
	border-radius: 20px;
	font-size: 14px;

	/* Centering for Icons */
	-webkit-box-align: center;
	-webkit-align-items: center;
	align-items: center;
	box-sizing: border-box;
	display: -webkit-box;
	display: -webkit-flex;
	justify-content: center;

	transition: all .2s ease;
}

.elegant-button-both:hover {
	background-color: var(--vap-med-gray);
	cursor: pointer;
}

.elegant-button-both:hover>.underline-on-hover {
	text-decoration: underline;
}

.elegant-button-both:hover>.red-on-hover {
	color: var(--vap-red);
}

.elegant-button-both>.selected {
	background-color: var(--vap-med-gray);
}

.button-trio {
	display: block;
	width: 100%;
	container-type: inline-size;
	container-name: button-trio;

	>div {
		/* margin: 10px 0; */
		display: flex;
		align-items: center;
		justify-content: center;

		>input {
			display: none;
			width: 0;

			&:checked+label {
				background-color: var(--vap-med-gray);
			}

			&:checked+.redbutton,
			&:hover+.redbutton {
				background-color: #D64933;
				color: #FFFFFFCC;
				transition: all .0s;
			}

			&:checked+.bluebutton,
			&:hover+.bluebutton {
				background-color: #3E78B2;
				color: #FFFFFFCC;
				transition: all .0s;
			}

			&:checked+.greenbutton,
			&:hover+.greenbutton {
				background-color: #0C7C59;
				color: #FFFFFFCC;
				transition: all .0s;
			}
		}

		>label {
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 2px;
			width: auto;
			height: auto;
			/* padding: 4px 10px; */
			/* margin: 10px 0; */
			border-color: black;
			border-width: 2px;
			margin: 0;
		}

		> :nth-child(2) {
			border-radius: 0;
			border-bottom-left-radius: 25px;
			border-top-left-radius: 25px;
			border-left-width: 1px;
			border-right-width: 1px;
		}

		> :nth-child(4) {
			border-radius: 0;
			/* margin: 0 -5px; */
		}

		> :nth-child(6) {
			border-radius: 0;
			border-bottom-right-radius: 25px;
			border-top-right-radius: 25px;
			border-left-width: 1px;
			border-right-width: 1px;
		}
	}
}

@media (width <=1200px) {
	.button-trio {
		/* display: inline-block; */
		/* max-width: 100%; */
		overflow-x: clip;
		white-space: nowrap;

		>div {
			margin: 0px;
			white-space: nowrap;
		}
	}
}

.button-trio-label-icon.material-icons {
	display: none;
	font-size: 16px;
	line-height: 1;
}

/* Deny/Auto/Allow swap to icons (close/check_indeterminate_small/check) once
   their containing cell (see apps_edit.css) gets too narrow for the text. */
@container button-trio-cell (max-width: 190px) {
	.button-trio-label-text {
		display: none;
	}

	.button-trio-label-icon.material-icons {
		display: inline-flex;
	}
}

@container button-trio (max-width: 110px) {
	.button-trio>div {
		flex-direction: column-reverse;

		> :nth-child(2) {
			border-radius: 0;
			border-bottom-left-radius: 25px;
			border-bottom-right-radius: 25px;
			border-left-width: 1px;
			border-right-width: 1px;
		}

		> :nth-child(4) {
			border-radius: 0;
			/* margin: 0 -5px; */
			border-left-width: 2px;
			border-right-width: 2px;
			/* border-width: 0px 1px 0px 1px; */
		}

		> :nth-child(6) {
			border-radius: 0;
			border-top-right-radius: 25px;
			border-top-left-radius: 25px;
			border-left-width: 1px;
			border-right-width: 1px;
		}
	}
}


/* Input fields */
.elegant-input {
	position: relative;
	width: 100%;
	height: 50px;
	font-size: 14px;
	border-radius: 10px;
	margin-bottom: 2vh;
	scrollbar-color: grey transparent;
}

.elegant-input-inline {
	position: relative;
	height: 20px;
	font-size: 14px;
	border-radius: 10px;
	border: 1px solid var(--vap-med-gray);
	text-align: center;
	background-color: var(--input-background-color);
	color: var(--text-primary);
}

.elegant-input-field {
	width: calc(100% - 10px);
	height: inherit;
	border-radius: 10px;
	margin: 0;
	padding: 0 0 0 10px;
	border: 1px solid var(--vap-gray);
	background-color: var(--input-background-color);
	color: var(--text-primary);
}

.elegant-input-field:focus {
	outline: none;
	border: 2px solid var(--vap-blue);
	;
}

.elegant-input-field:focus,
.elegant-input-field:not(:placeholder-shown) {
	height: calc(100% - 10px);
	padding-top: 10px;
}


.elegant-input-placeholder {
	position: absolute;
	font-size: 14px;
	left: 10px;
	top: calc((100% - 11px) / 2);
	background-color: rgba(255, 255, 255, 0.0);
	color: var(--vap-gray);

	transition: 0.25s ease;
	-o-transition: 0.25s ease;
	-moz-transition: 0.25s ease;
	-webkit-transition: 0.25s ease;
}

.elegant-input-field:focus~.elegant-input-placeholder,
.elegant-input-field:not(:placeholder-shown)~.elegant-input-placeholder {
	font-size: 10px;
	top: 7px;

	transition: 0.25s ease;
	-o-transition: 0.25s ease;
	-moz-transition: 0.25s ease;
	-webkit-transition: 0.25s ease;
}


/* Disabled/fake elegant input */
.elegant-input-field-blocked {
	width: calc(100% - 10px);
	height: inherit;
	border-radius: 10px;
	margin: none;
	padding: 0 0 0 10px;
	border: 1px solid var(--vap-gray);
	background-color: var(--vap-light-gray);
	color: var(--vap-gray);
}


/* Elegant slider toggle */
.elegant-input-checkbox {
	width: 0;
	height: 0;
	opacity: 0;
}

.elegant-input-toggle {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 16px;
}

/* Hide default HTML checkbox */
.elegant-input-toggle .elegant-input-checkbox {
	opacity: 0;
	width: 0;
	height: 0;
}

/* The slider */
.elegant-input-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0px;
	background-color: var(--vap-gray);
	-webkit-transition: .4s;
	transition: .4s;
}

.elegant-input-slider:before {
	position: absolute;
	content: "";
	height: 12px;
	width: 12px;
	left: 2px;
	bottom: 2px;
	background-color: #FFFFFF;
	-webkit-transition: .4s;
	transition: .4s;
}

.elegant-input-toggle .elegant-input-checkbox:checked+.elegant-input-slider {
	background-color: var(--vap-blue);
}

.elegant-input-toggle .elegant-input-checkbox:focus+.elegant-input-slider {
	box-shadow: 0 0 1px var(--color-primary);
}

.elegant-input-toggle .elegant-input-checkbox:checked+.elegant-input-slider:before {
	-webkit-transform: translateX(14px);
	-ms-transform: translateX(14px);
	transform: translateX(14px);
}

/* Rounded sliders */
.elegant-input-slider-round {
	border-radius: 34px;
}

.elegant-input-slider-round:before {
	border-radius: 50%;
}

.elegant-input-range-slider {
	width: 50%;
}


.elegant-input-toggle-group {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: calc(100% - 20px);
	height: 50px;
	border-radius: 10px;
	margin: none;
	padding: 10px;
	box-sizing: border-box;
	border: 1px solid var(--vap-gray);
	background-color: var(--input-background-color);
	overflow-x: hidden;
}

.elegant-input-toggle-label {
	font-size: 16px;
}


/* Dropdowns */
.elegant-dropdown {
	position: relative;
	width: 100%;
	height: 50px;
	font-size: 14px;
	border-radius: 10px;
	margin: none;
	margin-bottom: 2vh;
	border-radius: 10px;
	padding: 0 0 0 10px;
	border: 1px solid var(--vap-gray);
	background-color: var(--input-background-color);
	color: var(--text-primary);
}

.elegant-dropdown-inline {
	position: relative;
	height: 20px;
	font-size: 14px;
	border-radius: 10px;
	padding: 0 5px;
	border: 1px solid var(--vap-med-gray);
	background-color: var(--input-background-color);
}



/* Time */
.elegant-time-group {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: calc(100% - 20px);
	height: 50px;
	border-radius: 10px;
	margin: none;
	padding: 10px;
	box-sizing: border-box;
	border: 1px solid var(--vap-gray);
	background-color: var(--input-background-color);
}

.elegant-input-time-label {
	font-size: 16px;
}

.elegant-time-entries-group {
	width: 40%;
	height: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	gap: 2px;
}

.elegant-time-group .elegant-dropdown {
	width: 25%;
	height: 90%;
	margin-bottom: 0;
	padding: 0;
	text-align: center;
}



/* Elegant error */
.elegant-error {
	position: relative;
	width: 380px;
	display: none;
	opacity: 0;
	align-items: center;
	min-height: 30px;
	line-height: 20px;
	font-size: 14px;
	background-color: var(--vap-red-1q);
	border: 2px solid var(--vap-red);
	border-radius: 10px;
	margin-bottom: 2vh;
	padding: 10px;
}

.elegant-error-icon {
	width: 20px;
	max-width: 20px;
}

.elegant-error-message {
	margin-left: 10px;
}


.filter-button-singular-input {
	display: none !important;
}

.filter-button-singular {
	display: inline-block;
	opacity: 1;
	height: 20px;
	border: 1px solid var(--vap-gray);
	border-radius: 25px;
	padding: 10px 20px 10px 20px;
	line-height: 20px;
	font-size: 14px;

	transition: 0.15s ease;
	-o-transition: 0.15s ease;
	-moz-transition: 0.15s ease;
	-webkit-transition: 0.15s ease;
}

.filter-button-singular:hover {
	cursor: pointer;
}

.filter-button-singular-input:checked+.filter-button-singular {
	opacity: 1;
	background-color: var(--vap-blue);
	color: var(--vap-white);

	transition: 0.15s ease;
	-o-transition: 0.15s ease;
	-moz-transition: 0.15s ease;
	-webkit-transition: 0.15s ease;
}


.create-button-standard {
	margin: 0;
	border: 1px solid var(--vap-black);
}

.create-button-standard:hover {
	filter: invert(0);
	background-color: var(--vap-blue);
	color: white;
}

.create-button-standard:hover>.underline-on-hover>.red-on-hover {
	color: var(--vap-red);
	font-weight: bold;
}


.ownership-filters-standard {
	display: flex;
}

.ownership-filters-standard>label:first-of-type {
	margin: 0 0 0 2vw;
	margin-right: 0;
	border-radius: 20px 0 0 20px;
}

.ownership-filters-standard>label:nth-of-type(2n) {
	margin: 0;
	border-radius: 0;
	border-left: 0;
	border-right: 0;
}

.ownership-filters-standard>label:last-of-type {
	border-radius: 0 20px 20px 0;
	margin: 0;
}

.ownership-filters-standard>input[name="ownership_filter"] {
	display: none;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
}

.ownership-filters-standard>input[name="ownership_filter"]:checked+label {
	background-color: var(--vap-med-gray);
}

/* On mobile the filters get their own full-width row, split into equal segments */
@media (width <=700px) {

	.ownership-filters-standard {
		flex: 1 1 100%;
		min-width: 0;
	}

	.ownership-filters-standard>label {
		flex: 1 1 0;
		width: auto;
		min-width: 0;
		padding: 0 6px;
		text-align: center;
		line-height: 1.1;
	}

	.ownership-filters-standard>label:first-of-type {
		margin-left: 0;
	}

}

@media (width <=480px) {

	.ownership-filters-standard>label>.material-icons {
		display: none;
	}

}


/* Mobile card tables: add .mobile-card-table to a table (and data-label to its
   cells) so each row stacks into a labelled card on mobile instead of
   overflowing horizontally. Selectors are scoped under #platform-content-column
   so they outrank DataTables' own cell styles. */
@media (width <=700px) {

	#platform-content-column table.mobile-card-table>thead {
		display: none;
	}

	#platform-content-column table.mobile-card-table,
	#platform-content-column table.mobile-card-table>tbody,
	#platform-content-column table.mobile-card-table>tbody>tr {
		display: block;
		width: 100% !important;
		box-sizing: border-box;
	}

	#platform-content-column table.mobile-card-table {
		border: none;
	}

	#platform-content-column table.mobile-card-table>tbody>tr {
		margin-bottom: 12px;
		padding: 6px 0;
		border: 1px solid var(--vap-gray);
		border-radius: 8px;
		overflow: hidden;
	}

	#platform-content-column table.mobile-card-table>tbody>tr>td {
		display: flex;
		align-items: center;
		gap: 12px;
		width: auto !important;
		min-width: 0 !important;
		padding: 6px 12px;
		border: none;
		text-align: left;
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: normal;
	}

	#platform-content-column table.mobile-card-table>tbody>tr>td[data-label]::before {
		content: attr(data-label);
		flex: 0 0 110px;
		font-weight: bold;
		overflow-wrap: normal;
	}

	/* Action cells (edit/delete buttons) sit side by side at the bottom of the card */
	#platform-content-column table.mobile-card-table>tbody>tr>td.mobile-card-actions {
		display: inline-flex;
		padding-top: 10px;
	}

	/* DataTables' "no data" message */
	#platform-content-column table.mobile-card-table>tbody>tr>td.dt-empty {
		justify-content: center;
		padding: 24px 12px;
		text-align: center;
	}

	/* Cells that only make sense as a table column (e.g. a lone "=") */
	#platform-content-column table.mobile-card-table>tbody>tr>td.mobile-card-hide {
		display: none;
	}

}


/* Bubble-popping save/cancel buttons */

.save-bar {
	position: fixed;
	bottom: -20px;
	right: 5vw;
	height: 70px;

	transition: 0.3s ease;
}

.save-bar:hover {
	bottom: -10px;
}

.save-bar-submit {
	height: 60px;

	border-top-right-radius: 10px;
	background-color: var(--vap-light-blue);
	box-shadow: 4px 4px 12px #00000015, -4px -4px 12px #00000015, 2px -2px 12px #00000015, -2px 2px 12px #00000015;

	transition: 0.3s ease;
}

.save-bar-submit:hover {
	height: 70px;
	border-top-left-radius: 10px;
}

.save-bar:has(.save-bar-submit:hover)>.save-bar-cancel {
	margin-top: 10px;
}

.save-bar-cancel {
	height: 60px;

	border-top-left-radius: 10px;
	background-color: var(--vap-gray);
	box-shadow: 4px 4px 12px #00000015, -4px -4px 12px #00000015, 2px -2px 12px #00000015, -2px 2px 12px #00000015;

	transition: 0.3s ease;
}

.save-bar-cancel:hover {
	height: 70px;
	border-top-right-radius: 10px;
}

.save-bar:has(.save-bar-cancel:hover)>.save-bar-submit {
	margin-top: 10px;
}

.save-bar-submit-button {
	height: 50px;
	width: 10vw;
	min-width: 170px;

	background-color: var(--vap-light-blue);
	color: var(--vap-white);
	font-weight: bold;
	text-align: center;
	font-size: 110%;
	font-family: var(--font-family);
	border: none;
	border-top-right-radius: 10px;

	transition: 0.3s ease;
}

.save-bar-submit-button:hover {
	height: 60px;
	padding-bottom: 10px;
	border-top-left-radius: 10px;
}

.save-bar-cancel-button {
	height: 50px;
	width: 10vw;
	min-width: 170px;

	background-color: var(--vap-gray);
	color: var(--vap-white);
	font-weight: bold;
	text-align: center;
	font-size: 110%;
	font-family: var(--font-family);
	border: none;
	border-top-left-radius: 10px;
	cursor: pointer;

	transition: 0.3s ease;
}

.save-bar-cancel-button:hover {
	height: 60px;
	padding-bottom: 10px;
	border-top-right-radius: 10px;
}


.save-bar-submit-button-bubble {
	height: 50px;
	width: 10vw;
	min-width: 170px;
	margin: 5px;

	background-color: var(--vap-light-blue);
	color: var(--vap-white);
	font-weight: bold;
	text-align: center;
	font-size: 110%;
	font-family: var(--font-family);
	border: none;
	border-radius: 15px;
	box-shadow: 4px 4px 12px #00000015, -4px -4px 12px #00000015, 2px -2px 12px #00000015, -2px 2px 12px #00000015;

	transition: 0.3s ease;
}

.save-bar-submit-button-bubble:hover {
	height: 60px;
	width: calc(10vw + 10px);
	min-width: 180px;
	padding: 5px;
	margin: 0px;
	filter: brightness(170%);
}




.save-bar-inline {
	width: 100%;
	height: 60px;
	background-color: none;
}

.save-bar-inline-submit-button {
	height: 50px;
	width: 10vw;
	min-width: 170px;

	box-shadow: 4px 4px 12px #00000015, -4px -4px 12px #00000015, 2px -2px 12px #00000015, -2px 2px 12px #00000015;
	background-color: var(--vap-light-blue);
	color: var(--vap-white);
	font-weight: bold;
	text-align: center;
	font-size: 110%;
	font-family: var(--font-family);
	border: none;
	border-radius: 10px;

	transition: 0.3s ease;

	padding: 0;
	margin: 5px;
}

.save-bar-inline-submit-button:hover {
	height: 60px;
	width: calc(10vw + 10px);
	min-width: 180px;

	padding: 5px;
	margin: 0;
}

.save-bar-inline-cancel-button {
	height: 50px;
	width: 10vw;
	min-width: 170px;

	box-shadow: 4px 4px 12px #00000015, -4px -4px 12px #00000015, 2px -2px 12px #00000015, -2px 2px 12px #00000015;
	background-color: var(--vap-gray);
	color: var(--vap-white);
	font-weight: bold;
	text-align: center;
	font-size: 110%;
	font-family: var(--font-family);
	border: none;
	border-radius: 10px;

	cursor: pointer;

	transition: 0.3s ease;

	padding: 0;
	margin: 5px;
}

.save-bar-inline-cancel-button:hover {
	height: 60px;
	width: calc(10vw + 10px);
	min-width: 180px;

	padding: 5px;
	margin: 0;
}



/* Copyright */
#visual-action-copyright {
	margin: auto 0 40px 0;
	padding-top: 20px;
	width: 200px;
	font-size: 12px;
	align-self: center;
	text-align: center;
	color: var(--vap-gray);
}

#visual-action-copyright:hover {
	cursor: pointer;
}

#platform-content-column {
	display: grid;
	grid-template-columns: minmax(0, .25fr) minmax(0, 1fr) minmax(0, .25fr);
}

/* Standard elements */
#body-container {
	height: fit-content;
	grid-column: 2/3;
}


@media (width <=700px) {

	#body-container,
	.page-header {
		grid-column: 1/4;
	}
}

#module-container {
	width: 100%;
	height: 100%;
}

.page-header {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	margin-bottom: 50px;
}

.page-title {
	width: 100%;
	/* min-height (not height) so long titles wrap above the underline instead of over it */
	min-height: 25px;
	padding-bottom: 4px;
	line-height: 1.15;
	overflow-wrap: anywhere;
	font-weight: bold;
	font-size: 24px;
	border-bottom: 1px solid var(--vap-gray);
}

.page-subtitle {
	width: 100%;
	height: 25px;
	margin-bottom: 30px;
}


/* Form validation - inline field errors */
.elegant-field-error {
	color: var(--vap-red);
	font-size: 12px;
	margin-top: -1vh;
	margin-bottom: 1vh;
	padding-left: 10px;
}

.elegant-field-error ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Keep an inline error attached to the field it describes. .elegant-input's
   2vh bottom margin is tuned for the gap between fields, so on a tall viewport
   it strands the message well below the input it refers to. Scoped to
   .has-error, so spacing is unchanged for every field without an error. */
.elegant-input.has-error {
	margin-bottom: 0;
}

.elegant-input.has-error + .elegant-field-error {
	margin-top: 4px;
	margin-bottom: 2vh;
}

.elegant-input.has-error .elegant-input-field {
	border: 2px solid var(--vap-red);
}

/* Form validation - toast banners (flash messages, non-field errors) */
.elegant-toast-container {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 400px;
}

.elegant-toast {
	background-color: var(--vap-dark-gray);
	border: 1px solid var(--vap-black);
	color: #fff;
	display: flex;
	align-items: center;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 14px;
	gap: 10px;
	box-shadow: 2px 2px 8px var(--shadow);
	animation: elegant-toast-slide-in 0.3s ease;
}

@keyframes elegant-toast-slide-in {
	from {
		transform: translateX(100%);
		opacity: 0;
	}

	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes elegant-toast-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* Data editor sidebar: center toasts and fade in (no slide) */
#data-editor-toast-container {
	position: relative;
	top: auto;
	right: auto;
	left: auto;
	margin: 0 auto 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 100%;
}

#data-editor-toast-container .elegant-toast {
	animation: elegant-toast-fade-in 0.3s ease;
}

.elegant-toast-error {
	background-color: var(--toast-error-bg);
	border: 1px solid var(--vap-red);
	color: #fff;
	font-weight: 500;
}

.elegant-toast-success {
	background-color: var(--toast-success-bg);
	border: 1px solid var(--toast-success-border);
	color: #fff;
	font-weight: 500;
}

.elegant-toast-warning {
	background-color: var(--toast-warning-bg);
	border: 1px solid var(--vap-yellow);
	color: #fff;
	font-weight: 500;
}

.elegant-toast-info {
	background-color: var(--toast-info-bg);
	border: 1px solid var(--vap-confirm-blue);
	color: #fff;
	font-weight: 500;
}

.elegant-toast .material-icons {
	font-size: 20px;
}

.elegant-toast-error .material-icons {
	color: #fff;
}

.elegant-toast-success .material-icons {
	color: #fff;
}

.elegant-toast-warning .material-icons {
	color: #fff;
}

.elegant-toast-info .material-icons {
	color: #fff;
}

.elegant-toast-close {
	margin-left: auto;
	cursor: pointer;
	opacity: 0.7;
}

.elegant-toast-close:hover {
	opacity: 1;
}

.elegant-non-field-errors ul {
	list-style: none;
	margin: 0;
	padding: 0;
}