/* Euronet Cookie Consent — în stilul euronett.md (Manrope, albastru #01A0E2, portocaliu #FF6B18) */
.ecc-banner,
.ecc-fab {
	--ecc-navy: #0D1B7A;
	--ecc-blue: #01A0E2;
	--ecc-blue-soft: #E6F6FD;
	--ecc-orange: #FF6B18;
	--ecc-orange-dark: #E85A0C;
	--ecc-text: #3A4466;
	--ecc-border: #DCE3F0;
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	box-sizing: border-box;
}
.ecc-banner *,
.ecc-banner *::before,
.ecc-banner *::after { box-sizing: inherit; }

.ecc-banner {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 2147483000;
	width: 400px;
	max-width: calc(100vw - 24px);
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	padding: 22px 22px 14px;
	background: #fff;
	color: var(--ecc-text);
	border-radius: 18px;
	border-top: 4px solid var(--ecc-blue);
	box-shadow: 0 18px 50px rgba(13, 27, 122, .22), 0 2px 8px rgba(13, 27, 122, .08);
	font-size: 14px;
	line-height: 1.55;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .25s ease, transform .25s ease;
}
.ecc-banner.is-visible { opacity: 1; transform: none; }
.ecc-banner[hidden] { display: none; }

.ecc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ecc-icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--ecc-blue-soft);
	color: var(--ecc-blue);
}
.ecc-banner .ecc-title {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.2px;
	color: var(--ecc-navy);
	text-transform: none;
}
.ecc-banner .ecc-text { margin: 0 0 16px; color: var(--ecc-text); font-size: 14px; }
.ecc-banner .ecc-link { color: var(--ecc-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.ecc-banner .ecc-link:hover { color: var(--ecc-navy); }

.ecc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.ecc-banner .ecc-btn {
	margin: 0;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.ecc-banner .ecc-btn--primary,
.ecc-banner .ecc-btn--secondary {
	min-height: 44px;
	padding: 10px 16px;
	border-radius: 999px;
}
.ecc-banner .ecc-btn--primary {
	background: var(--ecc-orange);
	border: 2px solid var(--ecc-orange);
	color: #fff;
}
.ecc-banner .ecc-btn--primary:hover { background: var(--ecc-orange-dark); border-color: var(--ecc-orange-dark); color: #fff; }
.ecc-banner .ecc-btn--secondary {
	background: #fff;
	border: 2px solid var(--ecc-navy);
	color: var(--ecc-navy);
}
.ecc-banner .ecc-btn--secondary:hover { background: var(--ecc-navy); color: #fff; }
.ecc-banner .ecc-btn--text {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 10px 8px;
	background: none;
	border: 0;
	border-radius: 8px;
	color: var(--ecc-blue);
}
.ecc-banner .ecc-btn--text:hover { color: var(--ecc-navy); background: var(--ecc-blue-soft); }

.ecc-banner .ecc-btn:focus-visible,
.ecc-banner .ecc-link:focus-visible,
.ecc-banner .ecc-switch:focus-visible,
.ecc-fab:focus-visible {
	outline: 3px solid var(--ecc-blue);
	outline-offset: 2px;
}

/* Setări */
.ecc-rows { margin: 4px 0 16px; border: 1px solid var(--ecc-border); border-radius: 12px; }
.ecc-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 12px 14px; }
.ecc-row + .ecc-row { border-top: 1px solid var(--ecc-border); }
.ecc-banner .ecc-row-title { display: block; margin: 0 0 2px; font-weight: 800; color: var(--ecc-navy); font-size: 14px; cursor: pointer; }
.ecc-banner .ecc-row-desc { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ecc-text); }
.ecc-badge {
	flex: none;
	margin-top: 2px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--ecc-blue-soft);
	color: var(--ecc-blue);
	font-size: 11.5px;
	font-weight: 700;
	white-space: nowrap;
}

/* !important: stilurile globale Elementor pentru input-uri (fundal alb, chenar) au specificitate mai mare. */
.ecc-banner .ecc-switch {
	-webkit-appearance: none;
	appearance: none;
	flex: none;
	position: relative;
	width: 44px !important;
	height: 26px !important;
	min-height: 0 !important;
	margin: 2px 0 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #C5CEDF !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background-color .2s ease;
}
.ecc-banner .ecc-switch::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
	transition: transform .2s ease;
}
.ecc-banner .ecc-switch:checked { background: var(--ecc-blue) !important; }
.ecc-banner .ecc-switch:checked::after { transform: translateX(18px); }

/* Buton de redeschidere a setărilor (selector dublat: stilurile Elementor pentru <button> sunt mai specifice) */
button.ecc-fab.ecc-fab {
	position: fixed;
	left: 18px;
	bottom: 18px;
	z-index: 2147482999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff !important;
	color: var(--ecc-blue) !important;
	box-shadow: 0 6px 18px rgba(13, 27, 122, .22);
	cursor: pointer;
	opacity: .85;
	transition: opacity .15s ease, transform .15s ease;
}
button.ecc-fab.ecc-fab:hover { opacity: 1; transform: scale(1.06); }
button.ecc-fab.ecc-fab[hidden] { display: none; }

@media (max-width: 600px) {
	.ecc-banner {
		left: 10px;
		right: 10px;
		bottom: calc(10px + env(safe-area-inset-bottom, 0px));
		width: auto;
		max-width: none;
		padding: 18px 16px 10px;
		border-radius: 16px;
	}
	.ecc-banner .ecc-title { font-size: 16px; }
	button.ecc-fab.ecc-fab { left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	.ecc-banner, .ecc-fab, .ecc-switch, .ecc-switch::after { transition: none; }
}

@media print {
	.ecc-banner, .ecc-fab { display: none !important; }
}
