/* Modern Cookie Consent Base Styles */
.mcc-container {
	position: fixed;
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
	/* Glassmorphism */
	background-color: var(--mcc-bg-color, rgba(255, 255, 255, 0.85));
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	border-radius: 16px;
	color: var(--mcc-text-color, #333);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.4s;
	overflow: hidden; /* For canvas inside */
}

.mcc-container.mcc-show {
	opacity: 1;
	visibility: visible;
}

/* Positioning */
.mcc-position-bottom-left {
	bottom: 20px;
	left: 20px;
	max-width: 400px;
	transform: translateY(20px) scale(0.95);
}
.mcc-position-bottom-left.mcc-show {
	transform: translateY(0) scale(1);
}

.mcc-position-bottom-right {
	bottom: 20px;
	right: 20px;
	max-width: 400px;
	transform: translateY(20px) scale(0.95);
}
.mcc-position-bottom-right.mcc-show {
	transform: translateY(0) scale(1);
}

.mcc-position-bottom-full {
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	border-radius: 16px 16px 0 0;
	transform: translateY(100%);
}
.mcc-position-bottom-full.mcc-show {
	transform: translateY(0);
}

.mcc-position-center-modal {
	top: 50%;
	left: 50%;
	max-width: 500px;
	transform: translate(-50%, -50%) scale(0.9);
}
.mcc-position-center-modal.mcc-show {
	transform: translate(-50%, -50%) scale(1);
}

/* Content layout */
.mcc-content {
	display: flex;
	flex-direction: column;
	padding: 24px;
	position: relative;
	z-index: 2;
}
.mcc-position-bottom-full .mcc-content {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}

.mcc-text-wrapper {
	margin-bottom: 20px;
}
.mcc-position-bottom-full .mcc-text-wrapper {
	margin-bottom: 0;
	margin-right: 20px;
}

.mcc-title {
	margin: 0 0 8px 0;
	font-size: 18px;
	font-weight: 600;
	color: inherit;
}

.mcc-description {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	opacity: 0.85;
}

/* Buttons */
.mcc-actions {
	display: flex;
	gap: 12px;
	align-items: center;
}

.mcc-btn {
	border: none;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.mcc-btn:hover {
	transform: translateY(-2px);
}
.mcc-btn:active {
	transform: translateY(1px);
}

.mcc-btn-primary {
	background-color: var(--mcc-btn-bg, #007bff);
	color: var(--mcc-btn-text, #ffffff);
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	position: relative;
	overflow: hidden;
}
.mcc-btn-primary:hover {
	box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.mcc-btn-secondary {
	background-color: transparent;
	color: inherit;
	border: 1px solid rgba(128, 128, 128, 0.3);
}
.mcc-btn-secondary:hover {
	background-color: rgba(128, 128, 128, 0.1);
}

.mcc-btn-link {
	background-color: transparent;
	color: inherit;
	text-decoration: underline;
	border: none;
	padding: 10px 10px;
	font-size: 13px;
	opacity: 0.8;
}
.mcc-btn-link:hover {
	opacity: 1;
	transform: none;
	text-decoration: none;
}

/* Innovation: Cookie Icon & Animation Styles */
.mcc-cookie-icon {
	display: none; /* hidden by default */
	margin-left: 8px;
}

/* Animating state */
.mcc-btn-primary.mcc-animating .mcc-btn-text {
	display: none;
}
.mcc-btn-primary.mcc-animating .mcc-cookie-icon {
	display: block;
	animation: mcc-jump 0.5s ease;
}
.mcc-btn-primary.mcc-animating {
	border-radius: 50%;
	width: 44px;
	height: 44px;
	padding: 0;
}

@keyframes mcc-jump {
	0% { transform: scale(1); }
	50% { transform: scale(1.3) translateY(-5px) rotate(15deg); }
	100% { transform: scale(1) translateY(0) rotate(0); }
}

/* Canvas for Particles */
#mcc-confetti-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
}

/* Responsive */
@media (max-width: 600px) {
	.mcc-position-bottom-left,
	.mcc-position-bottom-right,
	.mcc-position-center-modal {
		left: 10px;
		right: 10px;
		bottom: 10px;
		max-width: calc(100% - 20px);
	}
	.mcc-position-center-modal {
		top: auto;
		transform: translateY(20px) scale(0.95);
	}
	.mcc-position-center-modal.mcc-show {
		transform: translateY(0) scale(1);
	}
	
	.mcc-position-bottom-full .mcc-content {
		flex-direction: column;
		align-items: flex-start;
	}
	.mcc-position-bottom-full .mcc-text-wrapper {
		margin-bottom: 16px;
		margin-right: 0;
	}
	.mcc-actions {
		width: 100%;
		flex-direction: column;
	}
	.mcc-btn {
		width: 100%;
	}
}
