/* -- GLOWNE ZMIENNE -------------------------------------------- */
/* https://html-css-js.com/css/generator/box-shadow/ */

:root {
	/* Body */
	--navbar-height: 70px;
	--navbar-height-mobile: 50px;
	--sidebar-width: 350px;
	--sidepanel-width: 350px;
	--hamburger-width: 360px;
	--modal-width: 320px;
	--modal-wide-width: 380px;
	--navmap-height: 145px;
	--panel-section-margin: 20px;
	
	--transition-time: 0.3s;
	
	/* Typography */
	--font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
	BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-size-sm: 12px;
	--font-size-base: 14px;
	--font-size-md: 14px;
	--font-size-lg: 16px;
	--font-size-xl: 18px;
	--font-size-2xl: 20px;
	--font-size-3xl: 24px;
	--font-weight-normal: 400;
	--font-weight-medium: 500;
	--font-weight-semibold: 550;
	--font-weight-bold: 600;
	--line-height-tight: 1.2;
	--line-height-normal: 1.5;

	/* Spacing */
	--space-4: 4px;
	--space-6: 6px;
	--space-8: 8px;
	--space-12: 12px;
	--space-16: 16px;
	--space-20: 20px;
	--space-24: 24px;
	--space-32: 32px;

	/* Border Radius */
	--radius-sm: 6px;
	--radius-base: 8px;
	--radius-md: 10px;
	--radius-lg: 12px;

	/* Shadows */
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
	0 2px 4px -1px rgba(0, 0, 0, 0.02);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
	0 4px 6px -2px rgba(0, 0, 0, 0.05);

	/* Animation */
	--duration-fast: 150ms;
	--duration-normal: 250ms;
	--ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
	
	/* General colors */
	--color-strava: #fc5200; 
	--color-warning: #FF9800;
}

/* -- BODY ------------------------------------------------------ */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	height: 100dvh;
	overflow: hidden;
	background-color: #969696;
}

.app {
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	transition: filter var(--transition-normal);
}

.app.blurred {
	filter: blur(3px);
	pointer-events: none;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.50);
	transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	pointer-events: all;
}

.overlay.active {
	display: block;
	pointer-events: all;
}

.map-debug-overlay {
	position: fixed;
	border: 2px solid #00ff00;
	pointer-events: none;
	z-index: 9999;
}


/* -- GLOWNY CONTENT -------------------------------------------- */
.map-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	user-select: none;
}


/* .map-container { */
	/* position: fixed; */
	/* top: var(--navbar-height); */
	/* left: var(--sidebar-overlap, 0px); */
	/* width: calc(100dvw - var(--sidebar-overlap, 0px) - var(--panel-overlap, 0px)); */
	/* height: 100%; */
	/* //transition: all var(--transition-time); */
	/* z-index: 1; */
	/* user-select: none; */
/* } */


.muted {
	color: var(--color-text-muted);
}

.accent {
	color: var(--color-accent);
}

.stravacolor {
	color: var(--color-strava);
}

.separation-bar {
	padding-bottom: 5px;
	border-top: 1px solid var(--color-gray-light);
}

.info-tip {
	background: var(--color-bg-muted);
	border-left: 4px solid var(--color-accent);
	padding: var(--space-12);
	border-radius: var(--radius-sm);
	font-size: var(--font-size-base);
	color: var(--color-text-light);
	margin-bottom: var(--space-16);
	line-height: var(--line-height-normal);
}

.info-tip strong {
	color: var(--color-accent);
}

.info-tip.hidden {
	display: none;
}

.form-group.source.hidden {
	display: none;
}

.read-more-toggle {
    display: inline-block;
    margin-top: 5px;
    font-size: 0.9em;
	color: var(--color-text-light);
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.read-more-toggle:hover {
	color: var(--color-text-light);
}


/* .list-examples.incorrect li { */
	/* color: #c0392b; */
/* } */

/* .list-examples.correct li { */
	/* color: #27ae60; */
/* } */

.long-text ul {
	margin-top: 2px;
	margin-bottom: 8px;
	padding-left: 1.2em;
	list-style: disc;
}

.long-text li {
	margin-top: 0.1em;
	margin-bottom: 0.1em;
}

.list-examples li {
	padding-left: var(--space-18);
	line-height: 1.2em;
}

.list-examples.incorrect {
	list-style-type: "✗ ";
}

.list-examples.correct {
	list-style-type: "✓ ";
}

.long-text {
	display: block;
	max-height: 22.5em;
	overflow-y: auto;
	line-height: 1.3em;
}

.long-text.collapsed {
	max-height: 2.5em;      /* ~3–4 linie tekstu */
	overflow: hidden;
}

.long-text.collapsed::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1.2em;
	background: linear-gradient(transparent, var(--color-bg));
}


/* -- GÓRNY PASEK NAWIGACYJNY ----------------------------------- */
.navbar {
	/* position: fixed; */
    display: grid;
    grid-template-columns: 1fr auto 1fr;
	/* display: flex; */
	/* justify-content: space-between; */
	align-items: center;
	top: 0;
	left: 0;
	right: 0;
	height: var(--navbar-height);
	background: var(--color-bg-dark);
	padding: 0 20px;
	z-index: 990;
	
	-webkit-box-shadow: 0px -30px 0px 30px var(--color-bg-dark);
	box-shadow: 0px -30px 0px 30px var(--color-bg-dark);
}

