/*
 * A caixa do consentimento dos cookies da página "em breve" (inc/consentimento.php), nas duas marcas:
 * no fundo do ecrã, sem tapar a página inteira, com "Aceitar" e "Recusar" com o mesmo peso (o mesmo
 * tamanho, a mesma cor e a mesma letra), e o botão "Preferências de cookies" do rodapé.
 */

.fcs-consentimento[hidden],
.fcs-consentimento-rodape[hidden] {
	display: none !important;
}

.fcs-consentimento {
	position: fixed;
	z-index: 1000;
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	box-sizing: border-box;
	max-width: 34rem;
	margin: 0 auto;
	padding: 1rem 1.25rem;
	border: 1px solid var(--fcs-pre-linha, #e3d8c6);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 1px 2px rgb(0 9 95 / 0.1), 0 12px 32px rgb(0 9 95 / 0.16);
	color: #1b1f33;
}

.fcs-consentimento__texto {
	margin: 0 0 0.875rem;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.fcs-consentimento__texto a {
	color: inherit;
	text-decoration: underline;
}

.fcs-consentimento__botoes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.fcs-consentimento__botao {
	min-height: 2.75rem;
	padding: 0.5rem 1rem;
	border: 2px solid var(--fcs-pre-azul, #00095f);
	border-radius: 999px;
	background: var(--fcs-pre-azul, #00095f);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.fcs-consentimento__botao:focus-visible,
.fcs-consentimento-mudar:focus-visible {
	outline: 3px solid var(--fcs-pre-destaque, #a8864d);
	outline-offset: 2px;
}

.fcs-consentimento-mudar {
	min-height: 2.75rem;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}
