html,
body {
    overflow-x: hidden;
	margin: 0px;
	font-family: Arial;
	scrollbar-color: #CA9 #024;
}

.text-success {
	font-weight: bold;
	font-size: 12px;
	color: #0F0;
}

.text-danger {
	font-weight: bold;
	font-size: 12px;
	color: #F00;
}

/* ########## NAVBAR ########## */

.navbar-container {
	width:100%;
	background: rgb(32,48,64);
	height: 70px;
	margin: 0px;
	padding: 0px;
}

.navbar-container-grid {
	display: grid;
	grid-template-columns: fit-content(12px) auto fit-content(12px);
	background-color: transparent;
	padding: 0px;
	width: 100%;
	margin: 0px;
}
.navbar-container-grid-border-bottom {
	background: url('/assets/images/gridcontainer/border-bottom.png');
	background-repeat: repeat-x;
	background-position: bottom;
	height: 12px;
	margin-left: -15px;
}
.navbar-container-grid-border-left {
	background: url('/assets/images/gridcontainer/border-left.png');
	background-repeat: repeat-y;
	background-position: left;
	width: 12px;
}
.navbar-container-grid-border-right {
	background: url('/assets/images/gridcontainer/border-right.png');
	background-repeat: repeat-y;
	background-position: right;
	width: 12px;
}
.navbar-container-grid-corner-bottom-left {
	background: url('/assets/images/gridcontainer/border-corner-bottom-left2.png');
	background-repeat: no-repeat;
	background-position: top, right;
	z-index: 20;
	width: 30px;
	height: 30px;
	margin: -19px;
	padding: 20px;
}
.navbar-container-grid-corner-bottom-right {
	background: url('/assets/images/gridcontainer/border-corner-bottom-right2.png');
	background-repeat: no-repeat;
	background-position: top, left;
	z-index: 20;
	width: 30px;
	height: 30px;
	margin: -17px;
}
.navbar-container-grid-content {
	margin-left: -20px;
	height: 58px;
	box-shadow: inset 0em 0em 2em rgba(0,0,0,0.75);
}




.navbar-container-left {
	width: calc(50% - 10px);
	margin-top: 5px;
}

.navbar-container-left-badge {
	width: 50%;
	display: flex;
	align-items: center;
	justify-content: left;
	margin-left:80px;
}

.navbar-container-left-anchor {
	color: #FFF;
	text-decoration: none;
	font-family: Arial;
	color: #FDA;
	font-weight: bold;
	font-size: 16px;
	text-shadow: 1px 1px 3px black;
}

.navbar-container-left-anchor-img {
	width: 50px;
	height: 50px;
	margin-right: 20px;
}

.navbar-container-right {
	width: calc(50% - 50px);
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: right;
	margin-right:80px;
}

.navbar-container-right-subitem {
	display: flex;
	flex-direction: column;
	min-width: max-content;
	margin-left: 10px;
	margin-right: 10px;
}

.navbar-container-right-subitem-anchor {
	color: #FFF;
	text-decoration: none;
	font-family: Arial;
	color: #FDA;
	font-weight: bold;
	font-size: 16px;
	text-shadow: 1px 1px 3px black;
}

.navbar-profile-img {
	width: 30px;
	height: 30px;
	border-radius: 15px;
}

.navbar-profile-dropdown {
	position: relative;
}

.navbar-profile-dropdown-toggle {
	display: flex;
	align-items: center;
	width: 100%;
	background: linear-gradient(rgba(16,32,48,255) 0%, rgba(32,48,64,255) 33%, rgba(32,48,64,255) 66%, rgba(16,32,48,255) 100%);
	color: #FDA;
	border: 2px solid #DA8;
	border-radius: 10px;
	box-shadow:0 .25rem .75rem rgba(0, 0, 0, .1);
}

.navbar-profile-dropdown-toggle:hover {
	border: 2px solid #FF0;
	color: #FF0;
}

.navbar-profile-dropdown-toggle p {
	font-size: 14px;
	font-weight: bold;
	margin: 0px;
	margin-left: 10px;
}

.navbar-profile-dropdown-menu {
	display: none;
	background: linear-gradient(rgba(16,32,48,255) 0%, rgba(32,48,64,255) 33%, rgba(32,48,64,255) 66%, rgba(16,32,48,255) 100%);
	border: 2px solid #DA8;
	border-radius: 15px;
	flex-direction: column;
	padding: 5px;
	position: fixed;
	z-index: 999;
}

.navbar-profile-dropdown-menu-item {
	margin: 5px;
	font-size: 16px;
	text-decoration: none;
	color: #FDA;
}

.navbar-profile-dropdown-menu-item:hover {
	color: #FF0;
	color: #FF0;
}






.landing-bg {
	background: url('../images/background.jpg');
	background-size:cover;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0px;
	left: 0px;
	z-index:-1;
}

.text-white-50 {
    color: rgba(255, 255, 255, .5);
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.map-column {
	width: 100%;
	height: calc(100% - 70px);
	overflow: hidden;
}

img {
	image-rendering: pixelated;
	image-rendering: -moz-crisp-edges;
	image-rendering: -crisp-edges;
}

.tableheader {
	width: 33%;
	text-align: center;
	font-size: 1.5em;
}

.leaflet-pane {
	image-rendering:pixelated;
}

.leaflet-control-layers-group-name {
	font-weight:bold;
	margin-bottom:.2em;
	margin-left:3px;
	background:#FFFFCC;
}
.leaflet-control-layers-group {
	margin-bottom:.5em
}
.leaflet-control-layers-scrollbar {
	overflow-y:scroll;
	padding-right:10px
}
.leaflet-control-layers-selector {
	margin-left:15px;
}
.route-corridor {
	color: #FFF;
}

.leaflet-container {
    background: #373F6F;
}
.editorcolumn {
	position:absolute;
	bottom:10px;
	left:10px;
	z-index:900;
	max-height: calc(100% - 175px);
	overflow-y: scroll;
}
.serverinfo-column {
	display: none;
	width: 500px;
	float: left;
	background: linear-gradient(rgb(8, 16, 32) 0%, rgb(16, 32, 48) 33%, rgb(16, 32, 48) 66%, rgb(8, 16, 32) 100%);
	height: calc(100% - 70px);
	overflow-y: scroll;	
}
.editorswanted {
	color: #FFF;
	width: 500px;
	height: auto;
}
.editorswanted h4 {
	color: #F00;
	font-family: Arial;
	font-weight: normal;
	font-size: 32px;
	margin: 10px;
}
.editorswanted h5 {
	color: #DA8;
	font-family: Arial;
	font-weight: normal;
	font-size: 28px;
	margin: 10px;
}
.editorswanted p {
	color: #FDA;
	margin: 0px;
	font-family: Arial;
	font-weight: normal;
	font-size: 14px;
}
.editorswanted a {
	color: #FD5;
}
#editorswantedclosebutton {
	position: absolute;
	top: 0px;
	right: 0px;
	font-size:18px;
	font-weight: bold;
	color:#FFF;
}




.map_selector_container {
	display:block;
	width:100%;
	margin-top:20px;
}
.map_selector_table_header {
	width:calc(100% - 40px);
	font-size:2em;
	text-align:center;
	margin: 0px;
	padding:20px;
	color: #FDA;
	font-weight: bold;
	text-shadow: 0px 0px 20px #000;
}
.map_selector_table {
	width:100%;
	display:flex;
}
.map_selector_table_full {
	width:100%;
}
.map_selector_table_half {
	width:50%;
}
.map_selector_table_column_50 {
	width:50%;
	margin: auto;
}
.map_selector_table_column_75 {
	width:75%;
	margin: auto;
}

