.nolcc {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 100000;
	display: flex;
	justify-content: center;
	pointer-events: none;
}

.nolcc[hidden] {
	display: none;
}

.nolcc__box {
	pointer-events: auto;
	width: 100%;
	max-width: 720px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	box-sizing: border-box;
	padding: 20px 22px;
	background: #fff;
	color: #1f2a24;
	border-radius: 10px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
	font-size: 15px;
	line-height: 1.5;
}

.nolcc__title {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.3;
	color: #1f2a24;
	text-transform: none;
	letter-spacing: 0;
}

.nolcc__text {
	margin: 0 0 14px;
}

.nolcc__text a {
	color: #1e5631;
	text-decoration: underline;
}

.nolcc__prefs {
	margin: 0 0 14px;
	padding: 12px 14px;
	background: #f3f6f4;
	border-radius: 8px;
}

.nolcc__prefs[hidden] {
	display: none;
}

.nolcc__opt {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0 0 8px;
	font-weight: normal;
	font-size: 14px;
	cursor: pointer;
}

.nolcc__opt:last-child {
	margin-bottom: 0;
}

.nolcc__opt input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
}

.nolcc__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

/* Accept and reject share one style, so rejecting is as easy as accepting. */
.nolcc__btn {
	flex: 1 1 140px;
	min-height: 44px;
	margin: 0;
	padding: 10px 16px;
	border: 2px solid #1e5631;
	border-radius: 6px;
	background: #1e5631;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.nolcc__btn--ghost {
	background: #fff;
	color: #1e5631;
}

.nolcc__btn[hidden] {
	display: none;
}

.nolcc__btn:hover {
	filter: brightness(1.1);
}

.nolcc__btn:focus-visible {
	outline: 3px solid #f2b705;
	outline-offset: 2px;
}

/* Fallback in case the theme prints its own notice anyway. */
.flatsome-cookies {
	display: none !important;
}

@media (max-width: 549px) {
	.nolcc {
		left: 8px;
		right: 8px;
		bottom: 8px;
	}

	.nolcc__box {
		padding: 16px;
	}

	.nolcc__btn {
		flex-basis: 100%;
	}
}
