.avdude-consent {
	position: fixed;
	z-index: 1000;
	left: 1rem;
	right: 1rem;
	bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
	max-width: 44rem;
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	padding: 1rem 1.25rem;
	border-radius: 14px;
	background: var(--wp--preset--color--navy, #1e2a4a);
	color: #fff;
	border: 1px solid rgb(255 255 255 / 0.22);
	box-shadow: 0 8px 28px rgb(21 27 46 / 0.28);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.avdude-consent[hidden] {
	display: none;
}

.avdude-consent__text {
	flex: 1 1 20rem;
	margin: 0;
}

.avdude-consent__text a {
	color: inherit;
	text-decoration: underline;
}

.avdude-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

/* Accept and Decline carry equal visual weight. */
.avdude-consent__button {
	font: inherit;
	font-weight: 700;
	padding: 0.65rem 1.1rem;
	border-radius: 10px;
	border: 1.5px solid #fff;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.avdude-consent__button:hover {
	background: rgb(255 255 255 / 0.12);
}

.avdude-consent__button:focus-visible,
.avdude-consent__text a:focus-visible {
	outline: 2px solid var(--wp--preset--color--marigold, #f2a93b);
	outline-offset: 3px;
}

.avdude-cookie-settings {
	font: inherit;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}
