.aah-cc {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 999999;
	background: rgba(20, 22, 31, .92);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-shadow: 0 -10px 40px rgba(0, 0, 0, .22);
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .35s ease, transform .35s ease;
	pointer-events: none;
}

.aah-cc--visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Added by JS after the visitor clicks Accept or Decline. */
.aah-cc--hidden { display: none !important; }

.aah-cc--bar-bottom { bottom: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.aah-cc--bar-top { top: 0; bottom: auto; box-shadow: 0 10px 40px rgba(0, 0, 0, .22); border-bottom: 1px solid rgba(255, 255, 255, .08); transform: translateY(-16px); }
.aah-cc--bar-top.aah-cc--visible { transform: translateY(0); }

.aah-cc--box-corner {
	left: auto;
	right: 22px;
	bottom: 22px;
	max-width: 380px;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, .1);
	box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
	transform: translateY(16px) scale(.97);
}
.aah-cc--box-corner.aah-cc--visible { transform: translateY(0) scale(1); }
.aah-cc--box-corner.aah-cc--left { right: auto; left: 22px; }

.aah-cc__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 26px;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
}

.aah-cc--box-corner .aah-cc__inner {
	flex-direction: column;
	align-items: flex-start;
	padding: 22px;
}

.aah-cc__icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(79, 110, 247, .28), rgba(79, 110, 247, .12));
	color: #9fb0ff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.aah-cc--box-corner .aah-cc__icon { margin-bottom: 2px; }

.aah-cc__text {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	flex: 1;
	min-width: 200px;
	color: #e7e9f2;
	letter-spacing: .1px;
}

.aah-cc__link {
	color: #a9b6ff;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	margin-left: 6px;
	border-bottom: 1px solid rgba(169, 182, 255, .4);
	transition: color .15s ease, border-color .15s ease;
}
.aah-cc__link:hover { color: #fff; border-color: #fff; }

.aah-cc__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	flex-wrap: wrap;
}
.aah-cc--box-corner .aah-cc__actions { width: 100%; justify-content: flex-end; margin-top: 10px; }

.aah-cc__btn {
	border: none;
	border-radius: 9px;
	padding: 10px 22px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s ease, opacity .15s ease, transform .1s ease, box-shadow .15s ease;
	font-family: inherit;
}
.aah-cc__btn:active { transform: translateY(1px); }

.aah-cc__btn--primary { background: #4f6ef7; color: #fff; box-shadow: 0 4px 14px rgba(79, 110, 247, .35); }
.aah-cc__btn--primary:hover { background: #3a56d4; box-shadow: 0 6px 18px rgba(79, 110, 247, .45); }

.aah-cc__btn--ghost {
	background: transparent;
	color: #c7cbdb;
	border: 1px solid rgba(255, 255, 255, .22);
}
.aah-cc__btn--ghost:hover { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .04); }

@media (max-width: 600px) {
	.aah-cc__inner { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
	.aah-cc__actions { width: 100%; justify-content: stretch; }
	.aah-cc__actions .aah-cc__btn { flex: 1; text-align: center; }
	.aah-cc--box-corner { left: 12px; right: 12px; max-width: none; bottom: 12px; }
	.aah-cc--box-corner .aah-cc__actions { justify-content: stretch; }
}

@media (prefers-reduced-motion: reduce) {
	.aah-cc { transition: opacity .15s linear; transform: none !important; }
}

.aah-cc__btn:focus-visible,
.aah-cc__link:focus-visible {
	outline: 2px solid #a9b6ff;
	outline-offset: 2px;
}
