/* استایل‌های مرکز اطلاع‌رسانی */
.notifications-panel {
	position: fixed;
	top: 0;
	left: -580px;
	width: 400px;
	max-width: 100%;
	height: 100vh;
	background-color: #fff;
	z-index: 9999;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
	transition: left 0.3s ease;
	overflow-y: auto;
	padding: 20px;
	direction: rtl;
}

.notifications-panel.active {
	left: 0;
}

.notifications-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	display: none;
}

.notifications-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.notifications-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: bold;
}

.close-notifications {
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	color: #333;
}

.notification-item {
	padding: 15px;
	margin-bottom: 15px;
	border-radius: 5px;
	border-right: 4px solid #3a9efd;
	background-color: #f8f9fa;
	transition: all 0.2s ease;
}

.notification-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.notification-item.info {
	border-right-color: #3a9efd;
}

.notification-item.success {
	border-right-color: #28a745;
}

.notification-item.warning {
	border-right-color: #ffc107;
}

.notification-item.error {
	border-right-color: #dc3545;
}

.notification-header {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
}

.notification-title {
	font-weight: bold;
	font-size: 16px;
	color: #333;
}

.notification-date {
	font-size: 12px;
	color: #777;
}

.notification-content {
	font-size: 14px;
	line-height: 1.6;
	color: #555;
}

.notification-content p {
	margin-bottom: 10px;
}

.notification-content p:last-child {
	margin-bottom: 0;
}

.notification-badge {
	position: absolute;
	top: -5px;
	right: -5px;
	width: 18px;
	height: 18px;
	background-color: #ff6b6b;
	color: white;
	border-radius: 50%;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
}

.notif-btn-wrapper {
	position: relative;
	display: inline-block;
}

/* اضافه کردن حالت اشاره‌گر برای آیکون اطلاعیه‌ها */
.notif-btn {
	cursor: pointer;
}

.no-notifications {
	text-align: center;
	padding: 30px 0;
	color: #777;
}

.no-notifications i {
	font-size: 40px;
	margin-bottom: 10px;
	color: #ddd;
}

/* انیمیشن‌ها */
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.fadeIn {
	animation: fadeIn 0.3s ease;
}

@keyframes slideInLeft {
	from {
		left: -400px;
	}
	to {
		left: 0;
	}
}

.slideInLeft {
	animation: slideInLeft 0.3s ease;
}

/* ریسپانسیو */
@media (max-width: 576px) {
	.notifications-panel {
		width: 100%;
	}
}

@media (max-width: 991px) {
	.myacc-sidebar {
		position: static;
	}

	.my-courses-list {
		padding: 0px;
	}

	.downloads-page-header {
		padding-right: 0px;
	}

	.orders-page-header h2 {
		margin-top: 45px;
	}

	#main > div > div > div.woocommerce-Account-content.col-lg-10 > div.downloads-page-header > h2 {
		margin-top: 45px;
	}

	.order-container {
		padding-right: 0px !important;
	}

	.order-details-main-con {
		padding-right: 0px !important;
	}
	.order-details-header {
		margin-top: 35px;
	}

	.std-info {
		flex-direction: column;
	}

	.nikolweb-downloads-section {
		padding-right: 0px !important;
	}
	.edit-account-page-header {
		padding: 15px !important;
		margin-top: 35px;
	}

	#main
		> div
		> div
		> div.woocommerce-Account-content.col-lg-10
		> div.container-fluid
		> div
		> div
		> div:nth-child(3)
		> div.col-md-6.d-flex.flex-column
		> div
		> div:nth-child(1) {
		margin-bottom: 15px;
	}
}
