/* ==========================================================================
   Combat Experts Clan (=CE=) — Fly-out Navigation Menu Extension
   ========================================================================== */

#floatingMenu.ce-flyout-menu {
	position: fixed;
	top: 50%;
	left: -210px;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	width: 210px;
	box-sizing: border-box;
	background-color: rgba(14, 14, 14, 0.94);
	border: 1px solid #252525;
	border-left: none;
	border-radius: 0 10px 10px 0;
	box-shadow: 4px 4px 22px rgba(0, 0, 0, 0.88);
	z-index: 10000;
	transition: left 0.35s cubic-bezier(0.25, 1, 0.5, 1);
	-webkit-transition: left 0.35s cubic-bezier(0.25, 1, 0.5, 1);
	font-family: Verdana, Helvetica, Arial, sans-serif;
}

/* Hover or Active state slides the menu out into full view */
#floatingMenu.ce-flyout-menu:hover,
#floatingMenu.ce-flyout-menu.is-active,
#floatingMenu.ce-flyout-menu.is-hovered {
	left: 0 !important;
}

/* The vertical "MENU" tab handle sticking out from the left edge */
.ce-flyout-handle {
	position: absolute;
	right: -24px;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	width: 24px;
	height: 110px;
	background: #111111 url("./images/overlay.png") no-repeat center center;
	border: 1px solid #252525;
	border-left: none;
	border-radius: 0 8px 8px 0;
	box-shadow: 3px 2px 8px rgba(0, 0, 0, 0.7);
	cursor: pointer;
}

.ce-flyout-inner {
	padding: 0;
}

.ce-flyout-header {
	font-family: "Trebuchet MS", Verdana, sans-serif;
	font-size: 11px;
	font-weight: bold;
	color: #40BFE7;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 10px 14px;
	background: #000000 url("./images/cellpic1.gif") repeat-x left top;
	border-bottom: 1px solid #252525;
	border-radius: 0 9px 0 0;
	text-shadow: 1px 1px 3px #000000;
}

.ce-flyout-links {
	list-style: none;
	margin: 0;
	padding: 8px 10px;
}

.ce-flyout-links li {
	margin: 4px 0;
	padding: 0;
}

.ce-flyout-links a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 8px;
	color: #ADAEAE;
	font-size: 12px;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.2s, color 0.2s, padding-left 0.2s;
	-webkit-transition: background-color 0.2s, color 0.2s, padding-left 0.2s;
}

.ce-flyout-links a .icon {
	color: #40BFE7;
	width: 16px;
	text-align: center;
	font-size: 13px;
}

.ce-flyout-links a:hover {
	color: #FFFFFF;
	background-color: rgba(64, 191, 231, 0.15);
	padding-left: 12px;
	text-decoration: none;
}

.ce-flyout-links a:hover .icon {
	color: #FFFFFF;
}

/* Fallback for browsers that don't support flex gap */
.ce-flyout-links a .icon + span {
	margin-left: 6px;
}

/* Responsive adjustment for small mobile screens */
@media only screen and (max-width: 500px) {
	#floatingMenu.ce-flyout-menu {
		width: 190px;
		left: -190px;
	}
}
