﻿.content-area {
margin-top: 70px;
	padding: 20px;
}

@media (max-width: 991.98px) {
	.horizontal-navbar {
		height: auto;
		min-height: 70px;
		padding: 10px 15px;
		flex-wrap: wrap;
		align-items: center;
	}

	.navbar-logo {
		display: flex;
		align-items: center;
		margin-right: auto;
		min-width: 0; /* ← fontos: engedi a flex child zsugorodását */
		flex-shrink: 1;
		overflow: hidden;
	}

		.navbar-logo img {
			height: 45px;
			flex-shrink: 0; /* ← a logókép ne zsugorodjon */
		}

		.navbar-logo span {
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis; /* ← ha tényleg nem fér ki, ... jelzéssel csonkítja */
			min-width: 0;
		}

	.navbar-toggler {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		padding: 0;
		border: 1px solid rgba(255, 255, 255, 0.5);
		border-radius: 6px;
		background: transparent;
		color: white;
		font-size: 22px;
		cursor: pointer;
		flex-shrink: 0; /* ← a hamburger ikon ne zsugorodjon */
	}

		.navbar-toggler:hover {
			background: rgba(255, 255, 255, 0.2);
		}

	.navbar-menu {
		display: none;
		flex: 0 0 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		width: 100%;
		margin-top: 10px;
		padding: 10px;
		background: rgba(47, 64, 80, 0.98);
		border-radius: 8px;
	}

		.navbar-menu.show {
			display: flex;
		}

		.navbar-menu > div {
			width: 100%;
		}

	.navbar-item {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		padding: 12px 15px;
	}

	.navbar-dropdown {
		position: absolute;
		top: 100%;
		left: 0;
		background: white;
		box-shadow: 0 4px 15px rgba(0,0,0,0.15);
		border-radius: 8px;
		min-width: 220px;
		width: max-content;
		max-width: 400px;
		margin-top: 10px;
		display: none;
		z-index: 1001;
		overflow: hidden;
	}

		.navbar-dropdown a {
			display: block;
			padding: 12px 20px;
			color: #333;
			text-decoration: none;
			transition: all 0.2s ease;
			border-bottom: 1px solid #f0f0f0;
			white-space: nowrap;
		}

		.navbar-dropdown.show {
			display: block;
		}

	.navbar-user {
		display: none;
	}
}

@media (min-width: 992px) {
	.navbar-toggler {
		display: none;
	}
}

/* Almenü stílus */
.menu-item-wrapper {
	position: relative;
}

.submenu {
	background: #a0a0a0;
	position: absolute;
	top: 70%;
	left: 50%;
	width: 300px;
	z-index: 1000;
	padding: 0;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.10);
	display: none;
}

	.submenu.submenu-up {
		bottom: 30%;
		top: auto;
	}

.horizontal-navbar {
	background: linear-gradient(135deg, #000000 0%, #1A578B 100%);
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	padding: 0 20px;
	height: 70px;
}

.navbar-logo {
	margin-right: 30px;
}

	.navbar-logo img {
		height: 50px;
		width: auto;
	}

.navbar-menu {
	display: flex;
	align-items: center;
	flex: 1;
	gap: 5px;
}

.navbar-item {
	position: relative;
	color: white;
	text-decoration: none;
	padding: 10px 20px;
	border-radius: 6px;
	transition: all 0.3s ease;
	font-weight: 500;
	white-space: nowrap;
	cursor: pointer;
}

	.navbar-item:hover {
		background: rgba(255, 255, 255, 0.2);
		color: white;
		text-decoration: none;
	}

	.navbar-item.active {
		background: rgba(255, 255, 255, 0.3);
	}

	.navbar-item i {
		margin-left: 5px;
		transition: transform 0.3s ease;
	}

	.navbar-item a {
		color: white;
		text-decoration: none;
		margin-left: 5px;
		transition: transform 0.3s ease;
	}
	.navbar-item a:hover {
		color: white;
		text-decoration: none;
		margin-left: 5px;
		transition: transform 0.3s ease;
	}

	.navbar-item.open i {
		color: white;
		text-decoration: none;
		margin-left: 5px;
		transition: transform 0.3s ease;
	}
	.navbar-item.open {
		color: white;
		text-decoration: none;
		margin-left: 5px;
		transition: transform 0.3s ease;
	}

.navbar-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	background: white;
	box-shadow: 0 4px 15px rgba(0,0,0,0.15);
	border-radius: 8px;
	min-width: 220px;
	width: max-content;
	max-width: 400px;
	margin-top: 10px;
	display: none;
	z-index: 1001;
	overflow: hidden;
}

	.navbar-dropdown a {
		display: block;
		padding: 8px 20px;
		color: #333;
		text-decoration: none;
		transition: all 0.2s ease;
		border-bottom: 1px solid #f0f0f0;
	}
	.navbar-dropdown a:hover {
		text-decoration: none;
	}

	.navbar-dropdown.show {
		display: block;
	}

		.navbar-dropdown a:last-child {
			border-bottom: none;
		}

		.navbar-dropdown a:hover {
			background: #f8f9fa;
			color: #667eea;
			padding-left: 25px;
		}

		.navbar-dropdown a.active {
			background: #e7f0ff;
			color: #667eea;
			font-weight: 600;
		}

.navbar-user {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-left: auto;
	color: white;
}

	.navbar-user img {
		height: 40px;
		width: 40px;
		border-radius: 50%;
		border: 2px solid rgba(255,255,255,0.3);
	}

.navbar-user-info {
	display: flex;
	flex-direction: column;
}

	.navbar-user-info h4 {
		margin: 0;
		font-size: 14px;
		font-weight: 600;
	}

	.navbar-user-info a {
		color: rgba(255,255,255,0.8);
		font-size: 12px;
		text-decoration: none;
	}

		.navbar-user-info a:hover {
			color: white;
			text-decoration: underline;
		}
