@media (min-width: 992px) {
	.custom-width-lg-65 {
		width: 65% !important;
	}
}

#logo {
	position: relative;
	width: 100%;
	max-width: 1320px;
	height: auto;
	aspect-ratio: 1320 / 200;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	margin: 0 auto;
}

.user-class {
	color: white !important;
	padding: 4px;
	border-radius: 4px;
	font-weight: bolder;
	margin: 2px;
	text-decoration: none;
}
.user-class {
	color: white !important;
	padding: 4px;
	border-radius: 4px;
	font-weight: bolder;
	margin: 2px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.class_0 { 
	background: linear-gradient(135deg, #000000 0%, #2a2a2a 50%, #000000 100%) !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.class_0:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
	transform: translateY(-1px);
}

.class_1 { 
	background: linear-gradient(135deg, #0000ff 0%, #4040ff 50%, #0000ff 100%) !important;
	box-shadow: 0 2px 4px rgba(0, 0, 255, 0.3);
}
.class_1:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 255, 0.5);
	transform: translateY(-1px);
}

.class_2 { 
	background: linear-gradient(135deg, #d2691e 0%, #e08840 50%, #d2691e 100%) !important;
	box-shadow: 0 2px 4px rgba(210, 105, 30, 0.3);
}
.class_2:hover {
	box-shadow: 0 4px 8px rgba(210, 105, 30, 0.5);
	transform: translateY(-1px);
}

.class_3 { 
	background: linear-gradient(135deg, #9932cc 0%, #b560dd 50%, #9932cc 100%) !important;
	box-shadow: 0 2px 4px rgba(153, 50, 204, 0.3);
}
.class_3:hover {
	box-shadow: 0 4px 8px rgba(153, 50, 204, 0.5);
	transform: translateY(-1px);
}

.class_4 { 
	background: linear-gradient(135deg, #8a8a8a 0%, #a5a5a5 50%, #8a8a8a 100%) !important;
	box-shadow: 0 2px 4px rgba(138, 138, 138, 0.3);
}
.class_4:hover {
	box-shadow: 0 4px 8px rgba(138, 138, 138, 0.5);
	transform: translateY(-1px);
}

.class_5 { 
	background: linear-gradient(135deg, #0078ca 0%, #3394db 50%, #0078ca 100%) !important;
	box-shadow: 0 2px 4px rgba(0, 120, 202, 0.3);
}
.class_5:hover {
	box-shadow: 0 4px 8px rgba(0, 120, 202, 0.5);
	transform: translateY(-1px);
}

.class_9 { 
	background: linear-gradient(135deg, #4682b4 0%, #6a9dc7 50%, #4682b4 100%) !important;
	box-shadow: 0 2px 4px rgba(70, 130, 180, 0.3);
}
.class_9:hover {
	box-shadow: 0 4px 8px rgba(70, 130, 180, 0.5);
	transform: translateY(-1px);
}

/*.class_6 { 
	background: linear-gradient(135deg, #f934d6 0%, #fa66e0 50%, #f934d6 100%) !important;
	box-shadow: 0 2px 4px rgba(249, 52, 214, 0.3);
}
.class_6:hover {
	box-shadow: 0 4px 8px rgba(249, 52, 214, 0.5);
	transform: translateY(-1px);
} */

.class_6 { 
	background: linear-gradient(135deg, #f934d6 0%, #fa66e0 50%, #f934d6 100%) !important;
	box-shadow: 0 2px 4px rgba(249, 52, 214, 0.3);
}
.class_6:hover {
	box-shadow: 0 4px 8px rgba(249, 52, 214, 0.5);
	transform: translateY(-1px);
}
/*
.class_15 { 
	background: linear-gradient(135deg, #999900 0%, #b3b333 50%, #999900 100%) !important;
	box-shadow: 0 2px 4px rgba(153, 153, 0, 0.3);
}
.class_15:hover {
	box-shadow: 0 4px 8px rgba(153, 153, 0, 0.5);
	transform: translateY(-1px);
}
*/

.class_5555 { 
	background: linear-gradient(135deg, #ff9a35 0%, #ffb060 50%, #ff9a35 100%) !important;
	color: #1a1919 !important;
	box-shadow: 0 2px 4px rgba(255, 154, 53, 0.3);
}
.class_5555:hover {
	box-shadow: 0 4px 8px rgba(255, 154, 53, 0.5);
	transform: translateY(-1px);
}

.class_7 { 
	background: linear-gradient(135deg, #ff9a35 0%, #ffb060 50%, #ff9a35 100%) !important;
	color: #1a1919 !important;
	box-shadow: 0 2px 4px rgba(255, 154, 53, 0.3);
}
.class_7:hover {
	box-shadow: 0 4px 8px rgba(255, 154, 53, 0.5);
	transform: translateY(-1px);
}

.class_8 { 
	background: linear-gradient(135deg, #ffbf00 0%, #ffcc33 50%, #ffbf00 100%) !important;
	color: #1a1919 !important;
	box-shadow: 0 2px 4px rgba(255, 191, 0, 0.3);
}
.class_8:hover {
	box-shadow: 0 4px 8px rgba(255, 191, 0, 0.5);
	transform: translateY(-1px);
}

.class_9 { 
	background: linear-gradient(135deg, #008000 0%, #339933 50%, #008000 100%) !important;
	box-shadow: 0 2px 4px rgba(0, 128, 0, 0.3);
}
.class_9:hover {
	box-shadow: 0 4px 8px rgba(0, 128, 0, 0.5);
	transform: translateY(-1px);
}

.class_21 { 
	background: linear-gradient(135deg, #008000 0%, #339933 50%, #008000 100%) !important;
	box-shadow: 0 2px 4px rgba(0, 128, 0, 0.3);
}
.class_21:hover {
	box-shadow: 0 4px 8px rgba(0, 128, 0, 0.5);
	transform: translateY(-1px);
}

.class_10 { 
	background: linear-gradient(135deg, #ff0000 0%, #ff4040 50%, #ff0000 100%) !important;
	box-shadow: 0 2px 4px rgba(255, 0, 0, 0.3);
}
.class_10:hover {
	box-shadow: 0 4px 8px rgba(255, 0, 0, 0.5);
	transform: translateY(-1px);
}

.class_11 { 
	background: linear-gradient(135deg, #dc143c 0%, #e64560 50%, #dc143c 100%) !important;
	box-shadow: 0 2px 4px rgba(220, 20, 60, 0.3);
}
.class_11:hover {
	box-shadow: 0 4px 8px rgba(220, 20, 60, 0.5);
	transform: translateY(-1px);
}

.class_12 { 
	background: linear-gradient(135deg, #dc143c 0%, #e64560 50%, #dc143c 100%) !important;
	box-shadow: 0 2px 4px rgba(220, 20, 60, 0.3);
}
.class_12:hover {
	box-shadow: 0 4px 8px rgba(220, 20, 60, 0.5);
	transform: translateY(-1px);
}

.class_14 { 
	background: linear-gradient(135deg, #800080 0%, #a033a0 50%, #800080 100%) !important;
	box-shadow: 0 2px 4px rgba(128, 0, 128, 0.3);
}
.class_14:hover {
	box-shadow: 0 4px 8px rgba(128, 0, 128, 0.5);
	transform: translateY(-1px);
}

.class_30 { 
	background: linear-gradient(135deg, #800080 0%, #a033a0 50%, #800080 100%) !important;
	box-shadow: 0 2px 4px rgba(128, 0, 128, 0.3);
}
.class_30:hover {
	box-shadow: 0 4px 8px rgba(128, 0, 128, 0.5);
	transform: translateY(-1px);
}

.class_13 { 
	background: linear-gradient(135deg, #8b0000 0%, #aa3333 50%, #8b0000 100%) !important;
	box-shadow: 0 2px 4px rgba(139, 0, 0, 0.3);
}
.class_13:hover {
	box-shadow: 0 4px 8px rgba(139, 0, 0, 0.5);
	transform: translateY(-1px);
}

.class_33 { 
	background: linear-gradient(135deg, #8b0000 0%, #aa3333 50%, #8b0000 100%) !important;
	box-shadow: 0 2px 4px rgba(139, 0, 0, 0.3);
}
.class_33:hover {
	box-shadow: 0 4px 8px rgba(139, 0, 0, 0.5);
	transform: translateY(-1px);
}

.class_15 {
	background: linear-gradient(135deg, #1e3c72 0%, #2a5298 40%, #3b82f6 60%, #2a5298 100%) !important;
	box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
	position: relative;
	overflow: hidden;
}
.class_15:hover {
	box-shadow: 0 4px 8px rgba(59, 130, 246, 0.5);
	transform: translateY(-1px);
}

.class_36 {
	background: linear-gradient(135deg, #1e3c72 0%, #2a5298 40%, #3b82f6 60%, #2a5298 100%) !important;
	box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
	position: relative;
	overflow: hidden;
}
.class_36:hover {
	box-shadow: 0 4px 8px rgba(59, 130, 246, 0.5);
	transform: translateY(-1px);
}

input[type=submit],
input[type=button] {
	cursor: pointer;
}

.custom-modal-content {
	background-color: transparent !important;
	border: none;
	padding: 0;
}

.alert-area {
	max-height: 100%;
	max-width: 350px;
	position: fixed;
	bottom: 5px;
	left: 20px;
	right: 20px;
	right: auto;
	left: 0;
	z-index: 400;
}

.alert-box {
	line-height: 1.3em;
	padding: 10px 15px;
	margin: 5px 10px;
	position: relative;
	border-radius: 5px;
	transition: opacity 0.5s ease-in;
}

.alert-box.hide {
	opacity: 0;
}

.alert-close {
	background: transparent;
	width: 12px;
	height: 12px;
	position: absolute;
	top: 15px;
	right: 15px;
}

.alert-close:before,
.alert-close:after {
	content: '';
	width: 15px;
	border-top: solid 2px white;
	position: absolute;
	top: 5px;
	right: -1px;
	display: block;
}

.alert-close:before {
	transform: rotate(45deg);
}

.alert-close:after {
	transform: rotate(135deg);
}

.alert-close:hover:before,
.alert-close:hover:after {
	border-top: solid 2px #d8d8d8;
}

.alert-message-container {
	text-align: center;
	line-height: 2.5em;
	margin-top: 50px;
}

.alert-message-box {
	max-width: 300px;
	border: solid 1px #444;
	padding: 10px 15px;
	outline: none;
	transition: box-shadow 0.1s;
}

.alert-message-box:focus {
	box-shadow: 0 0 15px 2px #888;
}


.alert-message-button {
	color: white;
	background: #14b9ff;
	width: 250px;
	border: solid 1px #14b9ff;
	padding: 10px 20px;
	margin-top: 5px;
	cursor: pointer;
	outline: none;
	transition: background 0.1s;
}

.alert-message-button:hover,
.alert-message-button:focus,
.alert-message-button:active {
	background: #7dd8ff;
}

@font-face {
	font-family: 'YoungSerif-Regular';
	src: url('fonts/YoungSerif-Regular.ttf');
}

.navbar-brand {
	font-family: YoungSerif-Regular;
}

.navbar-brand>img {
	width: 48px;
	height: 48px;
}

#private-messages,
#notifications {
	position: relative;
	transition: outline 0.5s ease;
	outline: 1px solid transparent;
}

#unreadMessages:not(:empty),
#unreadnotifications:not(:empty) {
	position: absolute;
	bottom: -12px;
	left: 0px;
	background: radial-gradient(circle at 30% 15%, #FF5252 3%, #E61919 60%, #D32F2F 100%);
	width: 100%;
	z-index: 1;
}

#unseenFriends:not(:empty) {
	position: absolute;
	bottom: -4px;
	right: -4px;
	outline: 1px solid #E61919;
	background: -4px;
}

.badge-red {
	background-color: #E61919;
	color: white;
}

.badge-gray {
	background-color: #6c757d;
	color: white;
}


/* közös részek */

body {
	font-family: 'Roboto', sans-serif;
}

.table> :not(caption)>*>* {
	padding: .5rem .5rem;
}

.logo-text {
	position: absolute;
	bottom: 0;
	right: 0;
	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,
	#private-message-text,
	#logout-text {
		display: none !IMPORTANT;
	}
}

@media (max-width: 992px) {

	.index-link,
	#logo {
		display: none;
	}
}

.form-control,
.form-select {
	border-radius: 6px;
	padding: 10px;
	transition: all 0.3s ease;
	appearance: none;
	padding-right: 30px;
}

.form-control:focus,
.form-select:focus,
.form-control:hover,
.form-select:hover,
.form-control:active,
.form-select:active,
.form-control::placeholder,
.form-select::placeholder,
.form-control:disabled,
.form-control[readonly] {
	transition: all 0.3s ease;
}

.navbar {
	border-radius: 12px;
}

.nav-link {
	margin: 2px;
	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;
}

.nav-link:hover {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-header,
.toast-header {
	position: relative;
	padding: 15px;
	font-weight: bold;
	letter-spacing: 0.5px;
	border-radius: 8px;
	text-align: center !important;
}

.btn:focus {
	transition: none !IMPORTANT;
}

.btn,
.btn-primary:hover,
.btn-danger,
.btn-danger:hover,
.btn-info,
.btn-info:hover {
	transition: none;
}

.bg-primary,
.bg-secondary,
.bg-success,
.bg-danger,
.bg-warning,
.bg-info {
	transition: none;
}

.bg-green,
.bg-green:hover {
	transition: none;
	transition-duration: 300ms;
	transition-property: all;
}

.bg-curuser{
	background-color:#B6D2D380 !important;
}

.form-check-input:checked[type=checkbox],
.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='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);
}

.btn.disabled {
	cursor: not-allowed !IMPORTANT;
}

@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;
	padding: 5px 10px;
	border-radius: 5px;
}

.read-count {
	padding: 5px 10px;
	border-radius: 5px;
}

.list-group-item {
	border-top: 1px solid #2a2a28;
}

.user-details {
	margin-bottom: 20px;
	padding: 20px;
	border-radius: 10px;
	transition: background-color 0.3s ease;
}

.user-header {
	padding: 6px 12px;
	margin: -20px -20px 15px -20px;
	border-radius: 10px 10px 0 0;
}

h3 {
	transition: color 0.3s ease;
}

.medals img {
	width: 50px;
	margin: 5px;
}

.hnr-style{
	font-weight: bolder;
	color:darkorange;
}

.chat-image {
    max-width: 100%; /* Ne lógjon ki a chat ablakból */
    max-height: 250px; /* Maximum magasság, hogy ne foglaljon túl sok helyet */
    border-radius: 5px;
    margin-top: 5px;
    display: block;
}

/* Alap jelölés */
.mention {
    color: #ffffff;
    font-weight: bold;
}

/* Ha az aktuális user van megjelölve 
.mention-self {
    color: #fff !important;
    background-color: rgba(255,255,255,0.1);
    border-left: 3px solid #ffc107;
    padding: 2px 5px;
    border-radius: 3px;
}
*/

/* Az egész üzenet szürke háttérrel, ha az aktuális user meg lett jelölve benne */
.message.highlight-self {
    background-color: rgba(46, 65, 73, 0.5);
    border-left: 4px solid #ffc107;
    border-radius: 5px;
    padding: 3px 6px;
}

*/

.message.highlight-self {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 3px solid #ffc107;
    border-radius: 6px;
    padding: 6px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.493);
}

/* Popover stílusok a borítóképekhez */
.popover {
    max-width: 170px !important;
    border: 2px solid #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.popover-body {
    padding: 3px !important;
    background-color: #222;
}

.popover-body img {
    border-radius: 4px;
    object-fit: contain;
    width: 150px !important;
    height: auto !important;
}

/* Info ikon stílusa */
.poster-popover .bi-info-square {
    cursor: pointer;
    color: #0dcaf0;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.poster-popover .bi-info-square:hover {
    color: #0aa2c0;
}

/* Modern Navbar enhancements */
.navbar-brand img {
	transition: all 0.3s ease;
	filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.3));
}

.navbar-brand img:hover {
	transform: scale(1.05) rotate(-5deg);
	filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.6));
}

/* Navbar icons with glow effect */
.navbar .nav-link i,
.navbar .nav-link .bi {
	transition: all 0.3s ease;
	filter: drop-shadow(0 0 2px rgba(139, 92, 246, 0.3));
}

.navbar .nav-link:hover i,
.navbar .nav-link:hover .bi {
	filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.7));
	transform: scale(1.1);
}

/* User avatar in navbar */
.navbar .rounded {
	transition: all 0.3s ease;
	border: 2px solid rgba(139, 92, 246, 0.3);
}

.navbar .rounded:hover {
	transform: scale(1.1);
	border-color: rgba(139, 92, 246, 0.6);
	box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

/* Dropdown divider modern style */
.dropdown-divider {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin: 6px 0;
}

/* Notification badge glow
.badge {
	animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
	0%, 100% {
		box-shadow: 0 0 5px rgba(230, 25, 25, 0.5);
	}
	50% {
		box-shadow: 0 0 15px rgba(230, 25, 25, 0.8);
	}
}

*/

/* Credit point styling - arany szín (mobil navbar) */
.credit-point {
	font-weight: 700;
	color: #fbbf24 !important;
	text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
	transition: all 0.3s ease;
}

/* Erősebb szabály a dropdown-ben lévő linkekhez */
.dropdown-item .credit-point,
.dropdown-item a.credit-point,
.dropdown-item a .credit-point,
a.text-decoration-none.credit-point,
a.text-decoration-none .credit-point,
a.credit-point,
a .credit-point,
a.credit-point strong,
a.credit-point:link,
a.credit-point:visited,
a.credit-point:active {
	color: #fbbf24 !important;
	text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.dropdown-item a.credit-point:hover,
.dropdown-item a.text-decoration-none:hover .credit-point,
a.credit-point:hover,
a.credit-point:hover strong {
	color: #fcd34d !important;
	text-shadow: 0 0 15px rgba(251, 191, 36, 0.8);
}

/* Modern Card Styling */
.modern-card {
    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);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.modern-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.modern-card-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);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.modern-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);
    padding: 1.25rem;
}

.modern-card-body::-webkit-scrollbar,
.modern-card-body::-webkit-scrollbar-track,
.modern-card-body::-webkit-scrollbar-thumb,
.modern-card-body::-webkit-scrollbar-thumb:hover {
    background: transparent;
    width: 0;
    height: 0;
}
