HEX
Server: LiteSpeed
System: Linux oxygen.shetabanhost.com 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: rasapedi (1695)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home/rasapedi/public_html/wp-content/plugins/elementor-pro/abzarwp/license/Assets/abzarwp-news.css
/**
 * AbzarWP News Widget Styles
 *
 * @package AbzarWP\License
 */

/* ─── Font ──────────────────────────────────────── */
@font-face {
	font-family: "Vazir";
	src: url("https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Vazir";
	src: url("https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ─── Widget wrapper ────────────────────────────── */
#abzarwp_news_widget h2.hndle {
	font-family: "Vazir", Tahoma, Arial, sans-serif !important;
	font-weight: 700 !important;
	font-size: 15px !important;
}

.abzarwp-news-widget {
	direction: rtl;
	text-align: right;
	font-family: "Vazir", Tahoma, Arial, sans-serif;
	background: #f0f0f1;
	padding: 8px;
	margin: -12px;
	border-radius: 4px;
}

/* ─── Tabs ──────────────────────────────────────── */
.abzarwp-tabs-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 8px;
}

.abzarwp-tabs {
	display: flex;
	gap: 5px;
	margin: 0;
	padding: 0;
	flex: 1;
}

.abzarwp-tab-button {
	background: #fff;
	border: 1px solid #dcdcde;
	padding: 8px 14px;
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
	color: #2c3338;
	border-radius: 4px;
	transition: all 0.2s;
}

.abzarwp-tab-button:hover {
	background: #fef5f5;
	border-color: #e74c3c;
	color: #e74c3c;
}

.abzarwp-tab-button.active {
	background: #e74c3c;
	color: #fff;
	border-color: #e74c3c;
}

.abzarwp-tab-content {
	display: none;
}

.abzarwp-tab-content.active {
	display: block;
}

/* ─── Sync button ───────────────────────────────── */
.abzarwp-sync-icon-button {
	background: #fff;
	border: 1px solid #dcdcde;
	padding: 8px;
	cursor: pointer;
	border-radius: 4px;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #646970;
	flex-shrink: 0;
}

.abzarwp-sync-icon-button:hover {
	background: #fef5f5;
	border-color: #e74c3c;
	color: #e74c3c;
	transform: rotate(180deg);
}

.abzarwp-sync-icon-button.spinning {
	pointer-events: none;
	opacity: 0.6;
}

.abzarwp-sync-icon-button.spinning .dashicons {
	animation: abzarwp-spin 1s linear infinite;
}

.abzarwp-sync-icon-button .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

@keyframes abzarwp-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* ─── Notification list ─────────────────────────── */
.abzarwp-notifications-list {
	max-height: 280px;
	overflow-y: auto;
	padding: 0 3px 0 0;
}

.abzarwp-notifications-list::-webkit-scrollbar {
	width: 6px;
}

.abzarwp-notifications-list::-webkit-scrollbar-track {
	background: #f0f0f1;
	border-radius: 3px;
}

.abzarwp-notifications-list::-webkit-scrollbar-thumb {
	background: #8c8f94;
	border-radius: 3px;
}

.abzarwp-notifications-list::-webkit-scrollbar-thumb:hover {
	background: #646970;
}

/* ─── Notification card ─────────────────────────── */
.abzarwp-notification-item {
	width: 93%;
	background: #fff;
	border-radius: 4px;
	padding: 10px;
	margin-bottom: 6px;
	transition: all 0.2s;
	position: relative;
	overflow: visible;
	border: 1px solid #dcdcde;
}

.abzarwp-notification-item:hover {
	border-color: #e74c3c;
	background: #fef5f5;
}

.abzarwp-notification-item.is-pinned {
	background: #fff6f6;
	border-color: #c9a40a;
}

/* ─── Card header ───────────────────────────────── */
.abzarwp-notification-header {
	margin-bottom: 6px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.abzarwp-notification-title {
	font-size: 14px;
	font-weight: 800 !important;
	margin: 0;
	line-height: 1.4;
	color: #1d2327;
	font-family: "Vazir", Tahoma, Arial, sans-serif !important;
	flex: 1;
	min-width: 0;
}

.abzarwp-notification-title a {
	color: #e74c3c;
	text-decoration: none;
	transition: color 0.2s;
	font-family: "Vazir", Tahoma, Arial, sans-serif !important;
	font-weight: 800 !important;
}

.abzarwp-notification-title a:hover {
	color: #c0392b;
}

/* ─── Meta & badges ─────────────────────────────── */
.abzarwp-notification-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	flex-shrink: 0;
}

.abzarwp-notification-badges {
	display: flex;
	gap: 4px;
	align-items: center;
	flex-wrap: wrap;
}

.abzarwp-urgent-badge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	background: #e74c3c;
	color: #fff;
	padding: 2px 7px;
	border-radius: 3px;
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
}

.abzarwp-pinned-badge {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	background: #dba617;
	color: #fff;
	padding: 2px 7px;
	border-radius: 3px;
	font-size: 9px;
	font-weight: 700;
}

