/* header.css: Apply common styles for all pages 
 *             by placing this file in the header.
 */

/******************************************* header.css (original) ****************************************/
/*****************************************************************************************************************/


/* inputs: stronger border and darker text */
.form-control {
    background-color: #ffffff;
    color: #626466;
    border: 1px solid #b5b8b9;
    box-shadow: none;
}
.form-control:focus {
    border-color: #262a2e94;
    box-shadow: 0 0 0 .12rem rgba(73,80,87,.15);
}

/* make the checkbox more visible */
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    border: 1px solid #76787b;
    background-color: #fff;
}
.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* improve visibility of the password-hash column */
.text-monospace.small {
    color: #0b1220;
}

/* optional: increase contrast for small text elements */
.small, .form-label.small {
    color: #343a40;
}




/* *********************************************** branding.css ************************************************************** */
/*****************************************************************************************************************/

/* Global spinner overlay */
#globalSpinnerOverlay {
	position: fixed;
	inset: 0;
	background: rgba(44, 53, 57, 0.35);
	display: none;
	z-index: 1050; /* above navbar/modals */
	backdrop-filter: blur(2px);
}
#globalSpinnerOverlay .spinner-box {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #ffffff;
	padding: 16px;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Fixed navbar with scroll-based theming */
:root {
	--navbar-height: 64px;
}

.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1040;
	transition: background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.navbar-placeholder {
	height: var(--navbar-height);
}

.nav-transition .nav-link,
.nav-transition .navbar-brand,
.nav-transition .navbar-text,
.nav-transition .navbar-toggler {
	transition: color 0.2s ease, border-color 0.2s ease;
}

.navbar.navbar-transparent {
	background: transparent;
	box-shadow: none;
}

