/**
 * WP Combo Frontend Sticky Notification Bar Styles
 * Optimized for voltagelab.com
 */

.wp-combo-sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 999999;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
	opacity: 1;
}

.wp-combo-sticky-bar.wp-combo-position-top {
	top: 0;
	animation: wpComboSlideDown 0.4s ease-out;
}

.wp-combo-sticky-bar.wp-combo-position-bottom {
	bottom: 0;
	animation: wpComboSlideUp 0.4s ease-out;
}

.wp-combo-sticky-bar.wp-combo-hidden {
	display: none !important;
}

.wp-combo-sticky-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.wp-combo-sticky-content {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	flex: 1;
	text-align: center;
}

.wp-combo-sticky-message {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.wp-combo-sticky-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 7px 18px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
	white-space: nowrap;
	border: none;
	cursor: pointer;
}

.wp-combo-sticky-btn:hover {
	transform: translateY(-1px);
	opacity: 0.92;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wp-combo-sticky-close {
	background: transparent;
	border: none;
	color: inherit;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
	opacity: 0.75;
	transition: opacity 0.2s ease, transform 0.2s ease;
	border-radius: 4px;
}

.wp-combo-sticky-close:hover {
	opacity: 1;
	transform: scale(1.1);
}

/* Animations */
@keyframes wpComboSlideDown {
	from {
		transform: translateY(-100%);
	}
	to {
		transform: translateY(0);
	}
}

@keyframes wpComboSlideUp {
	from {
		transform: translateY(100%);
	}
	to {
		transform: translateY(0);
	}
}

/* Mobile Responsiveness & Header Conflict Prevention */
@media (max-width: 768px) {
	.wp-combo-sticky-bar,
	.wp-combo-sticky-bar.wp-combo-position-top,
	#vl-sticky-promo {
		top: auto !important;
		bottom: 0 !important;
	}
	.wp-combo-sticky-container {
		padding: 10px 16px;
	}
	.wp-combo-sticky-message {
		font-size: 12px;
	}
	.wp-combo-sticky-btn {
		padding: 5px 12px;
		font-size: 12px;
	}
}

/* ==========================================================================
   Pop-up Modal Frontend Styles
   ========================================================================== */

.wp-combo-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999999;
	display: none; /* Controlled via JS */
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	opacity: 0;
	transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	backdrop-filter: blur(4px);
}

.wp-combo-popup-overlay.wp-combo-popup-visible {
	display: flex;
	opacity: 1;
}

.wp-combo-popup-container {
	width: 90%;
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
	position: relative;
	padding: 32px 24px 24px 24px;
	transform: scale(0.95) translateY(10px);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-sizing: border-box;
}

.wp-combo-popup-overlay.wp-combo-popup-visible .wp-combo-popup-container {
	transform: scale(1) translateY(0);
}

.wp-combo-popup-close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: #f1f5f9;
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: #334155;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.2s ease;
	z-index: 10;
}

.wp-combo-popup-close:hover {
	background: #e2e8f0;
	transform: scale(1.1);
}

