
/*
	Copyright Josh L 2017
	This code should not be copied, edited or redistributed without consent from Josh Lisher.
*/

@import url('https://fonts.googleapis.com/css?family=Montserrat');

body {
	font-family: 'Montserrat', sans-serif !important;
	color: #e0e0e0;
	background: #2c2d2f;
	font-size: 15px;
}

html {
	scroll-behavior: smooth;
}

/* Width */
::-webkit-scrollbar {
  width: 4px;
}

/* Background */
::-webkit-scrollbar-track {
  background: #bcbcbc; 
}
 
/* Scroll Block */
::-webkit-scrollbar-thumb {
  background: #ff7f50; 
}

/* Scroll Block on Hover */
::-webkit-scrollbar-thumb:hover {
  background: #c76642; 
}

a {
	text-decoration: none;
}

::placeholder {
	color: #747474 !important;
}

.site-version {
	font-style: italic;
    font-size: 10px;
}

.navbar-desktop {
	display: block;
}

.darkblue {
	background: #1480dc !important;
}

.darkgreen {
	background: #0c940c !important;
}

.darkred {
	background: #bd302c !important;
}

.darkgrey {
	background: #292929 !important;
}

.darkorange {
	background: #e2931e !important;
}

.darkpurple {
	background: #7a4daf !important;
}

.orange {
	border-color: #f0ad4e !important;
    background-color: #f0ad4e !important;
	color: white !important;
}

.blue {
    border-color: #2093f5 !important;
	background-color: #2093f5 !important;
	color: white !important;
}

.green {
	border-color: #5cb85c !important;
    background-color: #5cb85c !important;
	color: white !important;
}

.red {
	border-color: #d9534f !important;
    background-color: #d9534f !important;
	color: white !important;
}

.white {
	border-color: #cacaca !important;
    background-color: #cacaca !important;
	color: white !important;
}

.cyan {
	border-color: #1ebcc3 !important;
    background-color: #1ebcc3 !important;
	color: white !important;
}

.grey {
	border-color: #313438 !important;
	background-color: #313438 !important;
	color: white !important;
}

.purple {
	border-color: #9361ce !important;
	background-color: #9361ce !important;
	color: white !important;
}

.user-info {
	background-color: #313438 !important;
	color: white !important;
	height: 100%;
}

