/* ========== PANEL GENERAL ========== */

.upper {
	background: linear-gradient(to right, rgba(11,12,16,0.96), rgba(21,16,24,0.94));
	border-bottom: 1px solid rgba(255,255,255,0.05);
}

.lower.df-lower {
	background: rgba(8,10,14,0.95);
	border-top: 1px solid rgba(255,255,255,0.04);
	border-bottom: 1px solid rgba(255,255,255,0.05);
	padding: 10px 0;
}

/* ========== UPPER AREA ========== */

.df-upper-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 58px;
    padding-left: 13px;
}

.df-welcome-line {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 13px;
	letter-spacing: 0.4px;
	color: #a7a7b3;
}

.df-signal {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d14b72;
	box-shadow: 0 0 10px rgba(209,75,114,0.8);
	animation: dfPulse 2s infinite;
}

.df-welcome-text {
    font-size: 16px;
    font-weight: 500;
    color: #7e7e7e;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'rajdhaniregular';
}

.df-user {
    color: #b34c75;
    /* font-weight: 700; */
    font-family: neon_led_lightregular;
    font-size: 21px;
}

.df-visit {
    font-size: 11px;
    color: #616161;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding-left: 6px;
    border-left: 1px solid rgba(255,255,255,0.08);
}

.df-upper-actions {
	display: flex;
	align-items: center;
}

.df-logout {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	background: rgba(179,76,117,0.10);
	border: 1px solid rgba(179,76,117,0.28);
	color: #c85d86;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 1px;
	transition: all 0.25s ease;
}

.df-logout:hover {
	color: #fff;
	background: rgba(179,76,117,0.22);
	border-color: rgba(179,76,117,0.45);
	box-shadow: 0 0 12px rgba(179,76,117,0.18);
}

/* ========== LOWER AREA ========== */

.df-panel-links {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.df-link-group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

/* Wichtig: links direkt stylen, egal ob aus Variablen oder händisch eingefügt */
.df-link-group a, .df-link-group .panel_links a, .df-link-group .user_links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 7px 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    color: #c7cad3;
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.25s ease;
}

.df-link-group a:hover,
.df-link-group .panel_links a:hover,
.df-link-group .user_links a:hover {
	color: #fff;
	background: rgba(179,76,117,0.14);
	border-color: rgba(179,76,117,0.35);
	box-shadow: 0 0 10px rgba(179,76,117,0.14);
}

/* falls MyBB die Links noch als Listen ausgibt */
.df-link-group ul,
.df-link-group li,
.menu.panel_links,
.menu.user_links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu.panel_links,
.menu.user_links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

/* ========== MOBILE ========== */

@media screen and (max-width: 900px) {
	.df-upper-inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 10px 0;
	}

	.df-panel-links {
		flex-direction: column;
		align-items: flex-start;
	}

	.df-link-group {
		width: 100%;
	}
}

/* ========== ANIMATION ========== */

@keyframes dfPulse {
	0% {
		box-shadow: 0 0 0 0 rgba(209,75,114,0.65);
	}
	70% {
		box-shadow: 0 0 0 8px rgba(209,75,114,0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(209,75,114,0);
	}
}

.df-pm-item {
	list-style: none;
	margin: 0;
	padding: 0;
}

.df-pm-link {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	min-height: 34px;
	padding: 7px 14px;
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.06);
	color: #c7cad3;
	text-decoration: none;
	transition: all 0.25s ease;
}

.df-pm-link:hover {
	color: #fff;
	background: rgba(179,76,117,0.14);
	border-color: rgba(179,76,117,0.35);
	box-shadow: 0 0 10px rgba(179,76,117,0.14);
}

.df-pm-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.1;
    color: #636363;
}

.df-pm-count {
    margin-top: 4px;
    font-size: 9px;
    line-height: 1.2;
    letter-spacing: 0.4px;
    text-transform: none;
    color: #545454;
}

.df-panel-box-scenes {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	min-width: 130px;
	min-height: 60px;
	padding: 12px 14px;
	box-sizing: border-box;
	text-decoration: none;
}

.df-panel-box-scenes .df-panel-box-title {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 1.2;
}

.df-panel-box-scenes .df-panel-box-meta {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	line-height: 1;
	opacity: 0.7;
}