@charset "UTF-8";

html {
    font-size: 16px;
}


body {
    background-color: var(--body-bg);
	background-image: var(--body-bg);
	background-attachment: fixed;
	background-size: cover;
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	font-family: Arial, Helvetica, sans-serif;
	border: 0;
	padding: 0;
	margin: 0;
}



*, *::before, *::after {
    box-sizing: border-box;
}



* {
	color: var(--text-body);
	font-family:Raleway, Arial, sans-serif;
}


* a:link  {
	color: var( --text-link );
	text-decoration:none;
}

* a:visited {
	color: var( --text-link );
}

* a:hover {
	color: var( --text-link );
	text-decoration: underline;
}

* a:active {
	color: var( --text-link );
}

/* Links on dark backgrounds (glass theme, dark panels) */
a.link-on-dark,
a.link-on-dark:link,
a.link-on-dark:visited,
a.link-on-dark:hover,
a.link-on-dark:active {
	color: var(--text-link-on-dark);
}

p a:link {
	color: var( --text-link );
    text-decoration: underline;
}


.logo {
	position: absolute;
	top: 0;
	right: 30px;
	width: 175px;
	margin: 20px 0 15px 0;
	z-index: 200;
}

nav {
	z-index: 200;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 70px;
	display: flex;
	flex-direction: column;
	row-gap: 30px;
	align-items: center;
	padding: 0 0 0 25px;
	margin: 0;
	background-color: rgba( 255, 255, 255, 0.95 );
	border-right: 1px solid #333;
	box-shadow: inset -3px 0px 4px 0px rgba( 51,51,51, 0.3 );
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.user-avatar {
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav-links {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	writing-mode: vertical-rl;
	text-orientation: sideways;
	transform: rotate(180deg);
	letter-spacing: 1.5px;
	position: relative;
	cursor: pointer;
	color: var(--text-on-light);
}

.nav-links div {
	padding-bottom: 6px;
	text-align: left;
}

.nav-io {
	display: flex;
	justify-content: center;
	width: 100%;
	padding-left: 0;
	margin-left: -25px;
	padding-top: 15px;
}

.io-button {
	width: 40px;
	height: 40px;
	border: 1px solid var(--btn-io-border);
	border-radius: 50%;
	background: var(--btn-io-bg);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: all 0.2s ease;
	box-shadow: var(--btn-io-shadow);
}

.io-button:hover {
	background: var(--btn-io-bg-hover);
	box-shadow: var(--btn-action-shadow-hover);
}

.io-button:hover path {
	stroke: var(--btn-io-icon-hover);
}

.io-button:active {
	transform: scale(0.95);
}

.io-button svg {
	width: 30px;
	height: 30px;
	pointer-events: none;
}

.io-button path {
	fill: none;
	stroke: var(--btn-io-icon);
	stroke-width: 2.0;
	stroke-linecap: butt;
}

.io-button.disconnected {
	background: var(--btn-io-bg-disconnected);
	box-shadow: var(--btn-io-shadow-disconnected);
}

.io-button.disconnected:hover {
	background: var(--btn-io-bg-disconnected-hover);
	box-shadow: var(--btn-io-shadow-disconnected-hover);
}

.io-button.disconnected path {
	stroke: var(--btn-io-icon-disconnected);
}

.nav-extra {
	display: flex;
	justify-content: center;
	width: 100%;
	padding-left: 0;
	margin-left: -25px;
}

.nav-links a {
	color: var(--text-on-light);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 2px;
	transition: all 0.2s ease;
}

/* Hover line that expands from center outward - appears to left of text (beneath in visual terms) */
.nav-links::after {
	content: '';
	position: absolute;
	right: 41px;
	top: 0;
	bottom: 0;
	width: 3px;
	background: rgba(0, 0, 0, 1.0);
	transform: scaleY(0);
	transition: transform 0.25s ease;
}

.nav-links:hover::after {
	transform: scaleY(1);
}

.nav-links.user-avatar {
	margin-top: auto;
	margin-bottom: 70px;  /* Clear the footer */
	margin-left: -19px;   /* Center 32px avatar in 70px nav (25px padding) */
	padding: 0;
	align-items: center;
	justify-content: center;
}

.nav-links.user-avatar::before,
.nav-links.user-avatar::after {
	display: none;
}

.nav-links.user-avatar svg {
	padding: 0;
}

.nav-links.user-avatar .nav-dropdown {
	top: auto;
	bottom: 10px;
	right: 70px;
}

/* Dropdown menu - appears to right of nav */
.nav-dropdown {
	position: absolute;
	right: 60px;
	bottom: 0;
	min-width: 250px;
	background: white;
	box-shadow: rgba(50, 50, 50, 0.25) 10px 10px 30px -10px;
	padding: 0;
	opacity: 0;
	visibility: hidden;
	transform: rotate(180deg) translateX(10px);
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
	margin-left: 15px;
	/* Reset writing mode completely */
	writing-mode: horizontal-tb !important;
	text-orientation: mixed !important;
	direction: ltr;
}

.nav-links:hover .nav-dropdown {
	opacity: 1;
	visibility: visible;
	transform: rotate(180deg) translateX(0);
}

.nav-dropdown a {
	display: block;
	padding: 15px;
	margin: 0px 10px;
	color: var(--text-on-light);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	writing-mode: horizontal-tb !important;
	text-orientation: mixed !important;
	border-bottom: 1px solid var(--border-nav);
}

.nav-dropdown a:last-child {
	border-bottom: none;
	border: 0;
	padding-bottom: 10px;
	margin-bottom: 0;
}

.nav-dropdown a:hover {
	color: var(--text-on-light);
	text-decoration: underline;
	text-underline-offset: 5px;
}


main.main-container {
	display: flex;
	align-items: flex-start;
	column-gap: 50px;
	margin: 0;
	padding: 0px 15px 15px 120px;
	min-width: 1850px;
	min-height: 1000px;
}

footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	min-width: 1850px;
	height: 60px;
	z-index: 205;
	display:flex;
	direction: row;
	background-color: rgba( 255, 255, 255, 0.95 );
	border-top: 1px solid #333;
	box-shadow: inset 0px 3px 3px 0px rgba( 153, 153, 153, 0.3 );
	margin: 0;
	padding: 0;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

footer .corner {
	width: 70px;
	height: 100%;
	background-color: #dbdde4;
	border-right: solid 1px #333;
	box-shadow: inset -3px 3px 3px 0px rgba( 102,102,102,0.3 );
	color: var(--text-on-light);
}

footer .corner * {
	color: inherit;
}

footer .status {
	padding: 23px 25px;
	font-size: 14px;
	color: var(--text-on-light);
}

footer .status.status-success {
	color: var(--text-on-light);
}

footer .status.status-error {
	color: var(--status-error);
}

footer .footer-logo {
	margin-left: auto;
	padding: 10px;
	display: flex;
	align-items: center;
}

.footer-logo-stack {
	position: relative;
	display: inline-block;
}

.footer-logo-stack .logo-base,
.footer-logo-stack .logo-overlay {
	display: block;
}

.footer-logo-stack .logo-overlay {
	position: absolute;
	top: 0;
	left: 0;
	transition: opacity 0.3s ease;
}

.footer-logo-stack:hover .logo-overlay {
	opacity: 0;
}


h2 {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-accent);
	letter-spacing: 1.5px;
}

