/* Base styling */
body {
	background-color: #0b0c10;
	color: #e0e0e0;
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 20px;
}

h1, h2, h3, h4 {
	color: #66fcf1;
	font-weight: bold;
}

p {
	line-height: 1.6;
}

/* Override legacy font colors for visibility on dark backgrounds */
font[color="black"] {
  color: #e0e0e0 !important;
}

/* Links */
a {
	color: #66fcf1;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #ffffff;
	text-decoration: underline;
}

a:visited {
	color: #45a29e;
}

/* Area and player list entries */
.cmAreaTblEntry {
	text-align: center;
	font-size: 14pt;
	color: #66fcf1;
	background-color: #1f2833;
	border: 1px solid #45a29e;
	padding: 10px;
}

.cmPlayerListEntry {
	font-size: 12pt;
	color: #e0e0e0;
}

.cmPlayerListEntryArchon {
	font-size: 14pt;
	font-weight: bold;
	color: #f1c40f;
}

/* General table styling */
table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	background-color: #1f2833;
	color: #e0e0e0;
}

th, td {
	padding: 10px;
	border: 1px solid #45a29e;
	text-align: left;
}

th {
	background-color: #0b0c10;
	color: #66fcf1;
}

tr:nth-child(even) {
	background-color: #2c3e50;
}

/* Button styling */
.button-link {
	background-color: #45a29e;
	color: #0b0c10;
	padding: 8px 16px;
	border: none;
	border-radius: 4px;
	text-decoration: none;
	display: inline-block;
	transition: background-color 0.3s ease;
}

.button-link:hover {
	background-color: #66fcf1;
	color: #000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	body {
		padding: 10px;
	}
	table {
		font-size: 14px;
	}
}

/* Navigation menu */
.main-nav {
	background-color: #1f2833;
	border-bottom: 2px solid #45a29e;
	margin-bottom: 20px;
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1000px;
	margin: 0 auto;
	padding: 10px 20px;
	flex-wrap: wrap;
}

.nav-toggle {
	display: none;
	font-size: 1.5em;
	color: #66fcf1;
	cursor: pointer;
}

.nav-links {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.nav-links li {
	margin: 0 15px;
}

.nav-links a {
	color: #66fcf1;
	font-weight: bold;
	text-decoration: none;
	font-size: 1.1em;
	transition: color 0.3s ease;
}

.nav-links a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.nav-links a:visited {
	color: #45a29e;
}
.nav-row {
  background-color: #1f2833;
}


/* Mobile menu behavior */
@media (max-width: 768px) {
	.nav-tog
}

/* Improve contrast for legacy light grey table backgrounds */
td[bgcolor="LIGHTGREY"], th[bgcolor="LIGHTGREY"] {
  background-color: #2c3e50 !important; /* dark grey-blue */
  color: #e0e0e0 !important;
}

.nicEdit-main {
    background-color: #1a1a1a !important;
    color: #eeeeee !important;
    border: 1px solid #666666 !important;
}
