/**
 * Cookie Consent Bar Styles
 * Premium design matching Theme 123
 */

#cookie-consent-bar.cookie-consent-bar {
	position: fixed;
	bottom: 24px;
	right: 24px;
	max-width: 400px;
	width: calc(100% - 48px);
	background: rgba(10, 10, 10, 0.85);
	backdrop-filter: blur(16px) saturate(180%);
	-webkit-backdrop-filter: blur(16px) saturate(180%);
	border: 1px solid rgba(185, 105, 221, 0.24);
	border-radius: 20px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(185, 105, 221, 0.12);
	padding: 22px 24px;
	z-index: 999999999;
	font-family: 'Roboto', Arial, sans-serif;
	box-sizing: border-box;

	/* Animation states */
	opacity: 0;
	transform: translateY(40px) scale(0.96);
	transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
				transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	pointer-events: none;
}

#cookie-consent-bar.cookie-consent-bar.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

#cookie-consent-bar.cookie-consent-bar.is-hidden {
	opacity: 0;
	transform: translateY(20px) scale(0.96);
	pointer-events: none;
}

.cookie-consent-container {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.cookie-consent-body {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
}

.cookie-consent-icon-wrapper {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: #b969dd;
	background: rgba(185, 105, 221, 0.12);
	border-radius: 10px;
}

.cookie-consent-icon {
	width: 20px;
	height: 20px;
}

.cookie-consent-text {
	flex: 1;
	font-size: 13.5px;
	line-height: 1.55;
	color: #e2e8f0;
	margin: 0;
	font-weight: 400;
}

.cookie-consent-link {
	color: #b969dd;
	text-decoration: none;
	font-weight: 500;
	border-bottom: 1px dashed rgba(185, 105, 221, 0.4);
	transition: all 0.2s ease;
}

.cookie-consent-link:hover {
	color: #d18ef2;
	border-bottom-color: #d18ef2;
}

.cookie-consent-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 2px;
}

.cookie-consent-btn {
	border: none;
	border-radius: 30px;
	padding: 9px 24px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	font-family: inherit;
	letter-spacing: 0.01em;
}

.cookie-consent-btn-accept {
	background: linear-gradient(135deg, #b969dd 0%, #9b3fc2 100%);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(185, 105, 221, 0.24);
}

.cookie-consent-btn-accept:hover {
	background: linear-gradient(135deg, #c77ee5 0%, #a84fd3 100%);
	transform: translateY(-1.5px);
	box-shadow: 0 6px 16px rgba(185, 105, 221, 0.36);
}

.cookie-consent-btn-accept:active {
	transform: translateY(0.5px);
	box-shadow: 0 2px 6px rgba(185, 105, 221, 0.16);
}

.cookie-consent-close {
	background: none;
	border: none;
	padding: 6px;
	color: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
	width: 28px;
	height: 28px;
}

.cookie-consent-close:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
}

.cookie-consent-close svg {
	width: 16px;
	height: 16px;
}

/* Mobile optimizations */
@media (max-width: 640px) {
	#cookie-consent-bar.cookie-consent-bar {
		bottom: 16px;
		left: 16px;
		right: 16px;
		width: auto;
		max-width: none;
		padding: 18px 20px;
		border-radius: 16px;
	}
	
	.cookie-consent-body {
		gap: 12px;
	}
	
	.cookie-consent-text {
		font-size: 13px;
		line-height: 1.45;
	}

	.cookie-consent-actions {
		justify-content: space-between;
		width: 100%;
	}

	.cookie-consent-btn-accept {
		flex: 1;
		text-align: center;
		padding: 10px 20px;
	}
}