.abzarwp-label {
	display: inline-block;
	color: #fff;
	padding: 2px 7px;
	border-radius: 3px;
	font-size: 9px;
	font-weight: 600;
}

.abzarwp-notification-date {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: #646970;
	font-size: 10px;
	font-weight: 600;
	background: #f6f7f7;
	padding: 2px 7px;
	border-radius: 3px;
	border: 1px solid #dcdcde;
}

.abzarwp-notification-date .dashicons {
	font-size: 12px;
	width: 12px;
	height: 12px;
	vertical-align: middle;
	margin-left: 2px;
	color: #646970;
}

/* ─── Content grid (media + text) ───────────────── */
.abzarwp-notification-content-grid {
	display: grid;
	grid-template-columns: 30% 1fr;
	gap: 10px;
	align-items: start;
	margin-top: 6px;
}

.abzarwp-notification-media {
	width: 100%;
	height: auto;
	min-height: 90px;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid #dcdcde;
	background: #f6f7f7;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 5px;
}

.abzarwp-notification-media img,
.abzarwp-notification-media video {
	width: 100%;
	height: auto;
	max-height: 120px;
	object-fit: contain;
}

.abzarwp-notification-text-column {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
	padding-right: 10px;
	padding-left: 10px;
}

/* ─── Text content ──────────────────────────────── */
.abzarwp-notification-text {
	color: #3c434a;
	font-size: 12px;
	line-height: 1.5;
	margin: 0;
}

.abzarwp-notification-text p {
	margin: 0 0 4px;
}

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

/* ─── Read more ─────────────────────────────────── */
.abzarwp-read-more {
	color: #e74c3c;
	text-decoration: none;
	font-weight: 700;
	font-size: 11px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 5px;
	padding: 4px 8px;
	background: #f0f0f1;
	border-radius: 3px;
	transition: all 0.2s;
	border: 1px solid #dcdcde;
}

.abzarwp-read-more:hover {
	background: #e74c3c;
	color: #fff;
	gap: 7px;
}

.abzarwp-read-more::after {
	content: "◄";
	font-size: 10px;
}

/* ─── Action button ─────────────────────────────── */
.abzarwp-notification-actions {
	margin-top: 6px;
	display: flex;
	gap: 5px;
	align-items: center;
}

.abzarwp-action-button {
	text-decoration: none !important;
	background: #767170 !important;
	border: none !important;
	padding: 6px 12px !important;
	font-size: 11px !important;
	border-radius: 3px !important;
	color: #fff !important;
	font-weight: 700 !important;
	white-space: nowrap !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	transition: all 0.2s !important;
}

.abzarwp-action-button:hover {
	background: #c0392b !important;
}

/* ─── Close button ──────────────────────────────── */
.abzarwp-close-notification {
	position: absolute;
	bottom: 5px;
	left: 8px;
	background: #f0f0f1;
	border: 1px solid #dcdcde;
	color: #646970;
	cursor: pointer;
	padding: 4px;
	border-radius: 50%;
	width: 22px;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	opacity: 0.6;
	z-index: 10;
}

.abzarwp-notification-item:hover .abzarwp-close-notification {
	opacity: 1;
}

.abzarwp-close-notification:hover {
	background: #e74c3c;
	color: #fff;
	border-color: #e74c3c;
	transform: rotate(90deg);
}

.abzarwp-close-notification .dashicons {
	font-size: 11px;
	width: 11px;
	height: 11px;
}

/* ─── Archived items ────────────────────────────── */
.abzarwp-archived-item .abzarwp-close-notification {
	display: none;
}

.abzarwp-archive-list {
	max-height: none;
}

.abzarwp-archived-item {
	opacity: 0.95;
}

.abzarwp-archived-item:hover {
	opacity: 1;
}

.abzarwp-archived-item h4 a {
	color: #e74c3c;
	text-decoration: none;
}

.abzarwp-archived-item h4 a:hover {
	color: #c0392b;
}

.abzarwp-archived-item .abzarwp-notification-date {
	font-size: 10px;
	color: #646970;
	padding: 2px 6px;
	background: #f6f7f7;
	border-radius: 3px;
	border: 1px solid #dcdcde;
}

.abzarwp-archived-item .abzarwp-label {
	margin-right: 6px;
}

/* ─── Label filter ──────────────────────────────── */
.abzarwp-filter-labels {
	margin-bottom: 8px;
	padding: 8px;
	background: #fff;
	border-radius: 4px;
	border: 1px solid #dcdcde;
	display: flex;
	align-items: center;
	gap: 8px;
}

.abzarwp-filter-labels label {
	font-weight: 700;
	margin: 0;
	font-size: 11px;
	color: #1d2327;
}

.abzarwp-filter-labels select {
	flex: 1;
	max-width: 200px;
	padding: 5px 8px;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	font-size: 11px;
	background: #fff;
	color: #2c3338;
	font-weight: 600;
	transition: all 0.2s;
}

.abzarwp-filter-labels select:focus {
	border-color: #e74c3c;
	outline: none;
}

