/* ============================================================
   Ecohomes Notifications — member area styles
   ============================================================ */

/* ── Notification list items ── */
.eh-notif-list { list-style: none; margin: 0; padding: 0; }

.eh-notif-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border-bottom: 1px solid #f0f0f0;
	transition: background .15s;
}
.eh-notif-item:last-child { border-bottom: none; }
.eh-notif-item:hover      { background: #f9fffe; }

.eh-notif-unread            { background: #f9fffe; }
.eh-notif-unread .eh-notif-message { font-weight: 700; }

.eh-notif-dot {
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-top: 5px;
	background: #ccc;
	transition: background .15s;
}
.eh-notif-unread .eh-notif-dot { background: #19babf; }

/* ── Type-specific dot colours ── */
.eh-notif-dot--order        { background: #3498DB; }
.eh-notif-dot--quotation    { background: #F39C12; }
.eh-notif-dot--project      { background: #19babf; }
.eh-notif-dot--complaint    { background: #E74C3C; }
.eh-notif-dot--document     { background: #9B59B6; }
.eh-notif-dot--invoice      { background: #27AE60; }
.eh-notif-dot--verification { background: #1ABC9C; }
.eh-notif-dot--system       { background: #7F8C8D; }

.eh-notif-body   { flex: 1; min-width: 0; }
.eh-notif-message { word-break: break-word; }
.eh-notif-msg    { color: #333; text-decoration: none; }
.eh-notif-msg:hover { color: #19babf; }

.eh-notif-meta {
	font-size: .78rem;
	color: #888;
	margin-top: 3px;
}

/* ── Mark-as-read button ── */
.eh-notif-mark-read {
	flex-shrink: 0;
	background: none;
	border: 1px solid #19babf;
	color: #19babf;
	border-radius: 4px;
	padding: 3px 8px;
	font-size: .75rem;
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s, color .15s;
}
.eh-notif-mark-read:hover {
	background: #19babf;
	color: #fff;
}

/* ── Unread badge pill (header + sidebar) ── */
.eh-unread-badge {
	display: inline-block;
	background: #E74C3C;
	color: #fff;
	font-size: .7rem;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 10px;
	vertical-align: middle;
	margin-left: 6px;
}

/* ── Filter pills ── */
.eh-notif-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 18px;
}
.eh-notif-filter-pill {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 20px;
	border: 1.5px solid #ddd;
	font-size: .82rem;
	font-weight: 600;
	color: #333;
	text-decoration: none;
	transition: background .15s, color .15s, border-color .15s;
}
.eh-notif-filter-pill:hover,
.eh-notif-filter-pill.is-active {
	background: #19babf;
	color: #fff;
	border-color: #19babf;
}

/* ── Pagination ── */
.eh-notif-pagination {
	display: flex;
	gap: 4px;
	margin-top: 16px;
	flex-wrap: wrap;
}
.eh-notif-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 9px;
	border: 1px solid #ddd;
	border-radius: 6px;
	text-decoration: none;
	font-size: .82rem;
	color: #333;
	background: #fff;
	transition: background .15s, color .15s;
}
.eh-notif-pagination a:hover { background: #f5f5f5; }
.eh-notif-pagination a.is-current {
	background: #19babf;
	color: #fff;
	border-color: #19babf;
}

/* ── Responsive ── */
@media (max-width: 480px) {
	.eh-notif-item { padding: 10px 10px; gap: 8px; }
}
