@import "recentnews.css";
@import "recentmatches.css";
@import "recentnews.css";

html, body, div, span,
h1, h2, h3, h4, h5, h6, p,
a, font, img,
b, u, i, center,
ol, 
fieldset, form, label, legend,
table, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family:arial;
}

ul, li{
	margin-Left:15px;
}

* 
{
	margin: 0px;
	padding: 0px;
}

body{

	background-image: url('../images/bg.png');
	/*background: #000000;*/
	color: #ffffff;

}
.wrapper{
	width:100%;
	float:center;
}

.wrapper2{
	width:866px;
	margin: 0 auto;
}


.top_header{
    background-image: url('../images/headerbgrepeat.png');
	margin: 0 auto;
	width: 100%;
	overflow: auto;
}
.top_header_left{
	background-image:url('../images/top_left.png');
	background-repeat:no-repeat;
	width:456px;	
	min-height: 31px;
	float:left;
}
.top_header_right{
	background-image:url('../images/loginbar.png');
	background-repeat:no-repeat;	
	width:554px;
	float:right;
	min-height: 31px;
}
.input_image_username{
	margin-top:1px;
	padding-left:5px;
	background-image:url('../images/textfield.png');
	background-repeat:no-repeat;
	width:118px;
	height:24px;
	margin-left:217px;
	outline: none;
	color:#eeeeee;	
}
.input_image_password{
	margin-top:1px;
	padding-left:5px;
	background-image:url('../images/textfield.png');
	background-repeat:no-repeat;
	width:118px;
	height:24px;
	margin-left:65px;
	outline: none;
	color:#eeeeee;
}

.spacer{
	clear:both;
	height:0px;
	line-height:0px;
	display:block;
}

.links{
	text-align:center;
    color: #757575; text-decoration: none;
}

.networkicons{
    width:868px;
	text-align:right;
    color: #757575; text-decoration: none;
    overflow: auto;
}

.go_bar{
	height:21px;
	width:100%;
	background-image:url('../images/gobar.png');
	background-repeat:no-repeat;	
	padding-top:2px;
}
.networkbar{
	background-image:url('../images/networkbarbg.png');
	background-repeat: repeat-x;
	width: 100%;	
	min-height: 23px;
	float:center;
 overflow: visible;
}
.go_bar_button{
	background-image:url('../images/enterbtn.png');
	background-repeat:no-repeat;
	outline: none;
	min-height:19px;
	width:72px;
	margin-left:921px;
}
.go_bar_button:hover { 
	background-position: -72px 0;
}

.logobg{
	
	height:178px;
	text-align:center;
	background-image:url('../images/headerbgrepeat.png');
	background-repeat:repeat-x;	
}



.logo{
	
	height:178px;
	text-align:center;
	background-image:url('../images/header.png');
	background-repeat:no-repeat;	
}

.tabs{
	width:105%;
	margin: 0 auto;
	height:30px;
	padding: 0; 
}
.img_cleaner{
	float: left;
}

.network_partners{
	margin-top:16px;
	width:100%;
	min-height:121px;
	background-image:url('../images/green_box.png');
	background-repeat:no-repeat;
	overflow:auto;
}
.slider{
	margin-top:4px;
	float:left;
	margin-left:10px;
	min-height:111px;
	width:245px;
	background-image:url('../images/networkptners.png');
	background-repeat:no-repeat;	
}
.slider_l_arrow{
	margin-top:36.75px;
	float:left;
	background-image:url('../images/arrow_l.png');
	background-repeat:no-repeat;	
	width:28px;
	height:36px;	
}	
.slider_r_arrow{
	float:left;
	margin-top:36.75px;
	background-image:url('../images/arrow_r.png');
	background-repeat:no-repeat;
	width:28px;
	height:36px;	
}	
.slider_tiles{
	margin-top:33px;
	float:left;
	background-image:url('../images/banner.png');
	background-repeat:no-repeat;	
	min-height:49px;
	width:189px;
}
.click2visit{
	float:left;
	background-image:url('../images/click2visit.png');
	background-repeat:no-repeat;	
	margin-top:15px;
	min-height:16px;
	width:245px;
}

.mamba{
	margin-top:15px;
	margin-right:10px;
	float:right;
	width:728px;
	min-height:90px;
	background-image:url('../images/mamba.png');
	background-repeat:no-repeat;
}

