/**
 * Custom CSS for MemberPress ReadyLaunch pages
 */

.single-memberpressproduct .site-header {
	padding: 1.5rem 1rem;
}

.single-memberpressproduct .site-header .site-branding__logo,
.mepr-pro-template .site-header .site-branding__logo {
	height: auto;
}

/**
 * Magnific Popup fixes for FluentCart profile page
 */

/* Popup overlay background */
.mfp-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1042;
	overflow: hidden;
	background: #0b0b0b;
	opacity: 0.8;
}

/* Popup wrapper */
.mfp-wrap {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1043;
	outline: none !important;
	-webkit-backface-visibility: hidden;
}

/* Popup container */
.mfp-container {
	text-align: center;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	padding: 0 8px;
	box-sizing: border-box;
}

.mfp-container:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

/* Popup content */
.mfp-content {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	margin: 0 auto;
	text-align: left;
	z-index: 1045;
}

/* MemberPress white popup */
.mepr-white-popup {
	position: relative;
	background: #fff;
	padding: 40px;
	width: auto;
	max-width: 500px;
	margin: 20px auto;
	border-radius: 8px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Hide popup initially */
.mfp-hide {
	display: none !important;
}

/* Cancel subscription popup specific styles */
.mepr-cancel-sub-text {
	font-size: 18px;
	margin-bottom: 20px;
	text-align: center;
}

.mepr-cancel-sub-buttons {
	display: flex;
	gap: 10px;
	justify-content: center;
}

.mepr-cancel-sub-buttons .mepr-btn {
	padding: 10px 30px;
	cursor: pointer;
	border: none;
	border-radius: 4px;
	font-size: 16px;
}

.mepr-cancel-sub-buttons .mepr-confirm-yes {
	background: #dc3232;
	color: white;
}

.mepr-cancel-sub-buttons .mepr-confirm-yes:hover {
	background: #c02222;
}

.mepr-cancel-sub-buttons .mepr-confirm-no {
	background: #f0f0f0;
	color: #333;
}

.mepr-cancel-sub-buttons .mepr-confirm-no:hover {
	background: #e0e0e0;
}

/* Membership Subscriptions tab */

.mepr-account-actions {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	align-items: center;
	margin-top: 16px;
}

a.mepr-account-row-action {
	font-size: 16px;
}

.mepr-submit {
	background: none;
	border: none;
	padding: 0.8rem 2rem;
	background-color: #f9a350;
	border-radius: 4px;
	color: #fff;
	font-weight: 500;
}

.mepr-submit:hover {
	background-color: #152445;
}