.navbar.navbar-solid {
	background: #2C3539;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.navbar.navbar-transparent .nav-link,
.navbar.navbar-transparent .navbar-brand,
.navbar.navbar-transparent .navbar-text {
	color: #ffffff;
}

.navbar.navbar-transparent .nav-link:hover,
.navbar.navbar-transparent .nav-link:focus {
	color: rgba(255, 255, 255, 0.8);
}

.navbar.navbar-solid .nav-link,
.navbar.navbar-solid .navbar-brand,
.navbar.navbar-solid .navbar-text {
	color: #ffffff;
}

.navbar.navbar-solid .nav-link:hover,
.navbar.navbar-solid .nav-link:focus {
	color: rgba(255, 255, 255, 0.8);
}

.navbar-transparent .navbar-toggler {
	border-color: rgba(255, 255, 255, 0.55);
}

.navbar-transparent .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-solid .navbar-toggler {
	border-color: rgba(255, 255, 255, 0.55);
}

.navbar-solid .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Mobile menu — hamburger expanded panel ─────────────────── */
@media (max-width: 991.98px) {

	/* Toggler: remove Bootstrap's default border/outline ring */
	.navbar-toggler {
		border: none !important;
		padding: 6px 8px;
		border-radius: 6px;
	}
	.navbar-toggler:focus {
		box-shadow: none !important;
	}
	.navbar-transparent .navbar-toggler {
		background: rgba(255,255,255,0.12);
	}
	.navbar-transparent .navbar-toggler:hover {
		background: rgba(255,255,255,0.20);
	}
	.navbar-solid .navbar-toggler {
		background: rgba(255,255,255,0.12);
	}
	.navbar-solid .navbar-toggler:hover {
		background: rgba(255,255,255,0.20);
	}

	/* Collapsed menu panel — dark charcoal for both transparent & solid modes */
	.navbar-collapse {
		background: #2C3539 !important;
		border-radius: 0 0 14px 14px;
		margin-top: 10px;
		padding: 8px 0 18px;
		box-shadow: 0 12px 36px rgba(0,0,0,0.30);
		overflow: hidden;
	}

	/* Primary nav links */
	.navbar-collapse .nav-link {
		color: rgba(255,255,255,0.80) !important;
		padding: 13px 24px !important;
		font-size: 15px;
		font-weight: 500;
		letter-spacing: 0.1px;
		border-left: 3px solid transparent;
		transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	}
	.navbar-collapse .nav-link:hover,
	.navbar-collapse .nav-link:focus,
	.navbar-collapse .nav-link.active {
		color: #ffffff !important;
		background: rgba(10,122,140,0.18) !important;
		border-left-color: #0A7A8C;
	}
	/* Dropdown toggle caret stays white */
	.navbar-collapse .nav-link.dropdown-toggle::after {
		border-top-color: rgba(255,255,255,0.60);
	}

	/* Nested dropdown items */
	.navbar-collapse .dropdown-menu {
		background: rgba(0,0,0,0.18) !important;
		border: none !important;
		box-shadow: none !important;
		border-radius: 0 !important;
		padding: 4px 0 !important;
		margin: 0 !important;
	}
	.navbar-collapse .dropdown-item {
		color: rgba(255,255,255,0.68) !important;
		padding: 11px 24px 11px 44px !important;
		font-size: 14px;
		border-left: 3px solid transparent;
		transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	}
	.navbar-collapse .dropdown-item:hover,
	.navbar-collapse .dropdown-item:focus {
		color: #ffffff !important;
		background: rgba(10,122,140,0.18) !important;
		border-left-color: #0A7A8C;
	}

	/* Right-side nav (Login / Register / username) — visual separator */
	.navbar-collapse .navbar-nav.ms-auto {
		border-top: 1px solid rgba(255,255,255,0.10);
		margin-top: 10px;
		padding-top: 6px;
	}

	/* Login link — subtle */
	.navbar-collapse .nav-link[href="/signin.php"] {
		color: rgba(255,255,255,0.65) !important;
	}
	/* Register link — gold accent to draw attention */
	.navbar-collapse .nav-link[href="/signup.php"] {
		color: #C9A661 !important;
		font-weight: 600;
	}
	.navbar-collapse .nav-link[href="/signup.php"]:hover {
		color: #e0c47a !important;
		background: rgba(201,166,97,0.12) !important;
		border-left-color: #C9A661;
	}
}

/* ── Desktop dropdown menus — dark charcoal, consistent with mobile panel ── */
.navbar .dropdown-menu {
	background: #2C3539;
	border: none;
	border-top: 2px solid #0A7A8C;
	border-radius: 0 0 12px 12px;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
	padding: 8px 0;
	min-width: 220px;
}

.navbar .dropdown-item {
	color: rgba(255, 255, 255, 0.75);
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 500;
	border-left: 3px solid transparent;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
	color: #ffffff;
	background: rgba(10, 122, 140, 0.20);
	border-left-color: #0A7A8C;
}

.navbar .dropdown-item:active {
	background: rgba(10, 122, 140, 0.30);
}

/* Divider line inside dropdowns */
.navbar .dropdown-divider {
	border-color: rgba(255, 255, 255, 0.10);
	margin: 6px 0;
}

/* ── Custom chevron dropdown arrow — larger, cleaner ── */
.navbar .dropdown-toggle::after {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-right: 1.8px solid currentColor;
	border-bottom: 1.8px solid currentColor;
	border-top: none;
	border-left: none;
	transform: rotate(45deg) translateY(-2px);
	vertical-align: middle;
	margin-left: 6px;
	opacity: 0.8;
	content: '';
}

/* ── Nav links: breathing room from the logo ── */
.navbar .navbar-nav.me-auto {
	margin-left: 28px;
}

.navbar .nav-link {
	padding-left: 14px !important;
	padding-right: 14px !important;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.15px;
}

.logo-nav {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.logo-mark-white { display: none; }

.logo-text-nav {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.7px;
}

/* Solid navbar (dark): gold "Map" + white "Outcomes" */
.navbar-solid .logo-mark-white { display: inline-flex; }
.navbar-solid .logo-mark-color { display: none; }
.navbar-solid .logo-text-nav .map { color: var(--compass-gold); text-shadow: 0 0 6px rgba(201, 166, 97, 0.1), 0 0 12px rgba(201, 166, 97, 0.1); }
.navbar-solid .logo-text-nav .outcomes { color: #ffffff; opacity: 0.93; }

/* Logo mark: 22° clockwise rotation */
.logo-mark-color svg,
.logo-mark-white svg {
	transform: rotate(22deg);
}

/* Transparent navbar: gold "Map", white "Outcomes" */
.navbar-transparent .logo-mark-white { display: inline-flex; }
.navbar-transparent .logo-mark-color { display: none; }
.navbar-transparent .logo-text-nav,
.navbar-transparent .logo-text-nav .outcomes {
	color: #ffffff;
}
.navbar-transparent .logo-text-nav .map {
	color: var(--compass-gold);
	text-shadow: 0 0 6px rgba(201, 166, 97, 0.1), 0 0 12px rgba(201, 166, 97, 0.1);
}

/* Topographic overlay (light grid) — hide on navbar */
.nav-hero.linear-gradient .topo-bg-light {
	display: none;
}

/* Shared hero gradient shell for login/register/index */
.linear-gradient {
	position: relative;
	background: linear-gradient(135deg, rgba(10,122,140, 1) 0%, rgba(45,95,63, 1) 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	overflow: hidden;
}

/* Header banner variant: keeps gradient + overlay without flex centering
   and uses a shorter height suitable for admin/user pages */
.nav-hero.linear-gradient {
	height: var(--navbar-height);
	min-height: 0;                      /* override min-height for nav-hero */
	display: block;
	padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    pointer-events: none;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	/* ── Brand colours ── */
	--topographic-teal:  #0A7A8C;
	--contour-green:     #2D5F3F;
	--parchment-cream:   #F4F1E8;
	--compass-gold:      #C9A661;
	--compass-gold-dark: #A07C3A;   /* darkened for contrast on white */
	--route-red:         #B4534E;
	--elevation-brown:   #6B5A47;
	--charcoal:          #2C3539;
	--slate-gray:        #5A6C75;
	--mist:              #E8EBED;
	--white:             #FFFFFF;

	/* ── Typography ── */
	--font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
	--font-mono:    'Courier New', Courier, monospace;

	/* ── Type scale ── */
	--text-xs:   11px;
	--text-sm:   13px;
	--text-base: 15px;
	--text-lg:   18px;
	--text-xl:   22px;

	/* ── Border radius ── */
	--radius-sm:   4px;
	--radius-md:   8px;
	--radius-lg:   14px;
	--radius-pill: 999px;

	/* ── Elevation shadows ── */
	--shadow-sm: 0 2px 8px  rgba(44, 53, 57, 0.08);
	--shadow-md: 0 4px 16px rgba(44, 53, 57, 0.12);
	--shadow-lg: 0 8px 32px rgba(44, 53, 57, 0.20);
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: var(--parchment-cream);
	color: var(--charcoal);
	line-height: 1.6;
	/* branding2.html uses body padding; keep default here and override for branding.html */
	padding: 40px 20px;
}

/* branding.html uses body.topo-bg and expects no extra padding */
body.topo-bg {
	padding: 0;
}

/* Topographic Background Pattern */
.topo-bg {
	background-image:
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 50px,
			rgba(10, 122, 140, 0.03) 50px,
			rgba(10, 122, 140, 0.03) 51px
		),
		repeating-linear-gradient(
			90deg,
			transparent,
			transparent 50px,
			rgba(10, 122, 140, 0.03) 50px,
			rgba(10, 122, 140, 0.03) 51px
		);
}


.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

/* branding2 prefers a wider container; apply when body is not topo-bg */
body:not(.topo-bg) .container {
	max-width: 1400px;
}

/* Full-width layout for PWA/mobile */
html, body {
	width: 100%;
	overflow-x: hidden;
}

/* Full-width containers */
.container {
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

/* Full-width sections on all pages */
section {
	width: 100%;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
}

header {
	background: var(--white);
	border-bottom: 2px solid var(--mist);
	padding: 24px 0;
	margin-bottom: 60px;
}

.header-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo-pathfinder {
	display: flex;
	align-items: center;
	gap: 12px;
}

.compass-icon {
	width: 48px;
	height: 48px;
	position: relative;
}

.compass-icon svg {
	width: 100%;
	height: 100%;
	transition: transform 0.6s ease;
	filter: drop-shadow(0 2px 4px rgba(10, 122, 140, 0.15));
}

.logo-pathfinder:hover .compass-icon svg {
	transform: rotate(45deg);
}

.logo-text {
	font-size: 28px;
	font-weight: 600;
	color: var(--charcoal);
	letter-spacing: 0.5px;
}

.logo-text .map { color: var(--topographic-teal); }
.logo-text .outcomes { color: var(--contour-green); }

.tagline {
	font-size: 14px;
	color: var(--slate-gray);
	font-style: italic;
}

/* Section Styling (branding.html) */
section {
	background: var(--white);
	border-radius: 0px;
	padding: 40px;
	margin-bottom: 40px;
	box-shadow: 0 2px 8px rgba(44, 53, 57, 0.08);
	border: 1px solid var(--mist);
	position: relative;
	overflow: hidden;
}

/* Add topographic grid pattern only to light landing page sections (home.css handles dark sections with ::before) */
section.home-problem,
section.home-features,
section.home-how {
	background-image:
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 50px,
			rgba(255, 255, 255, 0.14) 50px,
			rgba(255, 255, 255, 0.14) 51px
		),
		repeating-linear-gradient(
			90deg,
			transparent,
			transparent 50px,
			rgba(255, 255, 255, 0.14) 50px,
			rgba(255, 255, 255, 0.14) 51px
		);
}


h1 {
	font-size: 36px;
	color: var(--charcoal);
	margin-bottom: 12px;
	font-weight: 700;
	text-align: left;
}

h2 {
	font-size: 28px;
	color: var(--charcoal);
    margin-top: 80px;              /* for adding space below the navbar */
	margin-bottom: 15px;
	font-weight: 600;
	position: relative;
	z-index: 1;
}

h3 {
	font-size: 20px;
	color: var(--topographic-teal);
	margin-bottom: 16px;
	font-weight: 600;
}

/* Color Palette (branding.html) */
.color-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
	margin-top: 24px;
}

.color-card {
	border: 1px solid var(--mist);
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.color-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 16px rgba(44, 53, 57, 0.12);
}

.color-swatch {
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: 600;
	font-size: 18px;
	text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.color-info { padding: 16px; background: var(--white); }
.color-name { font-weight: 600; color: var(--charcoal); margin-bottom: 4px; }
.color-hex { font-family: 'Courier New', monospace; color: var(--slate-gray); font-size: 14px; }
.color-usage { font-size: 12px; color: var(--slate-gray); margin-top: 8px; }

/* Logo Variations (branding.html) */
.logo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 32px;
	margin-top: 32px;
}

.logo-variant {
	text-align: center;
	padding: 32px;
	border: 1px solid var(--mist);
	border-radius: 8px;
	transition: all 0.3s ease;
}

.logo-variant:hover {
	border-color: var(--topographic-teal);
	box-shadow: 0 4px 12px rgba(10, 122, 140, 0.1);
}

.logo-variant h4 {
	margin-top: 16px;
	color: var(--slate-gray);
	font-size: 14px;
	font-weight: 500;
}

/* Icon System (branding.html) */
.icon-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 24px;
	margin-top: 24px;
}

.icon-item {
	text-align: center;
	padding: 24px 16px;
	border: 1px solid var(--mist);
	border-radius: 8px;
	transition: all 0.3s ease;
}

.icon-item:hover {
	background: var(--parchment-cream);
	border-color: var(--topographic-teal);
	transform: translateY(-2px);
}

.icon-item svg {
	width: 48px;
	height: 48px;
	stroke: var(--topographic-teal);
	margin-bottom: 12px;
	transition: all 0.3s ease;
}

.icon-item:hover svg {
	stroke: var(--contour-green);
	transform: scale(1.1);
}

.icon-label { font-size: 12px; color: var(--slate-gray); font-weight: 500; }

/* Button Styles (branding.html) */
.button-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 24px;
}