.column_wrapper{
	width:290px;	
	margin-top:10px;
	overflow:hidden;
	min-height:600px;
	float:left;

}
.list_wrap{
	width:220px;
	padding:0px;
	margin:0px;
	position:relative;
	overflow:auto;
}
.recent_bans{
	background-image:url('../images/recent_bans.png');
	background-repeat:no-repeat;
	float:left;
	width:220px;
	margin-right:20px;
	padding-top:30px;
	
}
.community_threads{
	float:left;
	width:290px;
	height:23px;
	background-image:url('../images/tvuserrowbg.png');
	background-repeat:no-repeat;
	margin-right:20px;
	text-indent:15px;
	font-size:14px;
	display:flex;
	align-items:center;
}
.latest_apps{
	padding-top:30px;
	background-image:url('../images/latest_apps.png');
	background-repeat:no-repeat;
	float:left;
	width:220px;
}
.vid_week{
	display: flex;
	align-items: center; /* Centers content vertically */
	text-indent:25px;
	background-image:url('../images/blockheader.png');
	background-repeat:no-repeat;
	float:left;
	width:290px;
	height:33px;
}
.vid_week_inner{
	min-height:231px;
	background-image:url('../images/votwbg.png');
	background-repeat:no-repeat;
	width:309px;
}

.post_content{
	min-height:315px;
	width:568px;
	float: right;
	border:0px solid white;	
	background-image: url(../images/pagecontentheader.png), url(../images/pagecontentfooter.png), url('../images/pagecontentbg.png');
	background-position: center top, center bottom;
	background-repeat: no-repeat, no-repeat, repeat;	

}

.post_content_header{
	min-height:33px;
	width:568px;
	float:right;
	margin-top:10px;
	border:0px solid white;
	display: flex;
	align-items: center; /* Centers content vertically */
	text-indent:25px;
	background-image:url(../images/pagecontentheader.png);
	background-position:center top;
	background-repeat: no-repeat;
}

.post_content_body{
	min-height:30px;
	width:568px;
	float:right;
	border:0px solid white;
	background-image:url(../images/pagecontentbg.png);
	background-position:center;
	background-repeat: repeat;
	line-height: 1.6;
    overflow: hidden;
}

.post_content_body p{
	margin:10px;
}

.post_content_body_text{
	text-indent:25px;
	width:548px;
}


.post_content_footer{
	min-height:6px;
	width:568px;
	float:right;
	border:0px solid white;
	background-image:url(../images/pagecontentfooter.png);
	background-position:bottom;
	background-repeat: no-repeat;
}

.roster_content_body{
	min-height:30px;
	width:568px;
	float:right;
	border:0px solid white;
	background-position:center;
	background-repeat: repeat;
	line-height: 1.6;
    overflow: hidden;
	display: flex;
	justify-content: center; /* Centers horizontally */
	align-items: center; /* Centers vertically */
	margin-top:20px;
	margin-bottom:20px;
}

.roster_content_body p{
	margin:10px;
}

.roster_content_body_text{
	text-indent:25px;
	width:548px;
}

.servers_content_body{
	min-height:30px;
	width:568px;
	float:right;
	border:0px solid white;
	background-image:url(../images/pagecontentbg.png);
	background-position:center;
	background-repeat: repeat;
	line-height: 1.6;
    overflow: hidden;
	align-items: center; /* Centers vertically */
}

.servers_content_body p{
	margin:10px;
}

.servers_content_body_text{
	text-indent:25px;
	width:548px;
}

        .server-container { font-family: sans-serif; max-width: 600px; margin: 20px auto; }
        .server-item { margin-bottom: 15px; margin-top:10px; }
        .server-name { font-weight: bold; margin-bottom: 5px; display: block; }
        .gt-banner { max-width: 100%; height: auto; }

.dark{
	float:left;
	background-image:url('../images/drk.png');
	background-repeat:no-repeat;
	background-position:center;
	height:26px;
	width:165px;
	color:#eeeeee;
	border:0px;
	overflow:hidden;
	line-height:26px;
}
.light{
	float:left;
	background-image:url('../images/light.png');
	background-repeat:no-repeat;
	background-position:center1;
	min-height:26px;
	width:165px;
	color:#eeeeee;
	border:0px;
	overflow:hidden;
}
.view{
	float:left;
	background-image:url('../images/view.png');
	background-repeat:no-repeat;
	background-position:center;
	width:51px;
	height:26px;
	border:0px;
	overflow:hidden;
	line-height:26px;
}

