.kr-notice-wrap {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	width: 100%;
	z-index: 99999;
	direction: rtl;
}

/* با کمک جاوااسکریپت، این مقدار به‌صورت داینامیک برابر ارتفاع نوارها تنظیم می‌شود
   تا محتوای صفحه زیر نوار قایم نشود. */
body.kr-notice-has-bar {
	transition: padding-top 0.2s ease;
}

.kr-notice-bar {
	width: 100%;
	position: relative;
	overflow: hidden;
	transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.35s ease;
}

.kr-notice-bar.kr-notice-hidden {
	max-height: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	opacity: 0;
	pointer-events: none;
}

.kr-notice-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 10px 20px;
	position: relative;
	text-align: center;
}

.kr-notice-content {
	font-size: 15px;
	line-height: 1.8;
	flex: 1 1 auto;
}

.kr-notice-content p {
	margin: 0;
}

.kr-notice-close {
	flex: 0 0 auto;
	background: transparent;
	border: none;
	color: inherit;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.75;
	padding: 2px 6px;
	border-radius: 4px;
}

.kr-notice-close:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 600px) {
	.kr-notice-inner {
		padding: 8px 12px;
	}
	.kr-notice-content {
		font-size: 13px;
	}
}
