/**
 * MLM Push Notification Frontend Styles
 * 
 * استایل‌های فرانت‌اند پوش نوتیفیکیشن
 */

/* Subscription Popup */
.mlm-push-popup {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease-in-out;
}

.mlm-push-popup-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(5px);
}

.mlm-push-popup-content {
	position: relative;
	background: #1a1a1a;
	color: #ffffff;
	border-radius: 16px;
	padding: 40px;
	max-width: 500px;
	width: 90%;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	animation: slideUp 0.4s ease-out;
	text-align: center;
}

.mlm-push-popup-close {
	position: absolute;
	top: 15px;
	left: 15px;
	background: transparent;
	border: none;
	color: #ffffff;
	cursor: pointer;
	font-size: 24px;
	width: 35px;
	height: 35px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.3s;
}

.mlm-push-popup-close:hover {
	background: rgba(255, 255, 255, 0.1);
}

.mlm-push-popup-header {
	margin-bottom: 30px;
}

.mlm-push-bell-icon {
	margin: 0 auto 20px;
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 50%;
	animation: bellRing 2s ease-in-out infinite;
}

.mlm-push-bell-icon svg {
	width: 40px;
	height: 40px;
	color: #ffffff;
}

@keyframes bellRing {
	0%, 100% {
		transform: rotate(0deg);
	}
	10%, 30%, 50%, 70%, 90% {
		transform: rotate(-10deg);
	}
	20%, 40%, 60%, 80% {
		transform: rotate(10deg);
	}
}

.mlm-push-popup-logo {
	max-width: 120px;
	max-height: 60px;
	margin: 0 auto 15px;
	display: block;
}

.mlm-push-popup-body h3 {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 15px;
	color: #ffffff;
}

.mlm-push-popup-body p {
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 20px;
	color: #cccccc;
}

.mlm-push-popup-features {
	list-style: none;
	padding: 0;
	margin: 20px 0;
	text-align: right;
	direction: rtl;
}

.mlm-push-popup-features li {
	padding: 10px 0;
	font-size: 15px;
	color: #e0e0e0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mlm-push-popup-features li:last-child {
	border-bottom: none;
}

.mlm-push-popup-footer {
	margin-top: 30px;
	display: flex;
	gap: 15px;
	flex-direction: column;
}

.mlm-push-subscribe-btn {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	border: none;
	padding: 15px 30px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
	width: 100%;
}

.mlm-push-subscribe-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.mlm-push-subscribe-btn:active {
	transform: translateY(0);
}

.mlm-push-subscribe-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.mlm-push-dismiss-btn {
	background: transparent;
	color: #999999;
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 12px 30px;
	border-radius: 8px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s;
	width: 100%;
}

.mlm-push-dismiss-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		transform: translateY(50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Responsive */
@media (max-width: 600px) {
	.mlm-push-popup-content {
		padding: 30px 20px;
	}
	
	.mlm-push-popup-body h3 {
		font-size: 20px;
	}
	
	.mlm-push-bell-icon {
		width: 60px;
		height: 60px;
	}
	
	.mlm-push-bell-icon svg {
		width: 30px;
		height: 30px;
	}
}