.footer {
    margin: 20px auto 0 auto; /* Centers the footer block itself */
    background-image: url('../images/footer.png');
    background-repeat: no-repeat;
    background-position: center; /* Ensures the background image stays centered */
    width: 100%; /* Changed from 1010px to span the page */
    height: 68px;
    clear: both; /* Prevents the 'float: left' from the columns from messing it up */
    text-align: center; /* Centers the text inside */
}

.footer p.copyright {
    padding-top: 25px; /* Adjust this number to move text up/down within the footer image */
    color: #8d8352; /* Added the missing # for the hex code */
}

#r3 {
	clear:both;
	height:103px;
	background-image: url('../images/r3_rpt.png');
	}
	
#r3_cont {
	width:750px;
	height:103px;
	margin:auto;
	}
	

.block{
	background-image:url('../images/blockheader.png');
	background-repeat:no-repeat;
	float:left;
	width:290px;
	height: 33px;
	text-indent:25px;
	display: flex;
	align-items: center; /* Centers content vertically */
	margin-top:10px;
	margin-bottom:10px;
	
}

.blockcontent{
	width:290px;
	display:flex;
	align-items:center;
}

.blockspacing{
	 clear: both;    /* Forces the spacer to start below the floating images/blocks */
    height: 15px;   /* Adjust this number for more or less gap */
    width: 100%;    /* Ensures it pushes everything down */
    display: block;
}

.blockspacing2{
	padding:10px;
}

.odd {
	width:209px;
	height:24px;
	background-image: url('images/o.png');
	}
	
.odd a {
	color:#008afe;
	text-decoration:none;
	font-size:10px;
	margin-left:5px;
	line-height:22px;
	letter-spacing:2px;
	}
	
.odd a:hover {
	color:#ffffff;
	text-decoration:none;
	font-size:10px;
	margin-left:5px;
	line-height:22px;
	letter-spacing:2px;
	}
	
.even {
	width:209px;
	height:24px;
	background-image: url('images/e.png');
	}
	
.even a {
	color:#008afe;
	text-decoration:none;
	font-size:10px;
	margin-left:5px;
	line-height:22px;
	letter-spacing:2px;
	}	
	
.even a:hover {
	color:#ffffff;
	text-decoration:none;
	font-size:10px;
	margin-left:5px;
	line-height:22px;
	letter-spacing:2px;
	}		

/************************************************************/
/****** NavBar CSS ******************************************/

.login{
	
	height:35px;
    width:323px;
	display: inline-flex;
	vertical-align: top;   /* Add this */
    line-height: 35px;     /* Add this to center the TEXT inside the 35px height */
	background-image:url('../images/nav/loginbg.png');
	font-size: 12px;       /* Optional: ensures text doesn't overflow height */
	text-indent:5px;
	justify-content: center; /* Centers horizontally */
	align-items: center; /* Centers vertically */
}

.login p {
    margin: 0;
    padding: 0;
}

.navbg{
	
	height:35px;
    width:100%;
	display: flex;         /* Add this */
    align-items: center;   /* Add this */
    justify-content: center; /* Keeps everything centered horizontally */
	background-image:url('../images/navbarbgrepeat.png');
	background-repeat:repeat-x;	
    
}

.navbar{
	background-image:url('../images/navbarplhr.png');
	background-repeat:no-repeat;
	width: 868px;
	height: 35px;
    border:0px solid white;	
}

a.navbarhome
{
	display: inline-block;
	width: 50px;
	height: 35px;
	text-decoration: none;
	background-image: url(../images/nav/home.png);
}

a.navbarhome:hover
{
	background-position: -50px 0;
}

a.navbarservers
{
	display: inline-block;
	width: 61px;
	height: 35px;
	text-decoration: none;
	background-image: url(../images/nav/servers.png);
}

a.navbarservers:hover
{
	background-position: -61px 0;
}

