/******************************************************************************
 * Уведомления — колокольчик, страница списка
 ******************************************************************************/

/* --- Кнопка колокольчика в шапке --- */
.header-notify-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background: none;
	border: none;
	cursor: pointer;
	padding: var(--space-sm);
	border-radius: var(--radius-md);
	transition: color 0.15s, background 0.15s;
}
.header-notify-btn:hover {
	background: var(--color-bg);
}
.header-notify-btn svg {
	display: block;
	width: 20px;
	height: 20px;
}
.header-notify-btn--active {
	color: var(--color-danger);
}
.header-notify-btn--idle {
	color: var(--color-text-muted);
}
.header-notify-btn--active:hover {
	color: var(--color-danger);
}
.header-notify-btn--idle:hover {
	color: var(--color-primary);
}

.header-notify-badge {
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	font-size: 11px;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
	color: #fff;
	background: #fb3e7c;
	border-radius: 9px;
	pointer-events: none;
}

/* --- Бейдж в сайдбаре --- */
.sidebar-link-text {
	flex: 1;
}
.sidebar-link-badge {
	margin-left: auto;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	font-size: 11px;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
	color: #fff;
	background: #fb3e7c;
	border-radius: 9px;
	flex-shrink: 0;
}

/* --- Таблица уведомлений --- */
.notify-row--unread {
	background: rgba(251, 201, 62, 0.15);
}
.notify-subject {
	font-weight: 600;
	margin-bottom: 4px;
}
.notify-subject--unread {
	color: var(--color-text);
}
.notify-tour-link {
	margin-bottom: 4px;
}
.notify-tour-link a {
	color: var(--color-primary);
	text-decoration: none;
}
.notify-tour-link a:hover {
	text-decoration: underline;
}
.notify-meta {
	margin-bottom: 4px;
}
.notify-message-body {
	font-size: var(--font-size-sm);
	color: var(--color-text-muted);
	line-height: 1.45;
}
.notify-message-body a {
	color: var(--color-primary);
}
.notify-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
}
.notify-action-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
	border-radius: var(--radius-sm);
	transition: background 0.15s;
}
.notify-action-btn:hover:not(:disabled) {
	background: var(--color-bg-secondary);
}
.notify-action-btn:disabled {
	cursor: default;
	opacity: 0.85;
}

@media (max-width: 759px) {
	.page-header.flex-between {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-sm);
	}
	.notify-actions {
		justify-content: flex-start;
	}
}
