/* Cookie Consent Customizer - Frontend Styles */

.ccc-cookie-banner {
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	transition: all 0.3s ease-in-out;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.ccc-cookie-banner *,
.ccc-cookie-banner *::before,
.ccc-cookie-banner *::after {
	box-sizing: border-box;
}

/* Positions */
.ccc-cookie-banner.ccc-pos-bottom-floating {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 48px);
	max-width: 1200px;
	z-index: 999999;
}

.ccc-cookie-banner.ccc-pos-bottom-full {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 999999;
	border-radius: 0 !important;
	border-left: none !important;
	border-right: none !important;
	border-bottom: none !important;
}

.ccc-cookie-banner.ccc-pos-top-floating {
	position: fixed;
	top: 24px;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 48px);
	max-width: 1200px;
	z-index: 999999;
}

.ccc-cookie-banner.ccc-pos-top-full {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 999999;
	border-radius: 0 !important;
	border-left: none !important;
	border-right: none !important;
	border-top: none !important;
}

/* Inner Layout */
.ccc-banner-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 24px;
}

.ccc-text-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ccc-main-text,
.ccc-sub-text {
	margin: 0;
	padding: 0;
	line-height: 1.5;
}

.ccc-link {
	font-weight: 500;
	transition: opacity 0.2s ease;
}

.ccc-link:hover {
	opacity: 0.8;
}

/* Action Button */
.ccc-action-content {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.ccc-accept-btn,
.ccc-decline-btn {
	display: inline-block;
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	transition: all 0.2s ease-in-out;
	outline: none;
}

.ccc-accept-btn:active,
.ccc-decline-btn:active {
	transform: scale(0.98);
}

/* Hide animation */
.ccc-cookie-banner.ccc-banner-hiding {
	opacity: 0 !important;
	pointer-events: none !important;
}

.ccc-cookie-banner.ccc-pos-bottom-floating.ccc-banner-hiding {
	transform: translate(-50%, 24px) !important;
}

.ccc-cookie-banner.ccc-pos-bottom-full.ccc-banner-hiding {
	transform: translateY(24px) !important;
}

.ccc-cookie-banner.ccc-pos-top-floating.ccc-banner-hiding {
	transform: translate(-50%, -24px) !important;
}

.ccc-cookie-banner.ccc-pos-top-full.ccc-banner-hiding {
	transform: translateY(-24px) !important;
}

/* Responsive */
@media (max-width: 768px) {
	.ccc-banner-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		padding: 16px;
	}

	.ccc-action-content {
		width: 100%;
		display: flex;
		justify-content: flex-end;
	}

	.ccc-accept-btn {
		width: 100%;
	}

	.ccc-cookie-banner.ccc-pos-bottom-floating,
	.ccc-cookie-banner.ccc-pos-top-floating {
		width: calc(100% - 24px);
		bottom: 12px;
	}
}
