.portara-consent {
	position: fixed;
	inset: auto 16px 16px;
	z-index: 100000;
	display: flex;
	justify-content: center;
	color: #102a43;
}

.portara-consent[hidden] {
	display: none;
}

.portara-consent__card {
	width: min(100%, 720px);
	padding: 24px;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-shadow: 0 12px 28px rgb(15 23 42 / 24%);
}

.portara-consent__card h2,
.portara-consent__card p {
	margin: 0 0 12px;
}

.portara-consent__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.portara-consent button,
.portara-consent__settings {
	min-height: 42px;
	padding: 10px 16px;
	border-radius: 4px;
	font: inherit;
	cursor: pointer;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.portara-consent__accept {
	border: 1px solid #a13f00;
	background: #b34700;
	color: #fff;
}

.portara-consent__reject,
.portara-consent__settings {
	border: 1px solid #102a43;
	background: #fff;
	color: #102a43;
}

.portara-consent__settings {
	margin: 16px;
}

.portara-consent button:focus-visible,
.portara-consent__settings:focus-visible,
.portara-consent a:focus-visible {
	outline: 3px solid #e66a00;
	outline-offset: 3px;
}

@media (max-width: 600px) {
	.portara-consent__actions {
		flex-direction: column;
	}

	.portara-consent__actions button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.portara-consent button,
	.portara-consent__settings {
		transition: none;
	}
}
