/*
 * Copyright (c) 2025-2026 Tyler Anderson <stolenlan@gmail.com>
 * All Rights Reserved.
 */
.fw-sec .container b {
	text-decoration: underline;
	font-weight: 300;
}

.bms .pane {
    background: var(--svcard);    
    border-radius: var(--radius);
    border: 1px solid var(--bdrcard);
	backdrop-filter: blur(6px) saturate(130%);
	margin-bottom: 2em;
}

.bms .compare {
	display: flex;
	flex-direction: row;
	align-items: start;
	justify-content: space-between;
}

.bms .compare .pane {
	flex-basis: 0;
	flex-grow: 1;
	margin: 0 16px;
}

.bms .pane .content {
	padding: 8px;
}

.bms .pane .content h3 {
	font-size: 1.6em;
	margin: 0.5em 0;
}

.bms .pane .content p.subt {
	margin: 0.3em 0;
	font-size: 1.1em;
}

.bms .pane .content p.subt strong {
	color: var(--accent);
}


.bms .stack {
	position: relative;
}

.bms .stack .bracket {
	position: absolute;
	top: 4px; left: 0px; bottom: 4px;
	width: 32px;
	overflow: visible;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-items: center;
	justify-content: center;
	border-style: solid; border-width: 1px; border-color: transparent;
	border-right-color: var(--accent);
	
}

.bms .stack .bracket > * {
	transform: translateX(3px) rotate(-90deg);
	opacity: 0.8;
	font-weight: bold;
	font-size: 1em;
	font-family: var(--mono);
	white-space: nowrap;
	transition: transform 250ms ease-out, opacity 250ms ease-out;
}

.bms .stack:hover .bracket > * {
	transform: translateX(0px) rotate(-90deg);
	opacity: 1;
}

.bms .stack .stack-item {
	border-radius: 0px;
	border-style: solid; 
	border-width: 1px;
	border-left-width: 2px; border-right-width: 2px;
	border-color: #fafafa;
	background: transparent;
	padding: 0.75em;
	margin: 0 1em;
	margin-left: 44px;
	font-weight: bold;
	color: #fff;
	font-size: 1em;
	text-align: left;
	font-family: var(--mono);
	transition: border-color 250ms ease-out, opacity 250ms ease-out;
	filter: brightness(1);
	opacity: 1;
	cursor: default;
}

.bms .stack .stack-item > .detail {
	opacity: 0;
	margin-top: 0.25em;
	font-size: 0.9em;
	transition: opacity 250ms ease-out;
}

.bms .stack .stack-item:not(.stack-item.net) + .stack-item {
}

.bms .stack .stack-item.net {
	border-color: transparent;
	color: #999;
}


.bms .stack .stack-item.normal {
	background: rgba(60,120,200,1);
}

.bms .stack .stack-item.os {
	background: rgba(40,160,90,1);
}

.bms .stack .stack-item.metal {
	background: rgba(50,130,90,1);
}

.bms .stack .stack-item.client {
	background: var(--sigred); /*rgba(200,60,90,1);*/
}

.bms .stack .stack-item.webserver {
	background: rgba(40,90,160);
}

.bms .stack .stack-item.net {
	font-size: 2em;
	padding: 0.2em;
	text-align: center;
}

.bms .stack .stack-item.top {
	margin-top: 1em;
	border-top-width: 4px;
	border-top-left-radius: 0.75em;
	border-top-right-radius: 0.75em;
}
.bms .stack .stack-item.bot {
	margin-bottom: 1em;
	border-bottom-width: 4px;
	border-bottom-left-radius: 0.75em;
	border-bottom-right-radius: 0.75em;
}

.bms .stack .stack-item:hover {
	border-color: #ffffff;
	filter: brightness(1.2);
	opacity: 1;
}
	
.bms .stack .stack-item.net:hover {
	border-color: transparent;
}

.bms .stack .stack-item:hover > .detail {
	opacity: 1;
}

.progress-container {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-items: start;
	justify-content: space-between;
	margin: 8px 8px;
	flex-wrap: wrap;
}

.progress-container .units {
	flex-grow: 1;
	padding: 8px;
	font-family: var(--mono);
}

.progress-container .units span {
	color: var(--accent);
}

.progress-bar {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-items: start;
	justify-content: start;
	height: 24px;
	flex-grow: 1;
	margin-right: 32px;
/*	border-style: solid;
	border-width: 5px;
	border-top-width: 0px;
	border-bottom-width: 0px;*/

}


.progress-bar::before {
	content: '[';
	color: var(--fgtext);
	font-size: 34px;
	position: absolute;
	font-weight: bold;
	font-family: var(--mono);
	left: -8px;
	top: -1px;
	width: auto;
	height: auto;
	z-index: 1;
}

.progress-bar::after {
	content: ']';
	color: var(--fgtext);
	font-size: 34px;
	position: absolute;
	font-weight: bold;
	font-family: var(--mono);
	right: -8px;
	top: -1px;
	width: auto;
	height: auto;
	z-index: 1;
}

.progress-bar .bar {
	position: absolute;
	left: 0px; top: -2px; bottom: -1px;
	width: 0px;
	background-color: var(--sigbred);
	transition: width 225ms cubic-bezier(0.25,0.5,0.6,1);
	border-radius: 6px;	
	filter: drop-shadow(0px 0px 2px var(--sigbred)) brightness(1.2);
	z-index: 0;
}

.progress-bar.other {
	min-width: 320px;
}

.progress-bar.other .bar {
	width: 120px;
}

.progress-bar.baremetal {
	min-width: 64px;
	max-width: 64px;
}
.progress-bar.baremetal .bar {
	opacity: 1;
	width: 100%;
}

@media (max-width: 980px) {

	.bms .compare {
		flex-direction: column;
		align-items: center;
		justify-items: start;
		justify-content: space-between;
	}

	.bms .compare .pane {
		flex-basis: 0;
		flex-grow: 1;
		margin: 16px auto;
	}
}

@media (prefers-color-scheme: light) {
	.bms .stack .stack-item {
		filter: brightness(1.1);
	}

	.bms .stack .stack-item:hover {
		filter: brightness(1.2);
		opacity: 1;
	}
}

.footer-link.wq {
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: auto;
	height: auto;
	z-index:100;
	padding-left: 1em;
	font-size: 8px;
	opacity: 0.2;
}