.map_selector_table_link {
	color: #FDA;
	font-size:20px;
	font-weight: normal;
	text-decoration: none;
}

.map_selector_table_link:hover {
	color: #FD0;
	font-size:20px;
	font-weight: normal;
	text-decoration: none;
}



.projectdescription {
	display:block;
	text-align:center;
	width:50%;
	min-width: 400px;
	color: #FDA;
	text-shadow: 0px 0px 20px #000;
}
.projectdescription a {
	color: #FD5;
}

.projectdescription-header {
	width:100%;
	text-align:center;
	font-size:24px;
	font-weight: bold;
	color: #FDA;
}
.projectdescription ul {
	text-align:center;
	color: #FDA;
	width: max-content;
	text-shadow: 3px 3px 6px #000;
	margin: auto;
	font-size: 24px;
	font-weight: bold;
}
.projectdescription ul li {
	text-align:center;
	width: max-content;
	color: #EC9;
	font-size: 16px;
	font-weight: normal;
	text-shadow: 3px 3px 6px #000;
}



/* ############### LOGIN PAGE ############### */

.map_selector_table_login {
	width: 400px;
	margin: auto;
}

.map_selector_table_login_content {
	background: linear-gradient(rgba(16,32,48,255) 0%, rgba(32,48,64,255) 33%, rgba(32,48,64,255) 66%, rgba(16,32,48,255) 100%);
	border: 2px solid #FD5;
	border-radius: 50px;
	padding: 20px;
	margin: auto;
	margin-top: auto;
	margin-bottom: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: center;
	width: calc(100% - 40px);
}
.login-form-auth {
	padding: 15px;
}
.login-form-auth h6 {
	font-size: 18px;
	color: #FDA;
	margin: 20px;
}
.login-form-group {
	color: #DA8;
	margin: 10px;
}
.login-textbox { 
	font-size: 18px;
	padding:5px;
}
.login-rememberme { 
	margin: 15px;
}
.login-rememberme-label { 
	font-size: 18px;
	padding:5px;
	color: #FDA;
}
.login-submit-button {
	font-size: 18px;
	padding:5px;
	border: 1px solid #DA8;
	border-radius: 5px;
	background: rgba(16,32,48,0.75);
	color: #FDA;
}
.login-recover-pw a {
	color: #FD5;
}



.profile-edit-container {
	display: flex;
	flex-direction: row;
}

.profile-edit-map-config-column {
	width: max-content;
	padding: 10px;
	border-left: 2px solid #DA8;
	padding-left: 0px;
}

.profile-edit-map-config-header {
	font-size: 18px;
	font-weight: bold;
	color: #FDA;
	padding-bottom: 50px;
}

.profile-edit-map-config-group {
	display: flex;
	flex-direction: column;
	text-align: left;
	justify-content: left;
	padding: 5px;
	border-top: 2px solid #DA8;
}

.profile-edit-map-config-group-title {
	color: #FD8;
	font-weight: bold;
	font-size: 16px;
	margin-left: 10px;
}

.profile-edit-map-config-group-row {
	margin-left: 40px;
}

.profile-edit-map-config-group-label {
	color: #FDA;
	font-size: 14px;
}


/* DASHBOARD? */

.map_selector_table_autosize_column {
	width: auto;
	margin: auto;
}

.map_selector_table_autosize_column_content {
	background: linear-gradient(rgba(16,32,48,255) 0%, rgba(32,48,64,255) 33%, rgba(32,48,64,255) 66%, rgba(16,32,48,255) 100%);
	border: 2px solid #FD5;
	border-radius: 50px;
	padding: 20px;
	margin: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: center;
	width: min-content;
}

.dashboard-user-table {
	
}

.dashboard-user-table td {
	color: #FDA;
}


























.flex-column {
	display: flex;
	flex-direction: column;
}

.flex-row {
	display: flex;
	flex-direction: row;
}

.flex-centered {
	align-items: center;
	justify-content: center;
}

.flex-wrap {
	flex-wrap: wrap;
}

.text-centered {
	text-align: center;
}


/* ########## SERVER SELECTION ########## */
.map_selector_border {
	padding: 10px;
	margin: 10px;
}
.map_selector-grid-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-gap: 10px;
	padding: 10px;
}
.map_selector-grid-item {
	width: 300px;
	height: 300px;
	background-color: #f0f0f0;
	border: 1px solid #ccc;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 20px;
}
.map_selector_table_category {
	font-size:2em;
	text-align:center;
	margin: 0px;
	padding:20px;
	color: #FDA;
	font-weight: bold;
	text-shadow: 0px 0px 20px #000;
}
}

.whatsnew_container {
	padding: 20px;
	margin:auto;
	margin-top:10px;
	margin-bottom:10px;
	text-align: left;
	color: #FDA;
	max-height: 400px;
	overflow-y: scroll;
}


/* ########## ITEM GRID CONTAINER ########## */

.grid-container {
	display: grid;
	grid-template-columns: fit-content(12px) auto fit-content(12px);
	background-color: transparent;
	padding: 0px;
	justify-content: center;
	width: 80%;
	margin:auto;
	margin-top: 50px;
}
.grid-container .grid-item {
	display:block;
	padding: 16px;
	margin: -10px;
}
.grid-container-border-top {
	background: url('/assets/images/gridcontainer/border-top.png');
	background-repeat: repeat-x;
	background-position: top;
}
.grid-container-border-bottom {
	background: url('/assets/images/gridcontainer/border-bottom.png');
	background-repeat: repeat-x;
	background-position: bottom;
}
.grid-container-border-left {
	background: url('/assets/images/gridcontainer/border-left.png');
	background-repeat: repeat-y;
	background-position: left;
}
.grid-container-border-right {
	background: url('/assets/images/gridcontainer/border-right.png');
	background-repeat: repeat-y;
	background-position: right;
}
.grid-container-corner-top-left {
	background: url('/assets/images/gridcontainer/border-corner-top-left2.png');
	background-repeat: no-repeat;
	background-position: bottom, right;
	z-index: 20;
}
.grid-container-corner-top-right {
	background: url('/assets/images/gridcontainer/border-corner-top-right2.png');
	background-repeat: no-repeat;
	background-position: bottom, left;
	z-index: 20;
}
.grid-container-corner-bottom-left {
	background: url('/assets/images/gridcontainer/border-corner-bottom-left2.png');
	background-repeat: no-repeat;
	background-position: top, right;
	z-index: 20;
}
.grid-container-corner-bottom-right {
	background: url('/assets/images/gridcontainer/border-corner-bottom-right2.png');
	background-repeat: no-repeat;
	background-position: top, left;
	z-index: 20;
}
.grid-container-content {
	background: linear-gradient(rgba(18,13,8,0.75) 0%, rgba(28,23,18,0.75) 10%, rgba(28,23,18,0.75) 90%, rgba(18,13,8,0.75) 100%);
	grid-column: 2;
	padding: 16px;
	margin: -10px;
}

























/* VERIFY PAGE */

