/**
 * ABL Cookie Consent Styles
 * Modern, clean styling for the cookie consent banner
 */

.abl-cookie-consent-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 9999;
	padding: 0;
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.abl-cookie-consent-content {
	background-color: #ffffff;
	border-radius: 12px 12px 0 0;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
	max-width: 480px;
	margin: 0 auto;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.abl-cookie-consent-text {
	flex: 1;
}

.abl-cookie-consent-title {
	margin: 0 0 12px 0;
	font-size: 18px;
	font-weight: 600;
	color: #1a1a1a;
	line-height: 1.4;
}

.abl-cookie-consent-message {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #4a4a4a;
}

.abl-cookie-consent-message a {
	color: #9a2377;
	text-decoration: underline;
	transition: opacity 0.2s ease;
}

.abl-cookie-consent-message a:hover {
	opacity: 0.8;
	text-decoration: none;
}

.abl-cookie-consent-message a:focus {
	outline: 2px solid #9a2377;
	outline-offset: 2px;
	border-radius: 2px;
}

.abl-cookie-consent-buttons {
	display: flex;
	gap: 12px;
	flex-direction: column;
}

.abl-cookie-consent-btn {
	padding: 12px 24px;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: inherit;
	line-height: 1.4;
	text-align: center;
}

.abl-cookie-consent-btn:focus {
	outline: 2px solid #9a2377;
	outline-offset: 2px;
}

.abl-cookie-consent-btn-primary {
	background-color: #9a2377;
	color: #ffffff;
	order: 2;
}

.abl-cookie-consent-btn-primary:hover {
	background-color: #7a1c5f;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(154, 35, 119, 0.3);
}

.abl-cookie-consent-btn-primary:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(154, 35, 119, 0.2);
}

.abl-cookie-consent-btn-secondary {
	background-color: #f5f5f5;
	color: #4a4a4a;
	order: 1;
}

.abl-cookie-consent-btn-secondary:hover {
	background-color: #e8e8e8;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.abl-cookie-consent-btn-secondary:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Responsive design for larger screens */
@media (min-width: 480px) {
	.abl-cookie-consent-content {
		border-radius: 12px;
		margin: 20px auto;
		max-width: calc(100% - 40px);
	}

	.abl-cookie-consent-buttons {
		flex-direction: row;
		justify-content: flex-end;
	}

	.abl-cookie-consent-btn-primary {
		order: 2;
		flex: 0 0 auto;
		min-width: 120px;
	}

	.abl-cookie-consent-btn-secondary {
		order: 1;
		flex: 0 0 auto;
		min-width: 120px;
	}
}

/* Ensure banner doesn't interfere with page content on small screens */
@media (max-width: 479px) {
	.abl-cookie-consent-banner {
		padding: 0;
	}

	.abl-cookie-consent-content {
		border-radius: 0;
		margin: 0;
		max-width: 100%;
	}
}

/* Accessibility: Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	.abl-cookie-consent-btn,
	.abl-cookie-consent-message a {
		transition: none;
	}

	.abl-cookie-consent-btn-primary:hover,
	.abl-cookie-consent-btn-secondary:hover {
		transform: none;
	}
}

