/*<meta />*/

/*lastupdate 25-Jul-2026 by Hemanth */

:root
{
	/* Colors */
	--ADALrgCPBlue: #7699AD;
	--ADATextGray: #595959;
	--Black: #000000;
	--BlueExtraLight: #ebf0f5;
	--BlueGrayExtraLight: #ebeff1;
	--BlueLight: #e6ebef;
	--BlueLink: #4067ba;
	--BlueMedium: #c0ccd7;
	--BlueNavy: #0f588a;
	--CPBlueGray: #7a9caf;
	--CPDarkBlueGray: #546e8f;
	--CPDarkOrange: #e75516;
	--CPGreen: #77bc1f;
	--CPLightBlueGray: #cbd6df;
	--CPLightOrange: #f8971d;
	--CPOrange: #ff7a14;
	--CPUIBlue: #413d46;
	--DangerRed: #f7eded;
	--Gray: #949494;
	--GrayBlack: #292929;
	--GrayDark: #4c4c4c;
	--GrayExtraLight: #ededed;
	--GrayFaint: #f7f7f7;
	--GrayLight: #d9d9d9;
	--GrayMedium: #757575;
	--GrayMediumLight: #bfbfbf;
	--GreenMedium: #3c8300;
	--RedMedium: #d12a11;
	--TableHeaderBlue: #C0CCD7;
	--TableRowBlue: #e6ebef;
	--WarningYellow: #fff8e6;
	--White: #ffffff;
	--EatonBlue: rgb(0, 103,198);
	--NotifGreen: #126636;
	/* Typography */
	--font-primary: 'Inter', Helvetica, Arial, sans-serif;
	--font-xxs: 7pt;
	--font-xs: 8pt;
	--font-sm: 9pt;
	--font-base: 10pt;
	--font-lg: 12pt;
	--font-xl: 14pt;
	--font-2xl: 16pt;
	--font-3xl: 18pt;
	--font-4xl: 20pt;
	--font-5xl: 26pt;
	--font-6xl: 30pt;
	--font-7xl: 42pt;
	/* Font weights */
	--font-primary-extralight: 200;
	--font-primary-light: 300;
	--font-primary-regular: 400;
	--font-primary-semibold: 500;
	--font-primary-medium: 600;
	--font-primary-bold: 700;
	--font-primary-extrabold: 800;
	--font-primary-black: 900;
	/* Line heights */
	--leading-tight: 1.0;
	--leading-normal: 1.1;
	--leading-relaxed: 1.2;
	--leading-loose: 1.4;
	/* Legacy size variables (for backwards compatibility) */
	--FontSizeSmaller: 10pt;
	--FontSizeNormal: 1.1rem;
	--FontSizeLarger: 1.15rem;
	--LineHeightSmaller: 0.9rem;
	--LineHeightNormal: 1rem;
	--LineHeightLarger: 1.1rem;
	--LetterSpacing: -0.01pt;
}

*
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html
{
	-webkit-text-size-adjust: 100%;
	-moz-tab-size: 4;
	tab-size: 4;
	font-feature-settings: normal;
	font-variation-settings: normal;
	-webkit-tap-highlight-color: transparent;
	font-family: 'Inter', Helvetica, Arial, sans-serif;
	line-height: 1.5;
	overflow-y: scroll;
	scrollbar-gutter: stable both-edges;
}

body
{
	color: #333;
	background: #f7f7f7;
}

