body {
	font-family: 'Roboto', sans-serif;
	color: #d6d6d6;
	background-image: url('1/bg.jpg');
	background-position: center;
	background-attachment: fixed;
	padding-top: 80px;
}


@media only screen and (max-width: 768px) {
	body {
		background-attachment: scroll;
		background: linear-gradient(to bottom, #191f1d, #060c0a, #161c1a);
	}
}

.table> :not(caption)>*>* {
	padding: .5rem .5rem;
	color: white;
	background-color: transparent;
	box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
}

.site-content {
	box-shadow: 0 3px 5px 5px #03030380;
}

#logo {
	position: relative;
	height: 200px;
	background-image: url('1/logo3.webp');
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	background-color: #00000050;
	border: solid 1px #2a2a28;
	border-radius: calc(.25rem - 1px);
	margin-top: 1rem;
}

.logo-text {
	position: absolute;
	bottom: 0;
	right: 0;
	color: #f6eacc;
	padding: 10px;
	font-weight: bolder;
	opacity: 0.8;
}

@media (min-width: 992px) {
	.navbar {
		border-bottom-left-radius: calc(.25rem - 1px);
		border-bottom-right-radius: calc(.25rem - 1px);
	}

	.navbar-brand {
		display: none !IMPORTANT;
	}

	#private-message-text {
		display: none !IMPORTANT;
	}

	#logout-text {
		display: none !IMPORTANT;
	}
}

@media (max-width: 991.98px) {
	.navbar.scrolled {
		max-width: 96%;
		width: 96%;
		padding: 0.5rem 0.8rem;
		transform: translateX(-50%) scale(1);
	}

	.navbar.scrolled .nav-link {
		padding: 8px 12px;
		font-size: 1rem;
	}
}

@media (max-width: 992px) {
	.index-link {
		display: none;
	}

	#logo {
		display: none;
	}
}

/* Aside toggle már az aside.css-ben van definiálva modern stílussal */

.list-group-item {
	background: linear-gradient(145deg, rgba(18, 21, 21, 0.6), rgba(18, 20, 21, 0.5), rgba(47, 61, 47, 0.13));
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #d6d6d6;
	border: 1px solid #252f26 !important;
}

.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='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

a {
	color: #d6d6d6;
}

a:hover {
	color: white;
}

td,
th {
	color: #d6d6d6;
}

.border-primary {
	border-color: #373737 !important;
}

.border-secondary {
	border-color: #2a2a28 !IMPORTANT;
}

.form-control:focus,
.form-select:focus {
	box-shadow: none;
	border-color: none;
	border-color: #5c5c58;
}

.form-control,
.form-select {
	color: #d6d6d6;
	border: 1px solid #5c5c58;
	background-color: #141414;
	border-radius: 6px;
	padding: 10px;
	transition: all 0.3s ease;
}

.form-control:focus {
	background-color: #212725;
	color: #ccc;
}

.form-control:hover,
.form-select:hover {
	border-color: #808080;
}

.form-control:active,
.form-select:active {
	border-color: #ffffff;
}

.form-control::placeholder,
.form-select::placeholder {
	color: #808080;
}

.form-select {
	appearance: none;
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 15px;
	padding-right: 30px;
}

.form-select:hover {
	background-color: #3a3a3a;
}

.form-control:disabled,
.form-control[readonly] {
	background-color: #1f1f1f;
}

.navbar {
	background: linear-gradient(135deg, rgba(18, 18, 26, 0.3) 0%, rgba(30, 30, 45, 0.25) 100%);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow:
		0 4px 20px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.03);
	position: fixed;
	top: 8px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1000;
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	width: calc(100% - 16px);
	max-width: 1320px;
}

/* Scrolled state - kompakt forma */
.navbar.scrolled {
	top: 12px;
	width: 90%;
	max-width: calc(1320px * 0.9);
	border-radius: 20px;
	padding: 0.3rem 1rem;
	background: linear-gradient(135deg, rgba(18, 18, 26, 0.5) 0%, rgba(30, 30, 45, 0.45) 100%);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(139, 92, 246, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	transform: translateX(-50%) scale(0.98);
}

.navbar.scrolled .container-fluid {
	padding: 0.25rem 0.5rem;
}

.navbar.scrolled .nav-link {
	padding: 6px 10px;
	font-size: 0.9rem;
}

.navbar.scrolled .navbar-brand img {
	width: 36px;
	height: 36px;
}

.navbar.scrolled .navbar-nav .rounded {
	width: 20px !important;
	height: 20px !important;
}

.navbar.scrolled .navbar-nav i,
.navbar.scrolled .navbar-nav .bi {
	font-size: 0.9rem;
}


.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(168, 85, 247, 0.2) 100%);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(139, 92, 246, 0.4);
	color: #ffffff;
	box-shadow:
		0 4px 15px rgba(139, 92, 246, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
	color: #f6e8c3;
	background-color: #272e2a;
	border:none;
}

.nav-tabs {
	--bs-nav-tabs-border-width: 0;
	border-radius: 12px;
	background-color: #00000080;
}