.btn {
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	font-family: inherit;
}

.btn-primary {
	background: var(--compass-gold);
	color: var(--white);
	box-shadow: 0 2px 4px rgba(201, 166, 97, 0.2);
}

.btn-primary:hover {
	background: #B8954E;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(201, 166, 97, 0.3);
}

.btn-create {
	background: var(--topographic-teal);
	color: var(--white);
	box-shadow: 0 2px 4px rgba(45, 95, 63, 0.2);
}

.btn-create:hover {
	background: var(--topographic-teal);
    color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(45, 95, 63, 0.3);
}

.btn-update {
	background: var(--compass-gold);
	color: var(--white);
	box-shadow: 0 2px 4px rgba(201, 166, 97, 0.2);
}

.btn-update:hover {
	background: #B8954E;
    color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(201, 166, 97, 0.3);
}

.btn-delete {
    background: var(--route-red);
    color: var(--white);
    box-shadow: 0 2px 4px rgba(180, 83, 78, 0.2);
}
.btn-delete:hover {
    background: var(--route-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(180, 83, 78, 0.3);
}

.btn-clear {
    background: var(--slate-gray);
    color: var(--white);
    box-shadow: 0 2px 4px rgba(107, 90, 71, 0.2);
}
.btn-clear:hover {
    background: var(--white);
    color: var(--slate-gray);
    transform: translateY(-2px);
    border: 1px solid var(--slate-gray);
    box-shadow: 0 4px 8px rgba(107, 90, 71, 0.3);
}

.btn-import {
    background: var(--topographic-teal);
    color: var(--white);
    box-shadow: 0 2px 4px rgba(44, 53, 57, 0.2);
}
.btn-import:hover {
    background: var(--white);
    transform: translateY(-2px);
    color: var(--topographic-teal);
    box-shadow: 0 4px 8px rgba(44, 53, 57, 0.3);
    border: 1px solid var(--topographic-teal);
}

.btn-export {
    background: var(--compass-gold);
    color: var(--white);
    box-shadow: 0 2px 4px rgba(90, 108, 117, 0.2);
}
.btn-export:hover {
    background: var(--white);
    color: var(--compass-gold);
    transform: translateY(-2px);
    border: 1px solid var(--compass-gold);
    box-shadow: 0 4px 8px rgba(90, 108, 117, 0.3);
}

.btn-destroy {
    background: var(--route-red);
    color: var(--mist);
    box-shadow: 0 2px 4px rgba(232, 235, 237, 0.2);
}
.btn-destroy:hover {
    background: var(--mist);
    color: var(--route-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(232, 235, 237, 0.3);
    border: 1px solid var(--route-red);
}

.btn-ghost { 
    background: transparent; 
    color: var(--elevation-brown); 
    border: 1px solid var(--mist); 
}

.btn-ghost:hover { 
    background: var(--mist); 
}

/* Cards (branding.html) */
.card-examples {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	margin-top: 24px;
}

.card {
	background: var(--white);
	border: 1px solid var(--mist);
	border-radius: 8px;
	padding: 24px;
	box-shadow: 0 2px 8px rgba(44, 53, 57, 0.08);
	transition: all 0.3s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(44, 53, 57, 0.12); }
.card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-icon { width: 40px; height: 40px; background: var(--parchment-cream); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.card-icon svg { width: 24px; height: 24px; stroke: var(--topographic-teal); }
.card h4 { font-size: 18px; color: var(--charcoal); font-weight: 600; }
.card p { color: var(--slate-gray); font-size: 14px; line-height: 1.6; }
.card-footer { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--mist); display: flex; align-items: center; justify-content: space-between; }
.status-badge { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.status-complete { background: rgba(45, 95, 63, 0.1); color: var(--contour-green); }
.status-progress { background: rgba(10, 122, 140, 0.1); color: var(--topographic-teal); }

/* Route Lines (branding.html) */
.route-demo { margin-top: 32px; padding: 40px; background: var(--parchment-cream); border-radius: 8px; position: relative; }
.route-points { display: flex; justify-content: space-between; align-items: center; position: relative; }
.route-line { position: absolute; top: 50%; left: 10%; right: 10%; height: 3px; background: var(--topographic-teal); border-style: dashed; border-width: 3px 0 0 0; border-color: var(--topographic-teal); }
.route-line::after { content: ''; position: absolute; right: 0; top: -4px; width: 0; height: 0; border-left: 8px solid var(--topographic-teal); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.pin { width: 60px; height: 60px; background: var(--white); border: 3px solid var(--topographic-teal); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 8px rgba(10, 122, 140, 0.2); position: relative; z-index: 2; transition: all 0.3s ease; }
.pin:hover { transform: rotate(-45deg) scale(1.1); box-shadow: 0 6px 12px rgba(10, 122, 140, 0.3); }
.pin-inner { transform: rotate(45deg); font-weight: 600; color: var(--topographic-teal); font-size: 14px; }
.pin.complete { border-color: var(--contour-green); background: var(--contour-green); }
.pin.complete .pin-inner { color: var(--white); }
.pin-label { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--slate-gray); white-space: nowrap; font-weight: 500; }

/* Progress Bar (branding.html) */
.progress-demo { margin-top: 32px; }
.progress-bar { height: 12px; background: var(--mist); border-radius: 6px; overflow: hidden; position: relative; margin-bottom: 8px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--contour-green), var(--topographic-teal)); border-radius: 6px; transition: width 1s ease; position: relative; }
.progress-fill::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; background: var(--compass-gold); border-radius: 50%; box-shadow: 0 2px 4px rgba(201, 166, 97, 0.4); }
.progress-label { display: flex; justify-content: space-between; font-size: 14px; color: var(--slate-gray); margin-bottom: 16px; }