.intro > a:link
{
	font-weight: bold;
	text-decoration: underline;
	background: linear-gradient(135deg, #2a83e2 0%, #5f88e9 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.intro > a:hover
{
	background: linear-gradient(135deg, #e75516 0%, #ff7a14 100%);
	-webkit-background-clip: text;
	text-shadow: 0 0 4px #f8971d;
	transition: text-shadow 0.3s ease;
}

.container
{
	max-width: 1920px;
	margin: 10px auto;
	background: white;
	padding: 20px 40px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	width: 100%;
}

.header
{
	margin-bottom: 40px;
}

.logo-container
{
	position: relative;
	display: inline-block;
	height: 50px;
	margin-bottom: 20px;
}

.logo-wordmark,
.logo-thumbnail
{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: auto;
	transition: opacity 0.4s ease;
}

.logo-wordmark
{
	opacity: 1;
}

.logo-thumbnail
{
	opacity: 0;
	pointer-events: none;
}

/* Modern Header Styling */

.hero-section
{
	background-color: white;
	border-radius: 16px;
	border: 3px solid #ff7a14;
	padding: 32px 30px;
	color: #757575;
	position: relative;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(255, 122, 20, 0.2);
	margin-bottom: 10px;
	animation: fadeInUp 0.8s ease-out;
	transition: all 0.4s ease;
}

.hero-section h1
{
	color: #ff7a14;
	-webkit-background-clip: text;
}

.site-name
{
	font-size: 2.0rem;
	margin: 0;
	font-weight: 700;
	top: 5px;
	left: 700px;
	position: absolute;
}

h1
{
	font-size: 1.8rem;
	margin: 0;
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 1.2;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section.collapsed
{
	padding: 32px 30px;
}

.hero-section.collapsed .hero-content
{
	max-height: 0;
	opacity: 1;
	margin-bottom: 30px;
}

.hero-toggle-btn
{
	position: absolute;
	top: 28px;
	right: 20px;
	background: #ff7a14;
	border: 2px solid rgba(255, 255, 255, 0.3);
	color: white;
	padding: 10px 20px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: transform 0.3s ease;
	/* Only transition transform on hover */
	z-index: 10;
	backdrop-filter: blur(10px);
	display: flex;
	align-items: center;
	gap: 8px;
}

.hero-toggle-btn:hover
{
	background: #e75516;
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-2px);
}

.hero-toggle-icon
{
	font-size: 16px;
	transition: transform 0.3s ease;
}

.hero-section.collapsed .hero-toggle-icon
{
	transform: rotate(180deg);
}

.hero-collapsed-title
{
	display: none !important;
}

.hero-section.collapsed .hero-collapsed-title
{
	opacity: 1;
	max-height: 50px;
}

@keyframes fadeInUp
{
	from
	{
		opacity: 0;
		transform: translateY(30px);
	}
	to
	{
		opacity: 1;
		transform: translateY(0);
	}
} 

.hero-section::before
{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
	pointer-events: none;
}

.hero-content
{
	position: relative;
	z-index: 1;
	transition: max-height 0.4s ease, opacity 0.4s ease;
}

/* Add spacing after h1 via next element instead */

.hero-content h1 + .tagline,
.hero-content h1 + .intro
{
	margin-top: 20px;
}

.hero-content > *:not(h1)
{
	transition: opacity 0.4s ease, max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease;
}

.hero-section.collapsed .hero-content > *:not(h1)
{
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	margin: 0 !important;
	padding: 0 !important;
	transition: opacity 0.4s ease, max-height 0.4s ease, margin 0.4s ease, padding 0.4s ease;
}

/* Ensure smooth transition on hero section */

.hero-section
{
	transition: padding 0.4s ease;
}

.tagline
{
	font-size: 1.3rem;
	font-weight: 500;
	margin-bottom: 25px;
	opacity: 0.95;
	letter-spacing: 0.3px;
}

.intro,
li,
.stat-item
{
	font-size: 0.9em;
	line-height: 1.4;
	opacity: 0.9;
	max-width: 100%;
	color: #757575;
}

ul
{
	margin-left: 30px;
	list-style-type: square;
}

/* Feature highlights */

.features
{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	/* Desktop: 4 across */
	gap: 20px;
	margin-top: 15px;
}

.feature-card
{
	background: white;
	backdrop-filter: blur(10px);
	border: 1px solid #f8971d;
	border-radius: 12px;
	padding: 16px;
	transition: all 0.3s ease;
	animation: fadeInUp 0.6s ease-out backwards;
	text-align: center;
}

.feature-card:nth-child(1)
{
	animation-delay: 0.2s;
}

.feature-card:nth-child(2)
{
	animation-delay: 0.4s;
}

.feature-card:nth-child(3)
{
	animation-delay: 0.6s;
}

.feature-card:nth-child(4)
{
	animation-delay: 0.8s;
}

.feature-card:hover
{
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(0px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon
{
	font-size: 2rem;
	margin-bottom: 4px;
	display: block;
	text-align: center;
}

.feature-title
{
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 6px;
}

.feature-desc
{
	font-size: 0.95rem;
	opacity: 0.85;
	line-height: 1.4;
}

/* Stats section */

.stats-bar
{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	/* Desktop: 4 across */
	gap: 20px;
	margin-top: 25px;
	padding-top: 25px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.stat-item
{
	flex: 1;
	min-width: 150px;
	padding: 0 24px;
	border-left: 1px solid #d9d9d9;
}

.stat-item:first-child
{
	border-left: none;
	padding-left: 0;
}

.stat-number
{
	font-size: 1.8rem;
	font-weight: 600;
	display: block;
	margin-bottom: 0px;
}

.stat-label
{
	font-size: 0.85rem;
	opacity: 0.85;
	letter-spacing: 1px;
	font-weight: 500;
}

.footer
{
	background: #f8f9fa;
	padding: 20px 0;
	position: sticky;
	bottom: -5px;
	z-index: 100;
	opacity: 0.7;
}

.footer-image
{
	width: 100%;
	height: auto;
	margin-left: auto;
	margin-right: auto;
}

.loading-container
{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
}

.loading-spinner
{
	width: 50px;
	height: 50px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #ff7a14;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin-bottom: 20px;
}

@keyframes spin
{
	0%
	{
		transform: rotate(0deg);
	}
	100%
	{
		transform: rotate(360deg);
	}
} 

.loading-text
{
	color: #666;
	font-size: 16px;
}

.error-message
{
	color: #e74c3c;
	padding: 20px;
	background: #fee;
	border-radius: 6px;
	margin: 20px 0;
}

.controls
{
	display: flex;
	justify-content: flex-start;
	gap: 15px;
	margin-bottom: 30px;
	padding: 20px;
	background: #f5f5f5;
	border-radius: 6px;
	flex-wrap: wrap;
	position: sticky;
	top: 0;
	z-index: 1000;
	align-items: flex-start;
}

.search-wrapper
{
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
	max-width: 65%;
}

.controls input[type="search"]
{
	flex: 1;
	min-width: 200px;
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 15px;
	font-family: 'Inter', Helvetica, Arial, sans-serif;
}

.controls select
{
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 15px;
	background: white;
}

#q:focus
{
	outline: none;
	border-color: #ff7a14;
	animation: focus-glow 1.5s ease-in-out infinite;
}

.share-btn
{
	padding: 10px 16px;
	background: #ff7a14;
	color: white;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.3s ease;
}

.share-btn:hover
{
	background: #e75516;
}

.reset-button
{
	width: 32px;
	height: 32px;
	margin-top: 5px;
	border: none;
	background-image: url('../icons/reset.svg');
	background-size: contain;
	cursor: pointer;
	/*
	padding: 10px 16px;
	background: transparent;
	color: white;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	background-image: url('../../Resources/Icons/reset.svg');
	transition: background 0.3s ease;
	*/
}

@keyframes focus-glow
{
	0%, 100%
	{
		box-shadow: 0 0 0 3px rgba(255, 122, 20, 0.2);
	}
	50%
	{
		box-shadow: 0 0 0 5px rgba(255, 122, 20, 0.4);
	}
} 

/* Language selector */

.language-selector
{
	position: relative;
}

.lang-toggle
{
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 0.85em;
	background: white;
	cursor: pointer;
	min-width: 205px;
	text-align: left;
	transition: all 0.2s;
}

.lang-toggle:hover
{
	border-color: #ff7a14;
}

.lang-dropdown
{
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	margin-top: 5px;
	background: white;
	border: 1px solid #ddd;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	z-index: 1000;
	max-height: 300px;
	overflow-y: auto;
	min-width: 220px;
}

.lang-dropdown.show
{
	display: block;
}

.lang-option
{
	display: block;
	padding: 8px 15px;
	cursor: pointer;
	transition: background 0.15s;
	user-select: none;
}

.lang-option:hover
{
	background: #f5f5f5;
}

.lang-option input[type="checkbox"]
{
	margin-right: 8px;
	cursor: pointer;
}

.count
{
	margin-left: auto;
	padding-left: 4px;
	color: #ff7a14;
	font-weight: 400;
	font-size: 0.75em;
	font-style: italic;
}

/* Document Type styles */

.document-type-toggle
{
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 0.85em;
	background: white;
	cursor: pointer;
	min-width: 190px;
	text-align: left;
	transition: all 0.2s;
}

/* Content Type styles */

.content-type-toggle
{
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 0.85em;
	background: white;
	cursor: pointer;
	min-width: 100px;
	text-align: left;
	transition: all 0.2s;
}

/* Filter section */

.filter-section
{
	margin-bottom: 30px;
	padding: 20px;
	background: white;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
}

.filter-group
{
	margin-bottom: 15px;
}

.filter-group:last-child
{
	margin-bottom: 0;
}

.filter-label
{
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	color: #555;
	margin-bottom: 10px;
}

.filter-buttons
{
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.filter-btn
{
	padding: 6px 14px;
	background: white;
	border: 2px solid #ddd;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 400;
	font-family: 'Inter', Helvetica, Arial, sans-serif;
	color: #757575;
	cursor: pointer;
}

.filter-btn:hover
{
	background-color: #ff7a14;
	color: #ffffff;
}

.filter-btn.active
{
	background: #ff7a14;
	color: white;
	outline: 2px solid transparent;
	outline-offset: -2px;
	font-weight: 500;
}

/* Category-specific button colors */

.filter-btn.active[data-cat="home"]
{
	background: #2ecc71;
	border-color: #2ecc71;
}

.filter-btn.active[data-cat="ac"]
{
	background: #3498db;
	border-color: #3498db;
}

.filter-btn.active[data-cat="dc"]
{
	background: #e74c3c;
	border-color: #e74c3c;
}

.filter-btn.active[data-cat="cpc"]
{
	background: #9b59b6;
	border-color: #9b59b6;
}

.filter-btn.active[data-cat="cpr"]
{
	background: #2539a8;
	border-color: #2539a8;
}

.filter-btn.active[data-cat="soft"]
{
	background: #f39c12;
	border-color: #f39c12;
}

.filter-btn.active[data-cat="trd"]
{
	background: #4d5657;
	border-color: #4d5657;
}

.filter-btn.active[data-cat="misc"]
{
	background: #95a5a6;
	border-color: #95a5a6;
}

.filter-btn.active[data-cat="eaton"]
{
	background: rgb(0, 103,198);
	border-color: rgb(0, 103,198);
}

.filter-btn.active[data-cat="fleet"]
{
	background: #34495e;
	border-color: #34495e;
}

.filter-btn.active[data-cat="eol"]
{
	background: #000000;
	border-color: #000000;
}

/* Category sections */

.category-section
{
	margin-bottom: 50px;
}

.category-section.hidden
{
	display: none;
}

.category-header
{
	padding: 15px 20px;
	font-size: 1.5rem;
	font-weight: 900;
	border-radius: 6px;
	margin-bottom: 8px;
	color: white;
	position: sticky;
	top: 50px;
	z-index: 100;
	text-transform: uppercase;
	box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.1);
}

/* Category color coding */

.category-section[data-category="home"] .category-header
{
	background: #2ecc71;
}

.category-section[data-category="fleet"] .category-header
{
	background: #34495e;
}

.category-section[data-category="ac"] .category-header
{
	background: #3498db;
}

.category-section[data-category="dc"] .category-header
{
	background: #e74c3c;
}

.category-section[data-category="cpc"] .category-header
{
	background: #9b59b6;
}

.category-section[data-category="cpr"] .category-header
{
	background: #2539a8;
}

.category-section[data-category="soft"] .category-header
{
	background: #f39c12;
}

.category-section[data-category="misc"] .category-header
{
	background: #95a5a6;
}

.category-section[data-category="eaton"] .category-header
{
	background: rgb(0, 103,198);
}

.category-section[data-category="trd"] .category-header
{
	background: #4d5657;
}

.category-section[data-category="eol"] .category-header
{
	background: #000000;
}

/* Product sections (collapsible) */

.products-container
{
	margin-top: 8px;
}

.product-section
{
	margin-bottom: 10px;
	margin-left: auto;
}

.product-header
{
	background: #f7f7f7;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 6px 10px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: all 0.3s ease;
	margin-bottom: 0px;
	user-select: none;
}

.product-header:hover:not(.expanded)
{
	background: #d9d9d9;
	border-color: #ccc;
}

.product-header.expanded
{
	background: #cbd6df;
	border-color: #d9d9d9;
	position: sticky;
	top: 114px;
	z-index: 90;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 10px;
}

.product-title
{
	font-size: 1rem;
	font-weight: 700;
	color: #757575;
	display: flex;
	flex: 1;
	align-items: center;
	padding-left: 20px;
	gap: 10px;
	text-transform: uppercase;
}

.product-count
{
	font-size: 0.7rem;
	color: #e75516;
	font-weight: normal;
	font-style: italic;
	margin-right: 12px;
}

.collapse-icon
{
	font-size: 1.5rem;
	color: #666;
	transition: transform 0.3s ease;
}

.product-header.expanded .collapse-icon
{
	transform: rotate(180deg);
}

.product-content
{
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.product-content.expanded
{
	max-height: none;
}

/* Masonry grid */

.masonry-grid
{
	width: 100%;
}

/* Document cards */

.doc-card
{
	background: #ededed;
	border-radius: 8px;
	padding: 10px 20px 10px 20px;
	margin: 0 10px 20px 20px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	border-left: 5px solid;
	border-right: 1px solid #d9d9d9;
	border-top: 1px solid #d9d9d9;
	border-bottom: 1px solid #d9d9d9;
	position: relative;
	width: 95%;
}

.doc-card::before
{
	content: '';
	position: absolute;
	top: 0px;
	left: 0;
	right: 0;
	bottom: 0px;
	opacity: 0.5;
	border-radius: 8px;
	pointer-events: none;
	z-index: 0;
}

.doc-card > *
{
	z-index: 1;
	/* Keep content above the background */
}

.doc-card:hover
{
	box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.doc-card.hidden
{
	display: none;
}

/* Card color coding by category */

.doc-card[data-category="home"]
{
	border-left-color: #2ecc71;
}

.doc-card[data-category="fleet"]
{
	border-left-color: #34495e;
}

.doc-card[data-category="ac"]
{
	border-color: #3498db;
}

.doc-card[data-category="dc"]
{
	border-left-color: #e74c3c;
}

.doc-card[data-category="cpc"]
{
	border-left-color: #9b59b6;
}

.doc-card[data-category="soft"]
{
	border-left-color: #f39c12;
}

.doc-card[data-category="misc"]
{
	border-left-color: #95a5a6;
}

.doc-card[data-category="eaton"]
{
	border-left-color: rgb(0, 103,198);
}

.category-badge
{
	display: inline-block;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 0.7rem;
	font-weight: 500;
	text-transform: uppercase;
	margin-bottom: 5px;
	float: left;
	position: absolute;
	right: 2%;
}

.category-badge[data-category="home"]
{
	background: #2ecc71;
	color: #ffffff;
}

.category-badge[data-category="fleet"]
{
	background: #34495e;
	color: white;
}

.category-badge[data-category="ac"]
{
	background: #3498db;
	color: white;
}

.category-badge[data-category="dc"]
{
	background: #e74c3c;
	color: white;
}

.category-badge[data-category="cpc"]
{
	background: #9b59b6;
	color: white;
}

.category-badge[data-category="cpr"]
{
	background: #2539a8;
	color: white;
}

.category-badge[data-category="soft"]
{
	background: #f39c12;
	color: white;
}

.category-badge[data-category="misc"]
{
	background: #95a5a6;
	color: white;
}

.category-badge[data-category="eaton"]
{
	background: rgb(0, 103,198);
	color: white;
}

.category-badge[data-category="trd"]
{
	background: #4d5657;
	color: white;
}

.category-badge[data-category="eol"]
{
	background: #000000;
	color: white;
}

.product-name
{
	font-size: 0.85rem;
	font-weight: 600;
	color: #666;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.doc-title
{
	font-size: 0.9rem;
	font-weight: 100;
	color: #757575;
	margin-bottom: 4px;
	line-height: 1.4;
	text-transform: capitalize;
}

.doc-docType
{
	font-size: 0.9rem;
	font-weight: 100;
	color: #757575;
	line-height: 1.4;
	text-transform: capitalize;
}

.doc-desc
{
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 15px;
	font-style: italic;
}

.langs
{
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.lang-pill
{
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	padding: 4px 6px;
	background: #ffffff;
	border-radius: 4px;
	border: 1px solid #d9d9d9;
	text-decoration: none;
	color: #e75516;
	font-size: 10px;
	transition: all 0.3s ease;
	line-height: 1.3;
	gap: 0;
	justify-content: center;
	min-width: 0;
	white-space: nowrap;
}

.lang-flag
{
	font-size: 14px;
	margin-right: 2px;
}

/* Flag styling in language dropdown */

.lang-option .fi
{
	font-size: 1em;
	margin-right: 4px;
	margin-left: 0px;
	vertical-align: middle;
}

/* Optional: Add hover effect */

.lang-option:hover .fi
{
	transform: scale(1.1);
	transition: transform 0.2s ease;
}

/* Optional: Align everything nicely */

.lang-option
{
	display: flex;
	align-items: center;
	gap: 4px;
}

.lang-pill:hover
{
	background: #f8971d;
	color: white;
	transform: translateY(-2px);
}

.lang-code
{
	font-weight: 600;
	font-size: 11px;
}

.lang-meta
{
	font-size: 0.9em;
	opacity: 0.8;
	white-space: nowrap;
}

.no-results
{
	padding: 40px;
	text-align: center;
	color: #666;
	font-size: 16px;
}

/* Legend */

.legend
{
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	margin-bottom: 20px;
	padding: 15px 20px;
	background: #f9f9f9;
	border-radius: 6px;
}

.legend-item
{
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
}

.legend-color
{
	width: 20px;
	height: 20px;
	border-radius: 4px;
}

.site-nav
{
	background: #ffffff;
	border-bottom: 2px solid #ff7a14;
	position: sticky;
	top: 0;
	z-index: 2000;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	font-family: 'Inter', Helvetica, Arial, sans-serif;
}

.site-nav__inner
{
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	gap: 24px;
	height: 60px;
}

.site-nav__logo
{
	flex-shrink: 0;
	display: flex;
	align-items: center;
	text-decoration: none;
}

.site-nav__logo .logo-container
{
	height: 32px;
	margin-bottom: 0;
}

.site-nav__links
{
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex: 1;
}

.site-nav__item
{
	position: relative;
}

.site-nav__trigger
{
	background: none;
	border: none;
	font-family: 'Inter', Helvetica, Arial, sans-serif;
	font-size: 0.85rem;
	font-weight: 500;
	color: #4c4c4c;
	padding: 8px 10px;
	cursor: pointer;
	border-radius: 4px;
	display: flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
	transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__trigger:hover
{
	color: #ff7a14;
	background: #f7f7f7;
}

.site-nav__arrow
{
	font-size: 1em;
	transition: transform 0.2s ease;
	color: #949494;
}

.site-nav__item--open .site-nav__arrow
{
	transform: rotate(180deg);
}

.site-nav__dropdown
{
	display: none;
	position: absolute;
	top: calc(100% + 13px);
	left: 0;
	background: #ffffff;
	border: 1px solid #d9d9d9;
	border-top: 2px solid #ff7a14;
	border-radius: 0 0 8px 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	padding: 20px;
	display: none;
	gap: 32px;
	min-width: 480px;
	z-index: 2100;
	animation: dropdownFadeIn 0.15s ease;
}

.site-nav__item--open .site-nav__dropdown
{
	display: flex;
	opacity: 1;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
} 

.site-nav__dropdown-col
{
	min-width: 140px;
}

.site-nav__col-heading
{
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #ff7a14;
	margin-bottom: 10px;
	padding-bottom: 6px;
	border-bottom: 1px solid #d9d9d9;
}

.site-nav__dropdown-col ul
{
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.site-nav__dropdown-col a
{
	display: block;
	font-size: 0.85rem;
	color: #4c4c4c;
	text-decoration: none;
	padding: 5px 8px;
	border-radius: 4px;
	transition: background 0.15s ease, color 0.15s ease;
}

.site-nav__dropdown-col a:hover
{
	background: #f7f7f7;
	color: #ff7a14;
}

.site-nav__utility
{
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-shrink: 0;
}

.site-nav__util-link
{
	font-size: 0.8rem;
	font-weight: 500;
	color: #757575;
	text-decoration: none;
	padding: 6px 10px;
	border-radius: 4px;
	white-space: nowrap;
	transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__util-link:hover
{
	color: #ff7a14;
	background: #f7f7f7;
}

.site-nav__cta
{
	font-size: 0.8rem;
	font-weight: 600;
	color: #ffffff;
	background: #ff7a14;
	text-decoration: none;
	padding: 8px 14px;
	border-radius: 6px;
	white-space: nowrap;
	transition: background 0.2s ease;
}

.site-nav__cta:hover
{
	background: #e75516;
}

/* ── Hamburger (hidden on desktop) ───────────────────────── */

.site-nav__hamburger
{
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	margin-left: auto;
	flex-shrink: 0;
}

.site-nav__hamburger span
{
	display: block;
	width: 24px;
	height: 2px;
	background: #4c4c4c;
	border-radius: 2px;
	transition: all 0.3s ease;
}

/* Hamburger → X animation */

.site-nav__hamburger[aria-expanded="true"] span:nth-child(1)
{
	transform: translateY(7px) rotate(45deg);
}

.site-nav__hamburger[aria-expanded="true"] span:nth-child(2)
{
	opacity: 0;
}

.site-nav__hamburger[aria-expanded="true"] span:nth-child(3)
{
	transform: translateY(-7px) rotate(-45deg);
}

/* ── Monochrome overrides ─────────────────────────────────── */

body.monochrome .site-nav
{
	border-bottom-color: #757575;
}

body.monochrome .site-nav__trigger:hover,
body.monochrome .site-nav__util-link:hover,
body.monochrome .site-nav__dropdown-col a:hover
{
	color: #4c4c4c;
}

body.monochrome .site-nav__col-heading
{
	color: #757575;
	border-bottom-color: #d9d9d9;
}

body.monochrome .site-nav__dropdown
{
	border-top-color: #757575;
}

body.monochrome .site-nav__cta
{
	background: #757575;
}

body.monochrome .site-nav__cta:hover
{
	background: #4c4c4c;
}

body.monochrome .logo
{
	filter: grayscale(70%);
}

#notif-banner
{
	position: sticky;
	top: 0;
	z-index: 9999;
	width: 100%;
	background: #126636;
	border-bottom: 1px solid #ff7a14;
	font-family: 'Inter', Helvetica, Arial, sans-serif;
	overflow: hidden;
	animation: notif-slidein 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
	margin: 0px auto 20px auto;
}

@keyframes notif-slidein {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
} 

#notif-banner.notif-hidden
{
	max-height: 0 !important;
	border-bottom-width: 0;
	overflow: hidden;
	transition: max-height 0.35s ease, border-bottom-width 0.35s ease;
}

/* ── Progress bar (orange sweep across the bottom of the banner) ── */

#notif-progress-track
{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: #1c2330;
}

#notif-progress-bar
{
	height: 100%;
	background: #ff7a14;
	width: 100%;
	transform-origin: left center;
	transform: scaleX(1);
	transition: transform linear;
	/* duration set via JS */
}

/* ── Inner layout ── */

#notif-inner
{
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 26px 13px 0px;
	min-height: 48px;
	position: relative;
	width: 98%;
	margin-left: auto;
	margin-right: auto;
}

/* ── Slide container — clips the crossfade area ── */

#notif-slide-container
{
	flex: 1;
	overflow: hidden;
	position: relative;
	min-height: 22px;
	width: 100%;
	margin-left: auto;
	max-width: 1110px;
	margin-right: auto;
}

/* ── Individual notification message ── */

.notif-slide
{
	display: flex;
	align-items: center;
	gap: 10px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.35s ease, transform 0.35s ease;
	pointer-events: none;
}

.notif-slide.notif-active
{
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
	position: relative;
}

.notif-slide.notif-exit
{
	opacity: 0;
	transform: translateY(-6px);
	position: absolute;
}

.notif-icon
{
	font-size: 17px;
	flex-shrink: 0;
	line-height: 1;
}

.file-icon
{
	width: 22px;
	height: auto;
	opacity: 0.7;
	margin: -2px 8px;
}

.notif-text
{
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 8px;
	line-height: 1.4;
}

.notif-title
{
	color: #f8971d;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.notif-msg
{
	color: #ffffff;
	font-size: 16px;
	line-height: 20px;
}

.notif-link
{
	color: #d9d9d9;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s;
}

.notif-link:hover
{
	color: #ffaa5a;
	text-decoration: underline;
}

#notif-controls
{
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

/* ── Dot indicators ── */

#notif-dots
{
	display: flex;
	gap: 5px;
	align-items: center;
}

.notif-dot
{
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
	cursor: pointer;
	border: none;
	padding: 0;
	transition: background 0.2s, transform 0.2s;
	flex-shrink: 0;
}

.notif-dot:hover
{
	background: rgba(255, 122, 20, 0.6);
	transform: scale(1.3);
}

.notif-dot.notif-dot-active
{
	background: #ff7a14;
	transform: scale(1.2);
}

/* ── Dismiss button ── */

#notif-dismiss
{
	background: none;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	color: #8899aa;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	padding: 3px 7px;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
	flex-shrink: 0;
}

#notif-dismiss:hover
{
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px)
{
	.site-nav__inner
	{
		height: 56px;
		padding: 0 16px;
	}

	/* Hide primary links and utility by default */

	.site-nav__links,
	.site-nav__utility
	{
		display: none;
	}

	/* Show hamburger */

	.site-nav__hamburger
	{
		display: flex;
	}

	/* Open state — full mobile menu */

	.site-nav.mobile-open .site-nav__links,
	.site-nav.mobile-open .site-nav__utility
	{
		display: flex;
		flex-direction: column;
		position: fixed;
		top: 56px;
		left: 0;
		right: 0;
		bottom: 0;
		background: #ffffff;
		padding: 16px;
		overflow-y: auto;
		gap: 4px;
		align-items: flex-start;
		z-index: 1999;
	}

	/* Stack utility below nav links */

	.site-nav.mobile-open .site-nav__utility
	{
		top: auto;
		bottom: 0;
		height: auto;
		border-top: 1px solid #d9d9d9;
		flex-direction: row;
		flex-wrap: wrap;
		padding: 12px 16px;
		gap: 8px;
	}

	/* Mobile nav items full-width */

	.site-nav__item
	{
		width: 100%;
	}

	.site-nav__trigger
	{
		width: 100%;
		justify-content: space-between;
		font-size: 1rem;
		padding: 12px 8px;
		border-bottom: 1px solid #ededed;
	}

	/* Dropdowns become inline stacked panels on mobile */

	.site-nav__dropdown
	{
		position: static;
		display: none;
		flex-direction: column;
		box-shadow: none;
		border: none;
		border-radius: 0;
		padding: 8px 12px 8px 24px;
		gap: 16px;
		min-width: unset;
		animation: none;
	}

	.site-nav__item--open .site-nav__dropdown
	{
		display: flex;
	}

	.site-nav__col-heading
	{
		font-size: 0.65rem;
	}

	.site-nav__dropdown-col a
	{
		font-size: 0.9rem;
		padding: 6px 8px;
	}

	/* Thumbnail logo on mobile */

	.site-nav__logo .logo-container
	{
		height: 28px;
	}

	.lang-flag,
	.fi
	{
		display: none !important;
	}

	.hero-section
	{
		padding: 25px;
		min-height: 78px;
	}

	h1
	{
		font-size: 1.1rem;
	}

	.tagline
	{
		font-size: 0.95rem;
	}

	.stat-number
	{
		font-size: 1.6rem;
	}

	.product-header.expanded
	{
		top: 78px;
		margin-bottom: 16px;
	}

	.notif-title
	{
		font-weight: 400;
		font-size: 12px;
	}

	.notif-msg
	{
		font-size: 12px;
	}

	.notif-link
	{
		font-size: 12px;
		font-weight: 500;
	}
}

@media (max-width: 792px)
{
	.stat-label
	{
		font-size: 0.75rem;
		opacity: 0.85;
		text-transform: uppercase;
		letter-spacing: 1px;
		font-weight: 500;
		text-align: center;
	}
}

@media (max-width: 768px)
{
	.stat-number
	{
		font-size: 1rem;
		font-weight: 500;
		display: block;
		margin-bottom: 0px;
	}

	.stat-item
	{
		text-align: center;
		border-left: none;
		padding-left: 0;
	}

	.stat-item:nth-child(2n)
	{
		border-left: 1px solid #d9d9d9;
		padding-left: 24px;
	}

	.stats-bar
	{
		grid-template-columns: repeat(2, 1fr);
		row-gap: 20px;
	}

	.hero-content h1
	{
		font-size: 1.1rem;
	}

	.filter-section
	{
		margin-bottom: 20px;
		padding: 14px;
		background: white;
		border: 1px solid #e0e0e0;
		border-radius: 6px;
	}

	.lang-code
	{
		font-weight: 500;
		font-size: 10px;
		padding-left: 0px;
	}

	.lang-pill:hover
	{
		transform: translateY(-2px);
		/* Changed from translateX(4px) */
	}

	.lang-pill
	{
		display: inline-flex;
		flex-direction: row;
		padding: 4px 4px;
		background: #ffffff;
		border-radius: 4px;
		border: 1px solid #ff7a14;
		text-decoration: none;
		color: #e75516;
		font-size: 10px;
		transition: all 0.2s ease;
		line-height: 1;
		gap: 0;
		white-space: nowrap;
		width: 100%;
		justify-content: center;
		min-width: 0;
	}

	.langs
	{
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 10px;
		width: 100%;
		justify-content: center;
	}

	.category-section
	{
		margin-bottom: 15px;
	}

	.product-header
	{
		background: #ffffff;
		border: 1px solid #e0e0e0;
		border-radius: 8px;
		padding: 6px 10px;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: space-between;
		transition: all 0.3s ease;
		margin-bottom: 6px;
		user-select: none;
	}

	.product-section
	{
		margin-bottom: 4px;
		margin-left: auto;
	}

	.lang-option .fi
	{
		font-size: 0.7em;
		margin-right: 4px;
		margin-left: 0px;
		vertical-align: middle;
	}

	.product-count
	{
		font-size: 0.7rem;
		color: #e75516;
		font-weight: normal;
		font-style: italic;
		margin-right: 6px;
	}

	.product-title
	{
		font-size: 0.8em;
		font-weight: 500;
		color: #757575;
		display: flex;
		align-items: center;
		padding-left: 20px;
		gap: 10px;
		text-transform: uppercase;
	}

	.controls
	{
		display: flex;
		justify-content: flex-start;
		gap: 15px;
		align-items: center;
		margin-bottom: 20px;
		padding: 10px;
		background: #f5f5f5;
		border-radius: 6px;
		flex-wrap: wrap;
		position: sticky;
		top: 0;
		z-index: 1000;
	}

	.controls input[type="search"]
	{
		flex: 1;
		min-width: 200px;
		padding: 10px 15px;
		border: 1px solid #ddd;
		border-radius: 4px;
		font-size: 14px;
	}

	.controls select
	{
		padding: 10px 15px;
		border: 1px solid #ddd;
		border-radius: 4px;
		font-size: 15px;
		background: white;
	}

	.lang-option
	{
		display: block;
		padding: 4px;
		cursor: pointer;
		transition: background 0.15s;
		user-select: none;
	}

	.lang-dropdown
	{
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		margin-top: 5px;
		background: white;
		border: 1px solid #ddd;
		border-radius: 4px;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
		z-index: 1000;
		max-height: 300px;
		overflow-y: auto;
		min-width: 160px;
		font-size: 0.9em;
	}

	.lang-toggle
	{
		padding: 7px 10px;
		border: 1px solid #ddd;
		border-radius: 4px;
		font-size: 0.85em;
		background: white;
		cursor: pointer;
		min-width: 150px;
		text-align: left;
		transition: all 0.2s;
	}

	.features
	{
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
		gap: 15px;
		margin-top: 20px;
		text-align: center;
	}

	.feature-card
	{
		background: rgba(255, 255, 255, 0.15);
		backdrop-filter: blur(10px);
		border-radius: 10px;
		padding: 12px;
		border: 1px solid rgba(255, 255, 255, 0.2);
		transition: all 0.3s ease;
		animation: fadeInUp 0.6s ease-out backwards;
	}

	.feature-desc
	{
		font-size: 0.8rem;
		opacity: 0.85;
		line-height: 1.3;
	}

	.feature-title
	{
		font-size: 0.95rem;
		font-weight: 600;
		margin-bottom: 6px;
	}

	.tagline
	{
		font-weight: 500;
		margin-bottom: 10px;
		opacity: 0.95;
		letter-spacing: 0.3px;
	}

	.intro,
	li
	{
		font-size: 0.8rem;
		line-height: 1.3;
		opacity: 0.9;
		max-width: 100%;
	}

	h1
	{
		font-size: 1.1rem;
	}

	.product-header.expanded
	{
		background: #cbd6df;
		border-color: #d9d9d9;
		position: sticky;
		top: 107px;
		z-index: 90;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	}

	.category-header
	{
		padding: 15px 20px;
		font-size: 1.2rem;
		font-weight: 500;
		border-radius: 6px;
		margin-bottom: 14px;
		color: white;
		position: sticky;
		top: 50px;
		z-index: 100;
	}

	.collapse-icon
	{
		font-size: 1.2rem;
		color: #666;
		transition: transform 0.3s ease;
	}

	.filter-buttons
	{
		display: flex;
		gap: 10px;
		flex-wrap: wrap;
		justify-content: center;
	}

	.filter-btn
	{
		font-size: 0.8em;
	}

	.category-badge
	{
		display: inline-block;
		padding: 3px 8px;
		border-radius: 12px;
		font-size: 0.6rem;
		font-weight: 500;
		text-transform: uppercase;
		margin-bottom: 4px;
		float: left;
		position: absolute;
		right: 2%;
	}

	.doc-title
	{
		font-size: 0.8rem;
		font-weight: 600;
		color: #4c4c4c;
		margin-bottom: 4px;
		line-height: 1.2;
		text-transform: uppercase;
	}

	.controls
	{
		flex-direction: column;
		align-items: center;
	}

	.controls input[type="search"],
	.controls select
	{
		width: 50vw;
	}

	.count
	{
		margin-left: 0;
	}
}

@media (max-width: 627px)
{
	.hero-collapsed-title
	{
		font-size: 1rem;
		font-weight: 600;
		margin: 0;
		opacity: 0;
		max-height: 0;
		overflow: hidden;
		transition: opacity 0.3s ease, max-height 0.3s ease;
		width: 80%;
	}
}

@media (max-width: 550px)
{
	.logo-container
	{
		height: 36px;
	}

	.logo-wordmark
	{
		opacity: 0;
		pointer-events: none;
	}

	.logo-thumbnail
	{
		opacity: 1;
	}

	.hero-content h1
	{
		font-size: 0.8em;
	}

	.notif-text
	{
		flex-direction: column;
		gap: 2px;
	}

	.notif-title
	{
		white-space: normal;
	}

	#notif-inner
	{
		padding: 8px 12px 13px;
	}
}

/* ============================================ */
/* MONOCHROME TOGGLE SWITCH */
/* ============================================ */

.theme-toggle-container
{
	position: absolute;
	top: 44px;
	right: 24px;
	display: flex;
	align-items: center;
	gap: 8px;
	z-index: 1001;
}

.theme-toggle
{
	position: relative;
	display: inline-block;
	width: 40px;
	height: 20px;
}

.theme-toggle input
{
	opacity: 0;
	width: 0;
	height: 0;
}

.theme-slider
{
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ff7a14;
	transition: 0.2s;
	border-radius: 28px;
}

.theme-slider:before
{
	position: absolute;
	content: "";
	height: 12px;
	width: 12px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: 0.3s;
	border-radius: 50%;
}

input:checked + .theme-slider
{
	background-color: #666;
}

input:checked + .theme-slider:before
{
	transform: translateX(20px);
}

.theme-label
{
	font-size: 12px;
	color: #666;
	font-weight: 500;
	user-select: none;
}

/* ============================================ */
/* MONOCHROME THEME OVERRIDES */
/* ============================================ */

body.monochrome .hero-section
{
	background: linear-gradient(135deg, #5a5a5a 0%, #3a3a3a 50%, #2a2a2a 100%);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	border: 3px solid #949494;
}

body.monochrome .file-icon
{
	filter: grayscale(1);
	opacity: 1;
}

body.monochrome .share-btn
{
	background: #666;
}

body.monochrome .product-header
{
	background: #bfbfbf;
}

.product-header.expanded:hover
{
	background: #d9d9d9;
	border-color: #d9d9d9;
	position: sticky;
	top: 114px;
	z-index: 90;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 10px;
}

body.monochrome .product-count
{
	font-size: 0.8rem;
	color: #ffffff;
	font-weight: 800;
	font-style: italic;
	margin-right: 12px;
}

body.monochrome .lang-option .fi
{
	font-size: 1.2em;
	margin-right: 4px;
	margin-left: 0px;
	vertical-align: middle;
	filter: grayscale(100%);
}

body.monochrome .feature-card
{
	border: 1px solid #949494;
}

body.monochrome .feature-card:hover
{
	background: #d9d9d9;
	transform: translateY(0px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body.monochrome .intro
{
	color: #f7f7f7;
}

body.monochrome .stat-label
{
	color: #f7f7f7;
}

body.monochrome li
{
	color: #f7f7f7;
}

body.monochrome .hero-section h1
{
	color: #f7f7f7;
}

body.monochrome .hero-toggle-btn
{
	background: #666;
}

body.monochrome .share-btn:hover
{
	background: #555;
}

body.monochrome .feature-icon
{
	font-size: 2rem;
	margin-bottom: 4px;
	display: block;
	text-align: center;
	filter: grayscale(100%);
}

body.monochrome .lang-toggle:hover
{
	border-color: #666;
}

body.monochrome .count
{
	color: #666;
}

body.monochrome .lang-flag
{
	font-size: 14px;
	margin-right: 2px;
	filter: grayscale(100%);
}

body.monochrome .lang-pill
{
	background: #f7f7f7;
	border: 1px solid #757575;
	color: #292929;
}

body.monochrome .lang-pill:hover
{
	background: #555;
}

body.monochrome #q:focus
{
	border-color: #666;
	animation: focus-glow-mono 1.5s ease-in-out infinite;
}

@keyframes focus-glow-mono {
	0%, 100% {
		box-shadow: 0 0 0 3px rgba(102, 102, 102, 0.2);
	}
	50% {
		box-shadow: 0 0 0 5px rgba(102, 102, 102, 0.4);
	}
} 

body.monochrome .filter-btn:hover
{
	background-color: #666;
	outline: 2px solid #666 !important;
}

body.monochrome .filter-btn.active
{
	background: #777;
	border: 1px solid #777;
}

body.monochrome .intro > a:link
{
	font-weight: bold;
	text-decoration: underline;
	background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

body.monochrome .intro > a:hover
{
	background: linear-gradient(135deg, #ededed 0%, #d9d9d9 100%);
	-webkit-background-clip: text;
	text-shadow: 0 0 4px #4c4c4c;
	transition: text-shadow 0.3s ease;
}

/* Monochrome Category Buttons */

body.monochrome .filter-btn.active[data-cat="home"]
{
	background: #7a7a7a;
	border-color: #7a7a7a;
}

body.monochrome .filter-btn.active[data-cat="fleet"]
{
	background: #4a4a4a;
	border-color: #4a4a4a;
}

body.monochrome .filter-btn.active[data-cat="ac"]
{
	background: #6a6a6a;
	border-color: #6a6a6a;
}

body.monochrome .filter-btn.active[data-cat="dc"]
{
	background: #8a8a8a;
	border-color: #8a8a8a;
}

body.monochrome .filter-btn.active[data-cat="cpc"]
{
	background: #6f6f6f;
	border-color: #6f6f6f;
}

body.monochrome .filter-btn.active[data-cat="cpr"]
{
	background: #5a5a5a;
	border-color: #5a5a5a;
}

body.monochrome .filter-btn.active[data-cat="soft"]
{
	background: #9a9a9a;
	border-color: #9a9a9a;
}

body.monochrome .filter-btn.active[data-cat="trd"]
{
	background: #4d4d4d;
	border-color: #4d4d4d;
}

body.monochrome .filter-btn.active[data-cat="misc"]
{
	background: #8f8f8f;
	border-color: #8f8f8f;
}

body.monochrome .filter-btn.active[data-cat="eaton"]
{
	background: #5f5f5f;
	border-color: #5f5f5f;
}

body.monochrome .filter-btn.active[data-cat="eol"]
{
	background: #000000;
	border-color: #000000;
}

/* Monochrome Category Headers */

body.monochrome .category-section[data-category="home"] .category-header
{
	background: #7a7a7a;
}

body.monochrome .category-section[data-category="fleet"] .category-header
{
	background: #4a4a4a;
}

body.monochrome .category-section[data-category="ac"] .category-header
{
	background: #6a6a6a;
}

body.monochrome .category-section[data-category="dc"] .category-header
{
	background: #8a8a8a;
}

body.monochrome .category-section[data-category="cpc"] .category-header
{
	background: #6f6f6f;
}

body.monochrome .category-section[data-category="cpr"] .category-header
{
	background: #5a5a5a;
}

body.monochrome .category-section[data-category="soft"] .category-header
{
	background: #9a9a9a;
}

body.monochrome .category-section[data-category="trd"] .category-header
{
	background: #4d4d4d;
}

body.monochrome .category-section[data-category="misc"] .category-header
{
	background: #8f8f8f;
}

body.monochrome .category-section[data-category="eaton"] .category-header
{
	background: #5f5f5f;
}

body.monochrome .category-section[data-category="eol"] .category-header
{
	background: #000000;
}

/* Monochrome Card Borders */

body.monochrome .doc-card[data-category="home"]
{
	border-color: #7a7a7a;
}

body.monochrome .doc-card[data-category="fleet"]
{
	border-color: #4a4a4a;
}

body.monochrome .doc-card[data-category="ac"]
{
	border-color: #6a6a6a;
}

body.monochrome .doc-card[data-category="dc"]
{
	border-color: #8a8a8a;
}

body.monochrome .doc-card[data-category="cpc"]
{
	border-color: #6f6f6f;
}

body.monochrome .doc-card[data-category="soft"]
{
	border-color: #9a9a9a;
}

body.monochrome .doc-card[data-category="misc"]
{
	border-color: #8f8f8f;
}

body.monochrome .doc-card[data-category="eaton"]
{
	border-color: #5f5f5f;
}

/* Monochrome Category Badges */

body.monochrome .category-badge[data-category="home"]
{
	background: #7a7a7a;
}

body.monochrome .category-badge[data-category="fleet"]
{
	background: #4a4a4a;
}

body.monochrome .category-badge[data-category="ac"]
{
	background: #6a6a6a;
}

body.monochrome .category-badge[data-category="dc"]
{
	background: #8a8a8a;
}

body.monochrome .category-badge[data-category="cpc"]
{
	background: #6f6f6f;
}

body.monochrome .category-badge[data-category="cpr"]
{
	background: #5a5a5a;
}

body.monochrome .category-badge[data-category="soft"]
{
	background: #9a9a9a;
}

body.monochrome .category-badge[data-category="misc"]
{
	background: #8f8f8f;
}

body.monochrome .category-badge[data-category="eaton"]
{
	background: #5f5f5f;
}

body.monochrome .category-badge[data-category="trd"]
{
	background: #4d4d4d;
}

body.monochrome .category-badge[data-category="eol"]
{
	background: #000000;
}

/* Override inline border styles in monochrome mode */

body.monochrome .filter-btn[data-cat="home"]
{
	border: 2px solid #7a7a7a !important;
}

body.monochrome .filter-btn[data-cat="fleet"]
{
	border: 2px solid #4a4a4a !important;
}

body.monochrome .filter-btn[data-cat="ac"]
{
	border: 2px solid #6a6a6a !important;
}

body.monochrome .filter-btn[data-cat="dc"]
{
	border: 2px solid #8a8a8a !important;
}

body.monochrome .filter-btn[data-cat="cpc"]
{
	border: 2px solid #6f6f6f !important;
}

body.monochrome .filter-btn[data-cat="cpr"]
{
	border: 2px solid #5a5a5a !important;
}

body.monochrome .filter-btn[data-cat="soft"]
{
	border: 2px solid #9a9a9a !important;
}

body.monochrome .filter-btn[data-cat="trd"]
{
	border: 2px solid #4d4d4d !important;
}

body.monochrome .filter-btn[data-cat="eaton"]
{
	border: 2px solid #5f5f5f !important;
}

body.monochrome .filter-btn[data-cat="misc"]
{
	border: 2px solid #8f8f8f !important;
}

body.monochrome .filter-btn[data-cat="eol"]
{
	border: 2px solid #000000 !important;
}

body.monochrome #notif-banner
{
	position: sticky;
	top: 0;
	z-index: 9999;
	width: 100%;
	background: #1c2330;
	border-bottom: 1px solid #949494;
	font-family: 'Inter', Helvetica, Arial, sans-serif;
	overflow: hidden;
	animation: notif-slidein 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
	margin-left: auto;
	margin-right: auto;
}

body.monochrome #notif-progress-bar
{
	height: 100%;
	background: #949494;
	width: 100%;
	transform-origin: left center;
	transform: scaleX(1);
	transition: transform linear;
	/* duration set via JS */
}

body.monochrome .notif-link
{
	color: #757575;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s;
}

body.monochrome .notif-title
{
	color: #757575;
}

body.monochrome .notif-link:hover
{
	color: #ffffff;
}

body.monochrome .notif-dot:hover
{
	background: #bfbfbf;
}

body.monochrome .notif-dot.notif-dot-active
{
	background: #f7f7f7;
}

.header
{
	position: relative;
}

.theme-toggle-container
{
	position: absolute;
	top: 10px;
	right: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	z-index: 100;
}

@media (max-width: 380px)
{
	.container
	{
		margin: 0 auto;
		padding: 15px;
		border-radius: 8px;
		box-shadow: 0 2px 8px rgba(0,0,0,0.1);
		width: 100%;
	}

	.share-btn
	{
		display: none;
	}

	.count
	{
		display: none;
	}

	.theme-toggle-container
	{
		position: absolute;
		top: 5px;
		right: 0;
		display: flex;
		align-items: center;
		gap: 6px;
		z-index: 100;
	}

	.theme-label
	{
		font-size: 9px;
		color: #666;
		font-weight: 4500;
		user-select: none;
	}

	.theme-toggle
	{
		position: relative;
		display: inline-block;
		width: 30px;
		height: 14px;
	}

	.theme-slider:before
	{
		position: absolute;
		content: "";
		height: 8px;
		width: 8px;
		left: 4px;
		bottom: 4px;
		background-color: white;
		transition: 0.3s;
		border-radius: 50%;
	}

	.hero-section.collapsed
	{
		padding: 26px 20px;
	}

	.hero-section
	{
		min-height: 70px;
	}
}

@media (max-width: 320px)
{
	.container
	{
		margin: 0 auto;
		padding: 4px;
		border-radius: 8px;
		box-shadow: 0 2px 8px rgba(0,0,0,0.1);
		width: 100%;
	}

	.stats-bar
	{
		display: none;
	}

	.feature-icon
	{
		display: none;
	}

	.hero-toggle-btn
	{
		position: absolute;
		top: 20px;
		right: 20px;
		background: #ff7a14;
		border: 2px solid rgba(255, 255, 255, 0.3);
		color: white;
		padding: 5px 10px;
		border-radius: 8px;
		cursor: pointer;
		font-size: 10px;
		font-weight: 400;
		transition: transform 0.3s ease;
		z-index: 10;
		backdrop-filter: blur(10px);
		display: flex;
		align-items: center;
		gap: 4px;
	}

	.category-header
	{
		font-size: 0.8em;
	}

	.category-header
	{
		padding: 10px 14px;
		font-size: 0.8em;
		font-weight: 500;
		border-radius: 6px;
		margin-bottom: 14px;
		color: white;
		position: sticky;
		top: 104px;
		z-index: 100;
	}

	.doc-title
	{
		font-size: 0.8rem;
		font-weight: 600;
		color: #4c4c4c;
		margin-bottom: 4px;
		line-height: 1;
		text-transform: uppercase;
	}

	.product-header.expanded
	{
		background: #cbd6df;
		border-color: #d9d9d9;
		position: sticky;
		top: 142px;
		z-index: 90;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	}

	.controls input[type="search"]
	{
		flex: 1;
		min-width: 100px;
		padding: 10px 15px;
		border: 1px solid #ddd;
		border-radius: 4px;
		font-size: 12px;
	}
}

@media (max-width: 1600px)
{
	/* Using this media to control which elements are hidden when broswer is scaled to beyond 120% */

	.site-name
	{
		display: none;
	}
}