.verification-request-column_content {
	background: linear-gradient(rgba(16,32,48,255) 0%, rgba(32,48,64,255) 33%, rgba(32,48,64,255) 66%, rgba(16,32,48,255) 100%);
	border: 2px solid #FD5;
	border-radius: 50px;
	padding: 20px;
	margin: auto;
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: center;
	width: 75%;
	margin: auto;
}
.verification-request {
	
}
.verification-request h6 {
	font-size: 24px;
	color: #F00;
	margin: 25px;
}
.verification-request p {
	color: #FDA;
	font-size: 16px;
	text-align: center;
}
.verification-request a {
	color: #FD5;
}






/* PAGE FOOTER */

.page-footer-disclaimer {
	font-family: Arial;
	font-weight: normal;
	font-size: 12px;
	text-align: center;
	color: rgb(165,120,64);
	text-shadow: 1px 1px 3px black;
	margin: 50px;
	margin-left: 100px;
	margin-right: 100px;
}

.page-footer-attrib {
	width: 100%;
	font-family: Arial;
	font-weight: normal;
	font-size: 14px;
	text-align: center;
	color: #CCC;
	text-shadow: 1px 1px 3px black;
	margin-top: 50px;
	margin-bottom: 50px;
}


















/* Custom Leaflet UI Styling */
.legend {
	border: 1px solid #DA8;
	background: rgba(32,26,8,0.75);
	color: #FFF;
    line-height: 18px;
}
.legend p {
    height: 18px;
    margin: 5px;
    opacity: 1;
    font: 12px/14px Arial, Helvetica, sans-serif;
	color: #FDA;
}
.legend h4 {
	color: #FDA;
    margin: 5px;
	font-size: 24px;
	text-align:center;
}
.legend hr {
	clear:left;
    margin: 15px;
}
.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
	clear:left;
}
.info {
	border: 1px solid #DA8;
	background: linear-gradient(rgba(16,32,48,255) 0%, rgba(32,48,64,255) 33%, rgba(32,48,64,255) 66%, rgba(16,32,48,255) 100%);
	color: #FDA;
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}

.map-marker-label-deed {
	background: #124;
	color: #FDA;
	padding: 2px;
	border: 1px solid #DA8;
	box-shadow: 0 0 10px #000;
}
.map-marker-label-deed:before {
	display: none;
}

.map-marker-label-deed-merchant {
	background: #124;
	color: #FD2;
	padding: 2px;
	border: 1px solid #CA0;
	box-shadow: 0 0 10px #000;
	font-size: 12px;
	z-index: 8888;
}
.map-marker-label-deed-merchant:before {
	display: none;
}

.map-marker-label-deed-starter {
	background: #124;
	color: #FD2;
	padding: 2px;
	border: 2px solid #CA0;
	box-shadow: 0 0 10px #000;
	font-size: 14px;
	font-weight: bold;
	z-index: 9999;
}
.map-marker-label-deed-starter:before {
	display: none;
}

.map-marker-label-tower {
	background: rgba(0,0,0,0.5);
	color: #FFF;
	padding: 0px;
	border: none;
	box-shadow: 0 0 5px #000;
	font-size: 10px;
}
.map-marker-label-tower:before {
	display: none;
}





/* Treasure Map Route Finder Styles */
.leaflet-control-tasks {
	z-index: 1000;
	background: rgba(32, 48, 64, 1);
	border-radius: 8px;
	border: 1px solid #DA8;
	box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 0, 0, 0.75);
	color: #FDA;
	width: 320px;
	max-height: 75vh;
	overflow-y: auto;
	font-size: 11px;
}

.leaflet-control-tasks::-webkit-scrollbar {
	width: 8px;
}

.leaflet-control-tasks::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.3);
}

.leaflet-control-tasks::-webkit-scrollbar-thumb {
	background: #DA8;
	border-radius: 4px;
}

.control-header {
	background: linear-gradient(135deg, #1F3F5F 0%, #0F2F4F 100%);
	padding: 5px 6px;
	border-bottom: 1px solid #DA8;
	box-shadow: inset 0 0 10px #000;
	position: sticky;
	top: 0;
	z-index: 10;
}

.control-title {
	font-size: 18px;
	color: #FDA;
}

.control-actions {
	padding: 10px 12px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	border-bottom: 1px solid rgba(255, 244, 190, 0.3);
}

.btn {
	padding: 4px 6px;
	border: 1px solid;
	background: transparent;
	color: inherit;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: inset 0 0 10px #000;
}

.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: currentColor;
	transition: left 0.3s ease;
	z-index: -1;
	opacity: 0.2;
}

.btn:hover::before {
	left: 0;
}

.btn-primary {
	border-color: #DA8;
	color: #DA8;
}

.btn-primary:hover {
	box-shadow: 0 0 20px rgba(255, 244, 190, 0.6);
}

.btn-secondary {
	border-color: #FDA;
	color: #FDA;
}

.btn-secondary:hover {
	box-shadow: 0 0 20px rgba(255, 244, 190, 0.6);
}

.btn-save {
	border-color: #DA8;
	color: #DA8;
}

.btn-save:hover {
	box-shadow: 0 0 20px rgba(255, 244, 190, 0.6);
}

.btn-load {
	border-color: #DA8;
	color: #DA8;
}

.btn-load:hover {
	box-shadow: 0 0 20px rgba(255, 244, 190, 0.6);
}

.task-list {
	padding: 8px 12px;
}

.task-card {
	background: rgba(30, 30, 40, 0.8);
	border: 1px solid rgba(244, 205, 91, 0.5);
	padding: 8px;
	margin-bottom: 8px;
	position: relative;
	transition: all 0.2s ease;
}

.task-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 100%;
	background: linear-gradient(180deg, #FDA 0%, #DA8 100%);
}

.task-card:hover {
	border-color: #FDA;
	box-shadow: 0 0 15px rgba(255, 244, 190, 0.3);
}

.task-header {
	display: flex;
	align-items: center;
	gap: 6px;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(255, 244, 190, 0.3);
	margin-bottom: 6px;
}

.task-checkbox {
	width: 14px;
	height: 14px;
	cursor: pointer;
}

.task-id {
	font-size: 13px;
	font-weight: 600;
	color: #DA8;
	flex: 1;
}

.task-meta {
	display: flex;
	gap: 8px;
	margin-bottom: 6px;
}

