/* RKC slapukų sutikimas – pritaikyta prie temos (Poppins/Raleway, #bd1e1d) */

.rkc-consent {
	position: fixed;
	z-index: 100000;
	left: 24px;
	bottom: 24px;
	width: calc(100% - 48px);
	max-width: 440px;
	background: #fff;
	color: #393939;
	border-radius: 12px;
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.22);
	overflow: hidden;
	font-family: "Poppins", sans-serif;
}

.rkc-consent::before {
	content: "";
	display: block;
	height: 5px;
	background: #bd1e1d;
}

.rkc-consent-panel {
	padding: 22px 24px 24px;
}

.rkc-consent h2 {
	margin: 0 0 10px;
	font-family: "Raleway", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: #393939;
}

.rkc-consent p {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.65;
	color: #555;
}

.rkc-consent a {
	color: #bd1e1d;
	font-weight: 600;
	text-decoration: underline;
}

.rkc-consent a:hover {
	text-decoration: none;
}

.rkc-consent-settings {
	margin: 4px 0 14px;
}

.rkc-consent fieldset {
	margin: 0;
	padding: 10px 14px 12px;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
}

.rkc-consent legend {
	padding: 0 6px;
	font-family: "Raleway", sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #393939;
}

.rkc-consent label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 8px 0;
	font-size: 14px;
	line-height: 1.4;
	color: #393939;
	cursor: pointer;
}

.rkc-consent input[type="checkbox"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #bd1e1d;
	cursor: pointer;
}

.rkc-consent input[type="checkbox"]:disabled {
	cursor: default;
	opacity: 0.7;
}

.rkc-consent-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.rkc-consent-actions button {
	font-family: "Raleway", sans-serif;
	font-size: 14px;
	font-weight: 700;
	padding: 11px 20px;
	border: 2px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#rkc-accept,
#rkc-save {
	flex: 1 1 auto;
	background: #bd1e1d;
	border-color: #bd1e1d;
	color: #fff;
}

#rkc-accept:hover,
#rkc-save:hover {
	background: #9e1917;
	border-color: #9e1917;
}

#rkc-reject,
#rkc-settings {
	background: #fff;
	border-color: #cfcfcf;
	color: #393939;
}

#rkc-reject:hover,
#rkc-settings:hover {
	border-color: #393939;
}

/* Žemėlapio pakaitalas (šviesi footerio sritis) */
.rkc-map-fallback {
	min-height: 180px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 12px;
	padding: 16px;
	background: #e8e8e8;
	color: #393939;
}

.rkc-map-fallback p {
	margin: 0;
	font-size: 14px;
	color: #393939;
}

.rkc-map-fallback button {
	font-family: "Raleway", sans-serif;
	font-size: 14px;
	font-weight: 700;
	padding: 11px 22px;
	border: 0;
	border-radius: 6px;
	background: #bd1e1d;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.rkc-map-fallback button:hover {
	background: #9e1917;
}

/* „Slapukų nustatymai“ footerio apačioje – kaip tekstinė nuoroda */
button.rkc-open-consent {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font-family: "Poppins", sans-serif;
	font-size: 14px;
	font-weight: 300;
	color: #696969;
	text-decoration: underline;
	cursor: pointer;
}

button.rkc-open-consent:hover {
	color: #bd1e1d;
}

/* Matomas fokusas klaviatūra */
.rkc-consent button:focus-visible,
.rkc-consent a:focus-visible,
.rkc-map-fallback button:focus-visible,
button.rkc-open-consent:focus-visible {
	outline: 3px solid #ffbf47;
	outline-offset: 2px;
}

/* Be fokuso kontūro ant žymimųjų langelių */
.rkc-consent input[type="checkbox"]:focus,
.rkc-consent input[type="checkbox"]:focus-visible {
	outline: none;
}

@media only screen and (max-width: 600px) {
	.rkc-consent {
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		max-width: none;
		border-radius: 12px 12px 0 0;
	}

	.rkc-consent-actions button {
		flex: 1 1 100%;
	}
}
