/* Areso Marketing Tools: μπάρα cookies */
:root {
	--amt-main: #ab9555;
	--amt-bg: #ffffff;
	--amt-text: #000000;
	--amt-configure-bg: #bfb9a6;
	--amt-configure-text: #595859;
	--amt-selection-bg: #c9c9c9;
	--amt-selection-text: #5c5c5c;
	--amt-accept-text: #ffffff;
}

.amt-consent[hidden],
.amt-consent-open[hidden],
.amt-consent .amt-cats[hidden],
.amt-consent .amt-btn[hidden] {
	display: none !important;
}

.amt-consent {
	position: fixed;
	z-index: 2147483000;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	padding: 12px;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.45;
	color: var(--amt-text);
	pointer-events: none;
}

.amt-consent.amt-pos-bottom {
	bottom: 0;
}

.amt-consent.amt-pos-top {
	top: 0;
	align-items: flex-start;
}

.amt-consent.amt-pos-middle {
	top: 0;
	bottom: 0;
	align-items: center;
	background: rgba(0, 0, 0, 0.45);
	pointer-events: auto;
}

.amt-consent .amt-box {
	pointer-events: auto;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 24px);
	overflow: auto;
	background: var(--amt-bg);
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	padding: 20px 22px;
	box-sizing: border-box;
}

.amt-consent.amt-pos-bottom .amt-box,
.amt-consent.amt-pos-top .amt-box {
	max-width: 980px;
}

.amt-consent .amt-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--amt-main);
}

.amt-consent .amt-text p {
	margin: 0 0 8px;
}

.amt-consent .amt-text .amt-link {
	display: inline-block;
	margin-top: 4px;
	color: var(--amt-main);
	text-decoration: underline;
}

.amt-consent .amt-cats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 16px;
	margin: 14px 0 6px;
}

.amt-consent .amt-cat {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 2px 8px;
	cursor: pointer;
	margin: 0;
	font-weight: 400;
}

.amt-consent .amt-cat input {
	margin: 3px 0 0;
	accent-color: var(--amt-main);
}

.amt-consent .amt-cat-name {
	font-weight: 700;
}

.amt-consent .amt-cat-explain {
	grid-column: 2;
	font-size: 12px;
	opacity: 0.8;
}

.amt-consent .amt-cat-explain p {
	margin: 0;
}

.amt-consent .amt-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	margin-top: 14px;
}

.amt-consent .amt-btn {
	display: inline-block;
	width: auto;
	flex: 0 0 auto;
	margin: 0;
	border: 0;
	border-radius: 6px;
	padding: 10px 18px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.2;
	text-transform: none;
	box-shadow: none;
}

.amt-consent .amt-btn-accept {
	background: var(--amt-main);
	color: var(--amt-accept-text);
}

.amt-consent .amt-btn-configure,
.amt-consent .amt-btn-refuse {
	background: var(--amt-configure-bg);
	color: var(--amt-configure-text);
}

.amt-consent .amt-btn-selection {
	background: var(--amt-selection-bg);
	color: var(--amt-selection-text);
}

.amt-consent-open {
	position: fixed;
	z-index: 2147482000;
	left: 14px;
	bottom: 14px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--amt-main);
	color: var(--amt-accept-text);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

/* Το badge της Google κάθεται κάτω αριστερά· το κουμπί πάει λίγο πιο πάνω */
.google_badge_amt ~ .amt-consent-open,
body:has(.google_badge_amt) .amt-consent-open {
	bottom: 76px;
}

@media (max-width: 640px) {
	.amt-consent .amt-cats {
		grid-template-columns: 1fr;
	}

	.amt-consent .amt-buttons {
		justify-content: stretch;
	}

	.amt-consent .amt-btn {
		flex: 1 1 100%;
	}
}
