/* BEGIN standard GDPR popup settings */

/* Modal: păstrează butoanele mari; se modifică doar paddingul vertical general. */
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.moove-gdpr-modal-allow-all,
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.moove-gdpr-modal-save-settings {
	padding-left: 45px !important;
	padding-right: 45px !important;
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.moove-gdpr-modal-save-settings {
	display: inline-block !important;
}

/* Banner: butoane mai mici numai pe înălțime; paddingul lateral al pluginului rămâne intact. */
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-button-holder button.mgbutton {
	height: auto !important;
	min-height: 0 !important;
	padding-top: 4px !important;
	padding-bottom: 4px !important;
}

.moove-gdpr-info-bar-content * {
	font-size: 13px !important;
}

button.mgbutton.moove-gdpr-infobar-reject-btn {
	background-color: transparent !important;
	box-shadow: inset 0 0 0 1px currentColor !important;
	opacity: .7;
	color: #fff !important;
}

/* Modalul GDPR rămâne peste meniul mobil al temei. */
.gdpr_lightbox {
	z-index: 100100 !important;
}

/* Liste lizibile în conținutul modalului. */
#moove_gdpr_cookie_modal .moove-gdpr-tab-main-content > ul {
	margin: 12px 0 18px !important;
	padding: 0 !important;
	list-style: none !important;
}

#moove_gdpr_cookie_modal .moove-gdpr-tab-main-content > ul > li {
	position: relative;
	margin: 0 0 8px !important;
	padding: 0 0 0 22px !important;
	line-height: 1.5 !important;
}

#moove_gdpr_cookie_modal .moove-gdpr-tab-main-content > ul > li::before {
	content: "\f345";
	position: absolute;
	top: .2em;
	left: 0;
	font-family: dashicons;
	font-size: 16px;
	line-height: 1;
	opacity: .7;
}

#moove_gdpr_cookie_modal .moove-gdpr-tab-main-content a {
	overflow-wrap: anywhere;
	word-break: break-word;
}

/* Titlurile din navigație și din conținut rămân distincte, fără borduri adăugate. */
#moove_gdpr_cookie_modal #moove-gdpr-menu .gdpr-nav-tab-title,
#moove_gdpr_cookie_modal .main-modal-content .moove-gdpr-tab-main > .tab-title {
	font-weight: 800 !important;
}

@media (max-width: 767px) {
	/* Elimină numai limita interioară care taie conținutul Prezentare generală. */
	#moove_gdpr_cookie_modal .moove-gdpr-modal-content.moove_gdpr_modal_theme_v1 .main-modal-content #privacy_overview .moove-gdpr-tab-main-content {
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
	}

	/* Titluri mobile mai evidente, fără border sau fundal inventat. */
	#moove_gdpr_cookie_modal .moove-gdpr-modal-content.moove_gdpr_modal_theme_v1 .main-modal-content .moove-gdpr-tab-main > .tab-title {
		font-size: 17px !important;
		font-weight: 800 !important;
		line-height: 1.25 !important;
		color: var(--csd-primary) !important;
	}
}


/* Culori GDPR aliniate cu sistemul vizual al temei. */

/* Bannerul folosește suprafața întunecată a temei, nu culoarea accent. */
#moove_gdpr_cookie_info_bar {
	background-color: var(--csd-neutral-dark) !important;
	border-top-color: var(--csd-neutral-dark) !important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-cookie-notice,
#moove_gdpr_cookie_info_bar .moove-gdpr-cookie-notice p,
#moove_gdpr_cookie_info_bar .moove-gdpr-cookie-notice a {
	color: var(--csd-neutral-light) !important;
}

/* „Setări”: contrast stabil pe bannerul întunecat, inclusiv la hover. */
#moove_gdpr_cookie_info_bar
.moove-gdpr-button-holder
button.moove-gdpr-infobar-settings-btn {
	background-color: rgba(255, 255, 255, .12) !important;
	border-color: transparent !important;
	color: var(--csd-neutral-light) !important;
	text-decoration: none !important;
}

#moove_gdpr_cookie_info_bar
.moove-gdpr-button-holder
button.moove-gdpr-infobar-settings-btn:hover,
#moove_gdpr_cookie_info_bar
.moove-gdpr-button-holder
button.moove-gdpr-infobar-settings-btn:focus,
#moove_gdpr_cookie_info_bar
.moove-gdpr-button-holder
button.moove-gdpr-infobar-settings-btn:focus-visible {
	background-color: var(--csd-neutral-light) !important;
	border-color: transparent !important;
	color: var(--csd-neutral-dark) !important;
}

