@charset "UTF-8";

/*
	FPSites - site-renderer specific CSS
*/

/* ========================================
   RESPONSIVE NAVIGATION (Mobile Hamburger)
   ======================================== */

/* Container for hamburger and dropdown menu */
.fp_mobile_nav_container {
	position: relative;
	display: none;
}

.fp_mobile_hamburger {
	font-size: 200%;
	padding: 15px;
	cursor: pointer;
	text-align: center;
	background-color: inherit;
	border: 2px solid rgba(0, 0, 0, 0.75);
	border-radius: 8px;
	user-select: none;
	-webkit-user-select: none;
	transition: all 0.2s ease;
	font-weight: bold;
}

.fp_mobile_hamburger:hover {
	opacity: 0.8;
	transform: translateY(-2px);
}

.fp_mobile_hamburger:active {
	transform: translateY(0);
}

.fp_mobile_nav_items {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 1000;
	/* Glassy semi-transparent background with backdrop blur */
	background-color: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 15px;
	border-radius: 12px;
	border: 3px solid rgba(0, 0, 0, 0.75);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
	max-height: 50vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	margin-top: 8px;
	direction: rtl;
}

/* Main page item wrapper - inherits #s_topnav colors */
.fp_mobile_nav_item {
	display: block;
	padding: 14px 18px;
	margin-bottom: 8px;
	/* Use CSS variable that we'll set dynamically */
	background-color: var(--fp-topnav-bg, rgba(180, 160, 140, 0.4));
	border: 2px solid var(--fp-topnav-bg, rgba(180, 160, 140, 0.7));
	border-radius: 8px;
	text-align: center;
	transition: all 0.2s ease;
	line-height: 1.8;
}

.fp_mobile_nav_item:hover {
	opacity: 0.8;
	transform: translateX(-3px);
}

/* Mobile menu icon styling */
.fp_mobile_icon {
	display: inline;
	font-size: 1.3rem;
	vertical-align: middle;
	margin-left: 5px;
}

/* Individual subpage item wrapper - inherits #s_subnav colors */
.fp_mobile_subpage_item {
	display: block;
	padding: 10px 15px 10px 30px;
	margin-bottom: 6px;
	margin-right: 15px;
	/* Use CSS variable that we'll set dynamically */
	background-color: var(--fp-subnav-bg, rgba(235, 115, 140, 0.2));
	border: 1px dotted var(--fp-subnav-bg, rgba(235, 115, 140, 0.62));
	border-radius: 6px;
	text-align: center;
	font-size: 0.95rem;
	transition: all 0.2s ease;
	line-height: 1.8;
}

.fp_mobile_subpage_item:hover {
	opacity: 0.8;
	transform: translateX(-2px);
}

.restricted
{
	border-style: dotted;
	border-color: rgba(200,20,35,0.7);
	border-width: 2px;
	padding: 10px 3% 14px;
	margin: 3%;
	border-radius: 14px;
	box-shadow: 0 3px 12px rgba(200,20,35,0.2), inset 0 0 20px rgba(200,20,35,0.05);
}

.fp_login_box
{
	background: linear-gradient(135deg, #a8d4f5, #5a9fd4);
	border: 1px solid #3a7cb8;
	color: #1a3a52;
	text-shadow: 0 1px 1px rgba(255,255,255,0.4);
}

.fp_register_box
{
	background: linear-gradient(135deg, #b8f0a0, #5dc93f);
	border: 1px solid #3a9420;
	color: #1a3d0a;
	text-shadow: 0 1px 1px rgba(255,255,255,0.4);
}

/* Stack login/register forms on narrow screens */
@media (max-width: 680px)
{
	.restricted .monkseal_row
	{
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.restricted .monkseal_cell
	{
		position: static !important;
		width: 100% !important;
		right: auto !important;
	}
}

/* Mobile-only: show container, hide desktop nav */
@media (max-width: 768px) {
	.fp_mobile_nav_container {
		display: block;
	}
	
	.fp_desktop_nav {
		display: none;
	}
	
	/* If navigation is compact, show desktop nav instead */
	.fp_desktop_nav.fp_compact_nav {
		display: block !important;
	}
	
	/* Hide mobile nav when compact desktop is shown */
	body:has(.fp_desktop_nav.fp_compact_nav) .fp_mobile_nav_container {
		display: none !important;
	}
}

/* Desktop: hide container, show nav */
@media (min-width: 769px) {
	.fp_mobile_nav_container {
		display: none !important;
	}
}