.amib-cc[hidden],
.amib-cc-reopen[hidden],
.amib-cc__prefs[hidden],
.amib-cc__error[hidden] {
	display: none !important;
}

.amib-cc--top {
	top: 16px;
	bottom: auto;
}

.amib-cc--box {
	justify-content: flex-start;
}

.amib-cc--box .amib-cc__panel {
	width: min(420px, 100%);
}

.amib-cc {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 1000000;
	display: flex;
	justify-content: center;
	font-family: "Segoe UI", Arial, sans-serif;
}

.amib-cc__panel {
	width: min(920px, 100%);
	background: var(--itarget-cc-bg, #fff);
	color: var(--itarget-cc-text, #1b2a5b);
	border-radius: 16px;
	box-shadow: 0 16px 40px rgba(7, 11, 98, 0.22);
	padding: 18px 18px 16px;
	border-top: 4px solid var(--itarget-cc-accent, #4cb5ae);
}

.amib-cc__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 800;
}

.amib-cc__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: #33415c;
}

.amib-cc__text a {
	color: #0c477f;
	font-weight: 700;
}

.amib-cc__actions,
.amib-cc__prefs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.amib-cc__btn {
	appearance: none;
	border-radius: 999px;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	line-height: 1.2;
}

.amib-cc__btn--primary {
	border: 0;
	background: var(--itarget-cc-button, #4cb5ae);
	color: var(--itarget-cc-button-text, #fff);
}

.amib-cc__btn--primary:hover {
	background: #3aa39c;
}

.amib-cc__btn--ghost {
	border: 1px solid #c5ced9;
	background: #fff;
	color: #1b2a5b;
}

.amib-cc__prefs {
	flex-direction: column;
	align-items: stretch;
	padding-top: 8px;
	border-top: 1px solid #e6ebf1;
}

.amib-cc__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	margin: 0;
}

.amib-cc__row small {
	display: block;
	color: #5c6b80;
	font-size: 12px;
	font-weight: 500;
}

.amib-cc-reopen {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 999990;
	border: 0;
	border-radius: 999px;
	background: #1b2a5b;
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	padding: 8px 14px;
	cursor: pointer;
	box-shadow: 0 6px 16px rgba(7, 11, 98, 0.25);
}

@media (max-width: 640px) {
	.amib-cc {
		left: 8px;
		right: 8px;
		bottom: 8px;
	}

	.amib-cc__actions {
		flex-direction: column;
	}

	.amib-cc__btn {
		width: 100%;
	}
}

.amib-cc__error {
	margin: 10px 0 0;
	color: #9b2c2c;
	font-size: 13px;
}

.amib-cc__cookie-names {
	display: block;
}

.itarget-cc-center {
	max-width: 760px;
	border: 1px solid #e6ebf1;
	border-radius: 16px;
	padding: 18px;
}

.itarget-cc-decl__table {
	overflow-x: auto;
}

.itarget-cc-decl table {
	width: 100%;
	border-collapse: collapse;
}

.itarget-cc-decl th,
.itarget-cc-decl td {
	text-align: left;
	padding: 8px;
	border-bottom: 1px solid #e6ebf1;
	font-size: 14px;
	vertical-align: top;
}