/* Acțiunile principale urmează varianta .btn-primary a temei. */
#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-allow-all,
#moove_gdpr_cookie_modal .moove-gdpr-modal-allow-all,
#moove_gdpr_cookie_modal .moove-gdpr-modal-save-settings {
	background-color: var(--csd-primary) !important;
	border-color: var(--csd-primary) !important;
	color: #fff !important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-allow-all:hover,
#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-allow-all:focus-visible,
#moove_gdpr_cookie_modal .moove-gdpr-modal-allow-all:hover,
#moove_gdpr_cookie_modal .moove-gdpr-modal-allow-all:focus-visible,
#moove_gdpr_cookie_modal .moove-gdpr-modal-save-settings:hover,
#moove_gdpr_cookie_modal .moove-gdpr-modal-save-settings:focus-visible {
	background-color: var(--csd-btn-primary-bg-hover, var(--csd-primary)) !important;
	border-color: var(--csd-btn-primary-bg-hover, var(--csd-primary)) !important;
	color: #fff !important;
}

/* Acțiunea de respingere din modal rămâne secundară, de tip outline. */
#moove_gdpr_cookie_modal .moove-gdpr-modal-reject-all {
	background-color: transparent !important;
	border-color: var(--csd-primary) !important;
	color: var(--csd-primary) !important;
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-reject-all:hover,
#moove_gdpr_cookie_modal .moove-gdpr-modal-reject-all:focus-visible {
	background-color: var(--csd-primary) !important;
	border-color: var(--csd-primary) !important;
	color: #fff !important;
}

/* Elemente interactive și de navigație. */
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close i,
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close span.gdpr-icon {
	background-color: var(--csd-primary) !important;
	border-color: var(--csd-primary) !important;
	color: #fff !important;
}

#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close:hover i,
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close:focus-visible i,
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close:hover span.gdpr-icon,
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close:focus-visible span.gdpr-icon {
	background-color: #fff !important;
	color: var(--csd-primary) !important;
}

/* Navigația laterală: neutră implicit, culoarea temei la hover și activ. */
#moove_gdpr_cookie_modal
.moove-gdpr-modal-left-content
#moove-gdpr-menu li button.moove-gdpr-tab-nav {
	background-color: var(--csd-neutral-light) !important;
	border-color: transparent !important;
	color: var(--csd-neutral-dark) !important;
	box-shadow: none !important;
}

#moove_gdpr_cookie_modal
.moove-gdpr-modal-left-content
#moove-gdpr-menu li button.moove-gdpr-tab-nav:hover,
#moove_gdpr_cookie_modal
.moove-gdpr-modal-left-content
#moove-gdpr-menu li button.moove-gdpr-tab-nav:focus,
#moove_gdpr_cookie_modal
.moove-gdpr-modal-left-content
#moove-gdpr-menu li button.moove-gdpr-tab-nav:focus-visible {
	background-color: var(--csd-primary-soft) !important;
	border-color: transparent !important;
	color: var(--csd-primary) !important;
	box-shadow: none !important;
}

#moove_gdpr_cookie_modal
.moove-gdpr-modal-left-content
#moove-gdpr-menu li.menu-item-selected button.moove-gdpr-tab-nav,
#moove_gdpr_cookie_modal
.moove-gdpr-modal-left-content
#moove-gdpr-menu li.menu-item-selected button.moove-gdpr-tab-nav:hover,
#moove_gdpr_cookie_modal
.moove-gdpr-modal-left-content
#moove-gdpr-menu li.menu-item-selected button.moove-gdpr-tab-nav:focus-visible {
	background-color: var(--csd-primary) !important;
	border-color: transparent !important;
	color: #fff !important;
}

#moove_gdpr_cookie_modal
.moove-gdpr-modal-left-content
#moove-gdpr-menu li button.moove-gdpr-tab-nav i,
#moove_gdpr_cookie_modal
.moove-gdpr-modal-left-content
#moove-gdpr-menu li button.moove-gdpr-tab-nav span.gdpr-icon,
#moove_gdpr_cookie_modal
.moove-gdpr-modal-left-content
#moove-gdpr-menu li button.moove-gdpr-tab-nav .gdpr-svg-icon {
	color: inherit !important;
}

/* Logo GDPR neutralizat; nu mai impune albastrul graficii pluginului. */
#moove_gdpr_cookie_modal
.moove-gdpr-company-logo-holder img {
	filter: grayscale(1) contrast(1.05);
	opacity: .72;
}

/* Linkurile și iconurile listelor folosesc culoarea principală a temei. */
#moove_gdpr_cookie_modal .moove-gdpr-tab-main-content a,
#moove_gdpr_cookie_modal .moove-gdpr-tab-main-content > ul > li::before {
	color: var(--csd-primary) !important;
}

/* Stările Activat/Dezactivat și switchurile rămân integral cele ale pluginului. */

/* END standard GDPR popup settings */