.logo-section {
    justify-self: start;
	display: flex;
	/* align-items: center; */
	/* gap: 2px; */
	user-select: none;
}

.logo-section img {
	height: 50px;
	width: 50px;
}

.logo-text-container {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.logo-text-top {
	color: var(--color-text-light);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 2px;
}

.logo-text-bottom {
	color: var(--color-accent);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 2px;
}

.logo-text-bottom::before {
  content: "\00a0\00a0"; /* &nbsp;&nbsp; w CSS */
}

.nav-center {
    justify-self: center;
	display: flex;
	gap: 30px;
	z-index: 990;
}

.nav-btn {
	background: none;
	border: none;
	color: var(--color-text-light);
	font-size: 16px;
	font-weight: 500;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	z-index: 995;
}

.nav-btn:hover,
.nav-btn.active {
	background: var(--color-white-15);
	color: var(--color-accent);
}

.nav-right {
    justify-self: end;
	display: flex;
	align-items: center;
	gap: 15px;
	z-index: 990;
}

.icon-btn {
	background: none;
	border: none;
	color: var(--color-text-light);
	font-size: 20px;
	padding: 10px;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
}

.icon-btn:hover {
	background: var(--color-white-15);
	color: var(--color-accent);
}

.notification-badge {
	position: absolute;
	top: 5px;
	right: 5px;
	background: var(--color-danger);
	color: var(--color-white);
	border-radius: 50%;
	width: 18px;
	height: 18px;
	font-size: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.navbar-toggle {
	display: block;
	background: none;
	border: none;
	color: var(--color-text-light);
	font-size: 20px;
	padding: 10px;
	cursor: pointer;
	z-index: 90;
}

.navbar-toggle:hover {
	transform: scale(1.05); 
}

.navmap-settings {
	grid-template-columns: repeat(auto-fit, minmax(clamp(140px, 25%, 300px), 1fr));
	position: fixed;
	top: var(--navbar-height);
	left: 40%;
	width: 20%;
	height: var(--navmap-height);
	background: var(--color-bg-dark);
	color: var(--color-text-light);
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	align-items: center;
	padding: 4px 10px;
	z-index: 90;
	opacity: 0.45;
	/* gap: 4px; */
	
	border-top: 1px solid var(--color-gray-light);
	
	/* Dla animacji ukrywania */
	transform: translateY(0);
	transition: transform 0.3s ease;
}
.navmap-settings.hidden {
	display: none;
}

.navmap-settings.collapsed {
	transform: translateY(calc(-1 * var(--navmap-height)));
}

.navmap-settings .setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    padding: 6px 8px;
    min-height: 22px;
	user-select: none;
}

.navmap-toggle {
	position: fixed;
	top: 0px;
	left: 45%;
	width: 10%;
	background: var(--color-bg-dark);
	border: none;
	color: var(--color-white);
	padding: 2px 15px;
	cursor: pointer;
	z-index: 90;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	transition: all var(--transition-time) ease;
	box-shadow: 2px 0 5px rgba(0,0,0,0.2);
	transform: translateY(calc(var(--navmap-height) + var(--navbar-height)));
	transition: all 0.3s ease;
	opacity: 0.3;
}

.navmap-toggle.collapsed {
	transform: translateY(var(--navbar-height));
}

.navmap-toggle:hover {
	background: var(--color-accent);
}


/* -- LEWY PASEK BOCZNY ----------------------------------------- */
.sidebar {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: var(--sidebar-width);
    height: calc(100dvh - var(--navbar-height));
    background: var(--color-bg-darker);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-text-light);
    transition: transform var(--transition-time) ease;
    z-index: 990;
    display: flex; /* Dodaj to */
    flex-direction: column; /* Dodaj to */
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
}

.sidebar-header {
    position: relative;
    padding: var(--space-20);
    border-bottom: 1px solid var(--color-gray-medium);
    flex-shrink: 0; /* Header nie będzie się zmniejszał */
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1; /* Zajmie dostępną przestrzeń */
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0; /* Ważne dla poprawnego działania flex */
    scrollbar-gutter: stable; /* rezerwa na scrollbar, licznik nie chowa się pod paskiem */
}

.sidebar.hidden {
	transform: translateX(calc(-1 * var(--sidebar-width)));
}


.sidebar-toggle {
	position: fixed;
	top: 100px;
	left: var(--sidebar-width);
	background: var(--color-bg-darker-hover);
	border: none;
	color: var(--color-white);
	padding: 15px 8px;
	cursor: pointer;
	z-index: 991;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border-radius: 0 8px 8px 0;
	transition: all var(--transition-time) ease;
	box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}


.sidebar-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 24px;
	color: var(--color-text-secondary);
	line-height: 1;
	padding: 5px;
	transition: color 0.3s;
    touch-action: auto;
    pointer-events: auto;
    cursor: pointer;
}

.sidebar-toggle.collapsed {
	left: 0;
	border-radius: 0 8px 8px 0;
}

.sidebar-close:hover {
	color: var(--color-accent);
}

.sidebar-close.hidden, 
.sidebar-toggle.hidden {
	display: none !important;
}

.sidebar-toggle:hover {
	background: var(--color-accent);
	transform: translateX(3px);
}

.sidebar-toggle.collapsed:hover {
	transform: translateX(3px);
}

.user-info {
	text-align: center;
}

.user-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--color-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 10px;
	font-size: 24px;
}

.username {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 5px;
}

