/*@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;
} .button-trio > div > input:checked + .redbutton, .button-trio > div > input:hover + .redbutton {
	background-color: #D64933;
	color: #FFFFFFCC;
	
  	transition: all .0s;
}

.bluebutton {
	font-weight: bold;
  	transition: all .0s;
} .button-trio > div > input:checked + .bluebutton, .button-trio > div > input:hover + .bluebutton {
	background-color: #3E78B2;
	color: #FFFFFFCC;
  	transition: all .0s;
}

.greenbutton {
	font-weight: bold;
  	transition: all .0s;
} .button-trio > div > input:checked + .greenbutton, .button-trio > div > input:hover + .greenbutton {
	background-color: #0C7C59;
	color: #FFFFFFCC;
	
  	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-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);
}

/* Dark Mode Theme */
[data-theme="dark"] {
	/* 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);

	/* 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);
}

body {
	height: fit-content;
	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;
	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-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 > div {
	margin: 10px 0;
}

.button-trio > div > input {
	display:none;
	width: 0;
}

.button-trio > div > label {
	padding: 4px 10px;
	margin: 10px 0;
	border-color: black;
	border-width: 2px;
}

.button-trio > div > :nth-child(2) {
	border-radius: 0;
	border-bottom-left-radius: 25px;
	border-top-left-radius: 25px;
	border-left-width: 1px;
	border-right-width: 1px;
}

.button-trio > div > :nth-child(4) {
	border-radius: 0;
	margin: 0 -5px;
}

.button-trio > div > :nth-child(6) {
	border-radius: 0;
	border-bottom-right-radius: 25px;
	border-top-right-radius: 25px;
	border-left-width: 1px;
	border-right-width: 1px;
}

.button-trio > div > input:checked + label{
    background-color: var(--vap-med-gray);
}


@media (width <= 1200px) {

  .button-trio > div > :nth-child(2) {
    border-radius: 25px;
    display: block;
    width: min-content;
    height: min-content;
  }

  .button-trio > div > :nth-child(4) {
    border-radius: 25px;
    display: block;
    width: min-content;
    height: min-content;
  }

  .button-trio > div > :nth-child(6) {
    border-radius: 25px;
    display: block;
    width: min-content;
    height: min-content;
  }

  .button-trio > div > label {
    margin: 10px;
  }

  .button-trio > div {
    margin: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
}


/* Input fields */
.elegant-input {
	position: relative;
	width: 100%;
	height: 50px;
	font-size: 14px;
	border-radius: 10px;
	margin-bottom: 2vh;
}
.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:  0 10px 0 10px;
	border: 1px solid var(--vap-gray);
	background-color: var(--input-background-color);
}

.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:  0 10px 0 10px;
	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;
	justify-content: space-between;
	align-items: center;
}

.elegant-time-group .elegant-dropdown {
	width: 25%;
	height: 90%;
	margin-bottom: 0;
}



/* 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);
}


/* 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-bubble {
  position: fixed;
  right: 5vw;
  bottom: 30px;
  height: 60px;
  width: calc(10vw + 10px);
  min-width: 180px;
}

.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 {
	position: absolute;
	bottom: 0;
	width: 200px;
	margin-left: calc(50% - 100px);
	margin-right: calc(50% - 100px);
	height: 20px;
	font-size: 12px;
	text-align: center;
	color: var(--vap-gray);
}

#visual-action-copyright:hover {
	cursor: pointer;
}



/* Standard elements */
#body-container {
	width: calc(100% - 14%);
	min-height: calc(100vh - 80px);
	height: fit-content;
	margin-left: max(7%,50px);
	margin-right: max(7%,50px);
}

 /* 
 This weird stuff is to keep the body properly cenetered when the window 
 reduces in width to the point that the 60px minimum left/right margins
 become enforced. These should always become enforced at the same pixel.
 */
@media (width <= 730px) {
	#body-container {
		width: calc(100% - 100px);
	}
}

#module-container {
	width: 100%;
	height: 100%;
}

.page-header {
  width: 100%;
  height: 10vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 50px;
}

.page-title {
  width: 100%;
  height: 25px;
  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;
}

.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 {
	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: rgb(180, 40, 30);
	border: 1px solid var(--vap-red);
	color: #fff;
	font-weight: 500;
}

.elegant-toast-success {
	background-color: rgb(2, 54, 24);
	border: 1px solid var(--vap-green);
	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-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;
}