/* FG Consent – Shortcode Styles (rendered in regular DOM, not Shadow DOM) */

/* ── Cookie Table ────────────────────────────────────────────────── */

.fgc-cookie-table-wrap {
	overflow-x: auto;
}

.fgc-cookie-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	font-size: 0.95rem;
}

.fgc-cookie-table th,
.fgc-cookie-table td {
	padding: 0.75em;
	text-align: left;
	border-bottom: 1px solid #e5e7eb;
	vertical-align: top;
}

.fgc-cookie-table th {
	background: #f9fafb;
	font-weight: 600;
}

.fgc-cookie-table__cookies {
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.85em;
	line-height: 1.6;
}

.fgc-cookie-table__cookies li + li {
	margin-top: 0.25em;
}

.fgc-no-services {
	color: #6b7280;
	font-style: italic;
}

@media (max-width: 768px) {
	.fgc-cookie-table,
	.fgc-cookie-table thead,
	.fgc-cookie-table tbody,
	.fgc-cookie-table th,
	.fgc-cookie-table td,
	.fgc-cookie-table tr {
		display: block;
	}

	.fgc-cookie-table thead {
		display: none;
	}

	.fgc-cookie-table tr {
		border-bottom: 2px solid #e5e7eb;
		margin-bottom: 1em;
		padding-bottom: 0.5em;
	}

	.fgc-cookie-table td {
		border-bottom: none;
		padding: 0.4em 0.75em;
	}

	.fgc-cookie-table td::before {
		content: attr(data-label) ": ";
		font-weight: 600;
		display: inline-block;
		margin-right: 0.3em;
	}
}

/* ── Widerruf Link / Button ──────────────────────────────────────── */

.fgc-widerruf {
	cursor: pointer;
}

.fgc-widerruf--link {
	color: #2563eb;
	text-decoration: underline;
}

.fgc-widerruf--link:hover,
.fgc-widerruf--link:focus-visible {
	color: #1d4ed8;
}

.fgc-widerruf--button {
	display: inline-flex;
	align-items: center;
	padding: 0.5em 1.25em;
	background: #2563eb;
	color: #ffffff;
	text-decoration: none;
	border-radius: 6px;
	min-height: 44px;
	font-size: 0.95rem;
	line-height: 1.5;
}

.fgc-widerruf--button:hover,
.fgc-widerruf--button:focus-visible {
	background: #1d4ed8;
	color: #ffffff;
	outline: 2px solid #1e40af;
	outline-offset: 2px;
}