.meta-chip {
	background: rgba(64, 84, 128, 0.2);
	border: 1px solid rgba(64, 84, 128, 0.5);
	padding: 2px 6px;
	font-size: 9px;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.meta-label {
	color: #DA8;
	font-weight: 700;
}

.meta-value {
	color: #fff;
}

.locations {
	margin: 6px 0;
}

.location-item {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 3px 4px;
	margin-bottom: 2px;
	background: rgba(0, 255, 255, 0.05);
	font-size: 9px;
}

.location-item.visited {
	opacity: 0.4;
	text-decoration: line-through;
}

.loc-num {
	background: #DA8;
	color: #000;
	width: 16px;
	height: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 9px;
	flex-shrink: 0;
}

.loc-coords {
	font-size: 9px;
	color: #00ffff;
	font-family: 'JetBrains Mono', monospace;
}

.task-actions {
	display: flex;
	gap: 4px;
	margin-top: 6px;
}

.btn-small {
	flex: 1;
	padding: 5px 8px;
	border: 1px solid;
	background: transparent;
	font-family: 'JetBrains Mono', monospace;
	font-size: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.btn-next {
	border-color: #00ffff;
	color: #00ffff;
}

.btn-next:hover {
	background: rgba(0, 255, 255, 0.2);
	box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.btn-complete {
	border-color: #ffff00;
	color: #ffff00;
}

.btn-complete:hover {
	background: rgba(255, 255, 0, 0.2);
	box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.btn-add {
	border-color: #2C6;
	color: #2C6;
}

.btn-add:hover {
	background: rgba(64, 233, 105, 0.2);
	box-shadow: 0 0 10px rgba(64, 233, 105, 0.5);
}

/* Custom marker */
.custom-marker {
	background: linear-gradient(135deg, #369 0%, #135 100%);
	border: 1px solid #FDA;
	border-radius: 8px;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FDA;
	font-weight: 700;
	font-size: 14px;
	box-shadow: inset 0 0 8px #000, 0 0 8px #000;
	text-shadow: 0 0 8px #000;
}

/* Notification */
.notification {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, #369 0%, #135 100%);
	border: 1px solid #FDA;
	border-radius: 8px;
	padding: 12px 20px;
	color: #FDA;
	font-size: 18px;
	font-weight: 600;
	box-shadow: inset 0 0 20px #000, 0 0 30px rgba(64, 244, 255, 0.5);
	z-index: 2000;
	display: none;
	animation: slideUp 0.3s ease;
	max-width: 400px;
	text-align: center;
}

.notification.active {
	display: block;
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translate(-50%, 20px);
	}
	to {
		opacity: 1;
		transform: translate(-50%, 0);
	}
}

.empty-state {
	padding: 20px 12px;
	text-align: center;
	color: rgba(255, 255, 255, 0.5);
	font-size: 10px;
	font-style: italic;
}





/*
Grinder SkillCalc Styling
*/
.grinder-controls-single {
	display: flex;
	flex-direction: column;
	color: #FDA;
	padding: 5px;
}

.grinder-sim-stats {
	background: rgba(0,0,0,0.25);
	margin: 10px;
	padding: 5px;
}

.grinder-sim-stats-single {
	background: rgba(0,0,0,0.25);
	padding: 5px;
}

.grinder-footnote {
	margin: 15px;
	color: #FC9;
	font-size: 12px;
}


/*
Global Custom Input Styling
*/
input[type=number] {
	background: rgba(16,32,48,0.75);
	border: 1px solid #DA8;
	color: #FDA;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	background: rgba(16,32,48,0.75);
	border: 1px solid #DA8;
	color: #FDA;
}

input[type=number]::-webkit-outer-spin-button, 
input[type=number]::-webkit-inner-spin-button {
	-webkit-appearance: inner-spin-button !important;
	background: rgba(16,32,48,0.75);
	border: 1px solid #DA8;
	color: #FDA;
}

input[type="text"], input[type="password"], input[type="email"] {
	border: 0;
	background: rgba(32,48,64,0.75);
	box-shadow: inset 0em 0em 0.5em rgba(0,0,0,0.75);
	color: #FDA;
}
input[type="text"]:focus, input[type="password"]:focus {
	border: 1px solid #FC5;
	background: rgba(48,32,16,0.75);
	color: #FDA;
}

input[type="button"], input[type="submit"], button {
	border: 1px solid #DA8;
	background: rgba(16,32,48,0.75);
	color: #FDA;
	border-radius: 5px;
}
select {
	border: 1px solid #DA8;
	background: rgba(16,32,48,0.75);
	color: #FDA;
	border-radius: 5px;
}


.leaflet-container .leaflet-control-attribution {
	background: rgba(16,32,48,0.75);
	border: 1px solid #FC5;
	color: #FDA;
}
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
	background: rgba(16,32,48,0.75);
	border: 1px solid #FC5;
	color: #FDA;
}
.leaflet-touch .leaflet-bar a {
	background: rgba(16,32,48,0.75);
	border: 1px solid #FC5;
	color: #FDA;
}
.leaflet-touch .leaflet-bar a:hover {
	background: rgba(32,48,64,0.75);
	border: 1px solid #FD8;
	color: #FDA;
}
.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
	background: linear-gradient(rgba(16,32,48,255) 0%, rgba(32,48,64,255) 33%, rgba(32,48,64,255) 66%, rgba(16,32,48,255) 100%);
	border: 1px solid #FC5;
	color: #FDA;
}
.leaflet-control-layers-group-name {
	background: rgba(16,32,48,0.75);
	color: #FC5 !important;
}
.leaflet-control span {
	color: #FDA;
}
.serverinfo-panel-border {
	margin: 1px;
	color: #FDA;
	border-radius: 5px;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0,0,0,0) 50%, rgba(0, 0, 0, 0.3) 100%);
	padding: 20px;
	font-size: 20px;
	border: 1px solid #DA8;
	text-align: center;
}
.serverinfo-panel-inner {
	margin: 0px;
}
.server-event-list {
	height: 300px;
	overflow-y: scroll;
	overflow-x: hidden;
	margin: 0px;
	font-size: 12px;
	font-weight: normal;
	text-align: left;
}
.server-event-list-item {
	max-width: 400px;
	padding: 10px;
}
.server-event-list-item:nth-child(odd) {
	background: rgba(255,255,255,0.05);
}
.server-event-list-item .date {
	font-weight: bold;
}





.serverinfo-panel-border-pvpwidget {
	margin: 1px;
	color: #FDA;
	border-radius: 5px;
	background: linear-gradient(0deg, rgba(128, 0, 0, 0.3) 0%, rgba(32,0,0,0) 50%, rgba(128, 0, 0, 0.3) 100%);
	padding: 20px;
	font-size: 20px;
	border: 1px solid #F42;
	text-align: center;
}

.serverinfo-col {
	display:flex;
	flex-direction:column;
	margin-top:10px;
}

.serverinfo-row {
	display:flex;
	flex-direction:row;
}