/* ─── Message form ──────────────────────────────── */
.abzarwp-message-form {
	padding: 10px;
	background: #fff;
	border-radius: 4px;
	border: 1px solid #dcdcde;
}

.abzarwp-form-row {
	display: flex;
	gap: 10px;
	margin-bottom: 8px;
}

.abzarwp-form-half {
	flex: 1;
	min-width: 0;
}

.abzarwp-form-group {
	margin-bottom: 8px;
}

.abzarwp-form-group label {
	display: block;
	font-weight: 700;
	margin-bottom: 4px;
	font-size: 11px;
	color: #1d2327;
}

.abzarwp-form-group .required {
	color: #d63638;
}

.abzarwp-form-group textarea,
.abzarwp-form-group input {
	width: 100%;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	padding: 6px 8px;
	font-size: 12px;
	transition: all 0.2s;
	background: #fff;
}

.abzarwp-form-group textarea:focus,
.abzarwp-form-group input:focus {
	border-color: #e74c3c;
	outline: none;
}

.abzarwp-form-actions {
	display: flex;
	gap: 5px;
}

#abzarwp-message-response {
	margin-top: 8px;
	padding: 8px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 600;
}

#abzarwp-message-response.success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

#abzarwp-message-response.error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* ─── Feedback notice ───────────────────────────── */
.abzarwp-feedback-notice {
	background: #fef5f5;
	border: 1px solid #e74c3c;
	border-radius: 4px;
	padding: 10px;
	margin-bottom: 12px;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.abzarwp-feedback-notice .dashicons {
	color: #e74c3c;
	font-size: 18px;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 2px;
}

.abzarwp-feedback-notice p {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: #2c3338;
}

.abzarwp-feedback-notice strong {
	color: #e74c3c;
}

/* ─── Empty state ───────────────────────────────── */
.abzarwp-empty-state {
	text-align: center;
	padding: 30px 15px;
	color: #646970;
}

.abzarwp-empty-state p {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
}

/* ─── Widget footer ─────────────────────────────── */
.abzarwp-widget-footer {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 5px 8px;
	border-top: 1px solid #dcdcde;
	margin-top: 8px;
	background: #fff;
	border-radius: 4px;
}

.abzarwp-last-sync {
	font-size: 10px;
	color: #646970;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 4px;
}

.abzarwp-last-sync .dashicons {
	font-size: 12px;
	width: 12px;
	height: 12px;
}

/* ─── Modal ─────────────────────────────────────── */
.abzarwp-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.abzarwp-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
}

.abzarwp-modal-container {
	position: relative;
	background: #fff;
	border-radius: 4px;
	max-width: 700px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	z-index: 1;
	border: 1px solid #dcdcde;
}

.abzarwp-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	border-bottom: 1px solid #dcdcde;
	background: #f6f7f7;
}

.abzarwp-modal-header h3 {
	margin: 0;
	font-size: 14px;
	color: #1d2327;
	font-weight: 700;
}

.abzarwp-modal-close {
	background: #f0f0f1;
	border: 1px solid #dcdcde;
	font-size: 14px;
	cursor: pointer;
	color: #646970;
	padding: 6px;
	line-height: 1;
	border-radius: 50%;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
}

.abzarwp-modal-close:hover {
	background: #e74c3c;
	color: #fff;
	border-color: #e74c3c;
	transform: rotate(90deg);
}

.abzarwp-modal-close .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
}

.abzarwp-modal-body {
	padding: 15px;
	line-height: 1.7;
	direction: rtl;
	text-align: right;
	color: #3c434a;
	font-size: 13px;
}

@keyframes abzarwp-fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* ─── Admin bar bell ────────────────────────────── */
#wp-admin-bar-abzarwp-urgent-news .ab-icon {
	font-size: 20px !important;
	margin-top: 4px;
	color: #e74c3c !important;
}

#wp-admin-bar-abzarwp-urgent-news .abzarwp-urgent-count {
	display: inline-block;
	background: #e74c3c;
	color: #fff;
	border-radius: 10px;
	padding: 2px 7px;
	font-size: 10px;
	font-weight: 700;
	margin-right: 5px;
}

/* ─── Responsive ────────────────────────────────── */
@media screen and (max-width: 782px) {
	.abzarwp-notification-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.abzarwp-notification-meta {
		width: 100%;
	}

	.abzarwp-notification-content-grid {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.abzarwp-notification-media {
		max-height: 180px;
	}

	.abzarwp-tabs-header {
		gap: 6px;
	}

	.abzarwp-tabs {
		overflow-x: auto;
		flex-wrap: nowrap;
		gap: 4px;
	}

	.abzarwp-tab-button {
		white-space: nowrap;
		padding: 6px 10px;
		font-size: 11px;
	}

	.abzarwp-sync-icon-button {
		padding: 6px;
	}

	.abzarwp-sync-icon-button .dashicons {
		font-size: 14px;
		width: 14px;
		height: 14px;
	}

	.abzarwp-close-notification {
		top: 8px;
	}

	.abzarwp-form-row {
		flex-direction: column;
		gap: 0;
	}
}