/*
 * Cookie Consent Banner — ported từ fpt-2025-fptvn-web
 *   source: public/assets/css/fptvn-ckor.css + frontend_layout_2025/.../fptvn-ccp-manage-v1.0.scss
 * Class names + cookie name (`fptvn_ccp`, `fptvn_ccp_analytics`) giữ nguyên
 * theo source để không vỡ markup port.
 */

.fptvn-ckor {
	position: fixed;
	width: 100vw;
	height: auto;
	left: 0;
	bottom: -150px;
	right: 0;
	z-index: 999999999;
	visibility: hidden;
	opacity: 0;
	display: flex;
	color: #363a3f;
	background-color: rgba(33, 40, 51, 0.9);
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
	transition: all ease 0.4s;
}
.fptvn-ckor.shown {
	bottom: 0;
	visibility: visible;
	opacity: 1;
	transition: all ease 0.4s;
}

.fptvn-ckor-title { display: none; }

.fptvn-ckor--modal {
	z-index: 9998;
	padding: 24px;
	box-shadow: 0 6px 10px 0 rgba(60, 64, 70, 0.9);
	background-color: #fff;
	border-radius: 0;
	text-align: left;
	position: absolute;
	right: 0;
	bottom: 0;
	opacity: 1;
	max-height: 100dvh;
	max-width: 100dvw;
	width: 100%;
}

.fptvn-ckor--container {
	display: flex;
	gap: 60px;
	max-width: 1440px;
	margin: auto;
	padding: 0;
}

.fptvn-ckor--btnlist {
	display: flex;
	align-items: center;
}

.fptvn-ckor--content {
	color: var(--Icon-Text-Secondary, #888);
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

.fptvn-ckor-p {
	color: var(--Icon-Text-Primary, #888);
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	text-indent: -2px;
	letter-spacing: 0.4px;
	margin: 0;
}
.fptvn-ckor-p a {
	color: var(--Icon-Text-Primary, #3d3d3d);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	text-decoration: underline;
	letter-spacing: 0;
}

.fptvn-ckor-wrap {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 16px;
}

/* ─── Buttons ─── */
.fptvn-ccp-btn {
	display: flex;
	padding: 14px 24px 12px;
	justify-content: center;
	align-items: center;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 22px;
	border-radius: 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: all ease 0.3s;
	cursor: pointer;
	margin: 0;
}

.fptvn-ccp-btn--outline {
	width: 148px;
	color: var(--iw-accent, #4564ed);
	background-color: #fff;
	border: 1px solid #fff;
}
.fptvn-ccp-btn--outline:hover {
	text-decoration: underline;
	transition: all ease 0.3s;
}

.fptvn-ccp-btn--full {
	width: 156px;
	color: var(--iw-cta-fg, #fff);
	background-color: var(--iw-cta-bg, #4564ed);
	border: 1px solid var(--iw-cta-bg, #4564ed);
}
.fptvn-ccp-btn--full:hover {
	background-color: #fff;
	color: var(--iw-accent, #4564ed);
	transition: all ease 0.3s;
}

.fptvn-ccp-btn--upper { text-transform: uppercase; }

/* ─── Responsive ─── */
@media screen and (max-width: 768px) {
	.fptvn-ckor-wrap {
		gap: 10px;
		flex-direction: column;
	}
}

@media screen and (max-width: 540px) {
	.fptvn-ckor--container {
		flex-direction: column;
		gap: 15px;
	}
	.fptvn-ckor--btnlist { justify-content: center; }
	.fptvn-ckor-wrap {
		gap: 16px;
		flex-direction: row;
		justify-content: space-between;
	}
	.fptvn-ckor-p {
		font-size: 12px;
		letter-spacing: 0;
	}
	.fptvn-ckor-p a { font-size: 13px; }
	.fptvn-ccp-btn { padding: 10px 15px 8px; }
}
