/**
 * Invitation à s'abonner et bouton de bascule.
 */

.inn-push-prompt {
	position: fixed;
	z-index: 99999;
	right: 16px;
	bottom: 16px;
	left: 16px;
	max-width: 380px;
	margin-left: auto;
	padding: 18px 20px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
	color: #16181d;
	font-size: 15px;
	line-height: 1.45;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.inn-push-prompt.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.inn-push-prompt__title {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 700;
}

.inn-push-prompt__message {
	margin: 0 0 14px;
	color: #4a4f57;
}

.inn-push-prompt__actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

.inn-push-prompt__accept,
.inn-push-prompt__deny,
.inn-push-button {
	padding: 9px 16px;
	border: 0;
	border-radius: 8px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.inn-push-prompt__accept,
.inn-push-button {
	background: #0b5fff;
	color: #fff;
}

.inn-push-prompt__accept:hover,
.inn-push-button:hover {
	background: #094ccc;
}

.inn-push-prompt__deny {
	background: transparent;
	color: #6b7280;
}

.inn-push-prompt__deny:hover {
	color: #16181d;
}

.inn-push-button[data-inn-state='on'] {
	background: #eef1f6;
	color: #16181d;
}

.inn-push-button[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}

@media (prefers-color-scheme: dark) {
	.inn-push-prompt {
		border-color: rgba(255, 255, 255, 0.12);
		background: #1b1e24;
		color: #f2f4f7;
	}

	.inn-push-prompt__message {
		color: #b6bcc7;
	}

	.inn-push-button[data-inn-state='on'] {
		background: #2a2f38;
		color: #f2f4f7;
	}
}
