
/**
 * Notification UI (dashboard tab + bell).
 * Scoped with acc- prefix; safe alongside Membership dashboard.
 * Aligns with Community design language (acc tokens with fallbacks).
 */

.acc-bell-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin-left: 12px;
}

.acc-bell {
	position: relative;
	border: 1px solid var(--acc-color-border, var(--akm-color-border, #e5e7eb));
	background: var(--acc-color-white, #fff);
	border-radius: var(--acc-radius-pill, 9999px);
	width: 40px;
	height: 40px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--acc-color-text-muted, #6b7280);
	transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}@media (hover: hover) and (pointer: fine) {
	.acc-bell:hover {
		border-color: var(--acc-color-accent, #8c7eff);
	color: var(--acc-color-accent, #8c7eff);
	background: var(--acc-color-accent-softer, rgba(140, 126, 255, 0.06));
	}
}

.acc-bell:focus-visible {
	outline: 2px solid var(--acc-color-accent, #8c7eff);
	outline-offset: 2px;
}

.acc-bell__icon {
	display: inline-flex;
	line-height: 0;
}

.acc-bell__icon svg {
	width: 20px;
	height: 20px;
	display: block;
}

.acc-bell__badge {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: var(--acc-radius-pill, 9999px);
	background: var(--acc-color-accent, #8c7eff);
	color: var(--acc-color-white, #fff);
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
}

.acc-bell-panel {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	width: min(360px, 92vw);
	max-width: calc(100vw - 24px);
	background: var(--acc-color-white, #fff);
	border: 1px solid var(--acc-color-border, #e5e7eb);
	border-radius: var(--acc-radius-lg, 16px);
	box-shadow: var(--acc-shadow-dropdown, 0 12px 40px rgba(0, 0, 0, 0.12));
	z-index: var(--akm-z-panel, 10050);
	overflow: hidden;
}

@media (max-width: 480px) {
	.acc-bell-panel {
		right: -8px;
		width: calc(100vw - 24px);
		max-width: 360px;
	}
}

.acc-bell-panel__head,
.acc-bell-panel__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 14px;
	border-bottom: 1px solid var(--acc-color-border, #e5e7eb);
	gap: 8px;
	font-size: var(--acc-font-size-sm, 0.875rem);
	font-weight: 600;
	color: var(--acc-color-text, #1a1a2e);
}

.acc-bell-panel__foot {
	border-bottom: 0;
	border-top: 1px solid var(--acc-color-border, #e5e7eb);
	font-weight: 500;
}

.acc-bell-panel__list {
	max-height: 320px;
	overflow: auto;
}

.acc-notif-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.acc-notif-item {
	display: flex;
	gap: 12px;
	padding: 12px 14px;
	cursor: pointer;
	border-bottom: 1px solid var(--acc-color-bg-page, #f3f4f6);
	position: relative;
	transition: background 150ms ease;
	width: 100%;
	text-align: left;
	background: none;
	border-left: 0;
	border-right: 0;
	border-top: 0;
	font-family: var(--acc-font-family);
	font-size: inherit;
	line-height: inherit;
	color: inherit;
}@media (hover: hover) and (pointer: fine) {
	.acc-notif-item:hover {
		background: var(--acc-color-bg-soft, #f9fafb);
	}
}

.acc-notif-item:focus-visible {
	outline: 2px solid var(--acc-color-accent, #8c7eff);
	outline-offset: -2px;
}

.acc-notif-item.is-unread {
	background: var(--acc-color-accent-softer, rgba(140, 126, 255, 0.06));
}

.acc-notif-item__avatar img {
	border-radius: 50%;
	display: block;
}

.acc-notif-item__text {
	margin: 0 0 4px;
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--acc-color-text, #1a1a2e);
}

.acc-notif-item__time {
	font-size: var(--acc-font-size-xs, 0.75rem);
	color: var(--acc-color-text-muted, #6b7280);
}

.acc-notif-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--acc-color-accent, #8c7eff);
	flex: 0 0 auto;
	margin-top: 6px;
}

.acc-notif-empty,
.acc-bell-loading {
	padding: 28px 16px;
	color: var(--acc-color-text-muted, #6b7280);
	font-size: 0.9rem;
	text-align: center;
}

/* Skeleton loader (shared by bell panel + floating launcher) */
.acc-notif-skeleton {
	padding: 8px 0;
}

.acc-notif-skeleton__row {
    background: linear-gradient(90deg, var(--acc-color-bg-soft) 0%, var(--acc-color-border) 50%, var(--acc-color-bg-soft) 100%);
    background-size: 200% 100%;
    animation: acc-shimmer 1.2s ease-in-out infinite;
}

.acc-notif-skeleton__row:last-child {
	margin-bottom: 0;
}

@keyframes acc-shimmer {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: -100% 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.acc-notif-skeleton__row {
		animation: none;
	}
}

.acc-notif-tab__toolbar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	align-items: center;
}

.acc-notif-tab__meta {
	color: var(--acc-color-text-muted, #6b7280);
	font-size: var(--acc-font-size-sm, 0.875rem);
	margin: 0 0 12px;
}

/* Soften tab button tweaks — rely on design-system .acc-btn hierarchy */
.acc-notif-tab .acc-btn {
	/* Layout-only overrides; colors/borders come from .acc-btn / variants */
	min-height: 36px;
	padding: 8px 16px;
	font-size: var(--acc-font-size-sm, 0.875rem);
}

.acc-notif-tab .acc-chip {
	border: 1px solid var(--acc-color-border, #e5e7eb);
	background: var(--acc-color-white, #fff);
	border-radius: var(--acc-radius-pill, 9999px);
	padding: 6px 12px;
	cursor: pointer;
	font-size: var(--acc-font-size-sm, 0.875rem);
	font-weight: 500;
	color: var(--acc-color-text, #1a1a2e);
	transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.acc-notif-tab .acc-chip.is-selected {
	background: var(--acc-color-accent-soft, rgba(140, 126, 255, 0.12));
	border-color: transparent;
	color: var(--acc-color-accent, #8c7eff);
}

/* Text actions: colors from design-system (.acc-text-btn = muted default, accent on hover).
 * Only tighten size inside the bell panel — never force permanent accent. */
.acc-bell-panel .acc-text-btn {
	font-size: 0.8rem;
}

.acc-profile-community {
	margin-top: 1.5rem;
}

/* Profile CTA: size tweak only — colors from .acc-btn--primary */
.acc-profile-community .acc-btn--primary {
	min-height: 40px;
	padding: 10px 18px;
	text-decoration: none;
}