.user-level {
	font-size: 14px;
	color: var(--color-text-muted);
	background: var(--color-gray-light);
	padding: 2px 8px;
	border-radius: 12px;
	display: inline-block;
}

.sidebar-section {
	padding: 20px;
	border-bottom: 1px solid var(--color-gray-light);
	min-width: 0; /* flex/grid dzieci mogą się kurczyć */
}

.section-title {
	font-size: 14px;
	font-weight: bold;
	color: var(--color-text-muted);
	margin-bottom: var(--space-12);
	text-transform: uppercase;
	letter-spacing: 1px;
	user-select: none;
}

.section-title.reduced {
	margin-bottom: var(--space-2);
}

.progress-items {
	display: grid;
	gap: var(--space-12);
	min-width: 0;
}

.progress-item {
	min-width: 0; /* nie rozszerza rodzica, unikamy poziomego scrolla */
}

.progress-label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 5px;
	font-size: 14px;
	gap: var(--space-8);
	min-width: 0; /* flex może się kurczyć w wąskim sidebarze */
}

.progress-label > span:last-child {
	flex-shrink: 0;
}

.progress-bar {
	width: 100%;
	height: 8px;
	background: var(--color-gray-strong);
	border-radius: 4px;
	overflow: hidden;
}

.progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
	border-radius: 4px;
	transition: width 2.0s ease;
}

.progress-left {
	display: flex;
	align-items: center;
	gap: 4px;
	min-width: 0;
	flex: 1 1 0;
}

.progress-left > span:first-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

.progress-pin {
	flex-shrink: 0;
	cursor: pointer;
	font-size: 12px;
}

.progress-parent .progress-label,
.progress-child .progress-label {
	opacity: 0.8;
	
}
.progress-parent:hover .progress-label,
.progress-child:hover .progress-label {
	opacity: 1.0;
	
}

.progress-pin.hidden {
	display: none;
}

.progress-child {
	margin-left: 16px;
	opacity: 0.9;
}


.progress-toggle {
	background: var(--color-bg-darker);
	color: var(--color-text-light);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	width: 100%;
    transition: background 0.3s ease;
}

.progress-toggle.expanded, 
.progress-toggle:hover {
	background-color: var(--color-gray-light);
}

.inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    padding: 6px 8px;
    min-height: 22px;
}

.map-settings {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.map-settings .setting-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 14px;
	user-select: none;
}

.toggle-switch {
    position: relative;
    width: 40px;
    height: 20px;
    background: var(--color-gray-strong);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
    /* margin-left: 10px; */
}

.toggle-switch.active {
    background: var(--color-accent);
}

.toggle-switch::after {
    content: '';
    position: absolute;
	width: 16px;
	height: 16px;
    background: var(--color-white);
    border-radius: 8px;
	top: 2px;
	left: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.2); */
}

.toggle-switch.active::after {
    transform: translateX(20px);
}

.toggle-switch:hover {
    opacity: 0.9;
}

.toggle-switch:active::after {
    width: 20px;
}


.recent-activities {
	max-height: 200px;
	overflow-y: auto;
}

.activity-item {
	padding: 10px;
	margin-bottom: 8px;
	background: var(--color-bg-dark);
	border-radius: 5px;
	font-size: 12px;
}

.activity-title {
	font-weight: bold;
	margin-bottom: 3px;
}

.activity-meta {
	color: var(--color-text-muted);
}

/* -- PRAWY PASEK BOCZNY ----------------------------------------- */
.right-panel {
	--tx: 0%;
	--ty: 0px;
	--panel-width: var(--sidepanel-width);

	display: flex;
	position: fixed;
	top: 0;
	right: 0;
	width: var(--panel-width); 
	/* height: calc(100dvh - var(--navbar-height)); */
	background: var(--color-bg-darker);
	color: var(--color-text-light);
	z-index: 950;
	flex-direction: column;

	transform: translate(var(--tx), var(--ty));
	transition: transform var(--transition-time) ease;
	
	-webkit-box-shadow: 0 300px 1px 0px var(--color-bg-darker);
	-moz-box-shadow: 0 300px 1px 0px var(--color-bg-darker);
	box-shadow: 0 300px 1px 0px var(--color-bg-darker);
}

.right-panel.hidden {
	--tx: 100%;
	/* --ty: var(--navbar-height); */
}

.panel-header {
    position: relative;
	padding-top: var(--space-20);
	padding-left: var(--space-20);
	padding-right: var(--space-20);
	border-bottom: 2px solid var(--color-gray-light);
	margin-bottom: 5px;
    touch-action: none;
}

.panel-content {
	padding-left: var(--space-20);
	padding-right: var(--space-20);
	padding-bottom: var(--space-20);
	width: calc(var(--sidepanel-width) - 2*var(--space-20));
    height: 100%;
    overflow-y: scroll;
    box-sizing: content-box; /* So the width will be 100% + 17px */
	touch-action: pan-y;
	overflow-y: auto;
}

.panel-tab.hidden {
	display: none;
}

.panel-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 24px;
	color: var(--color-text-secondary);
	line-height: 1;
	padding: 5px;
	transition: color 0.3s;
    touch-action: auto;
    pointer-events: auto;
    cursor: pointer;
	user-select: none;
}

.panel-close:hover {
	color: var(--color-accent);
}

.panel-section {
	margin-bottom: var(--panel-section-margin);
	border-bottom: 1px solid var(--color-gray-light);
}
.panel-section.first {
	margin-top: calc(var(--panel-section-margin) - 6px);
}

