@import url('/css/font.css');

/**
 * GENERAL STYLING
 */
body {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	margin:0px;
	min-height:100vh;
}

body, input, select {
	font-family:Lato, Trebuchet MS, Arial, sans-serif;
}

body > div {
	overflow:hidden;
}

h1, h2, h3, h4 {
	color:#fff;
}

h1 {
	font-size:48px;
	font-weight:300;
	text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

h1 span {
	font-size:24px;
	color:#e0e0e0;
}

input[type="text"], input[type="password"], select {
	min-width:200px;
	border:solid 2px #374151;
	border-radius: 8px;
	padding:10px 14px;
	box-sizing:border-box;
	font-size: 14px;
	transition: all 0.3s ease;
	background-color: #1f2937;
	color: #e5e7eb;
	box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

input[type="text"]:focus, input[type="password"]:focus, select:focus {
	outline: none;
	border-color: #60a5fa;
	box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
	background-color: #111827;
}

select {
	padding:9px 14px;
}

input[type="submit"], .btn {
	display:inline-block;
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	font-size:14px;
	border:none;
	border-radius: 8px;
	text-decoration:none;
	color:#fff;
	padding:10px 20px;
	margin:0px 3px 0px 0px;
	cursor:pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
	font-weight: 500;
}

.btnsm {
	font-size:13px;
	padding:6px 12px;
}

.btnsub {
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
}

input[type="submit"]:hover, .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btngroup {
	margin-top:6px;
}

.log {
	border-radius: 12px;
	background-color:#1f2937;
	color:#e5e7eb;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.log li {
	list-style-type:none;
	border-bottom:solid 1px #374151;
	padding:12px 16px;
	margin-left:-40px;
	overflow:hidden;
	transition: background-color 0.2s ease;
}

.log li:hover {
	background-color: #374151;
}

.log li .left {
	float:left;
}

.log li .right {
	float:right;
}

.log li .fade {
	color:#6b7280;
}

.graph {
	width:100%;
	height:460px;
	background-color:#1f2937;
	border-radius: 12px;
	box-sizing:border-box;
	box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.container {
	width:90%;
	max-width:1000px;
	margin:0px auto;
}

.navbar, .errorbar, .client > div, .footer {
	display:none;
}

.client form {
	color:#fff;
}

.client form label {
	min-width:15%;
	display:inline-block;
	margin-right:6px;
}

.login form {
	color:#fff;
}

.errorbar {
	background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
	border-bottom:solid 1px rgba(0,0,0,0.1);
	padding:12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	color: #fff;
	font-weight: 500;
}

.footer {
	font-size:14px;
	color:#222;
	text-align:center;
}

/**
 * LOGIN STYLING
 */
.login {
	display:none;
}

.login .main {
	max-width:420px;
	background-color:#1f2937;
	border-radius: 16px;
	margin:120px auto 0px auto;
	box-shadow: 0 20px 60px rgba(0,0,0,0.6);
	overflow: hidden;
}

.login .error {
	display:none;
	background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
	color: #fff;
	padding:12px;
	margin-bottom:12px;
	font-weight: 500;
}

.login h1 {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	font-size:42px;
	font-weight:300;
	text-align:center;
	padding:24px 8px 28px 8px;
	color:#fff;
	margin:0px;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.login form {
	padding:32px 24px 24px 24px;
}

.login input[type="text"], .login input[type="password"] {
	width:100%;
	margin-bottom:16px;
}

.login input[type="submit"] {
	font-size:15px;
	padding:12px 24px;
	width: 100%;
}

.login .center {
	text-align:center;
}

/**
 * DIALOG STYLING
 */
.mask {
	display:none;
	position:fixed;
	top:0px;
	right:0px;
	bottom:0px;
	left:0px;
	background-color:rgba(0, 0, 0, 0.9);
	overflow-y:scroll;
	z-index:99;
}

.dialog {
	position:absolute;
	top:10%;
	right:10%;
	bottom:10%;
	left:10%;
	width:80%;
	min-width:360px;
	min-height:380px;
	background-color:#1f2937;
	border-radius: 16px;
	color:#e5e7eb;
	box-sizing:border-box;
	margin:0px auto;
	overflow:hidden;
	box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.dialog > div {
	position:absolute;
}

.dialog h1, .dialog h2, .dialog h3, .dialog h4 {
	font-weight:300;
	color:#e5e7eb;
	margin:0px;
}

.dialog h1 {
	font-size:32px;
}

.dialog h2 {
	font-size:14px;
}

.dialog h3 {
	font-size:12px;
	font-weight:bold;
	color:#6b7280;
	margin-bottom:0px;
}

.dialog .info {
	right:0px;
	width:260px;
}

.dialog .logs {
	top:0px;
	right:260px;
	bottom:0px;
	left:0px;
	border-right:solid 1px #374151;
	overflow-y:auto;
	padding:12px;
}

.dialog #skinpreview, .dialog .attribute {
	border-bottom:solid 1px #374151;
}

.dialog #skinpreview {
	margin-top:-32px;
}

.dialog .attribute {
	background-color:#111827;
	padding:9px;
}

.dialog .close {
	float:right;
	margin:12px;
}

.dialog .close img {
	width:24px;
	height:24px;
}

.dialog .filters .label {
	color:#e5e7eb;
}

.dialog ul {
	border-style:solid;
	border-width:1px 1px 0px 1px;
	border-color:#374151;
}

.dialog ul li:nth-child(even) {
	background-color:#374151;
}

/**
 * HEADER STYLING
 */
.navbar {
	background: rgba(31, 41, 55, 0.8);
	backdrop-filter: blur(10px);
	border-bottom:solid 1px rgba(59, 130, 246, 0.3);
	font-weight:300;
	color:#fff;
	overflow:hidden;
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.navbar h1 {
	font-size:24px;
	font-weight:400;
	cursor:pointer;
	float:left;
	letter-spacing: 0.5px;
}

.navbar .right {
	border-right:solid 1px rgba(59, 130, 246, 0.2);
	float:right;
	font-size:0;
}

.navbar .right a, .navbar .right a:link, .navbar .right a:visited {
	display:inline-block;
	border-left:solid 1px rgba(59, 130, 246, 0.2);
	text-decoration:none;
	color:#fff;
	padding:21px 16px;
	opacity:0.7;
	transition: all 0.3s ease;
	font-size:14px;
}

.navbar .right a:hover, .navbar .right a.active {
	opacity:1;
	background: rgba(59, 130, 246, 0.2);
}

.navbar img {
	float:left;
	margin:-2px 8px 0px 0px;
}

.dropdown {
	position:relative;
	overflow:visible;
}

.dropdown > div {
	position:absolute;
	right:0px;
	display:none;
	background: rgba(31, 41, 55, 0.95);
	backdrop-filter: blur(10px);
	border-radius: 8px;
	border: 1px solid rgba(59, 130, 246, 0.3);
	box-shadow: 0 8px 24px rgba(0,0,0,0.4);
	z-index:98;
	overflow: hidden;
	margin-top: 4px;
}

.dropdown a, .dropdown a:link, .dropdown a:visited {
	display:block;
	border-bottom:solid 1px rgba(59, 130, 246, 0.2);
	text-decoration:none;
	color:#e5e7eb;
	padding:12px 16px;
	transition: all 0.2s ease;
}

.dropdown a:hover {
	background: rgba(59, 130, 246, 0.2);
	color:#60a5fa;
}

/**
 * CONTENT STYLING
 */
.sect {
	overflow:hidden;
}

.half {
	width:50%;
	float:left;
}

.inner {
	margin:0px 16px;
}

.half:first-child .inner {
	margin-left:0px;
}

.half:last-child .inner {
	margin-right:0px;
}

.gr {
	color:#aaa;
}

/**
 * DASHBOARD STYLING
 */
#dashboard .graph {
	margin-top:16px;
}

.servers li .badge {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	color: #fff;
	border-radius:16px;
	font-size:13px;
	font-weight: 600;
	padding:4px 12px;
	float:right;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

/**
 * PLAYER STYLING
 */
#players {
	padding-top:24px;
}

#players .search {
	text-align:center;
}

#players .search input {
	font-size:24px;
	padding:12px 12px 14px 12px;
}

#players .search input[type="text"] {
	width:60%;
	max-width:600px;
	border:solid 2px #374151;
	border-radius:12px 0px 0px 12px;
	-moz-border-radius:12px 0px 0px 12px;
	-webkit-border-radius:12px 0px 0px 12px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#players .search input[type="submit"] {
	background: linear-gradient(135deg, #51cf66 0%, #37b24d 100%);
	border:none;
	border-radius:0px 12px 12px 0px;
	-moz-border-radius:0px 12px 12px 0px;
	-webkit-border-radius:0px 12px 12px 0px;
	color:#fff;
	transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(55, 178, 77, 0.3);
}

#players .search input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(55, 178, 77, 0.4);
}