/* Showcase (branding2.html) */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 32px; margin-bottom: 40px; }
.showcase-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(44, 53, 57, 0.08); border: 1px solid var(--mist); }
.showcase-header { padding: 20px 24px; background: var(--parchment-cream); border-bottom: 1px solid var(--mist); }
.showcase-header h3 { font-size: 18px; color: var(--topographic-teal); font-weight: 600; }
.showcase-header p { font-size: 14px; color: var(--slate-gray); margin-top: 4px; }
.showcase-content { padding: 40px; display: flex; align-items: center; justify-content: center; min-height: 250px; }
.subtitle { text-align: center; color: var(--slate-gray); font-size: 18px; margin-bottom: 60px; }

/* Dark Hero Section (branding2.html) */
.hero-dark { background: linear-gradient(135deg, #0A7A8C 0%, #2D5F3F 100%); }
.hero-content { text-align: center; color: white; }
.logo-hero { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 24px; transition: transform 0.3s ease; }
.logo-hero:hover { transform: scale(1.05); }
.logo-hero svg { filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)); }
.logo-text-hero { font-size: 48px; font-weight: 700; letter-spacing: -0.5px; }
.hero-tagline { font-size: 20px; opacity: 0.95; margin-bottom: 32px; }
.cta-button { background: var(--compass-gold); color: white; padding: 16px 40px; border-radius: 8px; font-size: 18px; font-weight: 600; border: none; cursor: pointer; box-shadow: 0 4px 12px rgba(201, 166, 97, 0.3); transition: all 0.3s ease; }
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201, 166, 97, 0.4); background: #B8954E; }

