#notifications > i {
	position:relative;
}

/*.nbadge:after {
	content: attr(data-count);
	position: absolute;
	font-size: 12px;
	background: #fa3e3e;
	bottom: 70%;
	left: 75%;
	border: 1px solid #fff;
	padding: 1px 2px;
	line-height: 1em;
	font-family: Arial,Helvetica,sans-serif;
	color: white;
	text-decoration: none;
}*/

.nbadge {
	position: absolute;
	top: .6rem;
	left: 2.5rem;
	font-size: 10px;
	padding: 4px;
	display: none;
}

#push-note-box {
	display: none;
	width: 20em;
	position: absolute;
	right: 0;
	border: 1px solid #aaa;
	background-color: white;
	z-index: 9999;
}
/*
@media screen and (max-width: 768px) {
	#push-note-box {
		top: 3em;
		right: 6em;
	}
}
@media screen and (max-width: 639px) {
	#push-note-box {
		right: 0em;
		top: 2em;
		width: 75%;
	}
}
@media screen and (max-width: 420px) {
	#push-note-box {
		top: 72px;
		right: 5px;
		left: 5px;
		width: auto;
	}
}
*/
@media screen and (max-width: 420px) {
	#push-note-box {
		width: auto;
		left: 5px;
		right: 5px;
		margin-top: 5px;
		position: fixed;
	}
}
#push-note-box .push-note-list {
	height: 22em;
	color: #0c0c0e;
	max-height: 50vh;
	overflow-y: auto;
	margin-bottom: 0;
	background-color: white;
}
@media screen and (max-width: 420px) {
	#push-note-box .push-note-list {
		max-height: 12em;
	}
}
#push-note-box .push-note-box-header {
	padding: 8px 15px;
	border-bottom: 1px solid;
}
#push-note-box .push-note-box-footer {
	border-top: 1px solid;
	text-align: center;
}
#push-note-box .push-note-box-header,
#push-note-box .push-note-box-footer {
	font-size: 90%;
	background-color: #fdfdfd;
	border-color: #aaa;
	color: rgb(43, 43, 43);
}


.push-note {
	font: 300 .75em 'Roboto', sans-serif;
	position: relative; /* For absolute positioning of action buttons */
}
.push-note.unread {
	background-color: rgb(217, 231, 245);
	color: rgb(43, 43, 43);
	border-color: #ddd;
}
.push-note.unread .markunread,
.push-note:not(.unread) .markread {
	display: none;
}
#push-note-list > .list-group-item.hidden-count {
	text-align: center;
	background-color: #eee;
	color: #777;
	font-size: 80%;
}


.push-note-big {
	font: 300 1em 'Roboto', sans-serif;
	padding-bottom: 0 !important;
}

.push-note-small {
	border-right: none;
	border-left: none;
}
.push-note-small:first-child {
	border-top-right-radius: 0px !important;
	border-top-left-radius: 0px !important;
	border-top: none;
}
.push-note:last-child {
	border-bottom-right-radius: 0px !important;
	border-bottom-left-radius: 0px !important;
}
.push-note-timestamp {
	margin-top: 5px;
}
.push-note-actions {
	position: absolute;
	top: 1px;
	right: 1px;
	opacity: 0;
	transition: opacity 0.2s ease;
	background-color: inherit;
	/* background-color: rgba(255, 255, 255, 0.95); */
	padding: 0.8em;
	/* border-radius: 4px; */
	/* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
	display: inline-flex;
	gap: 0.8em;
	align-items: center;
}

/* Show buttons on hover */
.push-note:hover .push-note-actions,
.push-note:focus-within .push-note-actions {
	opacity: 1;
}

/* Always show buttons on mobile/touch devices */
@media (max-width: 768px) {
	.push-note-actions {
		opacity: 1;
	}
}
.push-note-title {
	font-weight: bold;
	margin-bottom: 0.5em;
}

/* Flexbox gap handles spacing, no need for margin */

/* Make links only wrap their text content, not full width */
.push-note-link {
	display: inline-block;
}

/* Ensure notification content doesn't get hidden under buttons */
.push-note-small,
.push-note-big .panel-body {
	padding-right: 10px; /* Small padding for cleaner appearance */
}
