/* -------------------------------------------------------
   نوار اعلان بالای سایت
-------------------------------------------------------- */
#wmocn-notice-bar-wrapper {
	position: relative;
	z-index: 99998;
	width: 100%;
}

.wmocn-notice-bar {
	background: var( --wmocn-bg, #1e2a38 );
	color: var( --wmocn-text, #ffffff );
	font-family: inherit;
	font-size: 14px;
	line-height: 1.6;
	direction: rtl;
	text-align: center;
	padding: 6px 16px;
	box-sizing: border-box;
}

.wmocn-notice-item {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 4px 0;
}

.wmocn-notice-item + .wmocn-notice-item {
	border-top: 1px solid rgba( 255, 255, 255, 0.15 );
}

.wmocn-message {
	font-weight: 500;
}

.wmocn-copy-btn {
	background: var( --wmocn-btn-bg, #ffffff );
	color: var( --wmocn-btn-text, #1e2a38 );
	border: none;
	border-radius: 20px;
	padding: 4px 16px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.wmocn-copy-btn:hover {
	opacity: 0.85;
}

.wmocn-copy-btn:active {
	transform: scale( 0.96 );
}

/* -------------------------------------------------------
   Toast Notification
-------------------------------------------------------- */
.wmocn-toast-container {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX( -50% );
	z-index: 999999;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	pointer-events: none;
}

.wmocn-toast {
	background: #1e1e1e;
	color: #ffffff;
	padding: 10px 22px;
	border-radius: 8px;
	font-size: 13px;
	font-family: inherit;
	direction: rtl;
	box-shadow: 0 4px 14px rgba( 0, 0, 0, 0.25 );
	opacity: 0;
	transform: translateY( 16px );
	transition: opacity 0.25s ease, transform 0.25s ease;
	white-space: nowrap;
}

.wmocn-toast.wmocn-toast-show {
	opacity: 1;
	transform: translateY( 0 );
}

@media ( max-width: 600px ) {
	.wmocn-toast {
		white-space: normal;
		max-width: 85vw;
		text-align: center;
	}
}
