:root {
	--page-bg: #050816;
	--sidebar-bg: #080d1d;
	--panel-bg: #0b1124;
	--panel-bg-soft: #0d1429;
	--panel-border: rgba(128, 143, 190, 0.14);
	--panel-border-strong: rgba(126, 107, 255, 0.28);

	--text-main: #f4f6ff;
	--text-muted: #8c96b5;
	--text-soft: #67718f;

	--purple: #7c63ff;
	--purple-light: #9d8cff;
	--blue: #42a5ff;
	--pink: #f05da7;
	--green: #38d49a;
	--red: #ff637b;

	--sidebar-width: 260px;
	--topbar-height: 78px;

	--radius-large: 20px;
	--radius-medium: 15px;
	--radius-small: 10px;

	--shadow-panel: 0 18px 50px rgba(0, 0, 0, 0.19);
	--transition: 180ms ease;
}

* {
	box-sizing: border-box;
}

html {
	min-width: 320px;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	overflow-x: hidden;
	background:
		radial-gradient(circle at 40% 0%, rgba(85, 65, 194, 0.07), transparent 30%),
		var(--page-bg);
	color: var(--text-main);
	font-family:
		Inter,
		-apple-system,
		BlinkMacSystemFont,
		'Segoe UI',
		sans-serif;
	font-size: 15px;
	line-height: 1.45;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	border: 0;
}

svg {
	display: block;
}

.admin-layout {
	min-height: 100vh;
}

.sidebar {
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 50;
	display: flex;
	width: var(--sidebar-width);
	flex-direction: column;
	border-right: 1px solid var(--panel-border);
	background:
		linear-gradient(180deg, rgba(124, 99, 255, 0.035), transparent 22%),
		var(--sidebar-bg);
}

.sidebar-header {
	display: flex;
	min-height: var(--topbar-height);
	align-items: center;
	justify-content: space-between;
	padding: 0 24px;
	border-bottom: 1px solid var(--panel-border);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 13px;
}

