/* FluentCommunity Universal Bookmarks — front-end styles */

.fub-bookmark-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	margin: 12px 0;
	border: 1px solid #d7dbe0;
	border-radius: 999px;
	background: #fff;
	color: #33383d;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}

.fub-bookmark-btn:hover {
	border-color: #b9c0c8;
	background: #f6f7f8;
}

.fub-bookmark-btn:active {
	transform: scale(0.97);
}

.fub-bookmark-btn.is-bookmarked {
	background: #fff4e5;
	border-color: #f3c988;
	color: #8a5a00;
}

.fub-bookmark-btn.fub-loading {
	opacity: .6;
	cursor: progress;
}

.fub-bookmark-btn .fub-icon path {
	transition: fill-opacity .15s ease;
}

/* Bookmarks page — card grid */

.fub-bookmarks-wrap {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
	margin: 16px 0;
}

.fub-card {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 18px 20px;
	background: #fff;
}

.fub-card-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eef0f2;
}

.fub-card-count {
	font-size: 12px;
	font-weight: 600;
	color: #6b7280;
	background: #f2f3f5;
	border-radius: 999px;
	padding: 2px 9px;
}

.fub-card-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fub-card-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid #f3f4f6;
}

.fub-card-item:last-child {
	border-bottom: none;
}

.fub-card-item-link {
	text-decoration: none;
	color: #1f2937;
	font-size: 14px;
	line-height: 1.35;
}

.fub-card-item-link:hover {
	text-decoration: underline;
}

.fub-card-item .fub-bookmark-btn {
	margin: 0;
	padding: 4px 10px;
	font-size: 12px;
	flex-shrink: 0;
}

.fub-empty {
	color: #6b7280;
	font-size: 14px;
}