#players .row {
	overflow:hidden;
}

#players .server {
	width:33%;
	box-sizing:border-box;
	padding-right:6px;
	overflow:hidden;
	float:left;
}

#players .server h4 {
	margin-bottom:4px;
}

#players h2 {
	font-weight:300;
	color:#fff;
	margin-bottom:6px;
}

.playericon {
	width:32px;
	height:32px;
	background-color:#000;
	border:solid 2px #374151;
	border-radius:8px;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.playerlink {
	cursor:pointer;
}

.playerlink .playericon:hover {
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/**
 * LOGS STYLING
 */
.logs .more {
	text-align:center;
	color:#333;
}

#logs .search {
	float:right;
}

.filters {
	color:#fff;
	padding-top:3px;
}

.filters .label {
	float:left;
}

.filters a {
	display:inline-block;
	background: rgba(59, 130, 246, 0.2);
	backdrop-filter: blur(10px);
	border-radius:20px;
	font-family:Lato, Arial;
	font-weight:600;
	font-size:13px;
	padding:6px 14px;
	margin:0px 0px 6px 6px;
	transition: all 0.3s ease;
	cursor:pointer;
	border: 2px solid rgba(59, 130, 246, 0.3);
	color: #93c5fd;
}

.filters a:hover, .filters a.active {
	background: rgba(59, 130, 246, 0.4);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/**
 * RESPONSIVE STYLING
 */
@media screen and (max-width: 900px) {
	#playerinfo .search input {
		width:100%;
		margin-bottom:9px;
	}
}

@media screen and (max-width: 700px) {
	.navbar .right {
		border-right:none;
	}

	.navbar .right a, .navbar .right a:link, .navbar .right a:visited {
		border-left:none;
	}

	.navbar .right span {
		display:none;
	}

	.navbar .right img {
		padding-right:0px;
	}

	.dropdown {
		display:block;
		position:initial;
	}
	
	.dropdown > div {
		left:0px;
	}
	
	input[type="text"], input[type="password"], select {
		width:100%;
		margin-bottom:6px;
	}

	.half {
		width:100%;
		float:initial;
	}

	.half .inner {
		margin:0px;
	}

	#players .server {
		width:100%;
		padding-bottom:12px;
	}

	#players .search input[type="text"] {
		width:60%;
	}
	 
	.dialog {
		position:static;
		width:100%;
		border:none;
		margin-top:0px;
	}
	
	.dialog > div {
		position:static;
	}
	
	.dialog .info {
		width:100%;
	}
	 
	.dialog #skinpreview {
		display:none;
	}
}
 
@media screen and (max-width:420px) {
	h1 {
		font-size:36px;
	}
	
	h1 span {
		font-size:18px;
	}
	
	.navbar h1, .navbar .right {
		float:initial;
	}
	
	.navbar .right a, .navbar .right a:link, .navbar .right a:visited {
		padding:0px 12px 12px 0px;
	}
	
	.login .main {
		max-width:100%;
		margin:12px;
	}
	
	#players .search input {
		font-size:16px;
	}
}