.panel-title {
	font-size: 18px;
	font-weight: bold;
	padding-right: 30px;
}

.panel-subtitle {
	font-size: 14px;
	margin-bottom: 5px;
	color: var(--color-text-secondary);
}


.panel-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 5px;
	margin-bottom: 10px;
}


.badge {
	font-size: 14px;
	color: var(--color-text-muted);
	background: var(--color-gray-light);
	padding: 2px 8px;
	border-radius: 12px;
	display: inline-block;
}



/* Castle Image */
.castle-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--color-bg-dark);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: var(--space-6);
    transition: all 0.3s ease;
}

.castle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

/* Po kliknięciu */
.castle-image.expanded {
    aspect-ratio: auto;
    height: auto;
}

.castle-image.expanded img {
    height: auto;          /* <<< kluczowe */
    object-fit: contain;   /* albo "initial" jeśli wolisz */
}

.castle-no-image {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 14px;
    padding: 20px;
    text-align: center;
    background: var(--color-bg-dark); /* pasuje do twojego stylu */
}

.castle-no-image p {
    margin: 0 0 8px;
}

.add-photo-link {
    color: var(--color-accent);
    cursor: pointer;
    text-decoration: underline;
    font-weight: 600;
}

/* Info grid */
.info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	/* grid-template-columns: 33% 33% 33%; */
	gap: var(--space-8);
	padding: var(--space-4);
	user-select: none;
	border-bottom: 1px solid var(--color-border);
}

.info-tile {
	padding-top: var(--space-4);
	padding-bottom: var(--space-8);
	border-radius: 8px;
	background: transparent;
	transition: background-color 0.2s ease, transform 0.2s ease;
	text-align: center;
	border: 1px solid rgba(0, 0, 0, 0.05);
	cursor: default;
}

.info-tile.rating {
	position: relative;
}

.info-tile.rating .star {
    display: inline-block;
    margin-right: 4px;
    font-size: 24px;
    color: var(--color-accent);
    line-height: 1;
    vertical-align: middle;
	cursor: default;
}

.tile-main {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 28px; 
}

.tile-label {
	font-size: 12px;
	color: var(--color-text-secondary);
	font-weight: 500;
}

.tile-sublabel {
	font-size: 11px;
	color: var(--color-text-secondary);
	margin-top: 2px;
}

.tile-mid {
    font-size: 12px;
    color: var(--color-text-secondary);
    font-weight: 500;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; /* ważne - musi zajmować całą wysokość rodzica */
}

.user-rating-tile {
	position: relative;
}

.info-tile.selectable:hover {
	cursor: pointer;
	background: var(--color-bg-darker-hover);
}

/* Activity panel – opis i link Strava */
.strava-activity-link {
	display: flex;
    align-items: center;
    justify-content: center;
	gap: var(--space-4);
	margin-bottom: 22px;
	color: #FC4C02;
	text-decoration: none;
	font-weight: 600;
}
.strava-activity-link a {
	color: #FC4C02;
	text-decoration: none;
	font-weight: 600;
}
.strava-activity-link a:hover {
	text-decoration: underline;
	color: #FC4C02;
}

.tile-main.hidden,
.tile-label.hidden,
.tile-mid.hidden,
.panel-section.hidden {
	display: none;
}

/* .section-title { */
	/* font-size: 16px; */
	/* font-weight: bold; */
	/* color: var(--color-text); */
	/* margin-bottom: 12px; */
/* } */

/* Activities List */
.activities-list {
	/* list-style: none; */
	max-height: 200px;
	overflow-y: auto;
}

/* .activity-item { */
	/* margin-bottom: 8px; */
	/* font-size: 14px; */
	/* line-height: 1.5; */
/* } */

.activity-link {
	color: var(--color-text-light);
	text-decoration: none;
	font-weight: bold;
}

.activity-link:hover {
	text-decoration: underline;
}

/* .activity-date { */
	/* color: var(--color-text-secondary); */
/* } */

/* Rating System */
.rating-container {
	display: flex;
	flex-direction: column;
	margin-bottom: 6px;

	opacity: 1;
	max-height: 200px; /* musi być >= realnej wysokości */
	overflow: hidden;


	transition: all var(--transition-time) ease;
}

.rating-container.hidden {
	opacity: 0;
	max-height: 0;
	pointer-events: none;
}


.stars {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-bottom: 1px;
}

.star {
	font-size: 28px;
	cursor: pointer;
	color: var(--color-text-muted);
	transition: color 0.6s;
	user-select: none;
}

.star:hover,
.star.active {
	color: var(--color-accent);
}

.rating-info {
	font-size: 14px;
	color: var(--color-text-secondary);
	margin-top: 2px;
}

.rating-success {
	font-size: 14px;
	color: var(--color-accent);
	margin-top: 2px;
	display: none;
}

/* Condition Radio Buttons */
.condition-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.condition-option {
	display: flex;
	align-items: center;
	cursor: pointer;
}

.condition-option input[radio] {
	margin-right: 8px;
	cursor: pointer;
}

.condition-option label {
	cursor: pointer;
	font-size: 14px;
}

.condition-save {
	margin-top: 12px;
	margin-bottom: 12px;
	padding: 8px 16px;
	background-color: var(--color-gray-light);
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: background-color 0.3s;
}

.condition-save:hover {
	background-color: var(--color-gray-medium);
}

