#numberone-cookie-banner {
	--nocb-orange: #e98030;
	--nocb-orange-dark: #c96a22;
	--nocb-text: #2b2b2b;
	--nocb-muted: #6b6b6b;
	position: fixed;
	left: 1rem;
	bottom: 1rem;
	z-index: 99999;
	width: min(18rem, calc(100vw - 2rem));
	padding: 0.9rem 1rem 0.75rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow:
		0 12px 28px rgba(0, 0, 0, 0.12),
		0 2px 6px rgba(0, 0, 0, 0.06);
	color: var(--nocb-text);
	font-family: inherit;
	font-size: 0.8125rem;
	line-height: 1.45;
	transform: translateY(0);
	opacity: 1;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

#numberone-cookie-banner[hidden] {
	display: block !important;
	opacity: 0;
	transform: translateY(0.75rem);
	pointer-events: none;
}

#numberone-cookie-banner.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

#numberone-cookie-banner::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	border-radius: 12px 12px 0 0;
	background: linear-gradient(90deg, var(--nocb-orange), #f4a261);
}

.nocb__text {
	margin: 0 0 0.75rem;
	color: var(--nocb-muted);
}

.nocb__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.nocb__btn {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.45rem 0.65rem;
	border-radius: 8px;
	border: none;
	font: inherit;
	font-size: 0.75rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nocb__btn--accept {
	background: var(--nocb-orange);
	color: #fff;
}

.nocb__btn--accept:hover,
.nocb__btn--accept:focus-visible {
	background: var(--nocb-orange-dark);
}

.nocb__btn--reject {
	background: #f5f5f5;
	color: var(--nocb-text);
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.nocb__btn--reject:hover,
.nocb__btn--reject:focus-visible {
	background: #ececec;
}

.nocb__link {
	display: inline-block;
	margin-top: 0.55rem;
	font-size: 0.6875rem;
	color: var(--nocb-muted);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.nocb__link:hover,
.nocb__link:focus-visible {
	color: var(--nocb-orange);
}

@media (max-width: 480px) {
	#numberone-cookie-banner {
		left: 0.75rem;
		bottom: 0.75rem;
		width: calc(100vw - 1.5rem);
	}
}
