/* Sendino web push: first-step banner. Colour comes from --sdn-push-color (set from the plugin settings). */

.sdn-push {
	--sdn-push-color: #6d28d9;
	position: fixed;
	z-index: 99991;
	box-sizing: border-box;
	width: 360px;
	max-width: calc(100vw - 24px);
	padding: 18px 18px 16px;
	border-radius: 14px;
	background: #fff;
	color: #1f2937;
	box-shadow: 0 10px 40px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.06);
	font: 400 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	animation: sdn-push-in 0.25s ease-out;
}

.sdn-push--bottom-right {
	right: 16px;
	bottom: 16px;
}

.sdn-push--bottom-left {
	left: 16px;
	bottom: 16px;
}

.sdn-push--center-right {
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
}

.sdn-push--center-left {
	top: 50%;
	left: 16px;
	transform: translateY(-50%);
}

.sdn-push--top-right {
	top: 16px;
	right: 16px;
}

.sdn-push--top-left {
	top: 16px;
	left: 16px;
}

.sdn-push__title {
	display: block;
	margin: 0 0 6px;
	font-size: 16px;
	line-height: 1.3;
	color: #111827;
}

.sdn-push__text {
	margin: 0 0 14px;
	color: #4b5563;
}

.sdn-push__row {
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}

.sdn-push__btn {
	padding: 9px 16px;
	border: 1px solid transparent;
	border-radius: 8px;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.sdn-push__btn--yes {
	background: var(--sdn-push-color);
	color: #fff;
}

.sdn-push__btn--yes:hover {
	filter: brightness(0.92);
}

.sdn-push__btn--no {
	background: transparent;
	color: #4b5563;
	border-color: #d1d5db;
}

.sdn-push__btn--no:hover {
	background: #f3f4f6;
}

.sdn-push__btn:focus-visible {
	outline: 2px solid var(--sdn-push-color);
	outline-offset: 2px;
}

@keyframes sdn-push-in {
	from {
		opacity: 0;
		margin-top: 8px;
	}
	to {
		opacity: 1;
		margin-top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sdn-push {
		animation: none;
	}
}