.condition-success {
	margin-top: 8px;
	font-size: 14px;
	color: var(--color-accent);
	display: none;
}

/* Report Section */
.report-link {
	background: var(--color-bg-darker);
	color: var(--color-text-light);
	border: none;
	cursor: pointer;
	font-size: 12px;
	width: 100%;
	text-align: center;
	transition: background-color 0.3s;
}

.report-link:hover {
	text-decoration: underline;
}


/* Comments Section */
.comment-form {
	margin-bottom: 16px;
}

.comment-textarea {
    width: 100%;
    padding: var(--space-12);
	border: 1px solid var(--color-bg-darker);
    border-radius: var(--radius-base);
    font-size: var(--font-size-base);
    font-family: var(--font-family-base);
	background-color: var(--color-gray-light);
	color: var(--color-text-light);
    transition: border-color var(--duration-fast) var(--ease-standard);
	resize: vertical;
	min-height: 60px;
	max-height: 180px;
	margin-bottom: 8px;
}

.comment-textarea:focus {
	outline: none;
	border-color: var(--color-gray-xlight);
}

.comment-submit {
	padding: 8px 16px;
	background-color: var(--color-gray-light);
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: background-color 0.3s;
    /* float: right;  */
}

.comment-submit:hover {
	background-color: var(--color-gray-medium);
}

.comments-list {
	display: flex;
	flex-direction: column;
	max-height: 320px;
	overflow-y: auto;
	gap: 6px;
	margin-bottom: 12px;
}

.comment {
	padding: 10px;
	background-color: var(--color-bg-darker-hover);
	border-radius: 6px;
	border-left: 3px solid var(--color-bg-dark);
}

.comment-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 5px;
}

.comment-author {
	font-weight: bold;
	font-size: 14px;
	color: var(--color-text-muted);
}

.comment-date {
	font-size: 12px;
	color: var(--color-text-muted);
}

.comment-text {
	font-size: 14px;
	color: var(--color-text-light);
	line-height: 1.5;
	padding-left: 2px;
	word-break: break-all;
	word-wrap: break-word;
}


/* nowe koment */
.comment-actions {
	position: relative;
}

.comment-menu-btn {
	background: none;
	border: none;
	color: var(--color-text-muted);
	font-size: 18px;
	cursor: pointer;
}

.comment-menu {
	position: absolute;
	right: 0;
	top: 22px;
	background: var(--color-bg-dark);
	border: 1px solid var(--color-bg-darker);
	border-radius: 6px;
	display: flex;
	flex-direction: row;
	box-shadow: 0 2px 6px rgba(0,0,0,0.3);
	z-index: 10;
    gap: 0; /* lub np. 2px dla małych odstępów */
}

.comment-menu button {
	background: none;
	border: none;
	color: var(--color-text-light);
	padding: 6px 12px;
	/* text-align: left; */
    text-align: center; /* Zmiana z 'left' na 'center' dla lepszego wyglądu */
	cursor: pointer;
	font-size: 13px;
    white-space: nowrap; /* Zapobiega zawijaniu tekstu */
}

.comment-menu button:not(:last-child) {
    border-right: 1px solid var(--color-bg-darker);
}

.comment-menu button:hover {
	background-color: var(--color-bg-darker);
}

.actions-hidden {
	display: none;
}


.comment-error,
.no-comments, 
.comment-loading {
	color: var(--color-text-muted);
	font-size: 14px;
	width: 100%;
	text-align: center;
	margin-bottom: 16px;
}


/* -- MENU MOBILNE --------------------------------- */
.mobile-menu-top {
	display: none;
}

.mobile-menu {
	display: none;
	position: fixed;
	width: var(--hamburger-width);
	top: var(--navbar-height);
	right: 0;
	/* background: var(--color-bg-darker); */
	background: var(--color-bg-dark);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 10px;
	z-index: 998;
	box-shadow: 0 2px 10px rgba(0,0,0,0.2);
	max-height: calc(100dvh - var(--navbar-height));
	overflow-y: auto;
	border-radius: 0px 0px 0px 10px;
}

.mobile-menu.show {
	display: block;
}


.mobile-nav-btn {
	display: block;
	width: 100%;
	background: none;
	border: none;
	color: var(--color-text-light);
	font-size: 16px;
	padding: 16px 12px;
	text-align: left;
	border-bottom: 1px solid var(--color-gray-light);
	cursor: pointer;
	transition: background 0.3s ease;
}

.mobile-nav-btn:hover {
	/* background: var(--color-white-10); */
	background: var(--color-bg-darker);
}

.mobile-nav-btn:last-child {
	border-bottom: none;
}

.mobile-nav-btn i {
	margin-right: 10px;
	width: 20px;
}

button.mobile-nav-btn[data-action="user"] {
    display: none;
}

.mobile-menu-section {
	margin-bottom: 2px;
}

.mobile-section-title {
	font-size: 14px;
	font-weight: bold;
	color: var(--color-text-muted);
	/* margin-bottom: 4px; */
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 8px 6px;
}

.sidebar::-webkit-scrollbar {
	width: 6px;
}

.sidebar::-webkit-scrollbar-track {
	background: var(--color-gray-xlight);
}

.sidebar::-webkit-scrollbar-thumb {
	background: rgba(52, 152, 219, 0.6);
	border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
	background: rgba(52, 152, 219, 0.8);
}

