/* START KOL_APES_COUNTERS_STYLES */

/* Light mode */
html.light-mode .kol-apes-counters {
	color: #1f2937;
}

html.light-mode .kol-apes-counter {
	background: white;
	border: 1px solid #e5e7eb;
	color: #1f2937;
}

html.light-mode .kol-apes-counter:hover {
	border-color: #d1d5db;
	background: #f9fafb;
}

html.light-mode .kol-apes-like-btn {
	color: #ef4444;
}

html.light-mode .kol-apes-counter.liked {
	background: #fef2f2;
	border-color: #fecaca;
}

html.light-mode .kol-apes-counter-count {
	color: #6b7280;
}

/* Dark mode */
html.dark-mode .kol-apes-counters {
	color: #e0e0e0;
}

html.dark-mode .kol-apes-counter {
	background: #2a2a2a;
	border: 1px solid #333;
	color: #e0e0e0;
}

html.dark-mode .kol-apes-counter:hover {
	border-color: #444;
	background: #333;
}

html.dark-mode .kol-apes-like-btn {
	color: #f87171;
}

html.dark-mode .kol-apes-counter.liked {
	background: #7f1d1d;
	border-color: #991b1b;
}

html.dark-mode .kol-apes-counter-count {
	color: #9ca3af;
}

/* Common counter styles */
.kol-apes-counters {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.kol-apes-counter {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
	user-select: none;
}

.kol-apes-counter:not([data-counter-type="comments"]) {
	transition: all 0.2s ease;
}

.kol-apes-counter[data-counter-type="comments"] {
	cursor: default;
	pointer-events: none;
}

.kol-apes-counter-icon {
	font-size: 16px;
	display: inline-flex;
	align-items: center;
}

.kol-apes-counter-count {
	font-weight: 500;
	font-size: 13px;
}

.kol-apes-like-btn {
	transition: transform 0.2s ease;
}

.kol-apes-counter[data-counter-type="likes"]:hover .kol-apes-like-btn {
	transform: scale(1.2);
}

.kol-apes-counter.liked .kol-apes-like-btn {
	transform: scale(1.1);
}

/* Loading state */
.kol-apes-counter.loading {
	opacity: 0.6;
	pointer-events: none;
}

/* Tooltip on counter */
.kol-apes-counter-tooltip {
	font-size: 12px;
	text-transform: capitalize;
	white-space: nowrap;
}

/* END KOL_APES_COUNTERS_STYLES */
