/* Embed Consent Lite – Frontend Styles */

.ecl-wrapper {
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
}

/* YouTube: festes 16:9 mit Overlay darüber */
.ecl-wrapper--youtube {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #1a1a1a;
}

/* blockquote-/sozial-basierte Dienste */
.ecl-wrapper--instagram,
.ecl-wrapper--twitter {
	max-width: 542px;
	margin: 0 0 12px;
}

/* Maps & LinkedIn: native iframe-Höhe, Overlay bekommt sinnvolle Mindesthöhe */
.ecl-wrapper--maps .ecl-overlay,
.ecl-wrapper--linkedin .ecl-overlay {
	min-height: 320px;
}

.ecl-overlay {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 2rem 1.5rem;
	background: #1a1a1a;
	color: #fff;
	text-align: center;
	box-sizing: border-box;
}

.ecl-wrapper--youtube .ecl-overlay {
	position: absolute;
	inset: 0;
}

.ecl-icon {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ecl-title {
	font-size: 15px;
	font-weight: 500;
	color: #fff;
	display: block;
	margin: 2px 0 0;
}

.ecl-text {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	max-width: 320px;
	line-height: 1.5;
}

.ecl-btn {
	margin-top: 6px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	border-radius: 6px;
	padding: 8px 20px;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.ecl-btn:hover {
	color: white;
	background: rgba(255, 255, 255, 0.22);
}

/* Button mit eingestellter Akzentfarbe */
.ecl-btn--accent {
	background: var(--ecl-accent);
	border-color: var(--ecl-accent);
	color: #fff;
}

.ecl-btn--accent:hover {
	color: #fff;
	background: var(--ecl-accent);
	filter: brightness(1.1);
}

/* ---- Widerruf-Center ---- */

.ecl-widerruf {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 480px;
	max-width: 100%;
}

.ecl-widerruf-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 16px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
}

.ecl-widerruf-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ecl-widerruf-label {
	font-weight: 500;
	font-size: 15px;
}

.ecl-widerruf-status {
	font-size: 13px;
}

.ecl-widerruf-status.is-on {
	color: #1d9e75;
}

.ecl-widerruf-status.is-off {
	color: #888;
}

.ecl-widerruf-btn {
	background: #1a1a1a;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 9px 18px;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}

.ecl-widerruf-btn:hover:not(:disabled) {
	color: white;
	background-color: #1a1a1a90;
}

.ecl-widerruf-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}