/* -- MAPA -------------------------------------------------- */
#map {
	height: 100%;
	width: 100%;
	z-index:100;
	background-color: rgba(0, 0, 0, 0.00);
	transition: all var(--transition-time);
}

.leaflet-tile {
	filter: saturate(0%);
}
/* .leaflet-pane { */
	/* transition: opacity 1.0s ease; */
/* } */

.leaflet-marker-icon.custom-marker {
	filter: drop-shadow(0 0 3px #1a1a1a); /* cień dookoła ikony */
}

.leaflet-hit-polyline {
    stroke: transparent;
    stroke-opacity: 0;
    fill: none;
    pointer-events: stroke;
}

.country-label {
	font-size: 38px;
	font-weight: bold;
	background: transparent;
	color: black;
	-webkit-text-fill-color: white; /* Will override color (regardless of order) */
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: black;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 30px;
	width: 200px;
	height: 30px;
	z-index: 9999 !important;
}

.region-label {
	font-size: 32px;
	font-weight: bold;
	background: transparent;
	color: black;
	-webkit-text-fill-color: white; /* Will override color (regardless of order) */
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: black;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 30px;
	width: 200px;
	height: 30px;
	z-index: 9998 !important;
}

/* -- MODAL OGÓLNY ------------------------------------------------ */
.modal {
	position: fixed;
	width: var(--modal-width);
	top: 50%;
	left: 50%;
	max-height: 100%;
	transform: translate(-50%, -50%);
	z-index: 1000; /* ponad overlay */
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
	display: none;
	flex-direction: column;
	justify-content: start;
	/* justify-content: space-between; */
	padding: 10px;
	font-size: 14px;
	background: var(--color-bg-darker);
	color: var(--color-text-light);
	vertical-align: top;
	filter: drop-shadow(0 0 15px var(--color-gray-strong));
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
	z-index: 990; /* ponad overlay */
}

.modal-overlay.active {
    display: flex;
}

.modal.wide {
	width: var(--modal-wide-width);
}

.modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: var(--color-text-secondary);
	line-height: 1;
	padding: 5px;
	transition: color 0.3s;
}

.modal-close:hover {
	color: var(--color-accent);
}

.modal.active {
	display: flex;
}

.modal-header {
	text-align: center;
	padding: 10px;
}

.modal-header-subtitle {
	padding-bottom: 5px;
}

.modal-logo-left {
	color: var(--color-text-light);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 2px;
	user-select: none;
}

.modal-logo-right {
	color: var(--color-accent);
	user-select: none;
}

.modal-footer {
	display: flex;
	text-align: center;
	padding: 10px;
	background: var(--color-bg-darker);
	width: 100%;
	margin-top: auto;
}

.modal-section {
	padding: 7px;
	border-top: 1px solid var(--color-gray-light);
}

.modal-section.hidden { 
	display: none; 
}

.strava-button-container {
	text-align: center;
	justify-content: center;
	align-items: center;
	display: flex;
	padding-top: var(--space-12);
	img:hover {
		transition: 0.4s;
		filter: drop-shadow(0 0 5px var(--color-strava));
		/*transform: scale(1.02);*/
	}
}

.modal-button-container {
	display: flex;
	justify-content: flex-end;
	flex-wrap: nowrap;
	background: var(--color-bg-darker);
    gap: var(--space-12);
	/* padding: var(--space-8) var(--space-20); */
	width: 100%;
}

.modal-button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	background: var(--color-bg-darker-hover);
	color: var(--color-text-light);
	/* border: none; */
    /* border-radius: var(--radius-base); */
	/* cursor: pointer; */
	/* width: 100%; */
	/* transition: background 0.3s ease, opacity 0.3s ease; */
	
	
	padding: var(--space-8) var(--space-20);
    border-radius: var(--radius-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-standard);
    border: none;
	opacity: 1.0;
	filter: alpha(opacity=100);
}

.modal-button.hidden {
    display: none !important;
}

.btn-big {
	font-size: 12px;
	font-weight: 600;
	padding: 10px 16px;
	height: 40px;
	border-radius: 4px;
	width: 100%;
	max-width: var(--modal-width);
}

.btn-mid {
	font-size: 12px;
	font-weight: 600;
	padding: 10px 16px;
	height: 30px;
	border-radius: 4px;
	/* width: 100%; */
	max-width: var(--modal-width);
}

.btn-cancel {
	background: var(--color-bg-darker);
}

.btn-submit {
	background: var(--color-accent);
}

.modal-button:hover:not(:disabled) {
	/* background: var(--color-bg-dark); */
	opacity: 0.5;
	filter: alpha(opacity=40);
}

.modal-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* -- MODAL SYNC ------------------------------------------------ */
.sync-log {
	/* font-family: monospace; */
	background: var(--color-bg-dark);
	color: var(--color-text-muted);
	padding: 5px;
	height: 8em;
	overflow-y: auto;
	white-space: pre-wrap;
	line-height: 1.3em;
}

#sync-close {
	text-align: center;
}

/* -- MODAL SETTINGS ------------------------------------------------ */
.modal-content {
	/* margin-top: 8px; */
	/* max-height: 400px; */
	overflow-y: auto;
}
/* #settingsModal .modal-close { */
	/* position: absolute; right: 1.6rem; top: 1.4rem; */
	/* background: none; border: none; color: var(--color-text-muted); */
	/* font-size: 1.5rem; cursor: pointer; outline: none; */
/* } */


