/* MT Push Notifications - Frontend Invitation v1.0.5 */

.mt-push-invitation {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	inset: 0 !important;
	z-index: 2147483646 !important;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	pointer-events: none;
}

.mt-push-invitation.is-visible {
	display: flex !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

.mt-push-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(2px);
}

.mt-push-card {
	position: relative;
	background: #ffffff;
	color: #1a1a1a;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.04);
	max-width: 440px;
	width: 100%;
	padding: 36px 32px 32px;
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	transform: translateY(12px) scale(0.98);
	transition: transform 0.3s ease;
	z-index: 1;
}

.mt-push-invitation.is-visible .mt-push-card {
	transform: translateY(0) scale(1);
}

.mt-push-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: transparent;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: #888;
	cursor: pointer;
	padding: 4px 10px;
	border-radius: 6px;
	transition: color 0.15s, background 0.15s;
}

.mt-push-close:hover {
	color: #333;
	background: rgba(0, 0, 0, 0.05);
}

.mt-push-icons {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-bottom: 22px;
}

.mt-push-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #1a1a1a;
}

.mt-push-bell {
	color: #2563eb;
}

.mt-push-envelope {
	color: #059669;
}

.mt-push-title {
	margin: 0 0 14px;
	font-size: 1.55rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
	color: #111;
}

.mt-push-description {
	margin: 0 0 28px;
	font-size: 1.15rem;
	line-height: 1.55;
	color: #444;
	font-weight: 400;
}

.mt-push-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mt-push-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 22px;
	font-size: 1.08rem;
	font-weight: 600;
	border-radius: 12px;
	border: none;
	cursor: pointer;
	transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
	min-height: 52px;
}

.mt-push-btn:active {
	transform: scale(0.98);
}

.mt-push-btn-primary {
	background: #111;
	color: #fff;
}

.mt-push-btn-primary:hover {
	background: #333;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mt-push-btn-secondary {
	background: transparent;
	color: #555;
	border: 1px solid #ccc;
	font-size: 1.02rem;
}

.mt-push-btn-secondary:hover {
	background: #f5f5f5;
	color: #222;
}

@media (prefers-color-scheme: dark) {
	.mt-push-card {
		background: #1c1c1e;
		color: #f5f5f7;
		box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
	}
	.mt-push-title {
		color: #f5f5f7;
	}
	.mt-push-description {
		color: #c7c7cc;
	}
	.mt-push-btn-primary {
		background: #f5f5f7;
		color: #111;
	}
	.mt-push-btn-primary:hover {
		background: #e5e5e7;
	}
	.mt-push-btn-secondary {
		border-color: #3a3a3c;
		color: #a1a1a6;
	}
	.mt-push-btn-secondary:hover {
		background: #2c2c2e;
		color: #f5f5f7;
	}
	.mt-push-close {
		color: #8e8e93;
	}
	.mt-push-close:hover {
		color: #f5f5f7;
		background: rgba(255, 255, 255, 0.08);
	}
}

@media (max-width: 480px) {
	.mt-push-card {
		padding: 30px 22px 24px;
		max-width: 100%;
		border-radius: 16px;
	}
	.mt-push-title {
		font-size: 1.45rem;
		line-height: 1.25;
		margin-bottom: 12px;
	}
	.mt-push-description {
		font-size: 1.2rem;
		line-height: 1.5;
		margin-bottom: 26px;
	}
	.mt-push-btn {
		font-size: 1.12rem;
		padding: 16px 20px;
		min-height: 54px;
	}
	.mt-push-btn-secondary {
		font-size: 1.08rem;
	}
	.mt-push-icons {
		gap: 14px;
		margin-bottom: 18px;
	}
	.mt-push-icon svg {
		width: 44px;
		height: 44px;
	}
	.mt-push-close {
		font-size: 30px;
	}
}

.mt-push-btn.is-loading {
	opacity: 0.7;
	pointer-events: none;
}
