:root {
	--sebarg-cookie-bg: #FBF9F4;
	--sebarg-cookie-ivory: #F4EFE6;
	--sebarg-cookie-deep: #173326;
	--sebarg-cookie-sage: #5F7F63;
	--sebarg-cookie-text: #262826;
	--sebarg-cookie-muted: #70756D;
	--sebarg-cookie-border: #D9D1C0;
}

.sebarg-cookie-notice {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	box-sizing: border-box;
	width: auto;
	max-width: 420px;
	padding: 12px 14px;
	direction: rtl;
	font-family: Estedad, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
	font-size: 13px;
	line-height: 1.8;
	color: var(--sebarg-cookie-text);
	background: var(--sebarg-cookie-bg);
	border: 1px solid var(--sebarg-cookie-border);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(23, 51, 38, 0.10);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 200ms ease, transform 200ms ease;
}

.sebarg-cookie-notice[hidden] {
	display: none;
}

.sebarg-cookie-notice.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.sebarg-cookie-notice__text {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.8;
	color: var(--sebarg-cookie-text);
}

.sebarg-cookie-notice__actions {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.sebarg-cookie-notice__link {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--sebarg-cookie-sage);
	text-decoration: none;
	white-space: nowrap;
}

.sebarg-cookie-notice__link:hover,
.sebarg-cookie-notice__link:focus {
	color: var(--sebarg-cookie-deep);
	text-decoration: underline;
}

.sebarg-cookie-notice__button {
	min-height: 32px;
	padding: 6px 12px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	color: #FFFFFF;
	background: var(--sebarg-cookie-deep);
	border: 1px solid var(--sebarg-cookie-deep);
	border-radius: 8px;
	cursor: pointer;
	white-space: nowrap;
}

.sebarg-cookie-notice__button:hover,
.sebarg-cookie-notice__button:focus {
	background: #0f241b;
	border-color: #0f241b;
}

.sebarg-cookie-notice__button:focus-visible,
.sebarg-cookie-notice__link:focus-visible {
	outline: 2px solid var(--sebarg-cookie-sage);
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.sebarg-cookie-notice {
		right: 12px;
		bottom: 12px;
		left: 12px;
		width: calc(100% - 24px);
		max-width: none;
		align-items: flex-start;
		padding: 11px 12px;
		gap: 10px;
	}

	.sebarg-cookie-notice__actions {
		gap: 8px;
	}
}

@media (max-width: 380px) {
	.sebarg-cookie-notice {
		flex-direction: column;
	}

	.sebarg-cookie-notice__actions {
		width: 100%;
		justify-content: space-between;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sebarg-cookie-notice {
		transition: none;
	}
}