.serverinfo-metadata-container {
	display: flex;
	flex-direction: column;
	text-align:left;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.serverinfo-metadata-maptitle {
	font-size:42px;
}

.serverinfo-metadata-mapdescr {
	font-size:18px;
}

.serverinfo-metadata-maptext {
	font-size:12px;
}

.serverinfo-metadata-mapstats {
	display:flex;
	flex-direction:row;
	font-size:12px;
}

.serverinfo-metadata-mapstats-single {
	display:flex;
	flex-direction:row;
	border:1px solid #FDA;
}

.serverinfo-metadata-mapstats-single div {
	padding:5px;
}

.serverinfo-metadata-control-banner {
	margin-bottom: 0px;
	margin-top: 20px;
	background: rgba(128,128,128,0.5);
	color: #FDA;
	font-size: 14px;
	padding: 5px;
	text-align: center;
}

.serverinfo-rift-timer {
	margin-top: 10px;
	margin-bottom: 10px;
}

.serverinfo-rift-timer-eta {
	font-size:14px;
}

.serverinfo-rift-timer-expired {
	font-size:14px;
	text-decoration: line-through;
}

.serverinfo-settlement-founded {
	display:flex;
	flex-direction:row;
	background:rgba(0,255,0,0.2);
	font-size:12px;
	border-top:2px solid rgba(255,255,255,0.3);
	border-bottom:2px solid rgba(255,255,255,0.3);
	padding:3px;
}

.serverinfo-settlement-disbanded {
	display:flex;
	flex-direction:row;
	background:rgba(255,0,0,0.2);
	font-size:12px;
	border-top:2px solid rgba(255,255,255,0.3);
	border-bottom:2px solid rgba(255,255,255,0.3);
	padding:3px;
}

.serverinfo-settlement-item-date {
	font-weight: bold;
}

.serverinfo-settlement-item-text {
	margin-left:15px;
}

.serverinfo-missions-tab {
	border-radius:10px 10px 0px 0px;
	background:#269;
	color:#FD8;
	text-align:center;
	margin-top:10px;
	width:30%;
	font-size:16px;
	box-shadow: inset 0px 0px 20px #000;
	border:2px solid #FDA;
	border-bottom:none;
}

.serverinfo-missions-tab-container {
	display:flex;
	flex-direction:column;
	border:2px solid #FD8;
}

.serverinfo-missions-single-lib {
	display:flex;
	flex-direction:row;
	background:rgba(150,0,150,0.2);
	font-size:12px;
	border-top:2px solid rgba(255,255,255,0.3);
	border-bottom:2px solid rgba(255,255,255,0.3);
	padding:3px;
}

.serverinfo-missions-single-vyn {
	display:flex;
	flex-direction:row;
	background:rgba(0,75,185,0.2);
	font-size:12px;
	border-top:2px solid rgba(255,255,255,0.3);
	border-bottom:2px solid rgba(255,255,255,0.3);
	padding:3px;
}

.serverinfo-missions-single-fo {
	display:flex;
	flex-direction:row;
	background:rgba(0,185,75,0.2);
	font-size:12px;
	border-top:2px solid rgba(255,255,255,0.3);
	border-bottom:2px solid rgba(255,255,255,0.3);
	padding:3px;
}

.serverinfo-missions-single-mag {
	display:flex;
	flex-direction:row;
	background:rgba(205,55,55,0.2);
	font-size:12px;
	border-top:2px solid rgba(255,255,255,0.3);
	border-bottom:2px solid rgba(255,255,255,0.3);
	padding:3px;
}

.serverinfo-missions-single-cons {
	display:flex;
	flex-direction:row;
	background:rgba(125,125,125,0.2);
	font-size:12px;
	border-top:2px solid rgba(255,255,255,0.3);
	border-bottom:2px solid rgba(255,255,255,0.3);
	padding:3px;
}

.serverinfo-missions-single-item-date {
	font-weight: bold;
}

.serverinfo-missions-single-item-text {
	margin-left: 15px;
}

.serverinfo-highlighted-item-single {
	display:flex;
	flex-direction:row;
	align-items: center;
	justify-content: center;
	background:rgba(125,125,125,0.2);
	font-size:12px;
	border-top:2px solid rgba(255,255,255,0.3);
	border-bottom:2px solid rgba(255,255,255,0.3);
}

.serverinfo-rites-single-item-name {
	font-weight: bold;
}

.serverinfo-rites-single-item-god {
	font-weight: bold;
	margin-left: 15px;
}

.serverinfo-rites-single-item-date {
	font-weight: bold;
	margin-left: 15px;
}

.serverinfo-rites-single-item-caster {
	font-weight: bold;
	margin-left: 15px;
}

.serverinfo-rites-table {
	font-size: 12px;
}

.serverinfo-rites-table tr td {
	padding: 5px;
}

.serverinfo-arty-single-bl {
	display:flex;
	flex-direction:row;
	background:rgba(0,0,0,0.2);
	font-size:12px;
	border-top:2px solid rgba(255,255,255,0.3);
	border-bottom:2px solid rgba(255,255,255,0.3);
	padding:3px;
}

.serverinfo-arty-single-wl {
	display:flex;
	flex-direction:row;
	background:rgba(215,215,215,0.2);
	font-size:12px;
	border-top:2px solid rgba(255,255,255,0.3);
	border-bottom:2px solid rgba(255,255,255,0.3);
	padding:3px;
}

.hota-widget-container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	align-items: center;
	justify-content: center;
	margin-top: 20px;
	margin-bottom: 20px;
}
.hota-widget-box {
	background-color: rgba(215, 185, 100, 0.2);
	border: 1px solid #DA8;
	border-radius: 5px;
	padding: 10px;
	text-align: center;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	max-width: 120px;
	height: 70px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.hota-widget-status-square {
	width: 30px;
	height: 30px;
	margin: 0 auto;
	border: 1px solid #000;
}
.hota-widget-status-square.red {
	background-color: red;
}
.hota-widget-status-square.green {
	background-color: green;
}
.hota-widget-status-square.yellow {
	background-color: yellow;
}
.hota-widget-name, .hota-widget-group {
	font-size: 12px;
	margin: 0 0;
	color: #FDA;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.hota-widget-placeholder {
	color: #999;
	font-style: italic;
}



.serverinfo-harvests-item-icon {
	width: 10%;
	margin: 0px;
	padding: 0px;
}
.serverinfo-harvests-item-icon img {
	width: 18px;
	height: 18px;
	margin: 0px;
	padding: 0px;
}

.serverinfo-harvests-item-name {
	width: 30%;
	margin: 0px;
	padding: 0px;
}

.serverinfo-harvests-item-start {
	width: 30%;
	margin: 0px;
	padding: 0px;
}

.serverinfo-harvests-item-end {
	width: 30%;
	margin: 0px;
	padding: 0px;
}





/* ##### Map-UI Searchable Marker Dropdown ##### */
.map-marker-search-dropdown {
	z-index: 90000;
}

.map-marker-search-dropdown-list {
	max-height: 500px;
	overflow-y: scroll;
	border: 1px solid #DA8;
	border-radius: 8px;
	background: linear-gradient(rgba(16,32,48,255) 0%, rgba(32,48,64,255) 33%, rgba(32,48,64,255) 66%, rgba(16,32,48,255) 100%);
	position: absolute;
	left: -100px;
	width: calc(100% + 100px);
	display: none;
}

.map-marker-search-dropdown-list.show {
	display: block;
}

.map-marker-search-dropdown-item {
	color: #FDA;
	font-size: 14px;
	padding: 4px;
	cursor: pointer;
	border-top: 2px solid rgba(255,255,255,0.2);
	border-bottom: 2px solid rgba(255,255,255,0.2);
}

.map-marker-search-dropdown-item-marktype {
	color: #AAA !important;
	font-size: 12px;
	padding: 6px;
}

.map-marker-search-dropdown-item:hover {
	background-color: rgba(255,255,255,0.2);
}

.map-marker-search-dropdown-item.hidden {
	display: none;
}










.locate-inspector {
    width: 256px;
    color: #FDA;
    background: linear-gradient(rgba(16,32,48,255) 0%, rgba(32,48,64,255) 33%, rgba(32,48,64,255) 66%, rgba(16,32,48,255) 100%);
    border: 1px solid #DA8;
    border-radius: 10px;
    box-shadow: inset 0 0 40px #000;
    overflow: hidden;
    -webkit-user-select: none; user-select: none;
  }
  .locate-inspector .li-header {
    display: flex; align-items: center; gap: 9px;
    padding: 11px 13px;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease;
  }
  .locate-inspector.is-open .li-header { border-bottom-color: #2c2442; }
  .locate-inspector .li-title {
    flex: 1 1 auto;
    font-size: 15px; letter-spacing: 0.04em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  }
  .locate-inspector .li-chevron {
    flex: none; width: 12px; height: 12px;
    border-right: 2px solid #8d7fb3; border-bottom: 2px solid #8d7fb3;
    transform: rotate(-45deg); margin-right: 3px;
    transition: transform .22s ease;
  }
  .locate-inspector.is-open .li-chevron { transform: rotate(45deg); }

  .locate-inspector .li-body {
    max-height: 0; opacity: 0;
    transition: max-height .26s ease, opacity .2s ease;
  }
  .locate-inspector.is-open .li-body { max-height: 460px; opacity: 1; }

  .locate-inspector .li-toggle {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 13px;
    font-size: 13px; cursor: pointer;
    border-bottom: 1px solid #241d38;
  }
  .locate-inspector .li-switch {
    flex: none; width: 38px; height: 20px; border-radius: 999px;
    background: #864; border: 1px solid #3a3056;
    position: relative; transition: background .2s ease, border-color .2s ease;
  }
  .locate-inspector .li-switch::after {
    content: ""; position: absolute; top: 2px; left: 2px;
    width: 14px; height: 14px; border-radius: 50%;
    background: #999; transition: transform .2s ease, background .2s ease;
  }
  .locate-inspector .li-toggle.on .li-switch { background: #B96; border-color: #6a55b8; }
  .locate-inspector .li-toggle.on .li-switch::after { transform: translateX(18px); background: #efe7ff; }

  .locate-inspector .li-list {
    max-height: 360px; overflow-y: auto;
    padding: 6px;
    scrollbar-width: thin; scrollbar-color: #4a3a86 transparent;
  }
  .locate-inspector .li-list::-webkit-scrollbar { width: 8px; }
  .locate-inspector .li-list::-webkit-scrollbar-thumb { background: #3a2f55; border-radius: 8px; }

  .locate-inspector .li-row {
    display: flex; align-items: center; gap: 9px;
    padding: 8px 9px; border-radius: 7px;
    cursor: pointer; font-size: 13px;
    transition: background .14s ease;
  }
  .locate-inspector .li-row:hover { background: rgba(255,255,255,0.05); }
  .locate-inspector .li-row.selected { background: rgba(122, 92, 200, 0.26); box-shadow: inset 0 0 0 1px #6a55b8; }
  .locate-inspector .li-swatch {
    flex: none; width: 15px; height: 15px; border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 0 8px rgba(0,0,0,0.3);
  }
  .locate-inspector .li-name { flex: 1 1 auto; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .locate-inspector .li-count {
    flex: none; font-size: 11px; color: #b9add9;
    background: rgba(255,255,255,0.06); border-radius: 999px;
    padding: 2px 7px; font-family: ui-monospace, monospace;
  }
  .locate-inspector .li-row.all .li-swatch {
    background:
      conic-gradient(from 0deg, #e6584d, #e0c14a, #5ec07a, #4aa8e0, #9a6ae0, #e6584d);
  }
  .locate-inspector .li-rowchev {
    flex: none; width: 7px; height: 7px; margin-left: 2px;
    border-right: 2px solid #8d7fb3; border-bottom: 2px solid #8d7fb3;
    transform: rotate(-45deg); transition: transform .18s ease, border-color .18s ease;
  }
  .locate-inspector .li-row.open .li-rowchev { transform: rotate(45deg); border-color: #d9ccff; }
  .locate-inspector .li-sub {
    margin: 2px 0 7px 17px; padding-left: 9px;
    border-left: 1px solid #36304f;
  }
  .locate-inspector .li-subrow {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 8px; border-radius: 6px; cursor: pointer;
    font-size: 12px; color: #cfc6e6;
    font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
    transition: background .14s ease;
  }
  .locate-inspector .li-subrow:hover { background: rgba(255,255,255,0.05); }
  .locate-inspector .li-subrow.selected {
    background: rgba(0, 229, 255, 0.14);
    box-shadow: inset 0 0 0 1px #2f8fa3; color: #eafcff;
  }
  .locate-inspector .li-subdot { flex: none; width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,0.45); }
  .locate-inspector .li-empty { padding: 16px 13px; font-size: 12px; color: #9a8fbe; font-style: italic; }



































/* ############### EDITOR PANEL ################ */

.editor-panel {
	margin-top:5px;
	margin-bottom:5px;
	max-width: max-content;
}

.editor-panel h3 {
	margin: 0px;
	margin-bottom: 10px;
	text-align: center;
	background: rgba(0,0,0,0.25);
}

.ep-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}
.ep-tabs input[type=button] {
  flex: 1;
  padding: 5px 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .12s, color .12s, border-color .12s;
}

#markeredit,
#pathedit {
  padding: 12px;
  text-shadow: 0 0 10px #000;
}

#CreateNewMarkerTable,
#CreateNewPathTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
 
#CreateNewMarkerTable tr,
#CreateNewPathTable tr {
  display: grid;
  grid-template-columns: 100px 125px;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid #A74;
}
#CreateNewMarkerTable tr:last-child,
#CreateNewPathTable tr:last-child {
  border-bottom: none;
}

#CreateNewMarkerTable tr[style*="display:none"],
#CreateNewPathTable tr[style*="display:none"] {
  display: none !important;
}
 
#CreateNewMarkerTable td:first-child,
#CreateNewPathTable td:first-child {
  white-space: nowrap;
}
 
#CreateNewMarkerTable td:last-child,
#CreateNewPathTable td:last-child {
  display: flex;
  align-items: center;
  gap: 4px;
}

#CreateNewMarkerTable input[type=text],
#CreateNewPathTable input[type=text],
#CreateNewMarkerTable select,
#CreateNewPathTable select {
  width: 100%;
}

#setpos1 {
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  border: 1px dashed #FDA;
  border-radius: 8px;
  color: #FDA;
  cursor: pointer;
}
#setpos1:hover {
  background: #f4f3f0;
  border-color: #888;
}

