html {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	display: block;
	width: 100%;
	height: 100%;
    background-color: #0E0E0E;
    color: #39ff14;
    font-family: 'Orbitron', Arial, sans-serif;
    text-align: center;
	margin:0;
    padding: 0;
}

.clr {
	display: block;
	width: 100%;
	height: 1px;
	margin:0;
	padding:0;
	clear:both;
}

#header {
	display: block;
	width: 100%;
	height: auto;
	line-height: 60px;
	margin:0;
	padding:0;
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom: 2px solid #7f00ff;
}

#headerLeft {
	display: inline-block;
	float: left;
	margin-left: 10px;
}

#headerRight {
	display: inline-block;
	float: right;
	margin-right: 10px;
}

#headerLeft h1 {
	float: left;
	font-size: 36px;
    margin-bottom: 0px;
	margin-top: 0px;
}

#headerLogo {
	height: 50px;
	width: auto;
	vertical-align: middle;
}

#mainLeftCol {
	position: relative;
	display: none;
	width: 25%;
	height: calc(100% - 85px);
	margin:0;
	margin-top: -1px;
	padding:0;
	border-right: 2px solid #7f00ff;
	float: left;
}

#leaveLobbyBtn {
        position: absolute;
        bottom: 20px;
        left: 50%;
        width: 80%;
        font-size: 32px;
        transform: translateX(-50%);
}

#skipBtn {
        position: absolute;
        bottom: 90px;
        left: 50%;
        width: 80%;
        font-size: 32px;
        transform: translateX(-50%);
}

#createGameBtn {
	width: 80%;
	font-size: 32px;
	margin-top: 20px;
}

.leftNavItem, #playersTitle {
	display: block;
	width: 100%;
	height: 60px;
	margin:0;
	padding:0;
	line-height: 60px;
	border-bottom: 2px solid #7f00ff;
	cursor: pointer;
}

.leftNavItem.active, #playersTitle {
	background-color: #7f00ff;
	cursor: default;
	user-select: none;
}

#mainRightCol {
	position: relative;
	display: inline-block;
	width: 100%;
	height: calc(100% - 86px);
	margin:0;
	margin-top: -1px;
	padding:0;
	float: right;
	overflow-y: auto;
	background-image: url("/images/outpostNoon.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

#infoDump, #createLobby, #joinLobby, #settings {
	display: block;
	max-width: 1000px;
	width: calc(100% - 40px);
	margin-right: auto;
	margin-left: auto;
	margin-top: 20px;
	padding: 10px 20px;
	background-color: rgba(26, 26, 26, 0.75);
	border-radius: 20px;
}

#phaseModel {
	position: absolute;
	display: none;
	width: auto;
	height: auto;
	padding: 0px 10px;
	top:20px;
	left:50%;
	transform: translateX(-50%);
	border: 2px solid #ff00ff;
	background-color: rgba(26, 26, 26, 0.75);
	border-radius: 20px;
}

#timerModal {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin:0;
	padding:0;
	display:none;
	width: 100%;
	height: 200px;
	background-color: rgba(26, 26, 26, 0.75);
	border-top: 2px solid #ff00ff;
	border-bottom: 2px solid #ff00ff;
	color:#ff00ff;
	z-index:10;
}

#timerModal p {
	display: block;
	width: 100%;
	height: 100%;
	line-height: 200px;
	margin:0;
	padding:0;
	font-size: 50px;
	font-weight: bold;
}

#phaseModel p {
	display: block;
	width:100%;
	height: auto;
	margin: 10px 0px;
	font-size: 32px;
	color: #ff00ff;
	text-align: center;
}

#startGameBtn, #readyButton {
	position: absolute;
	top: 50%;
	left: 50%;
	font-size: 60px;
	transform: translate(-50%, -50%);
	background-color: rgba(26, 26, 26, 0.75);
}

#readyButton {
	top: 25%;
}

#playerNameInput, #createGameId, #chatInput, #joinGameId {
	padding: 10px;
	font-size: 16px;
	border: 2px solid #7f00ff;
	background: #1a1a1a;
	color: #39ff14;
	margin: 10px 0;
	border-radius: 8px;
	width: 250px;
	text-align: center;
}