a.navbarroster
{
	display: inline-block;
	width: 55px;
	height: 35px;
	text-decoration: none;
	background-image: url(../images/nav/roster.png);
}

a.navbarroster:hover
{
	background-position: -55px 0;
}

a.navbarforums
{
	display: inline-block;
	width: 58px;
	height: 35px;
	text-decoration: none;
	background-image: url(../images/nav/forums.png);
}

a.navbarforums:hover
{
	background-position: -58px 0;
}

a.navbarmatches
{
	display: inline-block;
	width: 63px;
	height: 35px;
	text-decoration: none;
	background-image: url(../images/nav/matches.png);
}

a.navbarmatches:hover
{
	background-position: -63px 0;
}

a.navbarsponsors
{
	display: inline-block;
	width: 74px;
	height: 35px;
	text-decoration: none;
	background-image: url(../images/nav/sponsors.png);
}

a.navbarsponsors:hover
{
	background-position: -74px 0;
}

a.navbardonate
{
	display: inline-block;
	width: 56px;
	height: 35px;
	text-decoration: none;
	background-image: url(../images/nav/donate.png);
}

a.navbardonate:hover
{
	background-position: -56px 0;
}

a.navbaraboutus
{
	display: inline-block;
	width: 66px;
	height: 35px;
	text-decoration: none;
	background-image: url(../images/nav/aboutus.png);
}

a.navbaraboutus:hover
{
	background-position: -66px 0;
}

a.navbarmedia
{
	display: inline-block;
	width: 60px;
	height: 35px;
	text-decoration: none;
	background-image: url(../images/nav/media.png);
}

a.navbarmedia:hover
{
	background-position: -60px 0;
}








a:link
{
	color: #0089e1;
	text-decoration: none;
	word-spacing: normal;
}
a:visited
{
	color: #0089e1;
	text-decoration: none;
}
a:hover
{
	color: #0089e1;
	text-decoration: none;
}
a:active
{
	color: #0089e1;
	text-decoration: none;
}


/************************************************************/
/****** menu stuff ******************************************/

nav {
	position:relative;
	margin-top:-30px;
	margin-left:0px;
	padding:0;
}

	nav ul ul {
		display: none;
	}
	nav ul li:hover > ul {
		display: block;
	}


nav ul {
	padding: 0px 0px;
	list-style: none;
	position: relative;
	display: inline-table;
}
nav ul:after {
	content: ""; 
	clear: both;
	display: block;
}

	nav ul li {
		float: left;
	}
		nav ul li:hover {
			background: #000000;
		}
			nav ul li:hover a {
				color: #fff;
			}
		
		nav ul li a {
			display: block; padding: 0px 0px;
			color: #757575; text-decoration: none;
			border:0px solid;
		}
			
		
	nav ul ul {
		background: #000000; border-radius: 0px; padding: 0;
		position: absolute; top: 100%;
	}
		nav ul ul li {
			float: none; 
			background-image:  url('../images/navbardrpdwnbg.png');
			background-repeat:no-repeat;
			position: relative;
		}
			nav ul ul li a {
				padding: 5px 5px;
				color: #fff;
			}	
				nav ul ul li a:hover {
					/*background: #333333;*/
				}
		
	nav ul ul ul {
		position: absolute; left: 100%; top:0;
	}
		
		
		
		

.pagination {
    margin: 30px 0;
    text-align: center;
    justify-content: center;
    gap: 15px;
	display:inline-flex;
	align-items:center;
	min-width:-webkit-fill-available;
}

.pagination a {
    background: #111;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border: 1px solid #333;
}
	
	/* Meta row spacing */
.post_meta {
    font-size: 0.9em;
    align-items: center;
	color:#0a78d7;
	text-align:center;
}

/* The clickable link container */
.comment-link {
    text-decoration: none;
    color: #ccc;
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    transition: color 0.2s;
}

.comment-link:hover .comment-badge {
    background-color: #00AA00; /* Changes to your primary green on hover */
    border-color: #00FF00;
}

/* The actual Badge */
.comment-badge {
    background-color: #222;
    color: #fff;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #444;
    margin-right: 5px;
    font-size: 0.85em;
    transition: all 0.2s;
}