#markerSubmitMessage,
#pathSubmitMessage {
  font-size: 11px;
  color: #c0392b;
  padding: 2px 0;
  margin-left: 20px;
}

#path-coord-markup {
	border-bottom: none !important;
}

#path-coord-markup td {
  grid-column: 1 / -1;
  font-size: 14px;
  color: #FDA;
}

#path-error-markup td {
  grid-column: 1 / -1;
  font-size: 14px;
  color: #D04040;
}


/* ################## ROUTE FINDER PANEL ################## */

.route-finder-panel {
	max-width: max-content;
	height: max-content;
	margin-top:5px;
	margin-bottom:5px;
}


.route-finder-panel table {
	border-collapse: collapse;
	margin-top: 6px;
}

.route-finder-panel td {
	padding: 3px 6px 3px 0;
	vertical-align: middle;
	white-space: nowrap;
}

.route-finder-panel h3 {
	margin: 0px;
	margin-bottom: 10px;
	text-align: center;
	background: rgba(0,0,0,0.25);
}

.route-finder-panel p {
	margin-bottom: 10px;
}

/* Highlights the Primary Action (Find Route) */
.route-finder-panel #routefindersubmit {
	background: #208040;
}

.route-finder-panel #routefindersubmit:hover {
	background: #106020;
}

.route-finder-panel #routefinderclear {
	background: #994444;
}

.route-finder-panel #routefinderclear:hover {
	background: #AA2222;
}

.helper-blip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: transparent;
	color: #FDA;
	font-size: 14px;
	font-weight: bold;
	cursor: help;
	margin-left: 2px;
	vertical-align: middle;
	transition: background 0.2s;
}

.helper-blip:hover {
	background: #0366d6;
	color: #ffffff;
}





