/* Banner xin đồng ý cookie. Màu và bo góc theo thiết kế mới (architecture.md,
   mục "Thiết kế mới"), viết thẳng ở đây chứ không dùng token của theme, để
   banner không phụ thuộc giao diện đang bật. Chỉ được nạp khi GA đang bật. */

.c2s-consent {
	position: fixed;
	z-index: 1000;
	left: 16px;
	right: 16px;
	bottom: 16px;
	max-width: 440px;
	box-sizing: border-box;
	padding: 20px;
	border-radius: 20px;
	background: #161616;
	color: #FFFFFF;
	box-shadow: 0 18px 40px rgba(22, 22, 22, 0.28);
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-size: 15px;
	line-height: 1.55;
}

/* display: flex ở trên đè lên thuộc tính hidden mặc định của trình duyệt. */
.c2s-consent[hidden] {
	display: none;
}

.c2s-consent__text {
	margin: 0;
}

.c2s-consent__text a {
	color: #FFD84D;
}

.c2s-consent__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.c2s-consent__button {
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid #4A4A4A;
	border-radius: 999px;
	background: transparent;
	color: #FFFFFF;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.c2s-consent__button:hover,
.c2s-consent__button:focus-visible {
	border-color: #FFFFFF;
}

.c2s-consent__button--primary {
	border-color: #3B5BDB;
	background: #3B5BDB;
	color: #FFFFFF;
}

.c2s-consent__button--primary:hover,
.c2s-consent__button--primary:focus-visible {
	border-color: #FFFFFF;
	background: #FFFFFF;
	color: #161616;
}

.c2s-consent-open {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
	.c2s-consent__button {
		transition: none;
	}
}
