:root {
	--bg-dark: #0f1014;
	--card-bg: #1b1e24;
	--text-main: #ffffff;
	--accent-orange: #ff5500;
	--accent-yellow: #f1c40f;
	--table-hover: #2c3038;
	--win-green: #5ce65c;
}

body {
	background-color: var(--bg-dark);
	color: var(--text-main);
	font-family: 'Inter', sans-serif;
	transition:
		background-color 0.3s,
		color 0.3s;
}

body.light-mode {
	--bg-dark: #f4f6f8;
	--card-bg: #ffffff;
	--text-main: #212529;
	--table-hover: #e9ecef;
}

body.light-mode .card,
body.light-mode .stat-card {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	border: 1px solid #dee2e6;
}

body.light-mode .table {
	color: #212529 !important;
}

body.light-mode .dataTables_wrapper .dataTables_length,
body.light-mode .dataTables_wrapper .dataTables_filter,
body.light-mode .dataTables_wrapper .dataTables_info,
body.light-mode .dataTables_wrapper .dataTables_paginate {
	color: #212529 !important;
}

.dataTables_paginate {
	margin-top: 10px !important;
}

.dataTables_wrapper .pagination .page-link {
	background-color: var(--card-bg);
	color: var(--text-main);
	border: 1px solid var(--table-hover);
	transition: 0.2s;
}

.dataTables_wrapper .pagination .page-link:hover {
	background-color: var(--table-hover);
	color: var(--text-main);
}

.dataTables_wrapper .pagination .page-item.active .page-link {
	background-color: var(--accent-orange);
	border-color: var(--accent-orange);
	color: #fff;
}

.text-muted {
	color: var(--text-main) !important;
}

body.light-mode .text-muted {
	color: #6c757d !important;
}

h1,
h2,
h3,
.stat-value,
.radar-label {
	font-family: 'Rajdhani', sans-serif;
	text-transform: uppercase;
}

.top-bar {
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.theme-btn {
	background: var(--card-bg);
	border: 1px solid var(--accent-orange);
	color: var(--accent-orange);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s;
}

.theme-btn:hover {
	background: var(--accent-orange);
	color: white;
}

.search-container {
	max-width: 600px;
	margin: 40px auto;
	position: relative;
}

.form-control {
	background: var(--card-bg);
	border: 1px solid #444;
	color: var(--text-main);
	padding: 15px;
}

.form-control::placeholder {
	color: #6c757d;
}

.form-control:focus {
	background: var(--card-bg);
	color: var(--text-main);
	border-color: var(--accent-orange);
	box-shadow: none;
}

label.error {
	color: #ff4444;
	font-size: 0.85rem;
	margin-top: 8px;
	display: block;
	font-weight: 600;
}

.stat-card {
	background: var(--card-bg);
	border-radius: 12px;
	padding: 25px;
	border-left: 5px solid var(--accent-orange);
	margin-bottom: 30px;
	display: none;
}

.stat-box {
	text-align: center;
	padding: 10px;
	border-radius: 8px;
	background: rgba(128, 128, 128, 0.05);
}

.stat-value {
	font-size: 1.8rem;
	font-weight: 700;
}

.action-btn {
	background: transparent;
	border: none;
	color: #6c757d;
	transition: 0.2s;
}

.action-btn:hover {
	color: #dc3545;
	transform: scale(1.2);
}

.table-avatar {
	width: 35px;
	height: 35px;
	border-radius: 4px;
	margin-right: 10px;
}

.headerTable {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	color: var(--text-main);
	font-family: 'Rajdhani';
	font-weight: 700;
	margin-bottom: 15px;
}

.headerTable i {
	font-size: 25px;
}

.headerTable h4 {
	margin-bottom: 0;
}

body.light-mode .headerTable {
	color: #6c757d;
}

.loader {
	display: none;
	margin: 20px auto;
	width: 40px;
	height: 40px;
	border: 4px solid #333;
	border-top-color: var(--accent-orange);
	border-radius: 50%;
	animation: spin 1s infinite;
}

@keyframes spin {
	100% {
		transform: rotate(360deg);
	}
}

.table td,
th.text-end {
	text-align: center !important;
}

.table td {
	padding-right: 27px;
}

.levellvl {
	z-index: 1;
	position: relative;
	background-color: #121212;
	border-radius: 50%;
	width: 26px;
	height: 26px;
	display: flex;
	justify-content: center;
	align-items: end;
}

.lvl-badge {
	background: #121212;
	font-weight: bold;
	width: 50px;
	height: 50px;
	border-radius: 4px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 5px;
	border-radius: 50%;
	position: relative;
}

.insidelvl {
	background-color: transparent;
	position: absolute;
	border-bottom: 14px solid #121212;
	border-left: 12px solid transparent;
	border-right: 13px solid transparent;
	border-bottom-right-radius: 12px;
	border-bottom-left-radius: 12px;
	height: 0px;
	width: 42px;
	bottom: 5px;
	z-index: 0;
}

.progress-bar {
	background-color: #007fff;
	width: 72%;
	height: 72%;
	position: absolute;
	z-index: 0;
	border-radius: 50%;
}

.p-lvl-wrapper {
	display: flex;
	align-items: center;
	gap: 10px;
}

#logo {
	width: 250px;
	height: auto;
}

.p-socials {
	position: absolute;
	right: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 100%;
}

.p-socials-img {
	width: 30px;
	height: 30px;
	border-radius: 5px;
	background-color: var(--bg-dark);
}

.p-socials-img.faceit {
	padding: 7px;
}

@media screen and (max-width: 991px) {
	.border-start {
		border: none!important;
	}
}