.nav-link {
	margin: 2px;
}

.nav-link,
.nav-link:focus {
	color: rgba(255, 255, 255, 0.85);
	background: transparent;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: inline-block;
	padding: 10px 15px;
	border-radius: 8px;
	display: block;
	position: relative;
	overflow: hidden;
}

.nav-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.15), transparent);
	transition: left 0.4s ease;
}

.nav-link:hover::before {
	left: 100%;
}

.nav-link:hover {
	color: #ffffff;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow:
		0 4px 12px rgba(139, 92, 246, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
	transform: translateY(-2px);
}

.dropdown-item {
	color: rgba(255, 255, 255, 0.85);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 6px;
	margin: 2px 4px;
}

.dropdown-item:hover,
.dropdown-item:focus {
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(168, 85, 247, 0.15) 100%);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(139, 92, 246, 0.3);
	color: #ffffff;
	box-shadow:
		0 4px 12px rgba(139, 92, 246, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	transform: translateX(3px);
}

#notificationToast {
	opacity: 1;
	display: none;
}

.card {
	color: #fcf8ec;
}

.card,
.toast {
	border-color: #252f26;
	background: transparent;
}

.card-body {
	background: linear-gradient(135deg, rgba(18, 18, 26, 0.3) 0%, rgba(30, 30, 45, 0.25) 100%);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-color: rgba(255, 255, 255, 0.08);
}

.card-header,
.toast-header {
	background: linear-gradient(135deg, rgba(18, 18, 26, 0.4) 0%, rgba(30, 30, 45, 0.35) 100%);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	position: relative;
	color: #ffffff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-footer {
	border-color: #2a2a28;
}

.text-muted {
	color: #888 !important;
}

.form-text {
	color: #888;
}

.text-danger {
	color: #b70808 !important;
}

.dropdown-menu {
	background: linear-gradient(135deg, rgba(18, 18, 26, 0.4) 0%, rgba(30, 30, 45, 0.35) 100%);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.85);
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
	border-radius: 10px;
	padding: 6px;
	z-index: 1050;
	position: relative;
}

.navbar-toggler {
	border: 1px solid rgba(139, 92, 246, 0.3);
	color: #ffffff !IMPORTANT;
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(168, 85, 247, 0.15) 100%);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: all 0.3s ease;
}

.navbar-toggler:hover {
	border-color: rgba(139, 92, 246, 0.5);
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(168, 85, 247, 0.25) 100%);
	box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.navbar-toggler:focus {
	outline: none;
	box-shadow: 0 0 0 .125rem rgba(139, 92, 246, 0.5);
}

.bg-primary {
	border: none !important;
	background-color: #5c7f6e !important;
	transition: none;
}

