/**
 * ND Feedback — rahmenlos, rechtsbündig, Thumb-Buttons ohne Border
 */

.ndfb-box {
	margin: 3rem 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
	--ndfb-text: #000;
	--ndfb-hover-bg: var(--ndfb-text);
	--ndfb-hover-text: #fff;
	color: var(--ndfb-text);
	background: transparent;
	text-align: right;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.ndfb-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ndfb-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.75rem 1.5rem;
}

.ndfb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	min-width: auto;
	font: inherit;
	font-size: 0.95em;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--ndfb-text);
	background: transparent;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: color 0.15s ease, opacity 0.15s ease;
	gap: 0.5rem;
}

.ndfb-btn:hover,
.ndfb-btn:focus {
	color: var(--ndfb-hover-text);
	opacity: 1;
	background: var(--ndfb-hover-bg);
}

.ndfb-btn:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.ndfb-btn:disabled,
.ndfb-btn[aria-disabled="true"],
.ndfb-btn:disabled:hover,
.ndfb-btn[aria-disabled="true"]:hover,
.ndfb-btn:disabled:focus,
.ndfb-btn[aria-disabled="true"]:focus {
	opacity: 0.7;
	cursor: not-allowed;
	color: var(--ndfb-text);
	background: transparent;
	outline: none;
}

.ndfb-thumb {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ndfb-thumb svg {
	width: 1.25em;
	height: 1.25em;
	display: block;
}

.ndfb-count {
	display: inline-block;
	min-width: 1.75ch;
	text-align: left;
	font-weight: 700;
}

.ndfb-thanks {
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.4;
	text-align: right;
	color: var(--ndfb-text);
	opacity: 0.7;
}