.brand-mark {
	display: flex;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	gap: 3px;
	border-radius: 11px;
	background: linear-gradient(135deg, #775cff, #4c34c9);
	box-shadow: 0 8px 26px rgba(113, 86, 255, 0.35);
}

.wave {
	width: 3px;
	border-radius: 99px;
	background: #ffffff;
}

.wave-1,
.wave-5 {
	height: 10px;
	opacity: 0.72;
}

.wave-2,
.wave-4 {
	height: 18px;
}

.wave-3 {
	height: 25px;
}

.brand-copy {
	display: flex;
	flex-direction: column;
}

.brand-copy strong {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.brand-copy small {
	margin-top: 1px;
	color: var(--text-muted);
	font-size: 12px;
}

.sidebar-close {
	display: none;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: transparent;
	color: var(--text-muted);
	font-size: 27px;
	line-height: 1;
	cursor: pointer;
}

.main-nav {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 5px;
	padding: 24px 14px;
}

.nav-link {
	position: relative;
	display: flex;
	min-height: 46px;
	align-items: center;
	gap: 14px;
	padding: 0 16px;
	border-radius: 11px;
	color: var(--text-muted);
	font-size: 14px;
	font-weight: 500;
	transition:
		background var(--transition),
		color var(--transition);
}

.nav-link svg {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.nav-link:hover {
	background: rgba(124, 99, 255, 0.08);
	color: var(--text-main);
}

.nav-link.active {
	background: linear-gradient(
		90deg,
		rgba(124, 99, 255, 0.19),
		rgba(124, 99, 255, 0.08)
	);
	color: #b6a9ff;
}

.nav-link.active::before {
	position: absolute;
	top: 10px;
	bottom: 10px;
	left: 0;
	width: 3px;
	border-radius: 0 4px 4px 0;
	background: var(--purple);
	content: '';
}

.sidebar-footer {
	padding: 15px 14px 22px;
	border-top: 1px solid var(--panel-border);
}

.logout-link {
	color: #e47788;
}

.logout-link:hover {
	background: rgba(255, 99, 123, 0.08);
	color: #ff8ca0;
}

.sidebar-overlay {
	display: none;
}

.workspace {
	display: flex;
	min-height: 100vh;
	margin-left: var(--sidebar-width);
	flex-direction: column;
}

.topbar {
	position: sticky;
	top: 0;
	z-index: 30;
	display: flex;
	height: var(--topbar-height);
	align-items: center;
	justify-content: flex-end;
	padding: 0 34px;
	border-bottom: 1px solid var(--panel-border);
	background: rgba(5, 8, 22, 0.91);
	backdrop-filter: blur(18px);
}

.menu-button {
	display: none;
	width: 40px;
	height: 40px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	border-radius: 10px;
	background: var(--panel-bg);
	cursor: pointer;
}

.menu-button span {
	width: 19px;
	height: 2px;
	border-radius: 99px;
	background: var(--text-main);
}

.topbar-content {
	display: flex;
	align-items: center;
	gap: 28px;
}

.system-state {
	display: flex;
	align-items: center;
	gap: 9px;
	color: #9ca6c3;
	font-size: 13px;
}

.system-state-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 13px rgba(56, 212, 154, 0.8);
}

.admin-profile {
	display: flex;
	align-items: center;
	gap: 11px;
}

.admin-avatar {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border: 1px solid rgba(124, 99, 255, 0.24);
	border-radius: 50%;
	background: rgba(124, 99, 255, 0.12);
	color: #a99cff;
}

.admin-avatar svg {
	width: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.admin-profile-copy {
	display: flex;
	flex-direction: column;
}

.admin-profile-copy strong {
	font-size: 13px;
	font-weight: 600;
}

.admin-profile-copy span {
	color: var(--text-muted);
	font-size: 11px;
}

.main-content {
	width: 100%;
	max-width: 1660px;
	margin: 0 auto;
	flex: 1;
	padding: 34px;
}

.page-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

.eyebrow {
	margin: 0 0 5px;
	color: var(--purple-light);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.page-heading h1 {
	margin: 0;
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 720;
	letter-spacing: -0.035em;
}

.page-description {
	margin: 7px 0 0;
	color: var(--text-muted);
	font-size: 14px;
}

.current-date {
	color: var(--text-muted);
	font-size: 13px;
	white-space: nowrap;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 18px;
}

.stat-card,
.panel {
	border: 1px solid var(--panel-border);
	background:
		linear-gradient(140deg, rgba(255, 255, 255, 0.013), transparent 35%),
		var(--panel-bg);
	box-shadow: var(--shadow-panel);
}

.stat-card {
	display: flex;
	/* min-height: 132px; */
	align-items: center;
	gap: 17px;
	padding: 22px;
	border-radius: var(--radius-medium);
	transition:
		transform var(--transition),
		border-color var(--transition);
}

.stat-card:hover {
	transform: translateY(-2px);
	border-color: rgba(124, 99, 255, 0.26);
}

.stat-icon {
	display: grid;
	width: 50px;
	height: 50px;
	flex: 0 0 auto;
	place-items: center;
	border-radius: 13px;
}

.stat-icon svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.stat-icon.purple {
	background: rgba(124, 99, 255, 0.13);
	color: #9988ff;
}

.stat-icon.blue {
	background: rgba(66, 165, 255, 0.12);
	color: #62b6ff;
}

.stat-icon.pink {
	background: rgba(240, 93, 167, 0.12);
	color: #f178b4;
}

.stat-icon.green {
	background: rgba(56, 212, 154, 0.12);
	color: #55dda8;
}

.stat-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.stat-copy > span {
	color: var(--text-muted);
	font-size: 13px;
}

.stat-copy > strong {
	margin: 3px 0 1px;
	font-size: 27px;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.stat-copy small {
	overflow: hidden;
	color: var(--text-soft);
	font-size: 11px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.positive {
	color: var(--green) !important;
}

.dashboard-grid {
	display: grid;
	gap: 18px;
	margin-bottom: 18px;
}

.dashboard-grid-primary {
	grid-template-columns: minmax(0, 1.75fr) minmax(300px, 0.75fr);
}

.dashboard-grid-secondary {
	grid-template-columns: minmax(0, 1.5fr) minmax(310px, 0.7fr);
}

.panel {
	border-radius: var(--radius-large);
	padding: 24px;
}

.panel-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.panel-header h2 {
	margin: 0;
	font-size: 17px;
	font-weight: 650;
	letter-spacing: -0.015em;
}

.panel-header p {
	margin: 5px 0 0;
	color: var(--text-muted);
	font-size: 12px;
}

.select-button {
	display: inline-flex;
	min-height: 36px;
	align-items: center;
	gap: 8px;
	padding: 0 13px;
	border: 1px solid var(--panel-border);
	border-radius: 9px;
	background: var(--panel-bg-soft);
	color: var(--text-muted);
	font-size: 12px;
	cursor: pointer;
}

.select-button svg {
	width: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.chart-summary {
	display: flex;
	align-items: flex-end;
	gap: 25px;
	margin-top: 23px;
}

.chart-summary > div:first-child {
	display: flex;
	flex-direction: column;
}

.chart-summary span {
	color: var(--text-muted);
	font-size: 11px;
}

.chart-summary strong {
	font-size: 27px;
	letter-spacing: -0.03em;
}

.chart-change {
	display: flex;
	align-items: center;
	gap: 5px;
	padding-bottom: 5px;
}

.chart-change strong {
	font-size: 12px;
}

.line-chart {
	display: flex;
	height: 250px;
	margin-top: 17px;
}

.chart-y-axis {
	display: flex;
	width: 34px;
	flex-direction: column;
	justify-content: space-between;
	padding: 1px 8px 21px 0;
	color: var(--text-soft);
	font-size: 10px;
	text-align: right;
}

.chart-area {
	position: relative;
	flex: 1;
	min-width: 0;
}

.grid-line {
	position: absolute;
	right: 0;
	left: 0;
	height: 1px;
	background: rgba(129, 143, 184, 0.1);
}

.grid-line-1 {
	top: 0;
}

.grid-line-2 {
	top: 25%;
}

.grid-line-3 {
	top: 50%;
}

.grid-line-4 {
	top: 75%;
}

.grid-line-5 {
	bottom: 21px;
}

.chart-svg {
	position: absolute;
	inset: 0 0 21px;
	width: 100%;
	height: calc(100% - 21px);
	overflow: visible;
}

.chart-fill {
	fill: url('#chartFill');
}

.chart-line {
	fill: none;
	stroke: #806bff;
	stroke-width: 3;
	stroke-linecap: round;
	vector-effect: non-scaling-stroke;
	filter: drop-shadow(0 0 6px rgba(124, 99, 255, 0.45));
}

.chart-x-axis {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	justify-content: space-between;
	color: var(--text-soft);
	font-size: 9px;
}

.live-badge {
	display: inline-flex;
	min-height: 28px;
	align-items: center;
	gap: 7px;
	padding: 0 10px;
	border: 1px solid rgba(255, 99, 123, 0.2);
	border-radius: 99px;
	background: rgba(255, 99, 123, 0.09);
	color: #ff8496;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.live-badge > span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 8px rgba(255, 99, 123, 0.8);
}

.now-playing-cover {
	position: relative;
	display: grid;
	width: 132px;
	height: 132px;
	margin: 27px auto 20px;
	place-items: center;
	border: 1px solid rgba(124, 99, 255, 0.19);
	border-radius: 22px;
	background:
		radial-gradient(
			circle at 50% 50%,
			rgba(124, 99, 255, 0.2),
			transparent 55%
		),
		#0d1328;
	overflow: hidden;
}

.cover-glow {
	position: absolute;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: rgba(124, 99, 255, 0.16);
	filter: blur(22px);
}

.now-playing-cover svg {
	position: relative;
	width: 78px;
	fill: none;
	stroke: #8f7dff;
	stroke-width: 2;
	stroke-linecap: round;
}

.track-info {
	text-align: center;
}

.track-info h3 {
	margin: 0;
	font-size: 15px;
}

.track-info p {
	margin: 5px 0 0;
	color: var(--text-muted);
	font-size: 12px;
}

.track-progress {
	margin-top: 24px;
}

.progress-track {
	height: 5px;
	overflow: hidden;
	border-radius: 99px;
	background: rgba(128, 143, 190, 0.13);
}

.progress-track span {
	display: block;
	width: 54%;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #6547f2, #9c87ff);
}

.track-times {
	display: flex;
	justify-content: space-between;
	margin-top: 7px;
	color: var(--text-soft);
	font-size: 10px;
}

.station-meta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 22px;
}

.station-meta > div {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px;
	border: 1px solid var(--panel-border);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.012);
}

.station-meta span {
	color: var(--text-muted);
	font-size: 10px;
}

.station-meta strong {
	overflow: hidden;
	font-size: 11px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.stations-panel {
	margin-bottom: 18px;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #9484ff;
	font-size: 12px;
	font-weight: 600;
}

.table-wrap {
	margin: 22px -24px -24px;
	overflow-x: auto;
}

.stations-table {
	width: 100%;
	min-width: 900px;
	border-collapse: collapse;
}

.stations-table th,
.stations-table td {
	padding: 15px 22px;
	border-top: 1px solid var(--panel-border);
	text-align: left;
	vertical-align: middle;
}

.stations-table th {
	color: var(--text-soft);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.stations-table td {
	color: #aeb6cf;
	font-size: 12px;
}

.station-name {
	display: flex;
	align-items: center;
	gap: 12px;
}

.station-icon {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 10px;
	background: rgba(124, 99, 255, 0.12);
	color: #9583ff;
}

.station-icon svg {
	width: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
}

.station-name > div,
.current-track {
	display: flex;
	flex-direction: column;
}

.station-name strong,
.current-track strong {
	color: var(--text-main);
	font-size: 12px;
}

.station-name small,
.current-track small {
	margin-top: 3px;
	color: var(--text-soft);
	font-size: 10px;
}

.status-pill {
	display: inline-flex;
	min-height: 26px;
	align-items: center;
	gap: 7px;
	padding: 0 9px;
	border-radius: 99px;
	font-size: 10px;
	font-weight: 600;
}

.status-pill.active {
	background: rgba(56, 212, 154, 0.1);
	color: #58dda9;
}

.status-pill > span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.icon-button {
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	gap: 3px;
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
}

.icon-button:hover {
	background: rgba(255, 255, 255, 0.04);
}

.icon-button span {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--text-muted);
}

.event-list {
	margin-top: 17px;
}

.event-item {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) auto;
	align-items: center;
	gap: 13px;
	padding: 14px 0;
	border-top: 1px solid var(--panel-border);
}

.event-item:first-child {
	border-top: 0;
}

.event-icon {
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border-radius: 10px;
}

.event-icon svg {
	width: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.event-icon.success {
	background: rgba(56, 212, 154, 0.1);
	color: var(--green);
}

.event-icon.purple {
	background: rgba(124, 99, 255, 0.1);
	color: #9a89ff;
}

.event-icon.blue {
	background: rgba(66, 165, 255, 0.1);
	color: var(--blue);
}

.event-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.event-copy strong {
	overflow: hidden;
	font-size: 12px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.event-copy span {
	overflow: hidden;
	margin-top: 3px;
	color: var(--text-muted);
	font-size: 10px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.event-item time {
	color: var(--text-soft);
	font-size: 10px;
	white-space: nowrap;
}

.system-metrics {
	display: flex;
	flex-direction: column;
	gap: 19px;
	margin-top: 25px;
}

.metric-heading {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
	color: var(--text-muted);
	font-size: 11px;
}

.metric-heading strong {
	color: var(--text-main);
	font-weight: 600;
}

.metric-bar {
	height: 6px;
	overflow: hidden;
	border-radius: 99px;
	background: rgba(128, 143, 190, 0.12);
}

.metric-bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #684cf4, #967fff);
}

.service-list {
	margin-top: 26px;
	border-top: 1px solid var(--panel-border);
}

.service-list > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid var(--panel-border);
	color: var(--text-muted);
	font-size: 11px;
}

.service-online {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--green);
	font-size: 10px;
	font-weight: 600;
}

.service-online > span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.footer {
	display: flex;
	min-height: 60px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 0 34px;
	border-top: 1px solid var(--panel-border);
	color: var(--text-soft);
	font-size: 10px;
}

@media (max-width: 1220px) {
	.stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dashboard-grid-primary,
	.dashboard-grid-secondary {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 880px) {
	:root {
		--topbar-height: 68px;
	}

	body.sidebar-open {
		overflow: hidden;
	}

	.sidebar {
		width: min(290px, calc(100vw - 54px));
		transform: translateX(-100%);
		box-shadow: 24px 0 70px rgba(0, 0, 0, 0.45);
		transition: transform 220ms ease;
	}

	body.sidebar-open .sidebar {
		transform: translateX(0);
	}

	.sidebar-close {
		display: grid;
		place-items: center;
	}

	.sidebar-overlay {
		position: fixed;
		inset: 0;
		z-index: 40;
		display: block;
		visibility: hidden;
		background: rgba(0, 0, 0, 0.58);
		opacity: 0;
		transition:
			opacity 220ms ease,
			visibility 220ms ease;
	}

	body.sidebar-open .sidebar-overlay {
		visibility: visible;
		opacity: 1;
	}

	.workspace {
		margin-left: 0;
	}

	.topbar {
		justify-content: space-between;
		padding: 0 20px;
	}

	.menu-button {
		display: flex;
	}

	.main-content {
		padding: 24px 20px;
	}

	.footer {
		padding: 0 20px;
	}
}

@media (max-width: 620px) {
	.admin-profile-copy {
		display: none;
	}

	.topbar-content {
		gap: 15px;
	}

	.system-state {
		font-size: 11px;
	}

	.page-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.stats-grid {
		grid-template-columns: 1fr;
	}

	.stat-card {
		min-height: 112px;
	}

	.panel {
		padding: 19px;
	}

	.panel-header {
		align-items: flex-start;
	}

	.panel-header p {
		max-width: 230px;
	}

	.table-wrap {
		margin-right: -19px;
		margin-bottom: -19px;
		margin-left: -19px;
	}

	.line-chart {
		height: 215px;
	}

	.chart-x-axis span:nth-child(even) {
		display: none;
	}

	.event-item {
		grid-template-columns: 36px minmax(0, 1fr);
	}

	.event-item time {
		grid-column: 2;
	}

	.footer {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		padding-top: 14px;
		padding-bottom: 14px;
	}
}

/* =========================================================
   RADIO DOBREFF ADMIN â€” Ð­Ð¢ÐÐŸ 1
   Ð¤Ð¸Ñ€Ð¼ÐµÐ½Ð½Ñ‹Ð¹ Ð»Ð¾Ð³Ð¾Ñ‚Ð¸Ð¿, sidebar Ð¸ Ð²ÐµÑ€Ñ…Ð½ÑÑ Ð¿Ð°Ð½ÐµÐ»ÑŒ
   ========================================================= */

:root {
	--sidebar-width: 272px;
	--topbar-height: 92px;
}

.sidebar {
	border-right: 1px solid rgba(70, 104, 163, 0.18);
	background:
		radial-gradient(
			circle at 32% 12%,
			rgba(28, 117, 255, 0.12),
			transparent 28%
		),
		linear-gradient(180deg, #06101f 0%, #07101e 52%, #060d19 100%);
	box-shadow:
		18px 0 50px rgba(0, 0, 0, 0.16),
		inset -1px 0 rgba(59, 122, 216, 0.05);
}

.sidebar-header {
	min-height: var(--topbar-height);
	padding: 0 30px;
	border-bottom: 0;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 17px;
	min-width: 0;
}

.logo-wave {
	display: flex;
	height: 54px;
	flex: 0 0 auto;
	align-items: center;
	gap: 5px;
}

.logo-wave i {
	display: block;
	width: 5px;
	border-radius: 8px;
	background: linear-gradient(180deg, #21d6ff, #2761ff);
	box-shadow: 0 0 15px rgba(25, 149, 255, 0.55);
}

.logo-wave i:nth-child(1) {
	height: 21px;
}

.logo-wave i:nth-child(2) {
	height: 39px;
}

.logo-wave i:nth-child(3) {
	height: 53px;
}

.logo-wave i:nth-child(4) {
	height: 35px;
}

.logo-wave i:nth-child(5) {
	height: 18px;
}

.logo-text {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.logo-text strong {
	color: #f7f9ff;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.025em;
	white-space: nowrap;
}

.logo-text small {
	margin-top: 5px;
	color: #9ba7bd;
	font-size: 13px;
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
}

.main-nav {
	gap: 7px;
	padding: 19px 16px 24px;
}

.nav-link {
	min-height: 53px;
	gap: 17px;
	padding: 0 17px;
	border-radius: 11px;
	color: #a4aec4;
	font-size: 14px;
	font-weight: 500;
}

.nav-link svg {
	width: 23px;
	height: 23px;
	stroke-width: 1.65;
}

.nav-link:hover {
	background: rgba(28, 114, 255, 0.08);
	color: #eef5ff;
}

.nav-link.active {
	background: linear-gradient(
		90deg,
		rgba(15, 101, 255, 0.22),
		rgba(15, 101, 255, 0.1)
	);
	color: #f3f7ff;
	box-shadow:
		inset 0 0 0 1px rgba(34, 132, 255, 0.06),
		0 0 28px rgba(9, 104, 255, 0.1);
}

.nav-link.active::before {
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: #168cff;
	box-shadow: 0 0 12px rgba(22, 140, 255, 0.85);
}

.nav-link.active svg {
	color: #30a6ff;
	filter: drop-shadow(0 0 7px rgba(28, 145, 255, 0.4));
}

.sidebar-footer {
	padding: 18px 16px 24px;
	border-top: 1px solid rgba(70, 104, 163, 0.14);
}

.logout-link {
	color: #d8deea;
}

.logout-link:hover {
	background: rgba(255, 255, 255, 0.035);
	color: #ffffff;
}

.topbar {
	height: var(--topbar-height);
	padding: 0 38px;
	border-bottom: 0;
	background: linear-gradient(
		180deg,
		rgba(4, 11, 23, 0.96),
		rgba(5, 12, 25, 0.92)
	);
	backdrop-filter: blur(20px);
}

.topbar-content {
	gap: 32px;
}

.system-state {
	min-height: 42px;
	gap: 10px;
	padding: 0 22px;
	border: 1px solid rgba(34, 214, 151, 0.08);
	border-radius: 999px;
	background: rgba(28, 181, 126, 0.09);
	color: #69d9b0;
	font-size: 13px;
}

.system-state-dot {
	width: 10px;
	height: 10px;
	background: #24df9c;
	box-shadow:
		0 0 9px rgba(36, 223, 156, 0.9),
		0 0 20px rgba(36, 223, 156, 0.35);
}

.admin-profile {
	gap: 13px;
}

.admin-avatar {
	width: 42px;
	height: 42px;
	border: 2px solid #329cff;
	background: rgba(28, 116, 255, 0.08);
	color: #72bcff;
	box-shadow: 0 0 18px rgba(24, 130, 255, 0.14);
}

.admin-profile-copy strong {
	color: #f5f8ff;
	font-size: 14px;
}

.admin-profile-copy span {
	margin-top: 2px;
	color: #8f9bb2;
	font-size: 12px;
}

@media (max-width: 880px) {
	.sidebar-header {
		padding: 0 22px;
	}

	.logo-text strong {
		font-size: 19px;
	}

	.topbar {
		padding: 0 20px;
	}

	.system-state {
		min-height: 38px;
		padding: 0 14px;
	}
}

@media (max-width: 620px) {
	.system-state {
		padding: 0 11px;
	}

	.system-state span:last-child {
		display: none;
	}
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 24px;
}

.stats-grid .stat-card {
	position: relative;
	display: flex;
	height: 117px;
	align-items: center;
	gap: 20px;
	padding: 25px 24px;
	overflow: hidden;
	border: 1px solid rgba(64, 104, 166, 0.18);
	border-radius: 16px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 45%),
		#0a1527;
	box-shadow:
		0 18px 42px rgba(0, 0, 0, 0.17),
		inset 0 1px rgba(255, 255, 255, 0.015);
}

.stats-grid .stat-card::after {
	position: absolute;
	top: -60px;
	right: -55px;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	content: '';
	filter: blur(30px);
	opacity: 0.16;
}

.stats-grid .stat-card-blue::after {
	background: #287dff;
}

.stats-grid .stat-card-cyan::after {
	background: #21c7ff;
}

.stats-grid .stat-card-purple::after {
	background: #785dff;
}

.stats-grid .stat-card-green::after {
	background: #25d99a;
}

.stats-grid .stat-icon {
	position: relative;
	z-index: 1;
	display: grid;
	width: 56px;
	height: 56px;
	flex: 0 0 auto;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.035);
	border-radius: 14px;
}

.stats-grid .stat-icon svg {
	width: 27px;
	height: 27px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.stats-grid .stat-card-blue .stat-icon {
	background: rgba(40, 125, 255, 0.13);
	color: #4598ff;
}

.stats-grid .stat-card-cyan .stat-icon {
	background: rgba(33, 199, 255, 0.12);
	color: #3ed3ff;
}

.stats-grid .stat-card-purple .stat-icon {
	background: rgba(120, 93, 255, 0.13);
	color: #957fff;
}

.stats-grid .stat-card-green .stat-icon {
	background: rgba(37, 217, 154, 0.12);
	color: #45dfa8;
}

.stat-content {
	position: relative;
	z-index: 1;
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.stat-title {
	color: #8d9ab2;
	font-size: 13px;
	font-weight: 500;
}

.stat-value {
	margin: 4px 0 5px;
	color: #f6f8ff;
	font-size: 31px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.stat-note {
	display: inline-flex;
	min-height: 17px;
	align-items: center;
	gap: 6px;
	overflow: hidden;
	color: #707d96;
	font-size: 11px;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.stat-note i {
	display: block;
	width: 6px;
	height: 6px;
	flex: 0 0 auto;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 8px currentColor;
}

.stat-note svg {
	width: 13px;
	height: 13px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.stat-note-green {
	color: #35d79a;
}

.stat-note-blue {
	color: #43b8ff;
}

@media (max-width: 1260px) {
	.stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.stats-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.stats-grid .stat-card {
		min-height: 126px;
		padding: 20px;
	}

	.stats-grid .stat-icon {
		width: 50px;
		height: 50px;
	}

	.stat-value {
		font-size: 28px;
	}
}

.stations-panel {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.station-list {
	display: flex;
	flex-direction: column;
}

.station-row {
	display: grid;
	grid-template-columns: 58px minmax(170px, 1fr) 72px 120px;
	align-items: center;
	gap: 16px;
	min-height: 84px;
	padding: 12px 2px;
	border-bottom: 1px solid rgba(113, 137, 178, 0.13);
}

.station-row:last-child {
	border-bottom: 0;
}

.station-cover {
	width: 58px;
	height: 58px;
	border-radius: 12px;
	object-fit: cover;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.station-info {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.station-info strong {
	overflow: hidden;
	color: #f5f7ff;
	font-size: 14px;
	font-weight: 650;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.station-info > span {
	margin-top: 4px;
	overflow: hidden;
	color: #7e8ba4;
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.station-info small {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 7px;
	color: #53627c;
	font-size: 10px;
}

.station-info small i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #31d79f;
	box-shadow: 0 0 8px rgba(49, 215, 159, 0.85);
}

.station-audience {
	display: flex;
	flex-direction: column;
	text-align: right;
}

.station-audience strong {
	color: #f7f9ff;
	font-size: 17px;
	line-height: 1;
}

.station-audience span {
	margin-top: 5px;
	color: #67758e;
	font-size: 10px;
}

.station-sparkline {
	width: 120px;
	height: 42px;
	overflow: visible;
	fill: none;
	stroke-width: 2.1;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.station-sparkline-blue {
	stroke: #3b87ff;
	filter: drop-shadow(0 0 5px rgba(59, 135, 255, 0.45));
}

.station-sparkline-purple {
	stroke: #8b65ff;
	filter: drop-shadow(0 0 5px rgba(139, 101, 255, 0.45));
}

.station-sparkline-cyan {
	stroke: #30d4c1;
	filter: drop-shadow(0 0 5px rgba(48, 212, 193, 0.45));
}

.station-sparkline-yellow {
	stroke: #f0bd45;
	filter: drop-shadow(0 0 5px rgba(240, 189, 69, 0.4));
}

.stations-button {
	display: flex;
	width: 100%;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 16px;
	border: 1px solid rgba(61, 128, 255, 0.24);
	border-radius: 10px;
	background: rgba(37, 103, 230, 0.08);
	color: #5d9cff;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	transition:
		border-color 0.2s ease,
		background 0.2s ease;
}

.stations-button:hover {
	border-color: rgba(72, 143, 255, 0.5);
	background: rgba(37, 103, 230, 0.14);
}

.stations-button span {
	font-size: 16px;
}

@media (max-width: 900px) {
	.station-row {
		grid-template-columns: 54px minmax(120px, 1fr) 62px 90px;
		gap: 12px;
	}

	.station-cover {
		width: 54px;
		height: 54px;
	}

	.station-sparkline {
		width: 90px;
	}
}

@media (max-width: 560px) {
	.station-row {
		grid-template-columns: 50px minmax(0, 1fr) 58px;
	}

	.station-cover {
		width: 50px;
		height: 50px;
	}

	.station-sparkline {
		display: none;
	}
}

.dashboard-grid-primary {
	margin-bottom: 18px !important;
}

.stations-panel {
	margin-top: 0 !important;
	margin-bottom: 18px !important;
}

.panel {
	margin: 0;
}

.dashboard-grid-primary {
	margin-bottom: 0 !important;
}

.dashboard-grid-secondary {
	margin-top: 18px !important;
}

.main-content {
	display: flex;
	flex-direction: column;
	gap: 18px !important;
}

.page-heading,
.stats-grid,
.dashboard-grid-primary,
.stations-panel,
.dashboard-grid-secondary {
	margin: 0 !important;
}

.dashboard-grid-single {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.dashboard-grid-single .now-playing-panel {
	width: 100%;
	max-width: none;
}

.activity-panel {
	min-height: 420px;
}

.activity-chart {
	height: 340px;
}

.activity-chart canvas {
	width: 100%;
	height: 100%;
}

.dashboard-grid-primary {
	display: grid;
	grid-template-columns: 1.7fr 1fr;
	gap: 24px;
	align-items: start;
}

.stations-panel {
	margin: 0 !important;
}

.activity-panel {
	margin: 0 !important;
	min-height: 100%;
}
