/**
 * Custom Cyberpedia Activity tab.
 * Isolated from BuddyBoss Nouveau stream styles.
 */

.cyber-custom-activity {
	padding: 24px 22px 28px;
}

.cyber-custom-activity .cyber-screen-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 20px;
}

.cyber-custom-activity .cyber-counter-pill svg {
	width: 16px;
	height: 16px;
	max-width: 16px;
	max-height: 16px;
}

.cyber-custom-composer {
	background: #0c1222;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	padding: 16px 18px 14px;
	margin: 0 0 16px;
}

.cyber-custom-composer textarea {
	width: 100%;
	min-height: 88px;
	resize: vertical;
	background: #080d18;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	color: #f8fafc;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.5;
	box-shadow: none;
}

.cyber-custom-composer textarea:focus {
	outline: none;
	border-color: #8b5cf6;
}

.cyber-custom-composer-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 10px;
}

.cyber-custom-composer-submit {
	background: linear-gradient(135deg, #6c35ff 0%, #3b82f6 100%);
	border: 0;
	border-radius: 10px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 9px 16px;
	cursor: pointer;
}

.cyber-custom-feed-toolbar {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 0 0 18px;
}

.cyber-custom-feed-toolbar input[type="search"] {
	flex: 1 1 auto;
	min-height: 42px;
	background: #080d18;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	color: #f8fafc;
	padding: 0 16px;
}

.cyber-custom-feed-toolbar select,
.cyber-custom-feed-toolbar button {
	min-height: 42px;
	background: #080d18;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	color: #e2e8f0;
	padding: 0 14px;
	font-size: 13px;
	font-weight: 600;
}

.cyber-custom-feed-toolbar button {
	cursor: pointer;
}

.cyber-custom-feed-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cyber-custom-feed-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: #0c1222;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	padding: 16px 18px;
	color: #e2e8f0;
}

.cyber-custom-feed-avatar {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
}

.cyber-custom-feed-avatar img,
.cyber-custom-activity img.cyber-custom-feed-avatar-img,
.cyber-custom-activity .cyber-custom-feed-avatar img.avatar {
	width: 44px !important;
	height: 44px !important;
	max-width: 44px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	display: block;
	background: #050814;
}

.cyber-custom-feed-body {
	min-width: 0;
	flex: 1 1 auto;
}

.cyber-custom-feed-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 6px;
}

.cyber-custom-feed-kind {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(108, 53, 255, 0.16);
	color: #c4b5fd;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.cyber-custom-feed-time {
	color: #94a3b8;
	font-size: 12px;
}

.cyber-custom-feed-title,
.cyber-custom-feed-title a {
	margin: 0;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	text-decoration: none;
}

.cyber-custom-feed-title a:hover {
	color: #93c5fd;
}

.cyber-custom-feed-excerpt {
	margin: 8px 0 0;
	color: #cbd5e1;
	font-size: 14px;
	line-height: 1.55;
}

.cyber-custom-feed-comments {
	margin: 8px 0 0;
	color: #94a3b8;
	font-size: 12px;
}

.cyber-custom-feed-empty {
	background: #0c1222;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	padding: 28px 20px;
	color: #94a3b8;
	text-align: center;
}

.cyber-custom-feed-empty p {
	margin: 0;
}

.cyber-custom-feed-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 18px;
	color: #94a3b8;
	font-size: 13px;
}

.cyber-custom-feed-pager a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
}

@media (max-width: 640px) {
	.cyber-custom-activity {
		padding: 16px 12px 22px;
	}

	.cyber-custom-feed-toolbar {
		flex-wrap: wrap;
	}

	.cyber-custom-feed-toolbar input[type="search"] {
		width: 100%;
		flex-basis: 100%;
	}
}