/* Light Header (branding2.html) */
.header-light { background: var(--white); padding: 20px; border-radius: 8px; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.logo-nav { display: flex; align-items: center; gap: 12px; transition: transform 0.3s ease; }
.logo-nav:hover svg { transform: rotate(45deg); }
.logo-nav svg { transition: transform 0.6s ease; }
/* Scoped to .nav-bar so it doesn't override the app navbar logo size */
.nav-bar .logo-text-nav { font-size: 28px; font-weight: 600; }
.nav-bar .logo-text-nav .map { color: var(--topographic-teal); }
.nav-bar .logo-text-nav .outcomes { color: var(--contour-green); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--slate-gray); text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--topographic-teal); }

/* Favicon Demo (branding2.html) */
.favicon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 24px; text-align: center; }
.favicon-item { padding: 20px; background: var(--parchment-cream); border-radius: 8px; }
.favicon-item svg { margin-bottom: 12px; }
.favicon-label { font-size: 12px; color: var(--slate-gray); font-weight: 500; }

/* App Icon (branding2.html) */
.app-icon-demo { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.phone-mockup { width: 280px; height: 560px; background: #1C1C1E; border-radius: 40px; padding: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); position: relative; }
.phone-screen { width: 100%; height: 100%; background: linear-gradient(180deg, #1C1C1E 0%, #2C2C2E 100%); border-radius: 32px; padding: 60px 20px 20px 20px; overflow: hidden; }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.app-icon { width: 100%; aspect-ratio: 1; border-radius: 22%; overflow: hidden; background: var(--charcoal); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); transition: transform 0.2s ease; }
.app-icon:hover { transform: scale(1.1); }
.app-icon.mapoutcomes { background: linear-gradient(135deg, #0A7A8C 0%, #2D5F3F 100%); }
.app-icon svg { width: 70%; height: 70%; }

/* Business Card (branding2.html) */
.business-card { width: 100%; max-width: 500px; height: 280px; background: var(--charcoal); border-radius: 12px; padding: 32px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.business-card::before { content: ''; position: absolute; top: 0; right: 0; width: 300px; height: 300px; background: radial-gradient(circle, rgba(10, 122, 140, 0.15) 0%, transparent 70%); }
.card-logo-section { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.card-logo-text { font-size: 32px; font-weight: 700; color: white; }
.card-info { position: relative; z-index: 1; }
.card-name { font-size: 20px; font-weight: 600; color: white; margin-bottom: 4px; }
.card-title { font-size: 14px; color: var(--compass-gold); margin-bottom: 16px; }
.card-contact { font-size: 13px; color: rgba(255, 255, 255, 0.7); line-height: 1.8; }

/* Email Signature (branding2.html) */
.email-signature { background: white; padding: 24px; border-left: 4px solid var(--topographic-teal); font-family: Arial, sans-serif; }
.sig-logo-line { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sig-name { font-size: 18px; font-weight: 700; color: var(--charcoal); margin-bottom: 2px; }
.sig-title { font-size: 14px; color: var(--topographic-teal); margin-bottom: 12px; }
.sig-company { font-size: 16px; font-weight: 600; color: var(--charcoal); margin-bottom: 8px; }
.sig-contact { font-size: 13px; color: var(--slate-gray); line-height: 1.6; }

/* Loading Animation (branding2.html) */
.loading-demo { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.spinner { animation: spin 2s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.loading-text { font-size: 16px; color: var(--slate-gray); font-weight: 500; }

/* Constellation Map Logo Animation */
.constellation-logo {
	transition: transform 0.3s ease;
}

/* Trigger on .logo-nav hover so animation plays when hovering logo text too */
.constellation-logo:hover .constellation-circles,
.logo-nav:hover .constellation-logo .constellation-circles {
	animation: constellationMorph 8s ease-in-out infinite;
}

@keyframes constellationMorph {
	0% {
		/* State 1: Triangle */
	}
	25% {
		/* State 2: Diamond */
	}
	50% {
		/* State 3: Cross */
	}
	75% {
		/* State 4: Pentagon */
	}
	100% {
		/* Back to triangle */
	}
}

/* Individual circle morphing animations */
.constellation-circles .circle-1 {
	animation: circle1Morph 8s ease-in-out infinite;
	animation-play-state: paused;
}

.constellation-circles .circle-2 {
	animation: circle2Morph 8s ease-in-out infinite;
	animation-play-state: paused;
}

.constellation-circles .circle-3 {
	animation: circle3Morph 8s ease-in-out infinite;
	animation-play-state: paused;
}

.constellation-circles .circle-4 {
	animation: circle4Morph 8s ease-in-out infinite;
	animation-play-state: paused;
}

.constellation-logo:hover .circle-1, .logo-nav:hover .constellation-logo .circle-1 { animation-play-state: running; }
.constellation-logo:hover .circle-2, .logo-nav:hover .constellation-logo .circle-2 { animation-play-state: running; }
.constellation-logo:hover .circle-3, .logo-nav:hover .constellation-logo .circle-3 { animation-play-state: running; }
.constellation-logo:hover .circle-4, .logo-nav:hover .constellation-logo .circle-4 { animation-play-state: running; }

/* Circle 1: Top-left corner cycles through positions */
@keyframes circle1Morph {
	0%   { cx: 25; cy: 25; }   /* Triangle top-left */
	25%  { cx: 50; cy: 20; }   /* Diamond top */
	50%  { cx: 50; cy: 10; }   /* Cross top */
	75%  { cx: 50; cy: 15; }   /* Pentagon top */
	100% { cx: 25; cy: 25; }   /* Back to triangle */
}

/* Circle 2: Top-right corner cycles through positions */
@keyframes circle2Morph {
	0%   { cx: 75; cy: 25; }   /* Triangle top-right */
	25%  { cx: 80; cy: 50; }   /* Diamond right */
	50%  { cx: 90; cy: 50; }   /* Cross right */
	75%  { cx: 85; cy: 35; }   /* Pentagon top-right */
	100% { cx: 75; cy: 25; }   /* Back to triangle */
}

/* Circle 3: Bottom position cycles through positions */
@keyframes circle3Morph {
	0%   { cx: 50; cy: 75; }   /* Triangle bottom */
	25%  { cx: 50; cy: 80; }   /* Diamond bottom */
	50%  { cx: 50; cy: 90; }   /* Cross bottom */
	75%  { cx: 28; cy: 70; }   /* Pentagon bottom-left */
	100% { cx: 50; cy: 75; }   /* Back to triangle */
}

/* Circle 4 (center): Subtle pulsing when others move */
@keyframes circle4Morph {
	0%   { r: 5.5; opacity: 1; }
	25%  { r: 5.3; opacity: 1; }
	50%  { r: 5.1; opacity: 1; }
	75%  { r: 5.2; opacity: 1; }
	100% { r: 5.5; opacity: 1; }
}

/* Line animations are handled by JavaScript (header.js) because CSS cannot
   reliably animate x1/y1/x2/y2 on <line> elements across browsers.
   JS reads the computed cx/cy of each circle every frame and updates the lines. */

/* Social Media (branding2.html) */
.social-preview { width: 100%; max-width: 500px; background: white; border: 1px solid var(--mist); border-radius: 8px; overflow: hidden; }
.social-header { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--mist); }
.social-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--topographic-teal), var(--contour-green)); display: flex; align-items: center; justify-content: center; }
.social-info h4 { font-size: 15px; font-weight: 600; color: var(--charcoal); }
.social-info p { font-size: 13px; color: var(--slate-gray); }
.social-content { padding: 16px; }
.social-text { font-size: 14px; color: var(--charcoal); margin-bottom: 12px; }
.social-image { width: 100%; height: 200px; background: linear-gradient(135deg, #0A7A8C 0%, #2D5F3F 100%); display: flex; align-items: center; justify-content: center; border-radius: 8px; }

/* Animation (branding.html) */
@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

section { animation: fadeInUp 0.6s ease forwards; }
section:nth-child(1) { animation-delay: 0.1s; }
section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.3s; }
section:nth-child(4) { animation-delay: 0.4s; }
section:nth-child(5) { animation-delay: 0.5s; }

/* Responsive */
@media (max-width: 768px) {
	/* branding.html adjustments */
	.header-content { flex-direction: column; text-align: center; }
	.logo-text { font-size: 24px; }
	section { padding: 24px; }
	h1 { font-size: 28px; text-align: center; }
	h2 { font-size: 24px; }
	.route-points { flex-direction: column; gap: 80px; }
	.route-line { width: 3px; height: calc(100% - 100px); left: 50%; top: 60px; border-style: none; border-left: 3px dashed var(--topographic-teal); }
	.route-line::after { left: -5px; bottom: -8px; top: auto; transform: rotate(90deg); }

	/* branding2 adjustments */
	.grid { grid-template-columns: 1fr; }
	.nav-bar { flex-direction: column; }
	.phone-mockup { width: 240px; height: 480px; }
	.business-card { height: auto; min-height: 280px; }
	h1 { font-size: 32px; }
}

/* Hero section styles (index.php landing hero) */
.hero {
	min-height: 72vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 20px;
	color: #fff;
	text-align: center;
	background:
		linear-gradient(rgba(2,8,23,0.55), rgba(2,8,23,0.55));
	border-radius: 8px;
	box-shadow: 0 8px 30px rgba(2,8,23,0.35);
}

.hero .container {
	max-width: 1100px;
	width: 100%;
}

.hero h2 {
	font-size: clamp(28px, 4.5vw, 44px);
	margin: 0 0 12px;
	letter-spacing: 0.2px;
}

.hero p.lead {
	font-size: clamp(15px, 2.2vw, 18px);
	margin: 0 0 20px;
	opacity: 0.95;
}

.cta {
	display: inline-block;
	background: linear-gradient(90deg,#ffd166,#ffb703);
	color: #04293a;
	padding: 12px 22px;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(255,183,3,0.18);
	transition: transform .15s ease, box-shadow .15s ease;
}

.cta:hover,
.cta:focus {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(2,8,23,0.38);
}

.features {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-top: 26px;
	flex-wrap: wrap;
}

.feature {
	background: rgba(255,255,255,0.06);
	padding: 10px 14px;
	border-radius: 10px;
	min-width: 160px;
	font-weight: 600;
	font-size: 14px;
	color: #e6f0f6;
}

@media (max-width: 640px) {
	.hero { padding: 36px 16px; min-height: 60vh; }
	.features { flex-direction: column; align-items: center; }
}

/* Hero section styles (index.php landing hero) */
.hero {
	min-height: 72vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 20px;
	color: #fff;
	text-align: center;
	background:
		linear-gradient(rgba(2,8,23,0.55), rgba(2,8,23,0.55));
	border-radius: 8px;
	box-shadow: 0 8px 30px rgba(2,8,23,0.35);
}

.hero .container {
	max-width: 1100px;
	width: 100%;
}

.hero h2 {
	font-size: clamp(28px, 4.5vw, 44px);
	margin: 0 0 12px;
	letter-spacing: 0.2px;
}

.hero p.lead {
	font-size: clamp(15px, 2.2vw, 18px);
	margin: 0 0 20px;
	opacity: 0.95;
}

.cta {
	display: inline-block;
	background: linear-gradient(90deg,#ffd166,#ffb703);
	color: #04293a;
	padding: 12px 22px;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(255,183,3,0.18);
	transition: transform .15s ease, box-shadow .15s ease;
}

.cta:hover,
.cta:focus {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(2,8,23,0.38);
}

.features {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-top: 26px;
	flex-wrap: wrap;
}

.feature {
	background: rgba(255,255,255,0.06);
	padding: 10px 14px;
	border-radius: 10px;
	min-width: 160px;
	font-weight: 600;
	font-size: 14px;
	color: #e6f0f6;
}

@media (max-width: 640px) {
	.hero { padding: 36px 16px; min-height: 60vh; }
	.features { flex-direction: column; align-items: center; }
}

/* Filter select boxes - global styling */
form[id*="FilterForm"] select,
form[id$="FilterForm"] select {
border-color: #ced4da;
}

form[id*="FilterForm"] select:focus,
form[id$="FilterForm"] select:focus {
border-color: #adb5bd;
box-shadow: 0 0 0 0.2rem rgba(206, 212, 218, 0.25);
}



/***************************************************************** admin.css ***********************************************/
/***************************************************************************************************************************/

/* increase contrast for table rows, inputs and checkbox so they are easier to see */
.table th,
.table td {
    color: #212529;                /* darker text */
    border-color: #414548ec;        /* slightly stronger cell borders */
}

.table tbody tr {
    background-color: #ffffff;    /* white rows for contrast */
}
.table-hover tbody tr:hover {
    background-color: #af8371;    /* darker hover so selection is obvious */
}
.table .table-active,
.table .table-active > td {
    background-color: #92b8ce;    /* selected row color */
}



/***************************************************************** nav-groups.css ******************************************/
/***************************************************************************************************************************/

/* ── Small icon inside nav link labels ── */
.nav-group-icon {
    margin-right: 5px;
    opacity: 0.65;
    vertical-align: -1px;
    flex-shrink: 0;
    transition: opacity 0.15s ease;
}
.navbar .nav-link:hover .nav-group-icon,
.navbar .nav-link:focus .nav-group-icon,
.navbar .nav-link.show .nav-group-icon {
    opacity: 1;
}

/* ── Overview/primary page link — visually distinct from sub-items ── */
.dropdown-item-overview {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92) !important;
}
.dropdown-item-overview:hover,
.dropdown-item-overview:focus {
    color: #ffffff !important;
}
.dropdown-item-overview.active {
    color: #ffffff !important;
}

/* ── "View by" section label inside dropdown ── */
.dropdown-section-label {
    display: block;
    padding: 2px 20px 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.30);
    pointer-events: none;
    cursor: default;
    user-select: none;
}

/* ── Per-group dropdown top-border accent colors ── */
/* Courses: teal (default) — nav-dropdown-courses inherits #0A7A8C */
.navbar .nav-dropdown-programs     { border-top-color: #2D5F3F; }
.navbar .nav-dropdown-accreditation { border-top-color: #C9A661; }
.navbar .nav-dropdown-users        { border-top-color: #5A6C75; }
.navbar .nav-dropdown-system       { border-top-color: #4a5568; }

/* ── Per-group dropdown item hover accent colors ── */
.nav-dropdown-programs .dropdown-item:hover,
.nav-dropdown-programs .dropdown-item:focus {
    background: rgba(45, 95, 63, 0.22) !important;
    border-left-color: #2D5F3F !important;
}
.nav-dropdown-accreditation .dropdown-item:hover,
.nav-dropdown-accreditation .dropdown-item:focus {
    background: rgba(201, 166, 97, 0.20) !important;
    border-left-color: #C9A661 !important;
}
.nav-dropdown-users .dropdown-item:hover,
.nav-dropdown-users .dropdown-item:focus {
    background: rgba(90, 108, 117, 0.22) !important;
    border-left-color: #5A6C75 !important;
}
.nav-dropdown-system .dropdown-item:hover,
.nav-dropdown-system .dropdown-item:focus {
    background: rgba(74, 85, 104, 0.22) !important;
    border-left-color: #4a5568 !important;
}

/* ── Per-group nav link hover color on solid (dark) navbar ── */
.navbar.navbar-solid .nav-group-programs .nav-link:hover,
.navbar.navbar-solid .nav-group-programs .nav-link:focus,
.navbar.navbar-solid .nav-group-programs .nav-link.show {
    color: #6FCF97;
}
.navbar.navbar-solid .nav-group-accreditation .nav-link:hover,
.navbar.navbar-solid .nav-group-accreditation .nav-link:focus,
.navbar.navbar-solid .nav-group-accreditation .nav-link.show {
    color: #C9A661;
}
.navbar.navbar-solid .nav-group-users .nav-link:hover,
.navbar.navbar-solid .nav-group-users .nav-link:focus,
.navbar.navbar-solid .nav-group-users .nav-link.show {
    color: #8FA8B5;
}
.navbar.navbar-solid .nav-group-system .nav-link:hover,
.navbar.navbar-solid .nav-group-system .nav-link:focus,
.navbar.navbar-solid .nav-group-system .nav-link.show {
    color: #A0AEC0;
}

/* ── Mobile: section label spacing ── */
@media (max-width: 991.98px) {
    .dropdown-section-label {
        padding-left: 44px;
    }
}



/***************************************************************** account-dropdown.css ************************************/
/***************************************************************************************************************************/

/* ── Nav toggle: avatar + username side by side ── */
.account-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 0;
}
.account-username {
    margin-left: 7px;
}

/* ── Small avatar in nav bar ── */
.account-avatar-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 30%;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.03em;
    flex-shrink: 0;
    vertical-align: middle;
	margin-right: 5px;
}

/* ── Large avatar inside dropdown card ── */
.account-avatar-lg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 30%;
    font-size: 15px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Avatar colors — compass gold at 10% transparent, consistent across all roles */
.account-avatar-global,
.account-avatar-admin,
.account-avatar-user   { background: rgba(201, 166, 97, 0.9); color: #ffffff; }

/* Solid navbar: subtle gold ring */
.navbar-solid .account-avatar-sm { box-shadow: 0 0 0 2px rgba(201,166,97,0.35); }

/* Transparent navbar: white ring so avatar pops on dark bg */
.navbar-transparent .account-avatar-sm { box-shadow: 0 0 0 2px rgba(255,255,255,0.40); }

/* ── Profile card header inside dropdown ── */
.account-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px 10px;
    pointer-events: none;
    cursor: default;
}
.account-header-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.account-header-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}
.account-header-role {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    margin-top: 2px;
}

/* ── Icons inside dropdown items ── */
.dropdown-item-icon {
    margin-right: 8px;
    opacity: 0.60;
    vertical-align: -1px;
    flex-shrink: 0;
    transition: opacity 0.15s ease;
}
.dropdown-item:hover .dropdown-item-icon,
.dropdown-item:focus .dropdown-item-icon {
    opacity: 0.90;
}

/* ── Sign Out — danger tint ── */
.dropdown-item-signout {
    color: rgba(180, 83, 78, 0.82) !important;
}
.dropdown-item-signout:hover,
.dropdown-item-signout:focus {
    color: #c0605b !important;
    background: rgba(180, 83, 78, 0.14) !important;
    border-left-color: #B4534E !important;
}
.dropdown-item-signout .dropdown-item-icon {
    opacity: 0.70;
}

/* ── Mobile: keep card layout readable ── */
@media (max-width: 991.98px) {
    .account-dropdown-header {
        padding-left: 24px;
    }
    .account-username {
        display: none; /* avatar alone is enough on small screens when menu is expanded */
    }
}