/* #settingsModal form label { */
	/* display: block; */
	/* font-size: 11px; */
	/* font-weight: bold; */
	/* color: var(--color-text-muted); */
	/* padding-top: 7px; */
	/* margin-bottom: 2px; */
	/* text-transform: uppercase; */
	/* letter-spacing: 1px; */
	/* padding-left: 0; */
/* } */

/* #settingsModal input { */
	/* width: 100%; */
	/* background: var(--color-bg-darker); */
	/* color: var(--color-text-light); */
	/* border: 1px solid var(--color-gray-medium); */
	/* border-radius: 4px; */
	/* margin-top: 0.3em; */
	/* padding: 0.4em; */
	/* padding-left: 6px; */
	/* box-sizing: border-box; */
/* } */

/* #settingsModal select { */
	/* width: 100%; */
	/* background: var(--color-bg-darker); */
	/* color: var(--color-text-light); */
	/* border: 1px solid var(--color-gray-medium); */
	/* border-radius: 4px; */
	/* margin-top: 0.3em; */
	/* padding: 0.4em; */
	/* box-sizing: border-box; */
/* } */

/* #settingsModal textarea { */
	/* width: 100%; */
	/* background: var(--color-bg-darker); */
	/* color: var(--color-text-light); */
	/* border: 1px solid var(--color-gray-medium); */
	/* border-radius: 4px; */
	/* margin-top: 0.3em; */
	/* padding: 0.4em; */
	/* min-height: 40px; */
	/* max-height: 80px; */
	/* resize: vertical; */
	/* box-sizing: border-box; */
/* } */


/* -- MODAL REPORT ------------------------------------------------ */
.tab-section {
    display: none;
}

.tab-section.active {
    display: block;
    padding: 0px var(--space-12);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.radio-option {
    display: flex;
    align-items: center;
    padding: var(--space-8);
    border: 1px solid var(--color-bg-darker-hover);
    border-radius: var(--radius-base);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-standard);
    background: var(--color-bg-darker);
    accent-color: var(--color-accent);
}

.radio-option:hover {
    background: var(--color-bg-dark);
    border-color: var(--color-accent);
}

.radio-option input[type="radio"] {
    margin-right: var(--space-12);
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.radio-group-label {
    cursor: pointer;
    flex: 1;
    font-size: var(--font-size-base);
    color: var(--color-text);
	-webkit-user-select: none; /* Safari */        
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+/Edge */
	user-select: none; /* Standard */
}

/* Wersja zablokowana */
.radio-option.disabled {
    opacity: 0.6;
    cursor: not-allowed;
	color: var(--color-text-muted);
    pointer-events: none;
    background: var(--color-bg-disabled);
    border: none;
}

.radio-option.disabled:hover {
    background: var(--color-bg-dark);
}

.radio-option.disabled input[type="radio"] {
    cursor: not-allowed;
    opacity: 0.7;
}

.radio-group-label.disabled label {
    cursor: not-allowed;
	color: var(--color-text-muted);
}

.form-group {
    margin-bottom: var(--space-12);
}

.form-group-label {
    display: block;
    margin-bottom: var(--space-4);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    color: var(--color-text);
}
.form-group.imagePreview {
    margin-top: var(--space-8);
}

.form-control {
    width: 100%;
    padding: var(--space-8);
	border: 1px solid var(--color-gray-light);
    border-radius: var(--radius-base);
    font-size: var(--font-size-base);
    font-family: var(--font-family-base);
	background: var(--color-bg-darker);
	color: var(--color-text-light);
    transition: border-color var(--duration-fast) var(--ease-standard);
	resize: vertical;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gray-dark);
    box-shadow: var(--focus-ring);
}

textarea.form-control.long {
	padding: var(--space-8);
	min-height: 5em;
	max-height: 15em;
	resize: vertical;
}

textarea.form-control.oneline {
  padding: var(--space-4) var(--space-8);
  height: 2em;
  resize: none;
  overflow-y: hidden;
}

.optional-text {
  color: var(--color-text-muted);
  font-weight: var(--font-weight-normal);
  opacity: 0.7;
  font-size: 0.9em;
  margin-left: 4px;
}

select.form-control {
    cursor: pointer;
}

.direct-submit-message {
    display: block;
	/* padding-left: var(--space-16); */
	/* padding-right: var(--space-16); */
	padding: var(--space-16);
    background: var(--color-bg-muted);
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-base);
    color: var(--color-text);
    text-align: center;
    font-size: var(--font-size-base);
}


.container-correction-map {
	width: 100%;
    min-height: 250px;
    border: 2px dashed var(--color-bg-dark);
    border-radius: var(--radius-base);
    margin-bottom: var(--space-16);
	position: relative;
	display: flex;
	
}

.container-correction-map .leaflet-tile,
.container-correction-map.leaflet-tile {
    filter: saturate(100%);
}

.coordinates-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
}

.marker-legend {
	display: flex;
	gap: var(--space-16);
	margin-bottom: var(--space-12);
	padding: var(--space-12);
	background: var(--color-bg-dark);
	border-radius: var(--radius-base);
}

.legend-item {
	display: flex;
	align-items: center;
	gap: var(--space-8);
	font-size: 13px;
}

.legend-marker {
	width: 24px;
	height: 32px;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	cursor: none;
}

.legend-marker.original {
	background: #c41530;
}

.legend-marker.new-location,
.legend-marker.corrected {
	background: #208092;
}