.bg-secondary {
	background: linear-gradient(to bottom, #6c757d, #5a6268);
	border-color: #6c757d;
	color: white;
	transition: none;
}

.bg-success {
	color: #d6d6d6;
	background: linear-gradient(to bottom, #28a745, #218838);
	border-color: #28a745;
	color: white;
	transition: none;
}

.bg-danger {
	border-color: red;
	background: linear-gradient(#cc0000, #ff0000, #cc0000);
	color: white;
	transition: none;
}

.bg-warning {
	background: linear-gradient(to bottom, #ffc107, #d39e00);
	border-color: #ffc107;
	color: white;
	transition: none;
}

.bg-info {
	border-color: #003b7d;
	background: linear-gradient(to bottom, #007BFF, #0056b3);
	color: white;
	transition: none;
}

.bg-green {
	border-color: #6c757d;
	color: white;
	transition: none;
	background: radial-gradient(circle at -1% 57.5%, rgb(32, 73, 49) 0%, rgb(0, 102, 43) 90%);
	transition-duration: 300ms;
	transition-property: all;
}

.bg-green:hover {
	border-color: #6c757d;
	color: white;
	transition: none;
	transition-duration: 300ms;
	transition-property: all;
	background: radial-gradient(circle at -1% 57.5%, rgb(21, 50, 33) 0%, rgb(0, 82, 34) 90%);
}

.btn:focus {
	transition: none !IMPORTANT;
	box-shadow: none !IMPORTANT;
	/* border: none !IMPORTANT; */
}

.btn {
	color: #d6d6d6;
}

.btn:hover {
	color: white;
}

.btn-primary {
	color: #ccc;
	background-size: 200% 100%;
	background-image: linear-gradient(to right, #232725 50%, #000000 50%);
	background-position: 100% 1px;
	border:1px solid #455b48;
}

.btn-primary:hover {
	color:white;
	background-size: 200% 100%;
	background: linear-gradient(#2a2a27, #000000, #2a2a27);
	background-position: 100% 1px;
	border:1px solid #496b4e;
}

.btn-primary:active {
	background: linear-gradient(#000000, #2a2a27, #000000);
	border:1px solid #455b48 !important;
}


.btn-danger {
	border-color: red;
	background: linear-gradient(#cc0000, #ff0000, #cc0000);
	color: white;
	transition: none;
}

.btn-danger:hover {
	border-color: #ff8989;
	background: linear-gradient(#ff0000, #cc0000, #ff0000);
	color: white;
	transition: none;
}

.btn-info {
	border-color: #003b7d;
	background: linear-gradient(to bottom, #007BFF, #0056b3);
	color: white;
	transition: none;
}

.btn-info:hover {
	border-color: #003b7d;
	background: linear-gradient(to bottom, #0056b3, #003b7d);
	color: white;
	transition: none;
}

.btn-secondary {
	background: linear-gradient(to bottom, #6c757d, #5a6268);
	border-color: #6c757d;
	color: white;
}

.btn-secondary:hover {
	background: linear-gradient(to bottom, #5a6268, #464d52);
	border: 1px solid #464d52;
	color: white;
}

.btn-success {
	background: linear-gradient(to bottom, #28a745, #218838);
	border-color: #28a745;
	color: white;
}

.btn-success:hover {
	background: linear-gradient(to bottom, #218838, #1e7e34);
	border-color: #1e7e34;
	color: white;
}

.btn-warning {
	background: linear-gradient(to bottom, #ffc107, #d39e00);
	border-color: #ffc107;
	color: white;
}

.btn-warning:hover {
	background: linear-gradient(to bottom, #d39e00, #b88e00);
	border-color: #b88e00;
}

.alert-primary {
	border-color: #5c5c58;
	background: linear-gradient(#000000, #2a2a27, #000000);
	transition: none;
	color: #d6d6d6;
}

.alert-secondary {
	background: linear-gradient(to bottom, #6c757d, #5a6268);
	border-color: #6c757d;
	color: white;
}

.alert-secondary {
	background: linear-gradient(to bottom, #6c757d, #5a6268);
	border-color: #6c757d;
	color: white;
}

.alert-danger {
	border-color: #700;
	color: white;
	background: #520000;
}

.alert-success {
	background: linear-gradient(to bottom, #28a745, #218838);
	border-color: #28a745;
	color: white;
}

.alert-warning {
	background: linear-gradient(to bottom, #ffc107, #d39e00);
	border-color: #ffc107;
	color: black;
}

.alert-info {
	border-color: #003b7d;
	background: linear-gradient(to bottom, #007BFF, #0056b3);
	color: white;
	transition: none;
}

.alert-box{
	background-color: black;
}

.table,
.table-bordered {
	border-color: #2a2a28;
}

.table>:not(:last-child)>:last-child>* {
	border-bottom-color: #2a2a28;
}

.form-check-input:checked[type=checkbox] {
	--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-input:checked[type=radio] {
	--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

.form-check-input:checked {
	background-color: #375a7f;
	border-color: #375a7f;
}

.btn.disabled {
	cursor: not-allowed !IMPORTANT;
	border-color: #5c5c58;
}

@media (min-width: 992px) {

	.wide-dropdown {
		width: max-content;
		white-space: nowrap;
	}

	.wide-dropdown .dropdown-item-text,
	.wide-dropdown .dropdown-divider,
	.wide-dropdown .dropdown-item {
		width: 100%;
	}

}

.read-info {
	float: right;
	text-align: right;
	font-style: italic;
	background-color: #121716;
	color: #688f7c;
	padding: 5px 10px;
	border-radius: 5px
}

.read-count {
	border: 1px solid #688f7c;
	color: #688f7c;
	padding: 5px 10px;
	border-radius: 5px
}

.date {
	background-color: #212529 !important;
	color: #9ea6ad !important;
}

.icon-gender.male {
	color: blue;
}

.icon-gender.female {
	color: pink;
}

.icon-gender.unknown {
	color: gray;
}

.list-group-item {
	border-top: 1px solid #2a2a28;
	border-color: #2a2a28;
}

.bg-dark {
	background-color: #343a40 !important;
}

.text-light {
	color: #f8f9fa !important;
}

.accordion-button.collapsed {
	background-color: #252a28 !important;
	color: #f8f9fa !important;
}

.accordion-button:not(.collapsed) {
	background-color: #252a28 !important;
	color: #cca781 !important;
}

.accordion-body {
	background-color: #2b322e;
	color: #f8f9fa;
}

/* Felhasználói adatlap */
.user-details {
	background: linear-gradient(145deg, rgba(30, 37, 35, 0.6), rgba(42, 56, 52, 0.6));
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #eee;
	margin-bottom: 20px;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

.user-details.even {
	background: linear-gradient(145deg, rgba(36, 48, 46, 0.6), rgba(51, 66, 62, 0.6));
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.user-details.odd {
	background: linear-gradient(145deg, rgba(30, 37, 35, 0.6), rgba(42, 56, 52, 0.6));
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.user-header {
	background-color: #3b724d;
	color: #fff;
	padding: 6px 12px;
	margin: -20px -20px 15px -20px;
	border-radius: 10px 10px 0 0;
}

h3 {
	color: #688f7c;
	transition: color 0.3s ease;
}

h3:hover {
	color: #a4c3b2;
}

.medals img {
	width: 50px;
	margin: 5px;
}

.rules {
	color: #688f7c !important;
}

.rules:hover {
	color: #cda882 !important;
}