/* Figenis Sticky Announcement Bar frontend stylesheet */
.figenis-sticky-bar-wrapper {
	position: relative;
	width: 100%;
	display: block;
	box-sizing: border-box;
	transition: all 0.3s ease;
	z-index: 9999;
}

.figenis-sticky-bar-inner {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.figenis-sticky-bar-text {
	width: 100%;
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-weight: 500;
	line-height: 1.5;
	margin: 0;
	box-sizing: border-box;
}

/* Close button styling */
.figenis-sticky-bar-close {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	cursor: pointer;
	font-size: 22px;
	font-weight: 300;
	line-height: 1;
	padding: 5px 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.25s ease, opacity 0.25s ease;
	outline: none;
}

.figenis-sticky-bar-close:focus {
	outline: none;
}

/* Sticky bar hide animation */
.figenis-sticky-bar-hidden {
	height: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	opacity: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

/* Layout alignment styles */
.figenis-sticky-bar-wrapper[style*="text-align: left"] .figenis-sticky-bar-inner {
	justify-content: flex-start;
}

.figenis-sticky-bar-wrapper[style*="text-align: right"] .figenis-sticky-bar-inner {
	justify-content: flex-end;
}

.figenis-sticky-bar-wrapper[style*="text-align: left"] .figenis-sticky-bar-text {
	text-align: left;
	padding-right: 35px; /* Leave space for close button */
}

.figenis-sticky-bar-wrapper[style*="text-align: right"] .figenis-sticky-bar-text {
	text-align: right;
	padding-right: 35px;
}

.figenis-sticky-bar-wrapper[style*="text-align: center"] .figenis-sticky-bar-text {
	text-align: center;
}
