/**
 * GCX Upload Manager — minimal public-facing styles for the
 * `[gcxum_rating]` shortcode and `[gcxum_play_button]` shortcode.
 * Deliberately small and scoped under .gcxum- classes so it never
 * fights with the visitor's own theme.
 */

.gcxum-play-button-wrap {
	margin: 1.5em 0;
}

.gcxum-play-button {
	display: inline-block;
	padding: 0.75em 1.75em;
	background: #2563eb;
	color: #ffffff;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.gcxum-play-button:hover,
.gcxum-play-button:focus {
	background: #1d4ed8;
	color: #ffffff;
}

.gcxum-rating-widget {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75em;
	margin: 1.5em 0;
	padding: 1em;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}

.gcxum-stars {
	display: inline-flex;
	gap: 0.15em;
}

.gcxum-star {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.4em;
	line-height: 1;
	color: #cbd5e1;
	padding: 0;
}

.gcxum-star:hover,
.gcxum-star-filled {
	color: #f59e0b;
}

.gcxum-rating-summary {
	font-size: 0.9em;
	color: #64748b;
}

.gcxum-engagement-buttons {
	display: inline-flex;
	gap: 0.5em;
	margin-left: auto;
}

.gcxum-engage-btn {
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 0.35em 0.75em;
	cursor: pointer;
	font-size: 0.9em;
}

.gcxum-engage-btn:hover {
	background: #e2e8f0;
}

.gcxum-engage-btn:disabled {
	opacity: 0.5;
	cursor: default;
}

@media (prefers-color-scheme: dark) {
	.gcxum-rating-widget {
		border-color: #334155;
	}

	.gcxum-rating-summary {
		color: #94a3b8;
	}

	.gcxum-engage-btn {
		background: #1e293b;
		border-color: #334155;
		color: #e2e8f0;
	}

	.gcxum-engage-btn:hover {
		background: #334155;
	}
}
