/* ============================================================
   WPVC Points Voting – injection styles for existing gallery
   ============================================================ */

/* Hide the vote button inside the photo lightbox/popup */
.wpvc_contestant_btn_container {
	display: none !important;
}

/* Anchor div is React's sentinel — keep it invisible */
.wpvc-pts-anchor {
	display: none !important;
}

/* Selector wrapper */
.wpvc-pts-selector {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	width: 100%;
	margin-top: 4px;
}

/* Points dropdown */
.wpvc-pts-select {
	flex: 1;
	min-width: 80px;
	height: 34px;
	padding: 0 6px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 0.83rem;
	background: #fff;
	cursor: pointer;
}

.wpvc-pts-select option:disabled {
	color: #bbb;
}

/* Vote button — matches MUI contained primary style */
.wpvc-pts-btn {
	height: 34px;
	padding: 0 14px;
	background: #1976d2;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 0.83rem;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s;
}

.wpvc-pts-btn:hover:not(:disabled) {
	background: #1565c0;
}

.wpvc-pts-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* Voted badge */
.wpvc-pts-voted {
	display: inline-block;
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #a5d6a7;
	border-radius: 4px;
	padding: 4px 10px;
	font-size: 0.83rem;
	font-weight: 600;
	margin-top: 4px;
}

/* "Voting complete" message */
.wpvc-pts-done {
	font-size: 0.78rem;
	color: #777;
	margin-top: 4px;
	padding: 4px 0;
}

/* Inline error message */
.wpvc-pts-msg {
	font-size: 0.78rem;
	width: 100%;
	min-height: 1em;
}

.wpvc-pts-msg--error {
	color: #c62828;
}
