/* Czysty styl menu głównego (.nd-nav) — identyczny na komputerze i mobile */
.nd-navbar-sticky {
	position: sticky;
	top: 0;
	z-index: 990;
	background: rgba(20, 22, 27, 0.94);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.nd-mobile-toggle {
	display: none !important;
}

.nd-nav {
	display: flex;
	align-items: center;
	min-height: 46px;
}

.nd-nav-list {
	list-style: none;
	margin: 0;
	padding: 5px 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	width: 100%;
}

.nd-nav-list > li {
	position: relative;
}

.nd-nav-list > li > a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 13px;
	border-radius: 6px;
	color: #d1d5db !important;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none !important;
	border: 1px solid transparent;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.nd-nav-list > li > a:hover,
.nd-nav-list > li.nd-has-sub:hover > a {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.12);
	color: #ffffff !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nd-nav-video i { color: #ffb300; }
.nd-nav-video:hover { border-color: rgba(255, 179, 0, 0.35) !important; background: rgba(255, 179, 0, 0.08) !important; }

.nd-nav-premium i { color: #a2fefd; filter: drop-shadow(0 0 4px rgba(162, 254, 253, 0.4)); }
.nd-nav-premium:hover { border-color: rgba(162, 254, 253, 0.4) !important; background: rgba(162, 254, 253, 0.08) !important; }

.nd-nav-support i { color: #22c55e; }
.nd-nav-support:hover { border-color: rgba(34, 197, 94, 0.35) !important; background: rgba(34, 197, 94, 0.08) !important; }

.nd-arrow {
	font-size: 9px;
	opacity: 0.65;
	margin-left: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nd-has-sub:hover .nd-arrow,
.nd-has-sub.nd-sub-open .nd-arrow {
	transform: rotate(180deg);
	opacity: 1;
}

.nd-dropdown {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	min-width: 210px;
	background: #1a1d22;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-top: 2px solid #0095ff;
	border-radius: 7px;
	padding: 6px;
	margin: 0;
	list-style: none;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.75);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: 999;
}

.nd-dropdown::before {
	content: "";
	position: absolute;
	top: -8px;
	left: 0;
	right: 0;
	height: 8px;
}

.nd-has-sub:hover > .nd-dropdown,
.nd-has-sub.nd-sub-open > .nd-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nd-dropdown li {
	margin: 0;
	padding: 0;
}

.nd-dropdown li a {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 8px 12px;
	border-radius: 5px;
	color: #cbd5e1 !important;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none !important;
	transition: all 0.15s ease;
}

.nd-dropdown li a i {
	color: #00deff;
	font-size: 12px;
	transition: transform 0.15s ease;
}

.nd-dropdown li a:hover {
	background: rgba(0, 149, 255, 0.16);
	color: #ffffff !important;
	padding-left: 15px;
}

.nd-dropdown li a:hover i {
	transform: scale(1.15);
}


/* Dopasowanie wyglądu belek panelu użytkownika (#panel) do nowego menu (bez zmiany układu) */
#panel .upper {
	background: #16181d !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
	color: #cbd5e1 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#panel .lower {
	background: #1c1f26 !important;
	border-top: none !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
	color: #9ca3af !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

#panel a {
	color: #d1d5db !important;
	transition: color 0.15s ease;
}

#panel a:hover {
	color: #00deff !important;
	text-decoration: none !important;
}

/* Odświeżenie wyglądu wyszukiwarki w belce #panel (zachowując jej oryginalną pozycję) */
#panel #quicksearch input[type="text"],
#panel #quicksearch input.textbox {
	background: rgba(10, 12, 16, 0.8) !important;
	border: 1px solid rgba(255, 255, 255, 0.14) !important;
	border-radius: 5px !important;
	color: #f3f4f6 !important;
	padding: 4px 10px !important;
	font-size: 11.5px !important;
	outline: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#panel #quicksearch input[type="text"]:focus,
#panel #quicksearch input.textbox:focus {
	border-color: #0095ff !important;
	box-shadow: 0 0 8px rgba(0, 149, 255, 0.35);
}

#panel #quicksearch input[type="submit"],
#panel #quicksearch input.button {
	background: linear-gradient(180deg, #4b5058 0%, #353940 50%, #202226 51%, #16181b 100%) !important;
	border: 1px solid #6b7280 !important;
	border-radius: 5px !important;
	color: #ffffff !important;
	padding: 4px 12px !important;
	font-size: 11px !important;
	font-weight: bold !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
	cursor: pointer;
	transition: all 0.2s ease;
}

#panel #quicksearch input[type="submit"]:hover,
#panel #quicksearch input.button:hover {
	background: linear-gradient(180deg, #1aa3ff 0%, #0080db 50%, #0062a8 51%, #004980 100%) !important;
	border-color: #60c5ff !important;
}