/* Dla Chrome, Safari, Edge */
#longitude::-webkit-outer-spin-button,
#longitude::-webkit-inner-spin-button,
#latitude::-webkit-outer-spin-button,
#latitude::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Dla Firefox */
#longitude, #latitude {
	-moz-appearance: textfield;
}

.photo-upload-container {
    display: flex;
    flex-direction: column;
    /* gap: var(--space-12); */
}

.file-input-wrapper {
    position: relative;
}

.file-input-wrapper input[type="file"] {
    display: none;
}

.file-input-label {
    display: flex;
    padding: var(--space-12) var(--space-20);
    background: var(--color-bg-dark);
    border: 1px solid var(--color-bg-darker-hover);
    border-radius: var(--radius-base);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-standard);
    font-size: var(--font-size-base);
    color: var(--color-text);
}

.file-input-label:hover {
    background: var(--color-bg-darker);
    border-color: var(--color-accent);
}

.file-name {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-top: 2px;
}

.image-preview {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-base);
    margin-top: var(--space-8);
    display: none;
}

.image-preview.visible {
    display: flex;
}

/* .perservation-radio-group { */
    /* display: flex; */
    /* flex-direction: column; */
    /* gap: var(--space-8); */
/* } */

/* .perservation-option { */
    /* display: flex; */
    /* align-items: center; */
    /* padding: var(--space-8) var(--space-12); */
    /* border: 1px solid var(--color-accent); */
    /* border-radius: var(--radius-base); */
    /* cursor: pointer; */
    /* transition: all var(--duration-fast) var(--ease-standard); */
    /* background: var(--color-background); */
/* } */

/* .perservation-option:hover { */
    /* background: var(--color-secondary); */
/* } */

/* .perservation-option input[type="radio"] { */
    /* margin-right: var(--space-8); */
    /* cursor: pointer; */
/* } */

/* .perservation-option label { */
    /* cursor: pointer; */
    /* flex: 1; */
    /* font-size: var(--font-size-sm); */
/* } */


/* -- REAKCJA NA MALY EKRAN (MOBILE) ---------------------------- */
@media (max-width: 768px) {
	/* .nav-center, */
	.nav-btn,
	.nav-right .icon-btn {
		display: none;
	}
	
	.mobile-menu {
		width: 100%;
		height: 100%;
		border-radius: 0px;
		top: var(--navbar-height-mobile);
		max-height: calc(100dvh - var(--navbar-height-mobile));
		background: var(--color-bg-darker);
	}
	
	.mobile-menu-top {
		display: block;
	}
	
	.mobile-nav-btn:hover {
		background: var(--color-white-10);
	}
	
	button.mobile-nav-btn[data-action="user"] {
		display: block;
	}

	.navbar {
		padding: 0 15px;
		height: var(--navbar-height-mobile);
	}

	.sidebar {
		box-shadow: 2px 0 15px rgba(0,0,0,0.3);
		top: var(--navbar-height-mobile);
		height: calc(100dvh - var(--navbar-height-mobile));
		transition: all 0s;
		width: 100%;
	}

	.sidebar.hidden {
		transform: translateX(-100%);
	}

	.sidebar-toggle {
		top: var(--navbar-height-mobile);
		left: 0;
	}

	.sidebar-toggle.collapsed {
		transform: translateX(-100%);
	}
	
	.logo-text-container {
		flex-direction: row;
	}
	
	.logo-section img {
		height: 25px;
		width: 25px;
	}

	.logo-text-top {
		font-size: 20px;
		font-weight: 700;
		letter-spacing: 2px;
	}
	.logo-text-top::before {
		content: "\00a0"; /* &nbsp;&nbsp; w CSS */
	}

	.logo-text-bottom {
		font-size: 20px;
		font-weight: 700;
		letter-spacing: 2px;
	}
	
	.logo-text-bottom::before {
		content: "";
	}
	
	.right-panel {
		--panel-width: 100%;
		width: var(--panel-width);
		left: 0;
		right: auto;
		border-top: 2px solid var(--color-gray-strong);
	}

	.right-panel.hidden {
		--ty: 100dvh;
	}
	
	.panel-header {
		cursor: grab;
	}
	
	.panel-content {
		width: calc(100% - 2*var(--space-20));
	}
	
	.modal:not(#syncModal):not(#connectModal) {
		top: var(--navbar-height-mobile);
		left: 0;
		transform: none;
		width: 100vw;
		height: calc(100dvh - var(--navbar-height-mobile));
		border-radius: 0;
		padding: 15px;
		box-shadow: none;
		filter: none;
		flex-direction: column;
	}
	
	.map-container {
		top: var(--navbar-height-mobile);
		width: 100%;
		height: calc(100dvh - var(--navbar-height-mobile, 0px) - var(--panel-overlap, 0px));
	}
	
	.navmap-settings {
		display: grid;
		left: 0;
		width: 100%;
		top: var(--navbar-height-mobile);
	}
		
	.navmap-toggle {
		left: 40%;
		width: 20%;
		transform: translateY(calc(var(--navmap-height) + var(--navbar-height-mobile)));
	}

	.navmap-toggle.collapsed {
		transform: translateY(var(--navbar-height-mobile));
	}	

	.navmap-toggle:hover {
		background: var(--color-bg-dark);
	}
	
	.progress-parent .progress-label,
	.progress-child .progress-label {
		opacity: 1.0;
	}
	
}