/* =========================================================
	TALENTHUB COOKIE CONSENT
========================================================= */

.th-cookie-consent-backdrop{
	position:fixed;
	inset:0;
	z-index:1050;
	display:flex;
	align-items:flex-end;
	justify-content:center;
	padding:24px;
	background:rgba(15,23,42,.30);
	backdrop-filter:blur(8px);
	-webkit-backdrop-filter:blur(8px);
	opacity:0;
	pointer-events:none;
	transition:opacity .22s ease;
}

.th-cookie-consent-backdrop.is-open{
	opacity:1;
	pointer-events:auto;
}

.th-cookie-consent-sheet{
	position:relative;
	overflow:hidden;
	width:min(760px, 100%);
	border:1px solid rgba(34,197,94,.20);
	border-radius:24px;
	padding:22px;
	background:
		radial-gradient(circle at top left, rgba(34,197,94,.16), transparent 34%),
		radial-gradient(circle at bottom right, rgba(0,212,255,.13), transparent 38%),
		#ffffff;
	box-shadow:0 26px 80px rgba(15,23,42,.24);
	transform:translateY(28px);
	transition:transform .24s ease;
}

.th-cookie-consent-backdrop.is-open .th-cookie-consent-sheet{
	transform:translateY(0);
}

.th-cookie-consent-sheet::before{
	content:"";
	position:absolute;
	inset:0 auto 0 0;
	width:5px;
	background:var(--th-gradient-line);
}

.th-cookie-consent-content{
	position:relative;
	display:grid;
	grid-template-columns:auto minmax(0, 1fr) auto;
	align-items:center;
	gap:16px;
	z-index:1;
}

.th-cookie-consent-icon{
	display:flex;
	align-items:center;
	justify-content:center;
	width:48px;
	height:48px;
	border-radius:16px;
	background:var(--th-badge-bg);
	color:var(--th-badge-text);
	font-size:1.25rem;
	box-shadow:0 12px 28px rgba(34,197,94,.14);
}

.th-cookie-consent-copy{
	min-width:0;
}

.th-cookie-consent-copy strong{
	display:block;
	margin-bottom:4px;
	color:var(--th-color-text-main);
	font-size:1.02rem;
	font-weight:950;
	line-height:1.2;
}

.th-cookie-consent-copy p{
	margin:0;
	color:var(--th-color-text-soft);
	font-size:.88rem;
	font-weight:700;
	line-height:1.45;
}

.th-cookie-consent-actions{
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:10px;
}

.th-cookie-consent-actions .th-btn{
	min-height:42px;
	padding:10px 16px;
	border-radius:14px;
	white-space:nowrap;
}

html[data-theme="dark"] .th-cookie-consent-backdrop{
	background:rgba(2,6,23,.46);
}

html[data-theme="dark"] .th-cookie-consent-sheet{
	background:
		radial-gradient(circle at top left, rgba(132,255,56,.12), transparent 34%),
		radial-gradient(circle at bottom right, rgba(0,212,255,.10), transparent 38%),
		#07111f;
	border-color:rgba(132,255,56,.20);
	box-shadow:0 28px 90px rgba(0,0,0,.54);
}

html[data-theme="dark"] .th-cookie-consent-copy strong{
	color:#ffffff;
}

html[data-theme="dark"] .th-cookie-consent-copy p{
	color:rgba(255,255,255,.68);
}

@media(max-width:640px){
	.th-cookie-consent-backdrop{
		padding:14px;
	}

	.th-cookie-consent-sheet{
		padding:18px;
		border-radius:20px;
	}

	.th-cookie-consent-content{
		grid-template-columns:auto minmax(0, 1fr);
		align-items:flex-start;
	}

	.th-cookie-consent-actions{
		grid-column:1 / -1;
		width:100%;
	}

	.th-cookie-consent-actions .th-btn{
		flex:1;
	}
}
