/* B"H — Profile Activity tab + "Hide my activity" switch (Yaakov 2026-10-13) */
/* Uses the profile --pd-* token family with light fallbacks; no !important. */

.activity-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pd-activity-sub {
	margin: 0;
	font-size: 13px;
	color: var(--pd-text-muted, #8a7a5a);
}

.pd-activity-row {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 12px 14px;
	border-radius: 14px;
	background: var(--pd-card-bg, #fffdf8);
	border: 1px solid var(--pd-border, #e8dcc0);
}

.pd-activity-marker {
	font-size: 20px;
	line-height: 1.4;
	flex: none;
}

.pd-activity-body {
	min-width: 0;
}

.pd-activity-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--pd-text, #3a2e1a);
	overflow-wrap: anywhere;
}

.pd-activity-time {
	font-size: 12px;
	color: var(--pd-text-muted, #8a7a5a);
}

.pd-activity-empty,
.pd-activity-hidden {
	padding: 28px 20px;
	text-align: center;
	border-radius: 14px;
	border: 1px dashed var(--pd-border, #e8dcc0);
	color: var(--pd-text-muted, #8a7a5a);
}

.pd-activity-hidden h4 {
	margin: 0 0 6px;
	color: var(--pd-text, #3a2e1a);
	font-size: 16px;
}

.pd-activity-empty p,
.pd-activity-hidden p {
	margin: 0;
	font-size: 14px;
	color: var(--pd-text-muted, #8a7a5a);
}

.pd-activity-note {
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 10px 14px;
	border-radius: 12px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--pd-text-muted, #8a7a5a);
	background: var(--pd-stat-bg, #faf6ed);
	border: 1px solid var(--pd-border-light, #f0e6d0);
}

/* "Hide my activity" switch inside the profile settings menu */
.profile-settings-toggle {
	cursor: pointer;
}

.profile-settings-toggle .pd-switch {
	position: relative;
	flex: none;
	width: 46px;
	height: 26px;
	border-radius: 999px;
	background: var(--pd-border, #e8dcc0);
	transition: background-color 160ms ease;
}

.profile-settings-toggle .pd-switch-knob {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fffdf8;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
	transition: transform 160ms ease;
}

.profile-settings-toggle[aria-checked="true"] .pd-switch {
	background: var(--pd-gold, #b8860b);
}

.profile-settings-toggle[aria-checked="true"] .pd-switch-knob {
	transform: translateX(20px);
}

.profile-settings-toggle:hover .pd-switch {
	box-shadow: inset 0 0 0 2px var(--pd-gold, #b8860b);
}

.profile-settings-toggle:focus-visible {
	outline: 2px solid var(--pd-gold, #b8860b);
	outline-offset: 2px;
}

.profile-settings-toggle:active .pd-switch-knob {
	transform: scale(0.92);
}

.profile-settings-toggle[aria-checked="true"]:active .pd-switch-knob {
	transform: translateX(20px) scale(0.92);
}