.route-finder-processing-overlay {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: rgba(48,32,28,0.75);
	box-shadow: inset 0em 0em 15em rgba(0,0,0,0.75);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.route-finder-processing-overlay-info {
	display: block;
}

.route-finder-processing-overlay-info-logo {
	background: url('../images/logo.png');
	width: 200px;
	height: 200px;
	background-size: contain;
	background-position: center;
	margin-bottom: -25px;
}

.route-finder-processing-overlay-info-loadingbar {
	width: 200px;
	height: 15px;
	border-radius: 5px;
	background: rgb(96,64,56);
	padding: 3px;
	box-shadow: 0px 0px 20px black;
}

.route-finder-processing-overlay-info-loadingbar-progress {
	width: 100%;
	height: 100%;
	border-radius: 5px;
	background: repeating-linear-gradient( 45deg, #CCAA55, #CCAA55 10px, #997733 10px, #997733 20px );
	animation-name: progress-bar-stripes;
	animation-duration: 5s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

.route-finder-processing-overlay-info-text {
	color: #FFDDCC;
	text-shadow: 0px 0px 15px black;
	text-align: center;
}

@-webkit-keyframes progress-bar-stripes {
	from  { background-position: 0 0; }
	to    { background-position: 194px 0; }
}

@keyframes progress-bar-stripes {
	from  { background-position: 0 0; }
	to    { background-position: 194px 0; }
}




.flex-col {
	display: flex;
	flex-direction: column;
}
.flex-row {
	display: flex;
	flex-direction: row;
}
.flex-wrap {
	flex-wrap: wrap;
}		
.flex-centered {
	justify-content: center;
	align-items: center;
}
.flex-wrap {
	flex-wrap: wrap;
}


/* ##### CHARACTER PAGE ##### */
.char-display-header {
	color: #FDA;
	width: max-content;
	margin: 20px;
	position: relative;
	display:flex;
}

.char-display-header-stats {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.char-display-header-stats h1 {
	color: #FDA;
	font-family: Arial;
	font-size: 32px;
	font-weight: bold;
	font-style: italic;
	margin: 0px;
}

.char-display-header-stats div {
	color: #DA8;
}

.char-display-header-stats div span {
	color: #FDA;
}

#char-info-cluster {
	font-style: italic;
	color: #AAA;
}

#char-info-gender {
	font-style: italic;
	color: #AAA;												
}

.char-display-header-buffs {
	background: linear-gradient(rgb(8,16,24) 0%, rgb(16,32,48) 50%, rgb(8,16,24) 100%);
	border: 1px solid #DA8;
	border-radius: 15px;
	padding: 10px;
	display: flex;
	flex-direction: row;
	bottom: 0px;
	flex-wrap: wrap;
	max-width: 300px;
	position: absolute;
}

.char-display-header-buffs div {
	margin: 5px;
}

.char-display-skills-group {
	display: flex;
	flex-direction: column;
	/*background: linear-gradient(rgb(24,16,8) 0%, rgb(48,32,16) 50%, rgb(24,16,8) 100%);*/
	background: linear-gradient(rgb(8,16,24) 0%, rgb(16,32,48) 50%, rgb(8,16,24) 100%);
	padding: 10px;
	border: 1px solid #DA8;
	box-shadow: inset 0px 0px 20px #000;
	border-radius: 15px;
}

.char-display-skills-group h2 {
	margin-top: 0px;
	color: #FDA;
}

.char-display-skills-group div:nth-child(even) {
	background: rgba(255,255,255,0.05);
}

.spell-effects-container {
	background: linear-gradient(rgb(8,16,24) 0%, rgb(16,32,48) 50%, rgb(8,16,24) 100%);
	border: 1px solid #DA8;
	border-radius: 10px;
	color: #DA8;
	padding: 5px;
}

.spell-effects-container div h2 {
	margin: 0px;
	padding: 0px;
	margin-bottom: 10px;
	color: #FDA;
}

.collage {
	columns: 320px;
	column-gap: 10px;
	padding: 10px;
	width:80vw;
	max-width: 1600px;
}

.collage-item {
	break-inside: avoid;
	margin-bottom: 10px;
	/*background-color: #f0f0f0;
	padding: 10px;*/
}

.collage-item-container {
	background: linear-gradient(rgb(8,16,24) 0%, rgb(16,32,48) 50%, rgb(8,16,24) 100%);
	border: 1px solid #DA8;
	border-radius: 10px;
	color: #999;
	padding: 5px;
	overflow-x: hidden;
	overflow-y: scroll;
}

.collage-item-container div h2 {
	margin: 0px;
	padding: 0px;
	margin-bottom: 10px;
	color: #FDA;
}

.collage-item-container div div div {
	margin: 0px;
	padding: 8px;
	width: 100%;
}

.collage-item-container div div div:nth-child(even) {
	background: rgba(255,255,255,0.1);
}

.collage-item-container div div div:hover {
	border-top: 2px solid rgba(255,255,255,0.35);
	border-bottom: 2px solid rgba(255,255,255,0.35);
}

.collage-item-container div div div h3 {
	margin: 0px;
	padding: 0px;
	font-size: 16px;
	color: #DA8;
	width: max-content;
}

.collage-item-container div div div p {
	margin: 0px;
	padding: 0px;
	font-size: 12px;
}

.collage-item-container div div div span {
	margin: 0px;
	padding: 0px;
	font-size: 15px;
	float: right;
}

.collage-item-container-top-skill {
	display: flex;
	flex-direction: row;
}
.collage-item-container-top-skill-left {
	display: flex;
	flex-direction: column;
}
.collage-item-container-top-skill-left p {
	width: max-content;
}
.collage-item-container-top-skill-right {
	text-align: right;
	background: transparent !important;
	width: 100%;
	margin-right: 10px !important;
}



/* ##### CHARACTER EQUIPMENT WIDGET ##### */
#character-equipment {
	position: relative;
	width: 331px;
	height: 487px;
	background-image: url('../images/paperdoll.PNG');
	background-size: cover;
	margin: auto;
}

.item-box {
	position: absolute;
	width: 40px;
	height: 40px;
	border: 1px solid #555;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.item-box-img {
	padding: 0px;
	margin: 0px;
	width: 40px;
	height: 40px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.populated {
	position: absolute;
	width: 40px;
	height: 40px;
	border: 2px solid #888;
	background: radial-gradient(#543, #000);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.equipment-loading-overlay {
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color:#FDA;
	background: linear-gradient(rgba(8,16,24,0) 0%, rgba(16,32,48,0.95) 50%, rgba(8,16,24,0) 100%);
	z-index: 99;
	position: relative;
}

.equipment-loading-overlay div {
	width: max-content;
	margin: auto;
}




/* ##### CHARACTER EDIT PAGE ##### */
.tome-option-container {
	background: #135;
	border: 1px solid #DA8;
	border-radius: 10px;
	color: #FDA;
	margin: 5px;
	padding: 5px;
}

.tome-option-container:hover {
	background: #246;
	color: #FF0;
}

.tome-option-container-selected {
	background: #DA8 !important;
	border: 1px solid #135 !important;
	border-radius: 10px;
	color: #135 !important;
	margin: 5px;
	padding: 5px;
}

.tomes-container {
	background: linear-gradient(rgb(8,16,24) 0%, rgb(32,48,64) 50%, rgb(8,16,24) 100%);
	border: 1px solid #DA8;
	border-radius: 10px;
	color: #FDA;
	padding: 5px;
	width: max-content;
}

.form-entry {
	width:100%;
	background: linear-gradient(rgb(8,16,24) 0%, rgb(32,48,64) 50%, rgb(8,16,24) 100%);
	color: #FDA;
	margin: 10px;
	border: 1px solid #DA8;
	border-radius: 8px;
	padding: 5px;
}

.form-entry p {
	margin: 0px;
	margin-right: 15px;
	font-weight: bold;
	font-size: 18px;
}

.custom-file-upload {
  display: inline-block;
}

.custom-file-upload-button {
  background-color: #135; /* Button background color */
  color: #FDA;
  padding: 10px 20px;
  border: 1px solid #DA8;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.custom-file-upload-button:hover {
  background-color: #531; /* Hover effect */
}

.custom-file-upload-file-name {
  margin-left: 10px;
  color: #DA8; /* Text color for file name */
}






/* ##### HELPER BLIPS ##### */
.helper-blip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: transparent;
	color: #FDA;
	font-size: 14px;
	font-weight: bold;
	cursor: help;
	margin-left: 2px;
	vertical-align: middle;
	transition: background 0.2s;
}
.helper-blip:hover {
	background: #0366d6;
	color: #ffffff;
}
.helper-tooltip {
	font-family: arial;
	background: #124;
	border: 1px solid #DA8;
	color: #FDA;
	padding: 5px 10px;
	border-radius: 3px;
	max-width: 200px;
	font-size: 14px;
	z-index: 1000; /* Ensure it appears above other elements */
	box-shadow: 0px 0px 20px #000;
	border-radius: 10px;
}
/* ===========================================================================
   Account & Privacy panel (profile-edit)

   The panel sits in a grid-container-content frame, which supplies a dark
   translucent background but no text colour — bare <h2>/<h4>/<p> therefore
   rendered as default black on dark and were effectively invisible. These rules
   are scoped to .acct-panel so the shared frame is untouched elsewhere, and they
   reuse the existing palette (#FDA bright, #DA8 label gold, #EDC body).
   ======================================================================== */
.acct-panel {
    color: #EDC;
}

.acct-panel h2 {
    color: #FDA;
    font-size: 24px;
    margin: 0 0 4px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(218, 170, 136, 0.35);
}

.acct-panel h4 {
    color: #FDA;
    font-size: 17px;
    margin: 0 0 6px;
}

.acct-panel p {
    color: #EDC;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 10px;
}

.acct-panel em { color: #FDA; font-style: normal; font-weight: bold; }
.acct-panel b  { color: #FDA; }

/* Each concern (linking, export, deletion) is its own carded block so the three
   read as distinct actions rather than one wall of text. */
.acct-section {
    margin: 16px 0 0;
    padding: 14px 16px;
    background: rgba(16, 32, 48, 0.45);
    border: 1px solid rgba(218, 170, 136, 0.25);
    border-radius: 6px;
}

.acct-section form { margin: 0; }

.acct-field { margin-bottom: 10px; }
.acct-field label { color: #DA8; font-size: 14px; }
.acct-field input {
    background: rgba(16, 32, 48, 0.75);
    border: 1px solid #DA8;
    border-radius: 4px;
    color: #FDA;
    padding: 6px 9px;
    font-size: 15px;
    max-width: 280px;
    width: 100%;
}
.acct-field input:focus { outline: none; border-color: #FDA; }

/* Destructive block: marked by a red edge rather than red body text, so the
   warning is unmistakable without making the explanation hard to read. */
.acct-danger {
    border-color: rgba(139, 26, 26, 0.75);
    border-left: 3px solid #8B1A1A;
    background: rgba(64, 16, 16, 0.35);
}
.acct-danger h4 { color: #FF9B9B; }

.acct-delete-btn {
    background: rgba(139, 26, 26, 0.85);
    border-color: #8B1A1A;
    color: #FFD9D9;
}
.acct-delete-btn:hover { background: #8B1A1A; color: #FFF; }

/* Status lines returned by the linking / export / delete handlers. */
.acct-panel .acct-ok,
.acct-panel .acct-err { font-size: 14px; margin: 8px 0; }

/* Provider rows inherit .oauth-row from dev-console.css (loaded site-wide);
   only the button spacing needs adjusting inside this panel. */
.acct-panel .oauth-row form { margin: 0; }
.acct-panel .oauth-row .login-submit-button { font-size: 15px; padding: 4px 12px; }

/* ===========================================================================
   Profile edit — upper form

   Layout is unchanged: .profile-edit-container is still a flex row with the
   fields on the left and the map-config column on the right. These rules only
   add spacing, grouping and field styling, and give the two headings a real
   section treatment so the form reads as three blocks (profile / password /
   map config) instead of one undifferentiated list.
   ======================================================================== */
.profile-edit-container {
    gap: 22px;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Left column: let it actually flex instead of relying on the grid class. */
.profile-edit-container > .col-lg-7 {
    flex: 1 1 380px;
    min-width: 0;
    max-width: 100%;
    padding: 0 4px;
}

.profile-edit-map-config-column {
    padding-left: 20px;
    border-left: 2px solid #DA8;
}

/* Section headings (Edit Your Profile / Change Your Password). */
.profile-edit-container h6 {
    color: #FDA;
    font-size: 17px;
    font-weight: bold;
    letter-spacing: .02em;
    margin: 4px 0 12px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(218, 170, 136, 0.35);
}

/* Field rows. The label sits above its control; both fill the column so the
   inputs line up rather than each sizing to its own content. */
.profile-edit-container .login-form-group {
    margin: 0 0 12px;
    color: #DA8;
}

.profile-edit-container .login-form-group > label,
.profile-edit-container .pe-label {
    display: block;
    color: #DA8;
    font-size: 14px;
    margin-bottom: 4px;
}

/* Text-entry controls only. Checkboxes and radios in the map-config column keep
   their native appearance — a width:100% checkbox would be absurd. */
.profile-edit-container .login-textbox,
.profile-edit-container select.form-control,
.profile-edit-container .login-form-group input[type="text"],
.profile-edit-container .login-form-group input[type="email"],
.profile-edit-container .login-form-group input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
    padding: 7px 10px;
    background: rgba(16, 32, 48, 0.75);
    border: 1px solid #DA8;
    border-radius: 4px;
    color: #FDA;
}

.profile-edit-container .login-textbox::placeholder { color: #8a7a66; }

.profile-edit-container .login-textbox:focus,
.profile-edit-container select.form-control:focus,
.profile-edit-container .login-form-group input:focus {
    outline: none;
    border-color: #FDA;
    background: rgba(16, 32, 48, 0.92);
}

/* Inline validation text under a field. */
.profile-edit-container sub.text-danger {
    display: block;
    color: #FF9B9B;
    font-size: 12px;
    margin-top: 3px;
}

/* Divider between the profile block and the password block. */
.pe-divider {
    border: 0;
    border-top: 1px solid rgba(218, 170, 136, 0.35);
    margin: 22px 0 16px;
}

/* Status line above the form. */
.pe-status { display: block; text-align: center; margin-bottom: 8px; }

/* ---- UserGroup block ---- */
.pe-usergroup {
    border-top: 2px solid #DA8;
    border-bottom: 2px solid #DA8;
    margin-bottom: 10px;
    padding-bottom: 20px;
}
.pe-ug-error   { color: #FF6B6B; }
.pe-ug-heading { color: #DA8; margin-bottom: 6px; font-weight: bold; }
.pe-ug-note    { color: #DA8; margin-bottom: 6px; }
.pe-ug-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}
.pe-ug-row span { color: #DA8; }
.pe-ug-leave {
    padding: 2px 10px;
    font-size: 0.85em;
    background: #7a2020;
}
.pe-ug-actions { margin-top: 12px; width: 100%; }
.pe-hidden-input { display: none; }

/* Primary submit. */
.pe-submit {
    font-size: 17px;
    font-weight: bold;
    padding: 9px 26px;
    margin-top: 4px;
}