.input {
	padding: 10px;
	font-size: 16px;
	border: 2px solid #7f00ff;
	background: #1a1a1a;
	color: #39ff14;
	margin: 10px 0;
	border-radius: 8px;
	width: 250px;
	text-align: center;
}

#chatContainer {
	position: absolute;
	bottom: 2px;
	display: block;
	width: 100%;
	height: auto;
	margin:0;
	padding:0;
}

#chatInput {
	display: inline-block;
	width: calc(100% - 112px);
	height: 40px;
	vertical-align: middle;
	line-height: 40px;
	padding:0;
	padding-left: 10px;
	margin:0;
	margin-left: 5px;
	border: 2px solid #7f00ff;
	border-top: 2px solid #00f0ff;
	border-right: none;
	background-color: rgba(26, 26, 26, 0.75);
	border-radius: 0px;
	border-bottom-left-radius: 20px;
	text-align: left;
	float: left;
}

#messageSendBtn {
	display: inline-block;
	width: 90px;
	height: 44px;
	line-height: 44px;
	margin:0;
	margin-right: 5px;
	padding:0;
	text-align: center;
	float: right;
	background-color: rgba(26, 26, 26, 0.75);
	border-radius: 0px;
	border-bottom-right-radius: 20px;
}

#messageSendBtn:hover, startGameBtn:hover, #readyButton:hover {
	background-color: #00f0ff;
  color: #0E0E0E;
}

button {
  background: none;
  border: 2px solid #00f0ff;
  color: #00f0ff;
  padding: 10px 20px;
  margin: 5px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #00f0ff;
  color: #0E0E0E;
}

#playerCount {
  color: #39ff14;
  margin-left: 10px;
  font-size: 18px;
	float: right;
	vertical-align: middle;
}

#publicLobbiesSection, #gameSection {
  margin-top: 30px;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  margin: 8px 5px;
  background: #1a1a1a;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #7f00ff;
  color: #ffffff;
}

#chatMessages li {
	all: unset;
	display: block;
}

#chatMessages {
	display: block;
	width: calc(100% - 34px);
	height: 150px;
	margin: 8px 5px;
	margin-bottom: 0px;
  padding: 10px;
 background-color: rgba(26, 26, 26, 0.75);
	border-radius: 20px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
  border: 2px solid #7f00ff;
	border-bottom: none;
  color: #ffffff;
	text-align: left;
	overflow-y: scroll;
	-ms-overflow-style: none;
  	scrollbar-width: none; 
}

#chatMessages::-webkit-scrollbar {
  display: none;
}

#playersList {
	margin-top: 0px;
}

#playersList li {
	display: inline-block;
	width: 100%;
	height: 60px;
	line-height: 60px;
	padding: 0px;
	margin: 0px;
	border-radius: 0px;
	font-weight: bold;
}

#playersList li.active {
	background-color: #00f0ff !important;
}

#visibilityOptions label {
  margin: 0 10px;
  font-size: 16px;
  color: #00f0ff;
}

#gameStatus {
	display: none;
  margin-top: 20px;
  font-size: 18px;
  color: #ff00ff;
}

.modal-overlay {
	position: relative;
  position: absolute;
  top: 0;
	left:0;
  background-color: rgba(0, 240, 255, 0.1);
  display: block;
  backdrop-filter: blur(3px);
	width: 100%;
	height: 100%;
	margin:0;
	padding:0;
	z-index: 20;
}

.modal-box {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
  background: #1a1a1a;
  color: #39ff14;
  padding: 20px 30px;
  border: 2px solid #00f0ff;
  border-radius: 12px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 0 20px #00f0ff;
  font-family: 'Orbitron', Arial, sans-serif;
}

.modal-box button {
  background: none;
  border: 2px solid #00f0ff;
  color: #00f0ff;
  padding: 8px 16px;
  margin-top: 15px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-box button:hover {
  background-color: #00f0ff;
  color: #0E0E0E;
}

#lobbyCodeDisplay {
  text-decoration: underline;
  cursor: pointer;
}
