/* Wrapper styling for flexbox layout */
.fp-nav-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin-top: 32px;
	margin-bottom: 8px;
}

.fp-nav {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 0;
	padding: 0;
}

.fp-nav a {
	text-decoration: none;
	cursor: pointer;
	padding: 0;
	font-weight: 400;
	font-size: 14px;
	transition: color 0.2s ease;
	color: #0066cc;
	border-radius: 0;
	background: transparent;
}

.fp-nav a:hover {
	color: #0052a3;
	text-decoration: underline;
	background-color: transparent;
}

.fp-sign-in {
	font-weight: 700;
	font-size: 16px;
	color: #0066cc;
}

.fp-sign-in-hint {
	display: none;
	font-size: 13px;
	color: #555555;
	font-weight: 500;
	font-style: italic;
	line-height: 1.4;
	margin-bottom: 24px;
	text-align: left;
}

.fp-nav-wrapper:has(.fp-sign-in:not([style*="display: none"])) + .fp-sign-in-hint {
	display: block;
}

.fp-member-center,
.fp-sign-out {
	color: #0066cc;
}

/* Buttons wrapper for right-aligned donate buttons */
.fp-buttons-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

/* One-time Donate button - green style */
.fp-donate-button {
	display: inline-block;
	padding: 10px 24px;
	border: none;
	border-radius: 8px;
	background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
	color: #ffffff;
	font-weight: 600;
	font-size: 15px;
	font-family: sans-serif;
	text-decoration: none;
	letter-spacing: 0.3px;
	transition: all 0.3s ease;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);
}

.fp-donate-button:hover {
	background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
	text-decoration: none;
}

.fp-donate-button:active {
	transform: translateY(0);
}

/* Ad-Free button - purple style */
.fp-adfree-button {
	display: inline-block;
	padding: 10px 24px;
	border: none;
	border-radius: 8px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	font-weight: 600;
	font-size: 15px;
	font-family: sans-serif;
	text-decoration: none;
	letter-spacing: 0.3px;
	transition: all 0.3s ease;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.fp-adfree-button:hover {
	background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
	text-decoration: none;
}

.fp-adfree-button:active {
	transform: translateY(0);
}

#flip-pay {
	margin: 0;
	padding: 0 !important;
	background: transparent !important;
	color: inherit !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-align: center;
}

#flip-pay:hover { 
	transform: none !important; 
	box-shadow: none !important; 
	background: transparent !important; 
}

#flip-pay:active { 
	transform: none !important; 
}

/* Override Flip‑Pay SDK injected styles for marketing message button */
#flip-pay .fp-marketing-message-wrapper {
	animation: none !important;
}

#flip-pay .fp-marketing-message-wrapper a {
	display: inline-block !important;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
	color: #ffffff !important;
	padding: 10px 24px !important;
	border-radius: 8px !important;
	font-weight: 600 !important;
	font-size: 0 !important;
	font-family: sans-serif !important;
	text-decoration: none !important;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3) !important;
	letter-spacing: 0.3px !important;
	transition: all 0.3s ease !important;
}

#flip-pay .fp-marketing-message-wrapper a:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
	background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
}

#flip-pay .fp-marketing-message-wrapper a:active {
	transform: translateY(0) !important;
}

#flip-pay .fp-marketing-message-wrapper a::after {
	content: "Go Ad Free" !important;
	font-size: 15px !important;
}