/* Bandeau et liens légaux. Couleurs héritées du thème quand il en définit, neutres sinon. */
.woozy-consent {
	position: fixed;
	z-index: 99999;
	inset: auto 16px 16px 16px;
	display: flex;
	justify-content: center;
	pointer-events: none;
}
.woozy-consent[hidden] { display: none; }
.woozy-consent__box {
	pointer-events: auto;
	box-sizing: border-box;
	width: 100%;
	max-width: 640px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 20px;
	border-radius: 8px;
	background: var(--wp--preset--color--base, #fff);
	color: var(--wp--preset--color--contrast, #1d2327);
	box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
	font-size: 15px;
	line-height: 1.5;
}
.woozy-consent__title { margin: 0 0 8px; font-weight: 700; font-size: 17px; }
.woozy-consent__text { margin: 0 0 16px; }
.woozy-consent__text a { color: inherit; text-decoration: underline; }
.woozy-consent__details { margin: 0 0 16px; display: grid; gap: 10px; }
.woozy-consent__details[hidden] { display: none; }
.woozy-consent__choice { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.woozy-consent__choice input { margin-top: 4px; }
.woozy-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* Tous les boutons ont le même poids : refuser doit être aussi simple qu'accepter. */
.woozy-consent__button {
	flex: 1 1 140px;
	padding: 10px 14px;
	border: 2px solid currentColor;
	border-radius: 6px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.woozy-consent__button[hidden] { display: none; }
.woozy-consent__button:hover,
.woozy-consent__button:focus-visible { background: rgba(127, 127, 127, .15); }

.woozy-legal-links {
	padding: 16px;
	text-align: center;
	font-size: 13px;
}
.woozy-legal-links a,
.woozy-legal-manage {
	color: inherit;
}
.woozy-legal-manage {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}
.woozy-legal-cookies { width: 100%; border-collapse: collapse; }
.woozy-legal-cookies th,
.woozy-legal-cookies td { padding: 8px; border: 1px solid rgba(127, 127, 127, .3); text-align: left; vertical-align: top; }
