#simple-popup-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 28px;
	box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.18);
	transform: translateY(100%);
	transition: transform 0.35s ease;
}

#simple-popup-bar.is-visible {
	transform: translateY(0);
}

#simple-popup-bar .simple-popup-message {
	flex: 1 1 auto;
	margin: 0;
}

#simple-popup-bar .simple-popup-message p {
	margin: 0;
}

#simple-popup-bar .simple-popup-message a {
	text-decoration: underline;
}

#simple-popup-bar .simple-popup-message a:hover,
#simple-popup-bar .simple-popup-message a:focus {
	text-decoration: none;
}

/* The button is wrapped in the WP block-button structure so it inherits the
   theme's button base (padding, font, etc.); our inline CSS overrides colors,
   border, and radius on .simple-popup-btn on top of that. */
#simple-popup-bar .wp-block-buttons {
	flex: 0 0 auto;
	margin: 0;
}

#simple-popup-bar .wp-block-button {
	margin: 0;
}

#simple-popup-bar .simple-popup-btn {
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

@media (max-width: 600px) {
	#simple-popup-bar {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		padding: 18px 20px;
	}

	#simple-popup-bar .wp-block-buttons {
		justify-content: center;
	}
}
