/**
 * Shared styles — likes, action buttons, badges, meta rows.
 *
 * @package Tobalt_Renginiai
 * @author  Tobalt — https://tobalt.lt
 */

/* ── Like Button ──────────────────────────────────────────── */

.tr-like-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border: 1px solid #d1d5db;
	border-radius: 20px;
	background: #fff;
	color: #6b7280;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
	transition: all 0.2s ease;
	user-select: none;
}

.tr-like-btn:hover:not(:disabled) {
	border-color: #ef4444;
	color: #ef4444;
}

.tr-like-btn--liked,
.tr-like-btn:disabled {
	border-color: #ef4444;
	color: #ef4444;
	cursor: default;
	opacity: 0.8;
}

.tr-like-btn--liked .tr-like-btn__icon {
	fill: #ef4444;
}

.tr-like-btn__icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.tr-like-btn__count {
	font-weight: 600;
}

/* ── Action Buttons ───────────────────────────────────────── */

.tr-btn--primary,
.tr-btn--secondary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
}

.tr-btn--primary {
	background: #2563eb;
	color: #fff;
}

.tr-btn--primary:hover {
	background: #1d4ed8;
	color: #fff;
}

.tr-btn--secondary {
	background: transparent;
	color: #2563eb;
	border: 1px solid #2563eb;
}

.tr-btn--secondary:hover {
	background: #eff6ff;
	color: #1d4ed8;
}

/* ── Category Badge ───────────────────────────────────────── */

.tr-category-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 12px;
	background: #eff6ff;
	color: #2563eb;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* ── Event Meta Row ───────────────────────────────────────── */

.tr-meta-item {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #6b7280;
	font-size: 14px;
	line-height: 1.4;
}

.tr-meta-item svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: #9ca3af;
}