.alert {
	border-radius: 0;
    background-color: #00ffff00 !important;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}

.logo {
    height: 50px;
    margin-right: 10px;
	display: inline !important;
}

.bg-dark {
	background-color: #232323 !important;
}

.navbar-top {
	padding: 10px 10px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1 !important;
    border-bottom: 1px solid #404040;
}

.navbar-brand, .navbar-brand:hover, .navbar-brand:focus {
	color: white;
}

.navbar-side {
	border-right: 1px solid #404040;
}

.nav {
	width: 250px;
	background: #313438;
	height: 100%;
    position: fixed;
	z-index: 1 !important;
}

.nav-profile {
	background: #393939;
	display: flex;
	color: #a0a0a0;
	border-bottom: 1px solid #404040;
}

.nav-profile-text {
    font-size: 12px;
	text-align: center;
    margin: 7px auto auto auto;
}

.nav-profile-username {
	font-size: 20px;
}

.nav-profile-text-rank {
    color: #ff3333;
}

.nav-content {
    max-height: calc(100vh - 176px);
    overflow-y: auto;
}

.nav-item {
}

.side-item {
    margin: 0px 5px;
}

.side-item-text {
	font-size: 18px;
	padding: 3px 0px 0px 0px;
	border-left: 1px solid rgb(50 52 56);
}

.side-item-text:focus {
	text-decoration: none;
	color: #a0a0a0;
}

.side {
	color: #a0a0a0;
}

.side:hover {
    margin-right: 0;
    padding-right: 30px;
	color: #cacaca;
	text-decoration: none;
}

.login-box {
	width: min(400px, 100%);
    margin: 0 auto;
    text-align: center;
	background: #2b2b2b;
	border-top: 3px solid #ff7f50;
    padding: 24px;
    box-shadow: 0px 0px 5px #1e1e1e;
}

.login-icon {
	color: #ff7f50;
    font-size: 50px;
	margin: 10px;
}

.login-title {
	color: white;
    margin-bottom: 20px;
}

.login-input-icon {
	border-radius: 0px;
	color: #ff9a76;
    background: #232323;
	border: 1px solid #44474b;
}
.login-input-content {
	border: 1px solid #44474b !important;
	background: #1f2023 !important;
	color: #e0e0e0 !important;
}

.db-actions {
	height: auto !important;
	min-height: 110px;
	display: flex;
}

.db-actions .stat-card-extra {
	order: -1;
	height: auto;
	flex: 0 0 75px;
}

.db-actions .stat-card-text-dashboard {
	position: static;
	margin: 18px 15px 18px 15px;
	flex: 1;
	min-width: 0;
}

.db-buttons {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
	margin-top: 4px;
}

.db-buttons .btn {
	margin: 0 !important;
	width: 100%;
	transition: background-color 0.2s ease;
}

.db-actions select {
	width: 100% !important;
}

.btn-login, .btn-login:focus {
	background-color: transparent;
    border-color: #ff7f50;
	margin: 0 !important;
	color: white;
}

.btn-login:hover {
	background: #ff7f50;
	color: #1f2023;
}

.btn-logout, .btn-logout:focus {
	background-color: #535353;
	padding: 2px 4px;
	margin: 8px 0px 0px 0px !important;
	font-size: 12px;
	color: white;
	width: 125px;
}

.btn-changePassword, .btn-changePassword:focus, .btn-changePassword:active {
	background-color: #535353;
	padding: 2px 4px;
	margin: 8px 0px 0px 0px !important;
	font-size: 10px;
	color: white;
	width: 125px;
	border: none;
}

.btn-db-backup, .btn-db-backup:focus {
	height: 22px;
    background: #2f59e8;
    font-size: 11px;
    padding: 3px 5px;
    margin: 4px 4px 0 0 !important;
}

.btn-db-wipe, .btn-db-wipe:focus {
	height: 22px;
    background: #ce2e2e;
    font-size: 11px;
    padding: 3px 5px;
    margin: 4px 4px 0 0 !important;
}

.btn-db-restore, .btn-db-restore:focus {
	height: 22px;
    background: #15a010;
    font-size: 11px;
    padding: 3px 5px;
    margin: 4px 4px 0 0 !important;
}

.btn-db-backup:hover { background-color: #284dcc; }
.btn-db-wipe:hover { background-color: #b42828; }
.btn-db-restore:hover { background-color: #118b0d; }

.container {
	margin-left: 250px;
	margin-top: 70px;
    padding: 30px;
	width: calc(100% - 250px);
	max-width: none;
	box-sizing: border-box;
}

.container-fluid {
	padding: 0px;
	margin: 0px;
}

.nav-1:hover, .nav-1-active {
	border-left: 1px solid #FF8C00;
}

.nav-2:hover, .nav-2-active {
	border-left: 1px solid #FF1493;
}

.nav-3:hover, .nav-3-active {
	border-left: 1px solid #32CD32;
}

.nav-4:hover, .nav-4-active {
	border-left: 1px solid #8A2BE2;
}

.nav-5:hover, .nav-5-active {
	border-left: 1px solid #FF6347;
}

.nav-6:hover, .nav-6-active {
	border-left: 1px solid #1E90FF;
}

.nav-7:hover, .nav-7-active {
	border-left: 1px solid #FFD700;
}

.nav-8:hover, .nav-8-active {
	border-left: 1px solid #FF5733;
}

.nav-9:hover, .nav-9-active {
	border-left: 1px solid #FF00FF;
}

.nav-10:hover, .nav-10-active {
	border-left: 1px solid #00CED1;
}

.nav-11:hover, .nav-11-active {
	border-left: 1px solid #00BFFF;
}

.nav-12:hover, .nav-12-active {
	border-left: 1px solid #FF4500;
}

.nav-13:hover, .nav-13-active {
	border-left: 1px solid #FFFF00;
}

.nav-14:hover, .nav-14-active {
	border-left: 1px solid #00FF7F;
}

.nav-15:hover, .nav-15-active {
	border-left: 1px solid #2093f5;
}

.nav-16:hover, .nav-16-active {
	border-left: 1px solid #5cb85c;
}

.nav-17:hover, .nav-17-active {
	border-left: 1px solid #ff7f50;
}

.navbar-top .navbar-container {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
}

.navbar-search {
	flex: 0 1 380px;
	margin: 0 0 0 auto;
}

.navbar-search .form-control {
	background-color: #1b1b1b;
	border: 1px solid #3a3a3a;
	border-radius: 0;
	color: #fff;
}

.table-tools {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.table-tools .table-filter {
	max-width: 260px;
	background-color: #1b1b1b;
	border: 1px solid #3a3a3a;
	border-radius: 0;
	color: #fff;
}

.table-pager {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	border-top: 1px solid #3a3a3a;
	background: #262626;
	color: #a0a0a0;
	font-size: 12px;
}

.table-pager:empty { display: none; }
.table-pager-info {
	min-width: 90px;
	text-align: center;
	font-variant-numeric: tabular-nums;
	color: #c8c8c8;
}
.table-pager-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 32px;
	padding: 5px 12px;
	border: 1px solid #484848;
	border-radius: 4px;
	background: #303030;
	color: #e0e0e0;
	font: inherit;
	cursor: pointer;
}
.table-pager-prev::before, .table-pager-next::after {
	color: #d4937c;
	font-size: 18px;
	line-height: 1;
}
.table-pager-prev::before { content: "\2039"; }
.table-pager-next::after { content: "\203A"; }
.table-pager-button:not(:disabled):hover {
	border-color: #b77c67;
	background: #38312e;
	color: #fff;
}
.table-pager-button:focus-visible {
	outline: 2px solid #ff9a76;
	outline-offset: 2px;
}
.table-pager-button:disabled {
	background: #292929;
	border-color: #383838;
	color: #777;
	cursor: default;
}
.table-pager-button:disabled::before, .table-pager-button:disabled::after { color: #777; }

.sortable-col {
	cursor: pointer;
	user-select: none;
}

.sortable-col.sorted-asc::after { content: " \25B2"; font-size: 9px; }
.sortable-col.sorted-desc::after { content: " \25BC"; font-size: 9px; }

.staff-card-seen {
	display: flex;
	flex-direction: column;
	color: #a0a0a0;
	font-size: 12px;
}

.session-lock { display: flex; align-items: center; gap: 8px; cursor: pointer; color: #e0e0e0; margin: 0; }
.session-ended { color: #ff9a76; border: 1px solid #ff7f50; border-radius: 0; cursor: default; }
.session-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid #3a3a3a;
}

.timeline {
	border-left: 2px solid #3a3a3a;
	margin-left: 8px;
	padding-left: 15px;
}

.timeline-item {
	position: relative;
	padding: 6px 0;
}

.timeline-item::before {
	content: "";
	position: absolute;
	left: -22px;
	top: 12px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--tl-colour, #a0a0a0);
}

.timeline-meta {
	color: #a0a0a0;
	font-size: 12px;
}

.log-money-higher { color: #77c67b; }
.log-money-lower { color: #ef7777; }
.log-money-change { color: #e8a84e; }

.panel-logs-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel-logs-views { display: flex; gap: 6px; }
.panel-logs-view { padding: 5px 10px; border: 1px solid #44474b; background: #232323; color: #c8c8c8; font-size: 12px; }
.panel-logs-title .panel-logs-view i { color: inherit; margin-right: 4px; }
.panel-logs-view:hover, .panel-logs-view.active { border-color: #ff7f50; color: #fff; background: #38312e; }
.panel-logs-view:focus-visible { outline: 2px solid #ff9a76; outline-offset: 2px; }
.panel-logs-timeline > .list-head { display: none; }
.panel-logs-timeline > .log-row {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "type time" "text text" "user user";
	gap: 2px 12px;
	margin-left: 24px;
	padding: 10px 16px;
	border-left: 2px solid #44474b;
}
.panel-logs-timeline > .log-row:hover { border-left-color: #44474b; }
.panel-logs-timeline > .log-row::before {
	content: "";
	position: absolute;
	top: 20px;
	left: -6px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ff7f50;
}
.panel-logs-timeline > .log-row .bans-col { padding: 2px 0; white-space: normal; overflow-wrap: anywhere; }
.list-box.panel-logs-timeline > .log-row .bans-col:nth-child(n) { padding-left: 0; padding-right: 0; }
.panel-logs-timeline > .log-row .bans-col:nth-child(1) { grid-area: type; }
.panel-logs-timeline > .log-row .bans-col:nth-child(2) { grid-area: text; }
.panel-logs-timeline > .log-row .bans-col:nth-child(3) { grid-area: user; }
.panel-logs-timeline > .log-row .bans-col:nth-child(4) { grid-area: time; text-align: right; font-size: 12px; }
.panel-logs-timeline > .log-row .bans-col::before { display: none; }
.panel-logs-timeline > .log-row .bans-col:nth-child(3)::before { display: inline; content: "By "; color: #a0a0a0; font-size: 12px; text-transform: none; }
[data-table='game-logs'].panel-logs-timeline > .log-row .bans-col:nth-child(2) { grid-area: user; }
[data-table='game-logs'].panel-logs-timeline > .log-row .bans-col:nth-child(3) { grid-area: text; }
[data-table='game-logs'].panel-logs-timeline > .log-row .bans-col:nth-child(2)::before { display: inline; content: "Player: "; color: #a0a0a0; font-size: 12px; text-transform: none; }
[data-table='game-logs'].panel-logs-timeline > .log-row .bans-col:nth-child(3)::before { display: none; }
[data-table='player-timeline'].panel-logs-timeline > .log-row { grid-template-areas: "type time" "text text"; }
[data-table='player-timeline'].panel-logs-timeline > .log-row .bans-col:nth-child(3) { grid-area: time; text-align: right; font-size: 12px; }
[data-table='player-timeline'].panel-logs-timeline > .log-row .bans-col:nth-child(3)::before { display: none; }
[data-table='player-timeline'] .log-tag,
[data-table='panel-logs'] .log-tag { color: var(--tl-colour, #a0a0a0); }
[data-table='player-timeline'].panel-logs-timeline > .log-row::before,
[data-table='panel-logs'].panel-logs-timeline > .log-row::before { background: var(--tl-colour, #a0a0a0); }
.game-data-empty { color: #777; font-style: italic; }
.game-data-raw { word-break: break-all; font-family: monospace; font-size: 12px; }
.game-data-label { color: #c8c8c8; }
.game-data-value { text-align: right; color: #fff; font-weight: 600; }

.list-box {
	background: #2b2b2b;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	margin-bottom: 20px;
}

.list-title {
	padding: 12px 16px;
	font-size: 16px;
	color: #fff;
}

.list-title i { color: #ff7f50; margin-right: 6px; }

.profile-card {
	background: #2b2b2b;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
	border-left: 4px solid var(--accent, #ff7f50);
	height: 100%;
	padding: 0 0 14px;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
}
.profile-card-title { padding: 12px 16px; border-bottom: 1px solid #404040; color: #fff; font-size: 16px; }
.profile-card-title i { color: #ff7f50; margin-right: 6px; }
.profile-card .player-profile-image { width: 72px; height: 72px; object-fit: cover; margin-bottom: 0; border-radius: 0; }
.profile-head { text-align: center; line-height: 1.4; padding: 0 14px; }
.profile-name { font-weight: 600; font-size: 15px; margin-top: 8px; word-break: break-word; }
.profile-meta { font-size: 12px; color: #a8a8a8; overflow-wrap: anywhere; }
.profile-links { display: flex; justify-content: center; gap: 8px; padding: 0 14px; flex-wrap: wrap; }
.profile-link {
	width: 40px; height: 34px;
	display: flex; align-items: center; justify-content: center;
	background: #26282b; border: 1px solid #44474b;
	font-size: 18px; cursor: pointer; text-decoration: none;
}
.profile-link:hover { border-color: #ff7f50; background: #3a3d41; }
.profile-actions { display: flex; gap: 8px; padding: 0 14px; }
.profile-btn {
	flex: 1; background: transparent; color: #fff; padding: 6px 0;
	font-size: 12px; letter-spacing: 0.5px; cursor: pointer; border: 1px solid;
}
.profile-btn.kick { border-color: #d86d25; }
.profile-btn.kick:hover { background: #d86d25; }
.profile-btn.ban { border-color: #ce2e2e; }
.profile-btn.ban:hover { background: #ce2e2e; }
.profile-btn.vehicle-restore { border-color: #15a010; }
.profile-btn.vehicle-restore:hover { background: #15a010; }

.player-stats-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-rows: repeat(3, minmax(75px, 1fr));
	gap: 20px 24px;
	margin-left: 0;
	margin-right: 0;
}
.player-stats-row > .col:first-child {
	grid-column: 1;
	grid-row: 1 / span 3;
	padding: 0;
	min-width: 0;
}
.player-stats-row > .player-stats-col { display: contents; }
.player-stats-row > .player-stats-col > br { display: none; }
.player-stats-row > .player-stats-col > .stat-card-2 {
	height: auto;
	min-height: 75px;
	min-width: 0;
}
.player-stats-row > .player-stats-col:nth-child(2) > .stat-card-2 { grid-column: 2; }
.player-stats-row > .player-stats-col:nth-child(3) > .stat-card-2 { grid-column: 3; }
.player-stats-row > .player-stats-col:nth-child(4) > .stat-card-2 { grid-column: 4; }
.player-stats-row > .player-stats-col > .stat-card-2:nth-of-type(1) { grid-row: 1; }
.player-stats-row > .player-stats-col > .stat-card-2:nth-of-type(2) { grid-row: 2; }
.player-stats-row > .player-stats-col > .stat-card-2:nth-of-type(3) { grid-row: 3; }

.dashboard-stats-row .stat-card-2,
.player-stats-row .stat-card-2,
.vehicle-stats-row .stat-card-2 {
	display: flex;
	align-items: stretch;
	background: #2b2b2b !important;
	border-left: 3px solid #ff7f50 !important;
	color: #e0e0e0 !important;
}
.dashboard-stats-row .stat-card-extra,
.player-stats-row .stat-card-extra,
.vehicle-stats-row .stat-card-extra {
	order: -1;
	flex: 0 0 65px;
	width: 65px;
	background: #232323 !important;
	color: #ff7f50;
}
.dashboard-stats-row .stat-card-extra i,
.player-stats-row .stat-card-extra i,
.vehicle-stats-row .stat-card-extra i { font-size: 30px !important; }
.dashboard-stats-row .stat-card-text-dashboard,
.player-stats-row .stat-card-text,
.vehicle-stats-row .stat-card-text {
	position: static;
	margin: 0;
	padding: 10px 12px;
	align-self: center;
	min-width: 0;
	overflow-wrap: anywhere;
}
.dashboard-stats-row .blue, .player-stats-row .blue, .vehicle-stats-row .blue { border-left-color: #2093f5 !important; }
.dashboard-stats-row .green, .player-stats-row .green, .vehicle-stats-row .green { border-left-color: #5cb85c !important; }
.dashboard-stats-row .red, .player-stats-row .red, .vehicle-stats-row .red { border-left-color: #d9534f !important; }
.dashboard-stats-row .purple, .player-stats-row .purple, .vehicle-stats-row .purple { border-left-color: #9361ce !important; }
.dashboard-stats-row .blue .stat-card-extra, .player-stats-row .blue .stat-card-extra, .vehicle-stats-row .blue .stat-card-extra { color: #2093f5; }
.dashboard-stats-row .green .stat-card-extra, .player-stats-row .green .stat-card-extra, .vehicle-stats-row .green .stat-card-extra { color: #5cb85c; }
.dashboard-stats-row .red .stat-card-extra, .player-stats-row .red .stat-card-extra, .vehicle-stats-row .red .stat-card-extra { color: #d9534f; }
.dashboard-stats-row .purple .stat-card-extra, .player-stats-row .purple .stat-card-extra, .vehicle-stats-row .purple .stat-card-extra { color: #9361ce; }
.dashboard-stats-row .db-actions .stat-card-text-dashboard { flex: 1; }
.dashboard-notice { padding: 12px 16px; border-left: 3px solid #ff7f50; }
.dashboard-notice i { color: #ff7f50; margin-right: 6px; }
.container.dashboard-access-container {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(100% - 250px);
	max-width: none;
	min-height: calc(100vh - 70px);
}
.dashboard-access {
	width: min(680px, 100%);
	margin: 0;
	border-top: 3px solid #dd8a1f;
	background: #292a2c;
}
.dashboard-access-header {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 15px 20px; border-bottom: 1px solid #404040; color: #e0e0e0; font-size: 14px;
}
.dashboard-access-header i { color: #ff9a76; margin-right: 6px; }
.dashboard-access-body { display: flex; align-items: flex-start; gap: 22px; padding: 32px; }
.dashboard-access-icon {
	display: flex; align-items: center; justify-content: center;
	flex: 0 0 70px; height: 70px; background: #37302a; color: #e8a84e;
	border: 1px solid #66503a; border-radius: 50%; font-size: 26px;
}
.dashboard-access-content { min-width: 0; }
.dashboard-access-label {
	padding: 4px 8px; border: 1px solid #66503a; background: #37302a;
	color: #e8a84e; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.dashboard-access-content h1 { margin: 2px 0 10px; color: #fff; font-size: 22px; }
.dashboard-access-content p { margin: 0; color: #c8c8c8; line-height: 1.65; }
.dashboard-access-content .dashboard-access-help {
	display: flex; align-items: baseline; gap: 9px;
	margin-top: 20px; padding-top: 16px; border-top: 1px solid #404040; color: #aaa; font-size: 13px;
}
.dashboard-access-help i { color: #e8a84e; }
.dashboard-access-login { margin-top: 20px !important; }
@media (max-width: 575px) {
	.dashboard-access-header { flex-wrap: wrap; }
	.dashboard-access-body { padding: 22px 20px; gap: 16px; }
	.dashboard-access-icon { flex-basis: 48px; height: 48px; font-size: 19px; }
	.dashboard-access-content h1 { font-size: 18px; }
}
.reports-intro { color: #c8c8c8; margin-bottom: 20px; }
.reports-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 20px; align-items: start; }
.reports-grid .list-box { margin-bottom: 0; }
.reports-chart { width: 100%; height: 350px; }
.reports-note { color: #bcbcbc; font-size: 13px; padding: 0 16px 12px; margin: 0; }
.reports-table { width: 100%; color: #eee; }
.reports-table th, .reports-table td { padding: 10px 16px; border-top: 1px solid #404040; vertical-align: top; overflow-wrap: anywhere; }
.reports-table th { color: #bcbcbc; font-size: 12px; }
.reports-table td:not(:first-child), .reports-table th:not(:first-child) { text-align: right; }
.reports-empty { padding: 16px; color: #bcbcbc; margin: 0; }
.gang-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0; padding: 14px; background: #232528; border: 1px solid #3a3d41; }
.gang-summary div { min-width: 0; }
.gang-summary dt { color: #999; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.gang-summary dd { margin: 3px 0 0; color: #eee; font-size: 13px; overflow-wrap: anywhere; }
.gang-section { margin-top: 20px; }
.gang-section-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.gang-section-header h5 { margin: 0; font-size: 14px; font-weight: 600; }
.gang-section-header h5 span { color: #999; font-size: 12px; font-weight: 400; }
.gang-member-list { border: 1px solid #3a3d41; }
.gang-member { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 10px; border-bottom: 1px solid #3a3d41; }
.gang-member:last-child { border-bottom: 0; }
.gang-member-name { min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.gang-owner-label { margin-left: 5px; color: #aaa; font-size: 11px; }
.gang-member form { margin: 0; flex: 0 0 auto; }
.gang-empty { padding: 10px; color: #aaa; font-size: 13px; }
.gang-settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.gang-edit-form { min-width: 0; margin: 0; }
.gang-edit-form label span { color: #888; font-size: 11px; }
.gang-edit-control { display: flex; align-items: stretch; gap: 6px; }
.gang-edit-control .form-control { min-width: 0; margin: 0; font-size: 13px; padding: 5px 8px; }
.gang-action-btn.btn { flex: 0 0 auto; margin: 0; padding: 4px 9px; font-size: 12px; line-height: 1.4; }
.gang-action-btn i { margin-right: 3px; }
.gang-action-btn.btn-blue:hover { background: #28334d !important; }
.gang-action-btn.btn-red:hover { background: #472b2b !important; }
.house-map-figure { margin: 0 0 20px; }
.house-map { position: relative; width: 100%; max-width: 652px; margin: 0 auto; }
.house-map img { display: block; width: 100%; height: auto; }
.house-map-marker { position: absolute; width: 16px; height: 16px; border: 2px solid #fff; border-radius: 50%; background: #d82c2c; box-shadow: 0 0 4px #000; transform: translate(-50%, -50%); }
.house-map-figure figcaption { margin-top: 8px; color: #bcbcbc; font-size: 13px; text-align: center; }
.combat-toast-holder {
	position: fixed; right: 20px; bottom: 20px; z-index: 2000;
	display: flex; flex-direction: column; gap: 10px;
	width: min(360px, calc(100vw - 24px));
}
.combat-toast {
	display: flex; align-items: center; gap: 12px;
	background: #2b2b2b; color: #e0e0e0; border-left: 4px solid #ff7f50;
	padding: 14px 16px; font-family: 'Montserrat', sans-serif; font-size: 14px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.combat-toast-icon { color: #ff7f50; font-size: 18px; }
.combat-toast-text { flex: 1; min-width: 0; }
.combat-toast-link {
	border: 1px solid #ff7f50; color: #fff; padding: 5px 12px;
	font-size: 13px; text-decoration: none;
}
.combat-toast-link:hover, .combat-toast-link:focus-visible { background: #ff7f50; color: #1f2023; }
.combat-restored { color: #a0a0a0; font-size: 12px; }
.combat-restored.is-restored { color: #9cdda5; }
.combat-restore-feedback[hidden] { display: none; }
.combat-restore-feedback { padding: 10px 12px; margin: 12px 0 0; border-left: 3px solid; }
.combat-restore-feedback.is-success { background: #26352a; border-color: #5cb85c; color: #b6e5be; }
.combat-restore-feedback.is-error { background: #352729; border-color: #d9534f; color: #ffc2c2; }
.combat-detail { background: #232323; border-left: 3px solid #ff7f50; padding: 12px 14px; margin-bottom: 12px; overflow-wrap: anywhere; }
.combat-detail h5 { color: #fff; font-size: 15px; margin: 0 0 10px; }
.combat-detail div { margin-bottom: 5px; }
.combat-gear { margin: 6px 0 0; padding: 10px; background: #1b1b1b; color: #dcdcdc; white-space: pre-wrap; overflow-wrap: anywhere; }
.combat-restore-meta { color: #a8cbae; font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 575px) {
	.combat-toast-holder { right: 12px; bottom: 12px; }
}
.vehicle-profile-image { display: block; width: auto; max-width: 100%; height: 90px; object-fit: contain; margin: 0 auto; }
.vehicle-profile a { color: #ff9a76; }
.vehicle-data { max-height: 406px; overflow-y: auto; padding: 0 16px 12px; }
.vehicle-data .bans-row-2 { border-top: 1px solid #3a3a3a; padding: 8px 0; }
.vehicle-data .bans-col { overflow-wrap: anywhere; }

.list-box .table-tools { padding: 0 16px 10px; justify-content: flex-start; }
.list-box .table-tools .table-filter { max-width: 420px; flex: 1 1 420px; }
.list-box .table-tools .table-export { margin-left: auto; }

.mapping-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
	gap: 10px;
	align-items: center;
	padding: 9px 16px;
	border-top: 1px solid #404040;
}
.mapping-add { background: #232323; }
.mapping-actions { display: flex; gap: 6px; }
@media (max-width: 700px) {
	.mapping-row { grid-template-columns: minmax(0, 1fr); }
}

.list-head, .list-row {
	display: grid;
	grid-template-columns: var(--cols);
	gap: 10px;
	align-items: center;
}

.list-head {
	background: #232323;
	border-top: 1px solid #404040;
	border-bottom: 1px solid #404040;
	color: #a0a0a0;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.5px;
}

.list-head .bans-col, .list-row .bans-col { padding: 10px 8px; min-width: 0; }
.list-head .bans-col:first-child, .list-row .bans-col:first-child { padding-left: 16px; }

.list-row {
	background: #2b2b2b;
	color: #e0e0e0;
	font-size: 14px;
	border-left: 2px solid transparent;
}

.list-box { color: #e0e0e0; }
.list-row a:not(.btn):not(.list-main) { color: #ff9a76; }

.list-row:nth-child(even) { background: #262626; }
.list-row:hover { background: #333; border-left-color: #ff7f50; }

.list-row .bans-col { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-row .list-wrap { white-space: normal; word-break: break-word; }
.list-main { color: #fff; font-weight: 600; }
.list-muted { color: #a0a0a0; }
.list-mono { font-family: monospace; font-size: 12px; }
.ping-good { color: #4caf50; }
.ping-ok { color: #ffb300; }
.ping-bad { color: #f44336; }
.tag-perm { color: #f44336; font-weight: 600; }

.flag-wrap { display: inline-flex; align-items: center; gap: 8px; }
.flag-img { height: auto; box-shadow: 0 0 3px rgba(0,0,0,0.6); }
.flag-none { color: #777; }

.list-empty {
	padding: 20px 16px;
	color: #a0a0a0;
	text-align: center;
}

@media only screen and (max-width: 991.98px) {
	.list-head { display: none; }
	.list-row { grid-template-columns: 1fr 1fr; gap: 0 10px; padding: 8px 8px; }
	.list-row .bans-col { white-space: normal; padding: 3px 8px; }
	.list-row .bans-col:first-child { padding-left: 8px; }
	.list-row .bans-col:not(:first-child) { padding-left: 8px; padding-right: 8px; }
	.list-row .bans-col::before {
		content: attr(data-label);
		display: block;
		color: #777;
		font-size: 10px;
		text-transform: uppercase;
	}

	.list-row.log-row {
		grid-template-columns: 1fr auto;
		grid-template-areas: "type time" "text text" "user user";
		row-gap: 4px;
		padding: 10px 8px;
	}
	.log-row .bans-col:nth-child(1) { grid-area: type; }
	.log-row .bans-col:nth-child(2) { grid-area: text; font-size: 14px; }
	.log-row .bans-col:nth-child(3) { grid-area: user; font-size: 13px; }
	.log-row .bans-col:nth-child(4) { grid-area: time; font-size: 12px; text-align: right; align-self: center; }
	.log-row .bans-col::before { display: none; }
	.log-row .bans-col:nth-child(3)::before { display: inline; content: "By "; color: #777; font-size: 12px; text-transform: none; }
	[data-table='game-logs'] > .log-row .bans-col:nth-child(2) { grid-area: user; font-size: 13px; }
	[data-table='game-logs'] > .log-row .bans-col:nth-child(3) { grid-area: text; font-size: 14px; }
	[data-table='game-logs'] > .log-row .bans-col:nth-child(2)::before { display: inline; content: "Player: "; color: #777; font-size: 12px; text-transform: none; }
	[data-table='game-logs'] > .log-row .bans-col:nth-child(3)::before { display: none; }
	[data-table='player-timeline'] > .log-row { grid-template-areas: "type time" "text text"; }
	[data-table='player-timeline'] > .log-row .bans-col:nth-child(3) { grid-area: time; font-size: 12px; text-align: right; align-self: center; }
	[data-table='player-timeline'] > .log-row .bans-col:nth-child(3)::before { display: none; }

	.list-row.combat-row {
		grid-template-columns: 1fr auto;
		grid-template-areas: "name side" "time time" "status gear";
		row-gap: 6px;
		align-items: center;
		padding: 10px 8px;
	}
	.combat-row .bans-col:nth-child(1) { grid-area: name; font-size: 15px; }
	.combat-row .bans-col:nth-child(2) { grid-area: side; text-align: right; }
	.combat-row .bans-col:nth-child(3) { grid-area: time; font-size: 12px; }
	.combat-row .bans-col:nth-child(4) { grid-area: status; }
	.combat-row .bans-col:nth-child(5) { grid-area: gear; grid-column: auto; text-align: right; }
	.combat-row .bans-col::before { display: none; }
	.combat-row .bans-col:nth-child(4)::before { display: inline; content: "Restored: "; color: #777; font-size: 12px; }
	.combat-row .list-btn { margin: 0; }

	.list-row.wl-staff-row {
		grid-template-columns: 1fr auto;
		grid-template-areas: "name remove" "rank rank";
		row-gap: 4px;
		align-items: center;
		padding: 10px 8px;
	}
	.wl-staff-row .bans-col:nth-child(1) { grid-area: name; white-space: normal; font-size: 15px; }
	.wl-staff-row .bans-col:nth-child(2) { grid-area: rank; font-size: 13px; }
	.wl-staff-row .bans-col:nth-child(3) { grid-area: remove; grid-column: auto; text-align: right; }
	.wl-staff-row .bans-col::before { display: none; }
	.wl-staff-row .wl-steam { display: block; font-size: 12px; word-break: break-all; }

	.list-row.case-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; padding: 10px 8px; }
	.case-row .bans-col::before { display: none; }
	.case-row .bans-col:nth-child(1) { flex: 1 1 50%; font-size: 16px; }
	.case-row .bans-col:nth-child(2) { flex: 1 1 40%; text-align: right; color: #a0a0a0; font-size: 13px; }
	.case-row .bans-col:nth-child(2)::before { display: inline; content: "By "; font-size: 12px; text-transform: none; }
	.case-row .bans-col:nth-child(3), .case-row .bans-col:nth-child(4) { flex: 0 0 auto; grid-column: auto; padding-right: 0; }
	.case-row .bans-col:nth-child(3):empty { display: none; }
	.case-row .list-btn { margin: 0; }
}

.log-tag {
	display: inline-block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: middle;
	background: #404040;
	color: #e0e0e0;
	font-size: 11px;
	padding: 1px 8px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.table-count { margin: 0 16px 8px; font-size: 13px; color: #a0a0a0; }
.type-filter { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 16px 10px; }
.type-filter-label { color: #a0a0a0; font-size: 13px; margin-right: 4px; }
.type-chip { background: #2e2e2e; color: #d0d0d0; border: 1px solid #505050; border-radius: 14px; padding: 2px 12px; font-size: 12px; cursor: pointer; }
.type-chip:hover { border-color: #ff7f50; }
.type-chip.active { background: #ff7f50; border-color: #ff7f50; color: #fff; }
.type-chip.type-clear { background: transparent; border-style: dashed; }
.list-btn { margin: 0; padding: 3px 12px; font-size: 13px; }
.cv-people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #404040; border-top: 1px solid #404040; border-bottom: 1px solid #404040; }
.cv-person { background: #2b2b2b; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 8px; text-align: center; min-width: 0; word-break: break-word; }
.cv-person-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #a0a0a0; margin-bottom: 8px; }
.cv-avatar { height: 72px; width: 72px; object-fit: cover; border: 2px solid #44474b; box-shadow: 0 0 8px rgba(0,0,0,0.6); margin-bottom: 6px; }
.cv-person a, .cv-comment a { text-decoration: none; }
.cv-info { padding: 14px 16px; }
.cv-info-title { color: #fff; font-size: 16px; margin-bottom: 10px; }
.cv-facts { display: grid; gap: 6px; }
.cv-fact { display: grid; grid-template-columns: 110px 1fr; gap: 10px; color: #e0e0e0; word-break: break-word; }
.cv-fact span { color: #8a8d91; text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; padding-top: 2px; }
.cv-comment { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 16px; border-top: 1px solid #404040; color: #e0e0e0; }
.cv-comment:nth-child(odd) { background: #262626; }
.cv-comment-who { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; min-width: 0; word-break: break-word; }
.cv-comment-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; word-break: break-word; }
.cv-time { font-size: 12px; margin-top: auto; }
.cv-form { padding: 4px 16px 12px; }
.cv-form textarea { background-color: #1f2023; border: 1px solid #44474b; border-radius: 0; color: #fff; }
.doc-body { padding: 4px 16px 16px; color: #e0e0e0; }
.doc-body p { margin-bottom: 12px; }
.doc-body .btn { margin: 0; }
.docs-intro { border-left: 3px solid #ff7f50; }
.docs-note { color: #a0a0a0; font-size: 13px; }
.docs-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.docs-jump a { color: #ff9a76; border: 1px solid #51433d; padding: 5px 10px; text-decoration: none; font-size: 13px; }
.docs-jump a:hover, .docs-jump a:focus-visible { color: #fff; border-color: #ff7f50; }
.docs-section .list-title { margin: 0; }
.docs-section > summary { cursor: pointer; }
.docs-section > summary::marker { color: #ff7f50; }
.docs-section > .docs-guide { margin-left: 16px; }
.docs-guide { border-top: 1px solid #404040; }
.docs-guide summary { padding: 14px 16px; color: #e0e0e0; cursor: pointer; font-weight: 600; }
.docs-guide summary::marker { color: #ff7f50; }
.docs-guide summary:hover, .docs-guide summary:focus-visible { background: #333; color: #fff; }
.docs-guide[open] summary { color: #ff9a76; }
.docs-guide .doc-body { padding: 0 16px 16px 32px; line-height: 1.65; }
.docs-guide .doc-body p:last-child, .docs-guide .doc-body ol:last-child { margin-bottom: 0; }
.docs-guide li + li { margin-top: 6px; }
.docs-guide code { color: #ffb393; overflow-wrap: anywhere; }
.docs-actions, .docs-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; }
.docs-actions form { margin: 0; }
.docs-categories summary { cursor: pointer; }
.docs-category-entry { border-top: 1px solid #404040; margin-top: 12px; padding-top: 12px; }
.docs-category-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.docs-category-row .form-control, .docs-category-row .form-select { flex: 1 1 220px; width: auto; }
.docs-editor form { padding: 16px; }
.docs-editor label { display: block; margin: 12px 0 6px; color: #e0e0e0; }
.docs-editor textarea { font-family: monospace; }
.docs-reference-scroll { overflow-x: auto; }
.docs-reference { min-width: 720px; --bs-table-bg: transparent; --bs-table-color: #e0e0e0; --bs-table-border-color: #555; }
.docs-reference th, .docs-reference td { padding: 9px; vertical-align: top; }
.docs-permission-level { color: #bbb; font-size: 12px; overflow-wrap: anywhere; }
.msg-box { border-left: 3px solid #ff7f50; }
.msg-box .list-title { border-bottom: 1px solid #404040; }
.msg-form { display: flex; gap: 12px; padding: 14px 16px; align-items: stretch; }
.msg-form .form-control { background-color: #1f2023; border: 1px solid #44474b; border-radius: 0; color: #fff; flex: 1 1 auto; min-width: 0; }
.msg-form input.form-control, .msg-form select.form-control { background: #1f2023 !important; border: 1px solid #44474b !important; color: #fff !important; }
.msg-form .form-control:focus { background-color: #1f2023; color: #fff; border-color: #ff7f50; box-shadow: none; }
.msg-form input.form-control:focus, .msg-form select.form-control:focus { border-color: #ff7f50 !important; }
.msg-form .form-control.msg-to { flex: 0 0 280px; }
.msg-form .ss-wrap { flex: 0 0 280px; min-width: 0; }
.msg-form .ss-wrap .form-control { width: 100%; }
.msg-form .btn { margin: 0; flex: 0 0 auto; }
.msg-form .btn i { margin-right: 6px; }
@media only screen and (max-width: 767.98px) {
	.msg-form { flex-direction: column; }
	.msg-form .ss-wrap { flex: 1 1 auto; }
}
@media only screen and (max-width: 767.98px) {
	.cv-people { grid-template-columns: 1fr; }
	.cv-comment { grid-template-columns: 1fr; }
	.cv-fact { grid-template-columns: 1fr; gap: 0; }
}

.cfg-picker {
	display: grid;
	grid-template-columns: minmax(140px, 1fr) 2fr;
	gap: 12px;
	align-items: center;
	padding: 10px 16px 14px;
	border-bottom: 1px solid #404040;
}
.cfg-picker label { margin: 0; color: #b8b8b8; }

.cfg-row {
	display: grid;
	grid-template-columns: minmax(140px, 1fr) 2fr;
	gap: 12px;
	align-items: center;
	padding: 10px 16px;
	color: #e0e0e0;
	border-left: 2px solid transparent;
}
.cfg-row:nth-child(odd) { background: #262626; }
.cfg-row:hover { background: #333; border-left-color: #ff7f50; }
.cfg-label { display: flex; flex-direction: column; min-width: 0; }
.cfg-desc { color: #8a8d91; font-size: 12px; font-style: italic; }
.cfg-value { min-width: 0; word-break: break-word; }
.cfg-picker .form-control, .cfg-value .form-control {
	background-color: #1f2023;
	border: 1px solid #44474b;
	border-radius: 0;
	color: #fff;
}
.cfg-picker .form-control:focus, .cfg-value .form-control:focus { border-color: #ff7f50; box-shadow: none; }

@media only screen and (max-width: 991.98px) {
	.cfg-picker, .cfg-row { grid-template-columns: 1fr; gap: 6px; }
}

.list-row form { margin: 0; }
.list-box > .row { margin: 0; }

@media only screen and (max-width: 991.98px) {
	.list-row .list-wrap, .list-row .bans-col:has(> .list-btn), .list-row .bans-col:has(> form), .list-row .bans-col:has(> a > .list-btn) { grid-column: 1 / -1; }
	.combat-row .bans-col.combat-actions { grid-column: auto; }
}

.player-record-box { height: calc(100% - 20px); }
.player-record-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.player-record-list { max-height: 250px; overflow-y: auto; }
.player-record-box .list-row .bans-col { overflow-wrap: anywhere; }
.player-record-action { text-align: right; }
.player-note-grid { --cols: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); }
.player-note-grid.has-delete { --cols: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr) 40px; }
.player-ban-grid { --cols: minmax(0, 1fr) auto; }
.player-ban-grid.has-unban { --cols: minmax(0, 1fr) minmax(90px, 1fr) auto; }
.player-case-grid { --cols: 80px 1fr 2fr 1.4fr 95px auto; }
.player-combat-grid { --cols: 90px 1fr 1.5fr auto; }
.player-kill-grid { --cols: 120px minmax(0, 1fr) 170px; }
.player-kill-title { flex-wrap: wrap; }
.player-kill-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.player-kd-ratio { color: #ff9a76; font-size: 13px; text-align: right; }
.player-loadout-grid { --cols: minmax(0, 1.5fr) minmax(0, 1fr) auto; }
.player-loadout-grid.has-delete { --cols: minmax(0, 1.5fr) minmax(0, 1fr) auto 40px; }
.player-status { display: inline-block; padding: 3px 12px; font-size: 13px; border: 1px solid; }
.player-status-unbanned { border-color: #d86d25; color: #ffb078; }
.player-status-expired { border-color: #15a010; color: #9bd99b; }
.player-licences { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 16px; }
.player-licences .list-empty { width: 100%; }
.player-licences .player-licence { border-radius: 0; font-size: 12px; padding: 6px 10px; white-space: normal; text-align: left; }
.player-licences .player-licence[data-value='0'] { background: #352729; border: 1px solid #a74848; color: #ffc2c2; }
.player-licences .player-licence[data-value='1'] { background: #26352a; border: 1px solid #4b9b5b; color: #b6e5be; }
.player-licences .player-licence:disabled { opacity: 1; cursor: default; }
.player-licences .player-licence:not(:disabled):hover { filter: brightness(1.2); }

@media only screen and (max-width: 991.98px) {
	.player-record-box .list-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 10px; }
	.player-record-box .list-row .bans-col { padding: 3px 8px; }
	.player-record-box .list-row .list-wrap { grid-column: 1 / -1; }
	.player-record-box .list-row .player-record-action { grid-column: auto; }
}

a.list-row, a.list-row:hover { color: #c8c8c8; text-decoration: none; }
a.list-row { border-left-width: 3px; border-left-style: solid; }
a.list-row:hover { border-left-color: inherit; background: #333; }

.search-summary {
	background: #2b2b2b;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	padding: 12px 16px;
	margin-bottom: 20px;
	color: #c8c8c8;
}

.search-summary i { color: #ff7f50; margin-right: 6px; }
.search-summary strong { color: #fff; }

.search-section {
	background: #2b2b2b;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	margin-bottom: 20px;
}

.search-section-header {
	padding: 10px 16px;
	font-size: 16px;
	border-bottom: 1px solid #404040;
	color: #fff;
}

.search-section-header i { color: #ff7f50; margin-right: 6px; }

.search-count {
	background: #404040;
	color: #e0e0e0;
	font-size: 12px;
	padding: 1px 8px;
	margin-left: 6px;
}

.search-result {
	display: grid;
	grid-template-columns: 28px 1.4fr 1.4fr 1.6fr 90px 18px;
	gap: 10px;
	align-items: center;
	padding: 10px 16px;
	color: #c8c8c8;
	text-decoration: none;
	border-left: 2px solid transparent;
}

.search-result:nth-child(odd) { background: #262626; }

.search-result:hover {
	background: #333;
	border-left-color: #ff7f50;
	color: #fff;
	text-decoration: none;
}

.search-result-icon { color: #777; text-align: center; }
.search-result-main { color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result-sub, .search-result-detail { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result-detail { color: #a0a0a0; }
.search-result-tag { text-align: right; color: #a0a0a0; font-size: 12px; }
.search-result-go { color: #666; font-size: 11px; }
.search-result:hover .search-result-go { color: #ff7f50; }

.search-empty {
	background: #2b2b2b;
	box-shadow: 0 0 5px rgba(0,0,0,0.5);
	padding: 20px 16px;
	color: #a0a0a0;
	text-align: center;
}

@media only screen and (max-width: 991.98px) {
	.search-result {
		grid-template-columns: 24px 1fr 80px 14px;
		row-gap: 2px;
	}
	.search-result-icon { grid-row: 1 / span 3; }
	.search-result-main { grid-column: 2; }
	.search-result-tag { grid-column: 3; grid-row: 1; }
	.search-result-go { grid-column: 4; grid-row: 1 / span 3; }
	.search-result-sub, .search-result-detail { grid-column: 2 / span 2; font-size: 13px; }
}

@media only screen and (max-width: 991.98px) {
	.navbar-search { margin: 0 8px 0 12px; flex: 1 1 auto; min-width: 0; }
	.table-tools { flex-wrap: wrap; }
	.table-tools .table-filter { max-width: none; flex: 1 1 100%; }
}

.active {
	color: #ffffff;
}

.active-mobile {
	color: white;
}

.player-result {
    margin-top: 5px;
    margin-bottom: 5px;
}

.player-result-row, .vehicle-result-row {
    margin: 10px 0px 10px 0px;
    padding: 10px 10px;
}

.player-result-col {
	padding: 15px;
}

.player-result-link, .vehicle-result-link {
	color: #a0a0a0;
}

.player-result-link:hover, .player-result-link:focus, .vehicle-result-link:hover, .vehicle-result-link:focus {
	text-decoration: none;
	color: #cacaca;
}

.player-page-row {
	margin-bottom: 20px;
}

.title {
	color: white;
}

hr {
	color: #cacaca;
}

.stat-card-1 {
	padding: 10px;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}

.stat-card-2 {
	height: 75px;
	min-width: 210px;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}

.stat-card-extra {
    height: 100%;
    width: 75px;
	display: flex;
    justify-content: center;
    align-items: center;
}

.stat-card-info {
	text-align: center;
	padding: 10px 20px;
	margin: 0;
}

.stat-card-text {
	position: absolute;
	margin-left: 90px;
    margin-top: 18px;
}

.stat-card-text-dashboard {
	position: absolute;
    margin-left: 90px;
    margin-top: 18px;
}

.player-profile-image {
	margin-bottom: 5px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.75);
    border-radius: 3px;
    height: 100px;
    width: auto;
}

.btn-box, .btn-box:focus {
	display: flex;
    margin: 0px 6px;
	text-align: center;
}

.btn-outside {
	margin: 0 0 10px 0;
}

.top-actions { display: flex; align-items: center; gap: 8px; width: 100%; }
.top-actions .top-actions-right { margin-left: auto !important; }

.btn-outside-top {
	margin: 10px 0 0 0;
}

.btn-blue, .btn-blue:focus, .btn-blue:active, .btn-blue:hover {
	background: #f0f8ff00 !important;
    border: 1px solid #2f59e8 !important;
    color: white !important;
}

.btn-teal, .btn-teal:focus, .btn-teal:active, .btn-teal:hover {
	background: #f0f8ff00 !important;
    border: 1px solid #2fe8e6 !important;
    color: white !important;
}

.btn-orange, .btn-orange:focus, .btn-orange:active, .btn-orange:hover {
	background: #f0f8ff00 !important;
    border: 1px solid #d86d25 !important;
    color: white !important;
}

.btn-red, .btn-red:focus, .btn-red:active, .btn-red:hover {
	background: #f0f8ff00 !important;
    border: 1px solid #ce2e2e !important;
    color: white !important;
}

.btn-green, .btn-green:focus, .btn-green:active, .btn-green:hover {
	background: #f0f8ff00 !important;
    border: 1px solid #15a010 !important;
    color: white !important;
}

.blue-text {
	color: #2f59e8;
}

.teal-text {
	color: #2fe8e6;
}

.orange-text {
	color: #d86d25;
}

.red-text {
	color: #ce2e2e;
}

.green-text {
	color: #15a010;
}

.search-container {
    text-align: center;
    margin-bottom: 20px;
}

#searchInput {
    padding: 10px;
    font-size: 16px;
    width: 100%;
    border: 2px solid #ccc;
}

.dropdown-text, .dropdown-text:hover {
	color: white;
	text-decoration: none;
}

.btn, .btn:hover, .btn:focus, .btn:active {
	color: white;
	text-decoration: none;
	border-radius: 0;
}

.dropdown {
	cursor: pointer;
}

.dropdown-menu {
	border-radius: 0;
	background: #26282b;
	border: 1px solid #44474b;
	border-top: 2px solid #ff7f50;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
	padding: 4px 0;
	min-width: 180px;
}

.dropdown-menu .dropdown-header {
	color: #8a8d91;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 6px 16px 4px;
}

.dropdown-menu .dropdown-item {
	padding: 0;
	background: transparent;
}

.dropdown-menu > li > p {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    clear: both;
    font-weight: 400;
    line-height: 1.3;
    color: #e0e0e0;
    white-space: nowrap;
	margin-bottom: 0;
	cursor: pointer;
	border-left: 3px solid transparent;
}

.dropdown-menu > li > p i { width: 16px; text-align: center; color: #ff7f50; }

.dropdown-menu > li > p:hover {
    color: #fff;
    text-decoration: none;
    background-color: #3a3d41;
    border-left-color: #ff7f50;
}

.player {
	cursor: pointer;
	padding: 0.25rem;
}

.player[data-value='0'] {
    background: rgb(214, 70, 70);
	color: white;
}

.player[data-value='1'] {
	background: rgb(55, 158, 55);
	color: white;
}

.editMoneyLink {
	color: #ff7b00;
	cursor: pointer;
	font-size: 12px;
}
button.editMoneyLink { border: 0; padding: 0; background: transparent; }

.subtitle {
	margin-bottom: 5px;
}

.form-group:not(:last-child) {
	margin-bottom: 10px;
}

.form-control {
	border-radius: 0;
	background-clip: unset;
}

.input-group {
	margin-bottom: 1rem;
}

.input-group-text {
	border-radius: 0;
}

.modal-content {
	border-radius: 0;
}

.message {
	padding: 10px 5px;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}

button:focus, button:active {
    outline: 0 !important;
	box-shadow: none !important;
}

.bans-row {
	background: #2c2d2f;
    margin: 0;
	font-size: 13px;
}

.bans-col {
	padding: 5px 15px;
}

.bans-row-2:nth-child(even) {
	background: #333538;
}

.stat-card-1::-webkit-scrollbar, .stat-card-1::-webkit-scrollbar-track {
    display: none;
}

.stat-card-1::-webkit-scrollbar-thumb {
    display: none;
}

.view-ban-modal, .modal {
	color: white;
}

.view-ban-modal-content, .modal-content {
	background: #2b2d30;
	border: 1px solid #44474b;
	border-top: 3px solid #ff7f50;
	border-radius: 0;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.modal-backdrop.show { opacity: 0.65; }

.modal-header {
	background: #313438;
	border-bottom: 1px solid #44474b;
	border-radius: 0;
	padding: 14px 20px;
}

.modal-title { font-size: 17px; font-weight: 600; margin: 0; color: #fff; }

.modal-body { padding: 18px 20px; color: #dcdcdc; }
.modal-body p { margin-bottom: 8px; }
.modal-body hr { border-color: #44474b; opacity: 1; }
.modal-body a { color: #ff9a76; }

.modal-footer {
	border-top: 1px solid #44474b;
	padding: 12px 20px;
	gap: 8px;
}

.modal-footer > * { margin: 0; }

.modal .btn-close { filter: invert(1); opacity: 0.7; }

.modal .form-control, .modal .form-select, .modal textarea, .modal select, .modal input[type=text], .modal input[type=number], .modal input[type=password], .modal input[type=email] {
	background-color: #1f2023;
	border: 1px solid #44474b;
	border-radius: 0;
	color: #fff;
}

.modal .form-control:focus, .modal .form-select:focus, .modal textarea:focus, .modal select:focus {
	background-color: #1f2023;
	border-color: #ff7f50;
	color: #fff;
	box-shadow: none;
}

.modal label { color: #b8b8b8; font-size: 13px; margin-bottom: 4px; }

select, .form-select { color-scheme: dark; }
select option, select optgroup { background-color: #26282b; color: #e0e0e0; }

.modal .btn { border-radius: 0; }

.logs-box {
	max-height: 750px;
	overflow-y: scroll;
}

.inactive {
	color: red !important;
}

.whitelist-type {
	text-align: center;
	color: white;
	font-size: 100px;
	cursor: pointer;
}

.whitelist-card {
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}

.wl-type-blue {
	background-color: #2093f5;
}

.wl-type-green {
	background-color: #5cb85c;
}

.wl-type-red {
	background-color: #d9534f;
}

.wl-type-pink {
	background-color: #bb4fd9;
}

textarea, input, select {
	background: #2c2d2f !important;
    border: #ababab 1px solid !important;
	color: #ababab !important;
}

.block-button {
	cursor: pointer;
}

.license-plate {
	background: #ffc800;
    padding: 2px 4px;
    color: black;
    border-left: 10px solid #0078ff;
}

.add-note-btn, .add-note-btn:hover, .add-note-btn:focus, .add-note-btn:active {
	text-decoration: none;
	color: white;
}

.add-note-content {
	min-height: 70px;
	max-width: 100%;
	min-width: 100%;
}

#permission-content:not(:empty), #setting-content:not(:empty) {
	padding-top: 4px;
}

.case-header {
	margin-top: 5px;
}

.case-information {
	margin-top: 5px;
}

.case-notes {
	margin-top: 0px;
}

.comment-section {
	padding: 5px 15px;
	position: relative;
}

.comment-time {
	position: absolute;
	bottom: 20px;
}

.case-comment {
	text-align: center; margin-top: 1rem;
}

.thread-reply {
	max-width: 100%;
    min-width: 100%;
    min-height: 80px;
}

.setting-row, .permission-row {
	width: 1000px;
    margin: auto;
    margin-bottom: 10px;
}

.margin-auto {
	margin: auto;
}

.wl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; padding: 4px 16px 16px; }
.wl-card { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 0 16px 0 0; background: #26282b; border: 1px solid #3a3d41; border-left: 4px solid var(--wl, #888); cursor: pointer; transition: background .15s, border-color .15s; }
.wl-card:hover { background: #333; border-color: var(--wl, #888); }
.wl-card > i { display: flex; align-items: center; justify-content: center; align-self: stretch; flex: 0 0 65px; background: #232323; font-size: 34px; color: var(--wl, #888); }
.wl-card-title { font-size: 18px; font-weight: 600; color: #fff; }
.wl-card-sub { font-size: 13px; color: #a0a0a0; }
.wl-card-blue { --wl: #2093f5; }
.wl-card-green { --wl: #5cb85c; }
.wl-card-red { --wl: #d9534f; }
.wl-card-pink { --wl: #bb4fd9; }

.whitelist-block {
	margin-bottom: 25px;
}

.staff-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.staff-card {
	background-color: #2b2b2b;
	color: white;
	border-left: 4px solid #44474b;
	border-radius: 0;
	padding: 15px 10px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
	overflow-wrap: anywhere;
}

.staff-card-name {
	font-weight: bold;
	margin-bottom: 10px;
}
.staff-card a { color: #ff9a76; }
.staff-card a:hover { color: #ffc0a8; }

.staff-card-photo {
	width: 110px;
	height: 110px;
	object-fit: cover;
	background: #1d1f21;
	margin-bottom: 10px;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 45px;
	color: #a0a0a0;
}

.staff-card-info {
	font-size: 13px;
	line-height: 1.6;
}

.staff-card-footer {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-evenly;
	align-items: center;
	width: 100%;
	margin-top: auto;
	padding-top: 15px;
	font-size: 18px;
}

.staff-card-actions {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-evenly;
	align-items: center;
	width: 100%;
	margin-top: 10px;
	font-size: 16px;
}

.staff-card-actions .side-item {
	margin: 0;
}

@media only screen and (max-width: 1368px) {
	.staff-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media only screen and (max-width: 1100px) {
	.staff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media only screen and (max-width: 767.98px) {
	.staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

@media only screen and (max-width: 479.98px) {
	.staff-grid { grid-template-columns: minmax(0, 1fr); }
}

@media only screen and (max-width: 1368px) {
	.container {
		max-width: 80%;
	}

	.col-sm-4:has(.stat-card-2) {
		margin-bottom: 20px;
	}

	.stat-card-text {
		margin-left: 32%;
		font-size: 15px;
	}

	.btn-1368 {
		position: absolute;
		width: 60%;
		height: 60%;
		font-size: 8px;
		padding: 0;
	}

	.logs-box {
		max-height: 600px;
	}
}

.menu-backdrop {
	display: none;
}

@media only screen and (max-width: 991.98px) {
	.navbar-container {
		display: flex;
		align-items: center;
	}

	.navbar-toggler {
		position: static;
		margin: 0 0 0 8px;
		font-size: 24px;
		display: block;
		flex: 0 0 auto;
	}

	.navbar-brand {
		flex: 0 0 auto;
		margin-right: 0;
	}

	.navbar-brand .brand-text { display: none; }
	.navbar-brand .logo { margin-right: 0; }

	.navbar-desktop {
		position: fixed;
		top: 71px;
		bottom: 0;
		left: 0;
		width: 260px;
		max-width: 85vw;
		transform: translateX(-100%);
		transition: transform 0.2s ease;
		z-index: 1040;
		visibility: hidden;
	}

	body.menu-open .navbar-desktop {
		transform: translateX(0);
		visibility: visible;
	}

	.navbar-desktop .nav {
		position: static;
		width: 100%;
		height: 100%;
		display: flex;
		flex-wrap: nowrap;
		overflow-y: auto;
	}

	.navbar-desktop .nav-content {
		max-height: none;
		overflow-y: visible;
	}

	.menu-backdrop {
		position: fixed;
		top: 71px;
		right: 0;
		bottom: 0;
		left: 0;
		background: rgba(0, 0, 0, 0.6);
		z-index: 1035;
	}

	body.menu-open .menu-backdrop {
		display: block;
	}

	body.menu-open {
		overflow: hidden;
	}

	.container {
		margin: 70px 0 0 0 !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: 20px 12px;
		box-sizing: border-box;
	}

	.setting-row, .permission-row {
		width: 100%;
		max-width: 1000px;
	}

	.login-box {
		width: 100%;
		max-width: 400px;
	}

	.side:hover {
		padding-right: 0;
		border-left-color: rgb(50 52 56);
	}

	.nav-1:hover {
		border: none;
	}

	.nav-2:hover {
		border: none;
	}

	.nav-3:hover {
		border: none;
	}

	.nav-4:hover {
		border: none;
	}

	.nav-5:hover {
		border: none;
	}

	.nav-6:hover {
		border: none;
	}

	.nav-7:hover {
		border: none;
	}

	.nav-8:hover {
		border: none;
	}

	.nav-9:hover {
		border: none;
	}

	.nav-10:hover {
		border: none;
	}

	.nav-11:hover {
		border: none;
	}

	.nav-12:hover {
		border: none;
	}

	.nav-13:hover {
		border: none;
	}

	.nav-14:hover {
		border: none;
	}

	.nav-15:hover {
		border: none;
	}

	.nav-16:hover {
		border: none;
	}

	.nav-17:hover {
		border: none;
	}

	.nav-18:hover {
		border: none;
	}

	.col-sm-4:has(.stat-card-2) {
		margin-bottom: 20px;
	}

	.nav-profile-text {
		width: 100%;
		margin: 7px 0 0 0;
	}

	.nav-profile .btn-logout, .nav-profile .btn-changePassword {
		flex: 1 1 50%;
		width: auto;
	}

	.page-button {
		text-align: center;
	}

	.case-info-top {
		padding: 5px 15px;
		max-width: 33%;
	}

	.player-profile-image {
		height: 60px;
	}

	.case-header {
		font-size: 20px;
	}

	.case-header-smaller {
		font-size: 11px;
	}

	.steam-icon {
		content: '<i class="fa-brands fa-steam"></i>';
	}
}

@media only screen and (max-width: 575.98px) {
	.bans-row-2, .bans-row[style*="border-bottom"] {
		flex-wrap: nowrap;
	}

	.bans-row .bans-col {
		padding: 5px 4px;
		font-size: 12px;
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.bans-row .bans-col .btn, .bans-row .bans-col [class^="btn-"] {
		padding: 2px 4px;
		min-height: 0;
		font-size: 12px;
	}

	.bans-row .bans-col .case-view-active, .bans-row .bans-col .case-view-active:hover {
		border-color: #15a010 !important;
	}

	.bans-row .bans-col .case-view-archived, .bans-row .bans-col .case-view-archived:hover {
		border-color: #ce2e2e !important;
	}

	.bans-row-2 > .col-sm-1, .bans-row[style*="border-bottom"] > .col-sm-1 { flex: 0 0 auto; width: 8.333333%; }
	.bans-row-2 > .col-lg-1, .bans-row[style*="border-bottom"] > .col-lg-1 { flex: 0 0 auto; width: 8.333333%; }
	.bans-row-2 > .col-sm-2, .bans-row[style*="border-bottom"] > .col-sm-2 { flex: 0 0 auto; width: 16.666667%; }
	.bans-row-2 > .col-lg-2, .bans-row[style*="border-bottom"] > .col-lg-2 { flex: 0 0 auto; width: 16.666667%; }
	.bans-row-2 > .col-sm-3, .bans-row[style*="border-bottom"] > .col-sm-3 { flex: 0 0 auto; width: 25%; }
	.bans-row-2 > .col-lg-3, .bans-row[style*="border-bottom"] > .col-lg-3 { flex: 0 0 auto; width: 25%; }
	.bans-row-2 > .col-sm-4, .bans-row[style*="border-bottom"] > .col-sm-4 { flex: 0 0 auto; width: 33.333333%; }
	.bans-row-2 > .col-lg-4, .bans-row[style*="border-bottom"] > .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
	.bans-row-2 > .col-sm-5, .bans-row[style*="border-bottom"] > .col-sm-5 { flex: 0 0 auto; width: 41.666667%; }
	.bans-row-2 > .col-lg-5, .bans-row[style*="border-bottom"] > .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
	.bans-row-2 > .col-sm-6, .bans-row[style*="border-bottom"] > .col-sm-6 { flex: 0 0 auto; width: 50%; }
	.bans-row-2 > .col-lg-6, .bans-row[style*="border-bottom"] > .col-lg-6 { flex: 0 0 auto; width: 50%; }
	.bans-row-2 > .col-sm-7, .bans-row[style*="border-bottom"] > .col-sm-7 { flex: 0 0 auto; width: 58.333333%; }
	.bans-row-2 > .col-lg-7, .bans-row[style*="border-bottom"] > .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
	.bans-row-2 > .col-sm-8, .bans-row[style*="border-bottom"] > .col-sm-8 { flex: 0 0 auto; width: 66.666667%; }
	.bans-row-2 > .col-lg-8, .bans-row[style*="border-bottom"] > .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
	.bans-row-2 > .col-sm-9, .bans-row[style*="border-bottom"] > .col-sm-9 { flex: 0 0 auto; width: 75%; }
	.bans-row-2 > .col-lg-9, .bans-row[style*="border-bottom"] > .col-lg-9 { flex: 0 0 auto; width: 75%; }
	.bans-row-2 > .col-sm-10, .bans-row[style*="border-bottom"] > .col-sm-10 { flex: 0 0 auto; width: 83.333333%; }
	.bans-row-2 > .col-lg-10, .bans-row[style*="border-bottom"] > .col-lg-10 { flex: 0 0 auto; width: 83.333333%; }
	.bans-row-2 > .col-sm-11, .bans-row[style*="border-bottom"] > .col-sm-11 { flex: 0 0 auto; width: 91.666667%; }
	.bans-row-2 > .col-lg-11, .bans-row[style*="border-bottom"] > .col-lg-11 { flex: 0 0 auto; width: 91.666667%; }
	.bans-row-2 > .col-sm-12, .bans-row[style*="border-bottom"] > .col-sm-12 { flex: 0 0 auto; width: 100%; }
	.bans-row-2 > .col-lg-12, .bans-row[style*="border-bottom"] > .col-lg-12 { flex: 0 0 auto; width: 100%; }

	textarea, input, select, .form-control, .form-select {
		font-size: 16px !important;
	}

	.btn {
		min-height: 38px;
	}

	.modal-dialog {
		margin: 10px;
	}

	.player-page-row > .col {
		flex: 0 0 100%;
		max-width: 100%;
		min-width: 0;
	}

	.stat-card-text {
		margin-left: 90px;
		font-size: inherit;
	}

	.player-page-row > .col + .col {
		margin-top: 20px;
	}

	.player-record-row > .col + .col {
		margin-top: 0;
	}

	.vehicle-stats-row > .col-sm-3 + .col-sm-3 {
		margin-top: 20px;
	}

	.vehicle-data-row > .col-sm-4 + .col-sm-4 {
		margin-top: 0;
	}

	.player-page-row > .col > .stat-card-2 + br {
		display: none;
	}

	.player-page-row > .col > .stat-card-2 + br + .stat-card-2 {
		margin-top: 20px;
	}

	.stat-card-2 {
		min-width: 0;
	}

	.row > .col-12.col-sm {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.row > .col-12.col-sm > br {
		display: none;
	}

	.row > .col-12.col-sm > .stat-card-2 {
		flex: none;
	}

	.row > .col-12.col-sm:not(:first-child) {
		margin-top: 20px !important;
	}

	.row.dashboard-stats-row {
		margin-left: 0;
		margin-right: 0;
		row-gap: 20px;
	}

	.dashboard-stats-row > .col-12.col-sm {
		display: contents;
	}

	.dashboard-stats-row > .col-12.col-sm > .stat-card-2 {
		flex: 0 0 100%;
		width: 100%;
	}

	.ds-members { order: 1; }
	.ds-civ { order: 2; }
	.ds-tmp { order: 3; }
	.ds-tmd { order: 4; }
	.ds-money { order: 5; }
	.ds-vehicles { order: 6; }
	.ds-cases { order: 7; }
	.ds-comp { order: 8; }
	.ds-db { order: 9; }

	.case-info-top {
		max-width: 100%;
	}
}

@media only screen and (max-width: 767.98px) {
	.player-stats-row {
		display: flex;
		margin-left: 0;
		margin-right: 0;
		row-gap: 20px;
	}
	.player-stats-row > .col {
		flex: 0 0 100%;
		max-width: 100%;
		min-width: 0;
		padding: 0;
		margin-top: 0;
	}
	.player-stats-row > .player-stats-col { display: contents; }
	.player-stats-row .player-stats-col > br { display: none; }
	.player-stats-row .player-stats-col > .stat-card-2 {
		flex: 0 0 100%;
		width: 100%;
		padding: 0;
		margin-top: 0 !important;
	}
	.sc-cash { order: 1; }
	.sc-bank { order: 2; }
	.sc-talent { order: 3; }
	.sc-gang { order: 4; }
	.sc-gangfunds { order: 5; }
	.sc-tmp { order: 6; }
	.sc-tmd { order: 7; }
	.sc-staff { order: 8; }
	.sc-warning { order: 9; }
	.sc-seen { order: 10; }
}

.navbar-desktop .navbar-side {
	top: 71px;
	height: calc(100vh - 71px);
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	padding: 0;
	background: #232323;
	border-right: 1px solid #404040;
}
.navbar-side .nav-profile {
	flex: 0 0 auto;
	background: #2b2b2b;
	border-bottom: 1px solid #404040;
	padding: 16px;
	color: #a8a8a8;
}
.navbar-side .nav-profile-text {
	width: 100%;
	margin: 0;
	line-height: 1.5;
}
.navbar-side .nav-profile-username {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	overflow-wrap: anywhere;
}
.navbar-side .nav-profile-actions {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}
.navbar-side .nav-profile-actions .btn {
	flex: 1 1 0;
	width: auto;
	height: auto;
	margin: 0 !important;
	padding: 6px 4px;
	border: 1px solid #555;
	border-radius: 0;
	background: #26282b;
	color: #e0e0e0;
	font-size: 10px;
}
.navbar-side .nav-profile-actions .btn:hover,
.navbar-side .nav-profile-actions .btn:focus-visible {
	border-color: #ff7f50;
	background: #3a3d41;
	color: #fff;
}
.navbar-side .nav-content {
	flex: 1 1 auto;
	min-height: 0;
	max-height: none;
	overflow-y: auto;
	padding: 0 0 8px;
}
.navbar-side .side-item-text {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-left: 3px solid transparent;
	color: #c8c8c8;
	font-size: 14px;
}
.navbar-side .side-item-text .side-item {
	margin: 0;
	color: #a0a0a0;
	font-size: 15px;
}
.navbar-side .nav-1 { --nav-accent: #dd8a1f; }
.navbar-side .nav-2 { --nav-accent: #d879a6; }
.navbar-side .nav-3 { --nav-accent: #79b96a; }
.navbar-side .nav-4 { --nav-accent: #9b7de3; }
.navbar-side .nav-5 { --nav-accent: #d77b6c; }
.navbar-side .nav-6 { --nav-accent: #6aa9dd; }
.navbar-side .nav-7 { --nav-accent: #d0b65a; }
.navbar-side .nav-8 { --nav-accent: #d17b62; }
.navbar-side .nav-9 { --nav-accent: #c27abf; }
.navbar-side .nav-10 { --nav-accent: #20b2aa; }
.navbar-side .nav-11 { --nav-accent: #62a8c4; }
.navbar-side .nav-12 { --nav-accent: #cb7960; }
.navbar-side .nav-13 { --nav-accent: #c6b75c; }
.navbar-side .nav-14 { --nav-accent: #65b987; }
.navbar-side .nav-15 { --nav-accent: #649bc9; }
.navbar-side .nav-16 { --nav-accent: #5cb85c; }
.navbar-side .nav-17 { --nav-accent: #d78c70; }
.navbar-side .nav-18 { --nav-accent: #d5a35b; }
.navbar-side .nav-19 { --nav-accent: #6fb9ed; }
.navbar-side .nav-20 { --nav-accent: #a7a5df; }
.navbar-side .side-item-text:hover,
.navbar-side .side-item-text:focus-visible,
.navbar-side .side-item-text.active {
	padding: 10px 16px;
	border-left: 3px solid var(--nav-accent, #ff7f50);
	background: #313438;
	color: #fff;
}
.navbar-side .side-item-text:hover .side-item,
.navbar-side .side-item-text:focus-visible .side-item,
.navbar-side .side-item-text.active .side-item {
	color: var(--nav-accent, #ff7f50);
}
.navbar-side .side-item-text:focus-visible {
	outline: 2px solid #ff9a76;
	outline-offset: -2px;
}

@media only screen and (max-width: 991.98px) {
	.navbar-desktop .navbar-side {
		top: auto;
		height: 100%;
		overflow-y: hidden;
	}
	.navbar-desktop .navbar-side .nav-content {
		overflow-y: auto;
	}
}