/* Cookie consent banner — Furry Latino v2 */

html.cookie-consent-locked {
	overflow: hidden !important;
	height: 100%;
}

html.cookie-consent-locked body {
	overflow: hidden !important;
}

.cookie-consent.cookie-consent--dismissed {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

.cookie-consent {
	position: fixed;
	inset: 0;
	z-index: 10000001;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0 0 max(1rem, env(safe-area-inset-bottom));
	pointer-events: auto;
	overflow: hidden;
	overscroll-behavior: none;
}

.cookie-consent__scrim {
	position: absolute;
	inset: 0;
	background: rgba(6, 6, 8, 0.72);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.cookie-consent__panel {
	position: relative;
	z-index: 1;
	width: min(36rem, calc(100% - 2rem));
	max-height: min(85vh, 32rem);
	overflow-y: auto;
	margin: 0 auto;
	padding: 1.35rem 1.35rem 1.15rem;
	border-radius: 14px 14px 0 0;
	background: linear-gradient(180deg, #1c1c20 0%, #121214 100%);
	color: #f2f2f7;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 0;
	box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}

.cookie-consent__title {
	margin: 0 0 0.75rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: #7c3aed;
}

.cookie-consent__body p {
	margin: 0 0 0.85rem;
	font-size: 0.9rem;
	line-height: 1.55;
	text-align: left;
}

.cookie-consent__note {
	font-size: 0.82rem !important;
	color: rgba(235, 235, 245, 0.62);
}

.cookie-consent__link {
	color: #7c3aed;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cookie-consent__link:hover {
	color: #8b5cf6;
}

.cookie-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: flex-end;
	margin-top: 0.5rem;
}

.cookie-consent__actions form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: flex-end;
	width: 100%;
	margin: 0;
}

.cookie-consent__btn {
	flex: 1 1 auto;
	min-width: min(100%, 10rem);
	padding: 0.72rem 1.1rem;
	border-radius: 8px;
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cookie-consent__btn--primary {
	background: #7c3aed;
	color: #1a1208;
	border-color: rgba(255, 255, 255, 0.12);
}

.cookie-consent__btn--primary:hover {
	background: #8b5cf6;
}

.cookie-consent__btn--secondary {
	background: rgba(255, 255, 255, 0.1) !important;
	color: #f5f5f7 !important;
	border: 1px solid rgba(255, 255, 255, 0.5) !important;
	box-shadow: none !important;
}

.cookie-consent__btn--secondary:hover {
	background: rgba(255, 255, 255, 0.18) !important;
	border-color: #fff !important;
}

.cookie-consent__btn--primary {
	box-shadow: none !important;
}

.cookie-consent__actions--busy .cookie-consent__btn,
.cookie-consent__actions--busy .cookie-consent__btn--primary,
.cookie-consent__actions--busy .cookie-consent__btn--secondary {
	background: rgba(255, 255, 255, 0.12) !important;
	color: rgba(235, 235, 245, 0.55) !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	box-shadow: none !important;
	opacity: 1;
	cursor: wait !important;
}

@media (max-width: 520px) {
	.cookie-consent__actions,
	.cookie-consent__actions form {
		flex-direction: column;
	}

	.cookie-consent__btn {
		width: 100%;
		min-width: 0;
	}
}