.comment-text {
    font-weight: bold;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.avatar-container {
    width: 70px;
    height: 70px;
    margin: 0 auto 12px;
    overflow: hidden;
    border-radius: 50%; /* Circle avatars */
    border: 2px solid #444;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-rank {
    font-size: 0.8em;
    color: #aaa;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rank-icon img {
    max-width: 100px; /* Standard rank image width */
    height: auto;
    display: inline-block;
}

.dashboard { background: #111; color: #eee; font-size: 0.85em; }
.dash-section { padding: 10px; margin-bottom:10px; border-bottom: 1px solid #222; }
.dash-section label { display: block; color: #00AA00; font-weight: bold; font-size: 0.75em; margin-bottom: 5px; }
.dash-row { display: flex; justify-content: space-between; margin-bottom: 3px; }
.dash-row.small { font-size: 0.9em; color: #888; }
.status-on { color: #00FF00; font-size: 0.9em; }
.status-off { color: #FF0000; font-size: 0.9em; }
.count { color: #0089e1; font-style: italic; }

.pulsing-dot {
    height: 10px; width: 10px; background-color: #ff0000;
    border-radius: 50%; display: inline-block;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    70% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}
.poll-bar {
    background: #333; height: 10px; border-radius: 5px; margin-bottom: 5px;
}
.poll-fill {
    background: #00AA00; height: 100%; border-radius: 5px;
}

.badge { font-size: 1.2em; vertical-align: middle; margin-right: 5px; }
.badge.gold { color: #FFD700; text-shadow: 0 0 5px #FFD700; }
.badge.silver { color: #C0C0C0; }
.user-welcome { background: #111; padding: 10px 20px; border-bottom: 2px solid #00AA00; margin-bottom: 20px; }

.user-stats {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.roster-card:hover .user-stats {
    opacity: 1;
    color: #888;
}

.badge-modded {
    background: #673ab7; /* Purple */
    box-shadow: 0 0 10px rgba(103, 58, 183, 0.5);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

/* Color for Modpacks */
.software-badge:contains('THE PACK') {
    background-color: #673ab7 !important; /* Purple */
    color: #fff;
}

/* Color for Vanilla */
.software-badge:contains('Vanilla') {
    background-color: #4caf50 !important; /* Green */
}


/* Optional: Tooltip styling for the badges */
.badge:hover::after {
    content: attr(title);
    position: absolute;
    background: #000;
    color: #fff;
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 4px;
    white-space: nowrap;
    margin-top: -25px;
    z-index: 10;
}

.dash-row.small a:hover {
    color: #00AA00 !important;
    padding-left: 3px;
    transition: all 0.2s ease;
}

.dash-row.small { font-size: 0.85em; color: #777; line-height: 1.4; }
.badge-new { background: #ff0000; color: #fff; padding: 2px 5px; border-radius: 3px; font-size: 0.7em; margin-left: 10px; vertical-align: middle; }
.comment-badge { background: #222; border: 1px solid #444; color: #fff; padding: 1px 6px; border-radius: 4px; font-size: 0.85em; }
.comment-text { font-size: 0.8em; text-transform: uppercase; color: #666; }

.server-container { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.server-card { display: flex; background: #111; border: 1px solid #333; padding: 15px; border-radius: 8px; align-items: center; }
.card-java { border-left: 5px solid #00AA00; }
.card-bedrock { border-left: 5px solid #007bff; }
.server-img { width: 64px; height: 64px; border-radius: 5px; margin-right: 15px; }
.server-details { flex-grow: 1; }
.badge-java { background: #004400; color: #00FF00; padding: 2px 6px; border-radius: 3px; font-size: 0.7em; font-weight: bold; }
.badge-bedrock { background: #002244; color: #00aaff; padding: 2px 6px; border-radius: 3px; font-size: 0.7em; font-weight: bold; }

/* Arma Reforger Specific Card Styling */
.card-reforger {
    background: linear-gradient(145deg, #1e1e1e 0%, #0a0a0a 100%) !important;
    border: 1px solid #3a3a3a !important;
    border-left: 5px solid #FFD700 !important; /* Signal Yellow */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Tactical Overlay (Scanlines) */
.card-reforger::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 215, 0, 0.03) 0px,
        rgba(255, 215, 0, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
}

/* Badge Styling */
.badge-reforger {
    background-color: #FFD700 !important;
    color: #000 !important;
    font-weight: 900 !important;
    letter-spacing: 1px;
    padding: 2px 10px;
    border-radius: 0 !important; /* Sharp corners for military look */
    font-family: 'Courier New', Courier, monospace;
}

/* Software/Version Tags */
.card-reforger .software-badge {
    background: #333;
    color: #FFD700;
    border: 1px solid #FFD700;
    font-size: 0.7em;
}

/* Join Button for Arma */
.reforger-btn {
    background-color: #FFD700 !important;
    color: #000 !important;
    border: none;
    font-weight: bold;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%); /* Angular military cut */
    transition: all 0.3s ease;
}

.reforger-btn:hover {
    background-color: #fff !important;
    transform: scale(1.05);
}

/* Pulse Animation */
.status-pulse { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.pulse-on { animation: pulse-animation 2s infinite; }
@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0px rgba(0, 255, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 0, 0); }
    100% { box-shadow: 0 0 0 0px rgba(0, 255, 0, 0); }
}

/* Modal Overlay */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1000; align-items: center; justify-content: center; }
.modal-content { background: #1a1a1a; padding: 25px; border-radius: 10px; border: 1px solid #333; width: 320px; text-align: center; }
.copy-row { display: flex; justify-content: space-between; background: #111; padding: 8px; border: 1px solid #333; margin-top: 5px; }

.software-badge {
    background: #333;
    color: #aaa;
    font-size: 0.65em;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}

.version-tag {
    font-family: monospace;
    background: rgba(0, 170, 0, 0.1);
    color: #00AA00;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.8em;
}

.server-extra { font-size: 0.8em; color: #666; margin: 5px 0; }

.player-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }

.player-toggle {
    background: #222;
    border: 1px solid #444;
    color: #00AA00;
    padding: 5px 10px;
    font-size: 0.75em;
    cursor: pointer;
    width: 100%;
    text-align: left;
    margin-top: 10px;
    border-radius: 3px;
    display: flex;
    justify-content: space-between;
}

.player-list-dropdown {
    display: none; /* Hidden by default */
    background: #111;
    border: 1px solid #333;
    border-top: none;
    max-height: 150px;
    overflow-y: auto;
    padding: 5px;
}

.player-item {
    font-size: 0.8em;
    padding: 3px 8px;
    color: #bbb;
    border-bottom: 1px solid #222;
}



/* Navigation Container must be relative or flex */
.nav-menu {
    display: flex;
    position: relative;
    list-style: none;
    align-items: center;
}

/* Specific styling for the TCAdmin link */
.nav-admin {
    position: absolute;
    top: 0;
    right: 0;
}

.nav-admin a {
    color: #ff4444 !important; /* Bold Red */
    font-weight: bold;
    border: 1px solid #ff4444;
    padding: 5px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.nav-admin a:hover {
    background: #ff4444;
    color: #fff !important;
}

/* Adding the Gear Icon via CSS Pseudo-element */
.nav-admin a::before {
    content: '⚙'; /* Gear unicode icon */
    font-size: 1.2em;
}

.p-tag {
    background: #222;
    border: 1px solid #444;
    color: #ccc;
    font-size: 0.7em;
    padding: 2px 6px;
    border-radius: 10px;
}

.p-tag-more { font-size: 0.7em; color: #555; align-self: center; }

.map-btn {
    display: block;
    background: #4a6741; /* Earthy Green/Brown for Map */
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85em;
    margin-bottom: 5px;
    text-align: center;
    border: 1px solid #3d5435;
}

.map-btn:hover {
    background: #5d8252;
}

.member-pulse {
    background: #111;
    border: 1px solid #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    color: #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse-dot {
    height: 8px;
    width: 8px;
    background-color: #00AA00;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(0, 170, 0, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0px rgba(0, 170, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 170, 0, 0); }
    100% { box-shadow: 0 0 0 0px rgba(0, 170, 0, 0); }
}

.welcome-pulse {
    border-color: #007bff !important; /* Blue accent for welcome */
}

.welcome-text {
    font-size: 0.75em;
    color: #007bff;
    font-weight: bold;
    letter-spacing: 1px;
}

.card-discord {
    border-left: 5px solid #7289da;
}
.map-btn {
    display: block;
    background: #4a6741;
    color: #fff;
    padding: 6px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8em;
    margin-bottom: 5px;
    text-align: center;
}

/* Ensure the header stacks nicely on mobile */
@media (max-width: 600px) {
    .roster-header {
        flex-direction: column;
        align-items: flex-start !important;
    }
}

.user-stats span:last-child {
    font-family: 'Courier New', Courier, monospace; /* Makes numbers look like a game UI */
}

.roster-card:hover .user-stats span:last-child {
    text-shadow: 0 0 5px rgba(0, 170, 0, 0.5);
    transition: all 0.3s ease;
}

.roster-card {
    position: relative; /* Required for absolute positioning of medal */
}

.medal-ribbon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2em;
    cursor: help;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

.medal.diamond {
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.8; transform: scale(1); }
}

/* Container for the group icons */
.member-group-icons {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px; /* Space between multiple icons */
}

/* Make group images match primary rank style */
.group-rank-wrapper img {
    /* Set this height to match your .rank-icon img height */
    max-width: 100px; /* Standard rank image width */
    height: auto;
    display: inline-block;
    /* Optional: adds a slight separation if icons touch */
    filter: drop-shadow(0px 1px 2px rgba(0,0,0,0.3));
}


/* Responsive adjustment for small cards */
.roster-card .member-group-icons {
    padding: 0 5px;
}

.filter-btn {
    background: #222;
    border: 1px solid #444;
    color: #888;
    padding: 8px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: #00AA00;
    color: #fff;
}

.filter-btn.active {
    background: #00AA00;
    border-color: #00FF00;
    color: #fff;
}

/* Ensure the badge is a block so it can animate */
span.comment-badge {
    display: inline-block !important;
}

/* Force PMs to Pulse Red */
.pulse-red {
    animation: pulse-red-key 1s infinite !important;
}

/* Force Notifications to Pulse Blue */
.pulse-blue {
    animation: pulse-blue-key 3s infinite !important;
}

/* Keyframe for Red Glow */
@keyframes pulse-red-key {
    0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(211, 47, 47, 0); }
    100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); }
}

/* Keyframe for Blue Glow */
@keyframes pulse-blue-key {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

.roster-card {
    background: #1a1a1a;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.2s;
}

.roster-card:hover {
    transform: translateY(-2px);
    border-color: #00AA00;
    transition: all 0.2s ease;
}

#roster-results {
    min-height: 400px; /* Keeps the footer from jumping up while searching */
    transition: opacity 0.1s ease-in-out;
}

#live-search:focus {
    border-color: #00AA00;
    outline: none;
}

em {
/* font-style: italic; */
font-size: 12px;
width: 500px;
/* font-size: 11px; */
padding-left: 15px;
padding-top: 5px;
padding-bottom: 5px;
line-height: 15px;
color: #a9a9a9;
}




////

/* Container for sidebar and main feed */
#c0 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 866px;
    margin: 0 auto;
    padding: 20px;
}

/* Left Sidebar (c1) */
#c1 {
    flex: 1 1 250px; /* Grow to 1, shrink to 1, base width 250px */
    max-width: 300px;
}

/* Main Content (c2) */
#c2 {
    flex: 3 1 600px; /* Take up 3x more space than sidebar */
}

/* Ensure images don't break the layout */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile responsive: Stack sidebar on top for screens < 800px */
@media (max-width: 800px) {
    #c0 {
        flex-direction: column;
    }
    #c1, #c2 {
        max-width: 100%;
    }
}

#c2 {
	width:530px;
	float:right;
	}
	
#c1 {
	width:290px;
	float:left;
	}
	
	
#c0 {
	width:866px;
	margin:auto;
	margin-bottom:15px;
	}
	
	.box {
	margin-bottom:15px;
	}
	
.box_head {
	width:290px;
	height:24px;
	background-image: url('images/box_head.png');
	margin-bottom:5px;
	}
	
.box_head p {
	font-size:12px;
	letter-spacing:2px;
	line-height:24px;
	margin-left:10px;
	color:#cbcbcb;
	}
	
.box_head a {
	font-size:12px;
	letter-spacing:2px;
	line-height:24px;
	margin-left:10px;
	color:#cbcbcb;
	}