.wpuv-wrapper {
	margin: 1.5em 0;
	font-family: inherit;
}

.wpuv-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 2px solid #d63384;
	border-radius: 999px;
	background: #fff;
	color: #d63384;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, transform 0.1s;
	line-height: 1;
}

.wpuv-button:hover:not([disabled]) {
	background: #d63384;
	color: #fff;
	transform: translateY(-1px);
}

.wpuv-button.is-voted {
	background: #d63384;
	color: #fff;
}

.wpuv-button.is-voted:hover:not([disabled]) {
	background: #b02a6b;
	border-color: #b02a6b;
}

.wpuv-button.is-pending {
	background: #fff;
	color: #d63384;
	border-style: dashed;
	border-width: 2px;
}

.wpuv-button.is-pending:hover:not([disabled]) {
	background: #fdeaf2;
}

.wpuv-button.is-primary {
	background: #d63384;
	color: #fff;
	border-color: #d63384;
}

.wpuv-button.is-primary:hover:not([disabled]) {
	background: #b02a6b;
	border-color: #b02a6b;
}

.wpuv-button.is-secondary {
	background: #f5f5f5;
	color: #555;
	border-color: #ccc;
}

.wpuv-pending-stat {
	margin: 4px 0 0;
	font-size: 0.85em;
	color: #777;
}

.wpuv-button[disabled],
.wpuv-button.is-disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.wpuv-button.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

.wpuv-icon {
	font-size: 1.1em;
	line-height: 1;
}

.wpuv-count {
	display: inline-block;
	min-width: 22px;
	padding: 2px 8px;
	background: rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	font-size: 0.85em;
	text-align: center;
}

.wpuv-button.is-voted .wpuv-count {
	background: rgba(255, 255, 255, 0.25);
}

.wpuv-user-stat {
	margin: 8px 0 0;
	font-size: 0.9em;
	color: #555;
}

.wpuv-limit-notice {
	margin: 6px 0 0;
	font-size: 0.85em;
	color: #b02a6b;
}

.wpuv-user-votes {
	margin: 1em 0;
	padding: 16px;
	background: #f9f9f9;
	border-radius: 8px;
}

.wpuv-user-list {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.wpuv-user-list li {
	padding: 6px 0;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.wpuv-user-list li:last-child {
	border-bottom: 0;
}

.wpuv-user-list .wpuv-count {
	background: #d63384;
	color: #fff;
}

.wpuv-notice {
	color: #666;
	font-style: italic;
}

.wpuv-divider {
	border: 0;
	border-top: 1px solid #d63384;
	margin: 12px 0;
	opacity: 0.4;
}

.wpuv-actions {
	display: flex;
	gap: 8px;
	margin-top: 12px;
	flex-wrap: wrap;
}

.wpuv-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.wpuv-modal {
	background: #fff;
	border-radius: 10px;
	max-width: 440px;
	width: 100%;
	padding: 24px 24px 20px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
	animation: wpuv-modal-in 0.15s ease-out;
}

@keyframes wpuv-modal-in {
	from { opacity: 0; transform: translateY(-8px) scale(0.97); }
	to   { opacity: 1; transform: none; }
}

.wpuv-modal-message {
	margin: 0 0 20px;
	font-size: 1.05em;
	line-height: 1.45;
	color: #222;
}

.wpuv-modal-actions {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.wpuv-modal-btn {
	appearance: none;
	border: 1px solid #ccc;
	background: #f5f5f5;
	color: #333;
	padding: 8px 18px;
	border-radius: 6px;
	font-size: 0.95em;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, transform 0.05s;
}

.wpuv-modal-btn:hover {
	background: #eaeaea;
}

.wpuv-modal-btn:active {
	transform: translateY(1px);
}

.wpuv-modal-btn.is-primary {
	background: #d63384;
	border-color: #d63384;
	color: #fff;
}

.wpuv-modal-btn.is-primary:hover {
	background: #b02a6b;
	border-color: #b02a6b;
}

.wpuv-modal-btn:focus {
	outline: 2px solid rgba(214, 51, 132, 0.4);
	outline-offset: 2px;
}

.wpuv-user-list--pending li {
	color: #666;
	font-style: italic;
}

.wpuv-deselect {
	background: transparent;
	border: 1px solid #d63384;
	color: #d63384;
	border-radius: 4px;
	padding: 3px 10px;
	font-size: 0.85em;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.wpuv-deselect:hover {
	background: #d63384;
	color: #fff;
}
