/**
 * Cookie consent banner styles.
 *
 * @package WPCreative\Asfa\cookieconsent
 */

.wpc-cookie-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	width: 100%;
	background: #1a1a1a;
	color: #ffffff;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
}

.wpc-cookie-consent.wpc-is-hidden {
	display: none;
}

.wpc-cookie-consent__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 24px;
}

.wpc-cookie-consent__message {
	flex: 1 1 480px;
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
}

body .wpc-cookie-consent .wpc-cookie-consent__message a {
	color: #02C1D3;
	text-decoration: underline;
}

body .wpc-cookie-consent .wpc-cookie-consent__message a:hover,
body .wpc-cookie-consent .wpc-cookie-consent__message a:focus {
	color: #ffffff;
}

.wpc-cookie-consent__actions {
	display: flex;
	flex: 0 0 auto;
	gap: 12px;
}

body .wpc-cookie-consent .wpc-cookie-consent__btn {
	cursor: pointer;
	border: 2px solid transparent;
	border-radius: 4px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

body .wpc-cookie-consent .wpc-cookie-consent__btn--decline {
	background: transparent;
	border-color: #ffffff;
	color: #ffffff;
}

body .wpc-cookie-consent .wpc-cookie-consent__btn--decline:hover {
	background: rgba(255, 255, 255, 0.1);
}

body .wpc-cookie-consent .wpc-cookie-consent__btn--accept {
	background: #00c1d1;
	color: #ffffff;
}

body .wpc-cookie-consent .wpc-cookie-consent__btn--accept:hover {
	background: #0099a8;
}

body .wpc-cookie-consent .wpc-cookie-consent__btn:focus-visible {
	outline: 3px solid #8ecbff;
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.wpc-cookie-consent__inner {
		flex-direction: column;
		align-items: stretch;
		padding: 16px;
	}

	.wpc-cookie-consent__actions {
		justify-content: flex-end;
	}
}
