.highscores-table th:first-child,
.highscores-table td:first-child {
	padding-left: 5px !important;
}
.highscores-table th {
	text-align: left;
	padding-left: 1px;
	font-size: 7px;
}
.highscores-table td {
	text-align: left;
	padding-left: 8px !important;
	color: #a8b3c2;
}

.highscores-table th.center,
.highscores-table td.center {
	text-align: center;
	padding-left: 0;
}

.highscores-table th.right,
.highscores-table td.right {
	text-align: right;
	padding-left: 0;
}
.highscores-table th:not(:first-child),
.highscores-table td:not(:first-child) {
	border-left: 2px solid #2a3440;
}

/* Coluna Rank menor */
.highscores-table th:first-child,
.highscores-table td:first-child {
	width: 56px !important;
	min-width: 40px;
	max-width: 70px;
}

/* Gap à direita na coluna Name */
.highscores-table th:nth-child(2),
.highscores-table td:nth-child(2) {
	padding-right: 18px;
}

/* Última coluna menor */
.highscores-table th:last-child,
.highscores-table td:last-child {
	width: 180px !important;
	min-width: 180px;
	max-width: 240px;
}
/******************************************************************
* HIGHSCORES - RANKING DE JOGADORES
* Sistema modernizado 2025
******************************************************************/

/* Container Principal */
.highscores-container {
	max-width: 1400px;
	margin: 30px auto;
	padding: 0 20px;
	animation: fadeInScale 0.4s ease-out;
	position: relative;
}

@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.95) translateY(10px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

/* Header */
.highscores-header {
	background: linear-gradient(135deg, #0f141a 0%, #1a2332 100%);
	border: 2px solid #00ffaa;
	border-radius: 12px;
	padding: 30px;
	margin-bottom: 30px;
	box-shadow: 0 8px 32px rgba(0, 255, 170, 0.15);
	text-align: center;
}

.highscores-title {
	font-size: 32px;
	font-weight: 700;
	color: #00ffaa;
	margin: 0 0 10px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.highscores-title-icon {
	font-size: 36px;
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.1); }
}

.highscores-subtitle {
	font-size: 18px;
	color: #d0d8e0;
	margin: 0 0 5px 0;
	font-weight: 600;
}

.highscores-world {
	font-size: 14px;
	color: #8899aa;
	margin: 0;
}

/* Layout Grid */
.highscores-layout {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 20px;
	align-items: start;
}

/* Filters Top */
.highscores-filters-top {
	width: 100%;
	margin-bottom: 20px;
}

.highscores-filter-box {
	background: linear-gradient(135deg, #0f141a 0%, #1a2332 100%);
	border: 2px solid #2a3342;
	border-radius: 12px;
	overflow: hidden;
}

.highscores-filter-box-header {
	background: linear-gradient(135deg, #1a2332 0%, #2a3342 100%);
	padding: 12px 15px;
	border-bottom: 2px solid #00ffaa;
}

.highscores-filter-box-title {
	font-size: 14px;
	font-weight: 700;
	color: #00ffaa;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.highscores-filter-box-icon {
	font-size: 16px;
}

.highscores-filter-box-content {
	padding: 15px;
}

/* Categories Grid */
.highscores-categories-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
}

.highscores-category-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 5px 8px;
	background: linear-gradient(135deg, #1a2332 0%, #2a3342 100%);
	color: #d0d8e0;
	text-decoration: none;
	border-radius: 8px;
	border: 2px solid #2a3342;
	transition: all 0.3s ease;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	flex-direction: column;
}

.highscores-category-btn:hover {
	background: rgba(0, 255, 170, 0.1);
	border-color: #00ffaa;
	color: #00ffaa;
	transform: translateY(-2px);
}

.highscores-category-btn.active {
	background: linear-gradient(135deg, #00ffaa 0%, #00cc88 100%);
	color: #0f141a;
	border-color: #00ffaa;
	font-weight: 700;
}

.highscores-category-btn .highscores-category-icon {
	font-size: 14px;
}

/* Main Content Full Width */
.highscores-main-full {
	min-width: 0;
}

/* World Selector */
.highscores-world-selector {
	background: linear-gradient(135deg, #0f141a 0%, #1a2332 100%);
	border: 2px solid #2a3342;
	border-radius: 12px;
	padding: 15px;
	margin-bottom: 20px;
}

.highscores-world-selector form {
	display: flex;
	align-items: center;
	gap: 15px;
}

.highscores-world-label {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #00ffaa;
	font-weight: 600;
	font-size: 14px;
}

.highscores-world-icon {
	font-size: 18px;
}

.highscores-world-select {
	flex: 1;
	max-width: 300px;
	padding: 10px 12px;
	background: #1a2332;
	border: 2px solid #2a3342;
	border-radius: 8px;
	color: #d0d8e0;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
}

.highscores-world-select:hover,
.highscores-world-select:focus {
	border-color: #00ffaa;
	outline: none;
}

/* Categories Horizontal */
.highscores-categories-horizontal {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
	flex-wrap: wrap;
	background: linear-gradient(135deg, #0f141a 0%, #1a2332 100%);
	border: 2px solid #2a3342;
	border-radius: 12px;
	padding: 15px;
}

.highscores-category-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: linear-gradient(135deg, #1a2332 0%, #2a3342 100%);
	color: #d0d8e0;
	text-decoration: none;
	border-radius: 8px;
	border: 2px solid #2a3342;
	transition: all 0.3s ease;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.highscores-category-tab:hover {
	background: rgba(0, 255, 170, 0.1);
	border-color: #00ffaa;
	color: #00ffaa;
	transform: translateY(-2px);
}

.highscores-category-tab.active {
	background: linear-gradient(135deg, #00ffaa 0%, #00cc88 100%);
	color: #0f141a;
	border-color: #00ffaa;
	font-weight: 700;
}

.highscores-category-tab .highscores-category-icon {
	font-size: 16px;
}

/* Sidebar */
.highscores-sidebar {
	position: sticky;
	top: 20px;
}

.highscores-sidebar-section {
	background: linear-gradient(135deg, #0f141a 0%, #1a2332 100%);
	border: 2px solid #2a3342;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 20px;
}

.highscores-sidebar-header {
	background: linear-gradient(135deg, #1a2332 0%, #2a3342 100%);
	padding: 15px;
	border-bottom: 2px solid #00ffaa;
}

.highscores-sidebar-title {
	font-size: 16px;
	font-weight: 700;
	color: #00ffaa;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.highscores-sidebar-title-icon {
	font-size: 18px;
}

.highscores-sidebar-content {
	padding: 10px;
}

/* Category Links */
.highscores-category-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 5px 8px;
	color: #d0d8e0;
	text-decoration: none;
	border-radius: 8px;
	margin: 5px 0;
	transition: all 0.3s ease;
	font-size: 14px;
	font-weight: 500;
}

.highscores-category-link:hover {
	background: rgba(0, 255, 170, 0.1);
	color: #00ffaa;
	transform: translateX(5px);
}

.highscores-category-link.active {
	background: linear-gradient(135deg, #00ffaa 0%, #00cc88 100%);
	color: #0f141a;
	font-weight: 700;
}

.highscores-category-icon {
	font-size: 18px;
	min-width: 20px;
	text-align: center;
}

/* Main Content */
.highscores-main {
	min-width: 0;
}

/* Filters */
.highscores-filters {
	background: linear-gradient(135deg, #0f141a 0%, #1a2332 100%);
	border: 2px solid #2a3342;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 20px;
}

.highscores-filters-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
}

.highscores-filter-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.highscores-filter-label {
	font-size: 13px;
	font-weight: 600;
	color: #8899aa;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.highscores-filter-select {
	padding: 10px 12px;
	background: #1a2332;
	border: 2px solid #2a3342;
	border-radius: 8px;
	color: #d0d8e0;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
}

.highscores-filter-select:hover,
.highscores-filter-select:focus {
	border-color: #00ffaa;
	outline: none;
}

.highscores-filter-submit {
	padding: 10px 20px;
	background: linear-gradient(135deg, #00ffaa 0%, #00cc88 100%);
	color: #0f141a;
	border: 2px solid #00ffaa;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s ease;
	align-self: end;
}

.highscores-filter-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 255, 170, 0.4);
}

/* Table */
.highscores-table-container {
	background: linear-gradient(135deg, #0f141a 0%, #1a2332 100%);
	border: 2px solid #2a3342;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 20px;
}

.highscores-table {
	width: 100%;
	border-collapse: collapse;
}

.highscores-table thead {
	background: linear-gradient(135deg, #1a2332 0%, #2a3342 100%);
}

.highscores-table th {
	padding: 10px;
	text-align: left;
	font-weight: 600;
	font-size: 11px;
	color: #eeeeee;
	border-bottom: 2px solid #c0c0c0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.highscores-table th.center {
	text-align: center;
}

.highscores-table th.right {
	text-align: right;
}

.highscores-table td {
	padding: 9px 0px;
	color: #d0d8e0;
	border-bottom: 1px solid #2a3342;
	font-size: 12px;
}

.highscores-table tr:hover td {
	background: rgba(0, 255, 170, 0.05);
}

.highscores-table td.center {
	text-align: center;
}

.highscores-table td.right {
	text-align: right;
	padding-right: 20px;
}

/* Rank Medals */
.highscores-rank {
	font-weight: 700;
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
}

.highscores-rank-icon {
	margin-right: 2px;
}

/* Player Name */
.highscores-player-name {
	color: #00ffaa;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.highscores-player-name:hover {
	color: #00cc88;
}

.highscores-player-vocation {
	font-size: 12px;
	color: #c0c0c0;
	font-weight: 400;
	display: block;
	margin-top: 2px;
}

/* Value Badge */
.highscores-value {
	font-weight: 700;
	color: #c0c0c0;
}

.highscores-points {
	font-size: 13px;
	color: #c0c0c0;
}

/* Pagination */
.highscores-pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	background: linear-gradient(135deg, #0f141a 0%, #1a2332 100%);
	border: 2px solid #2a3342;
	border-radius: 12px;
	padding: 20px;
}

.highscores-pagination-btn {
	padding: 10px 20px;
	background: linear-gradient(135deg, #1a2332 0%, #2a3342 100%);
	color: #d0d8e0;
	border: 2px solid #2a3342;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.highscores-pagination-btn:hover {
	background: rgba(0, 255, 170, 0.1);
	border-color: #00ffaa;
	color: #00ffaa;
	transform: translateY(-2px);
}

.highscores-pagination-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

.highscores-pagination-info {
	font-size: 14px;
	color: #8899aa;
	font-weight: 600;
}

/* Empty State */
.highscores-empty {
	text-align: center;
	padding: 60px 20px;
	background: linear-gradient(135deg, #0f141a 0%, #1a2332 100%);
	border: 2px solid #2a3342;
	border-radius: 12px;
}

.highscores-empty-icon {
	font-size: 64px;
	margin-bottom: 20px;
	opacity: 0.5;
}

.highscores-empty-title {
	font-size: 24px;
	font-weight: 600;
	color: #8899aa;
	margin: 0 0 10px 0;
}

.highscores-empty-text {
	font-size: 16px;
	color: #6a7788;
	margin: 0;
}

/* Zebra striping para linhas da tabela (tons escuros e médios) */
.highscores-table tbody tr:nth-child(even) td {
	background: #1a2332;
}
.highscores-table tbody tr:nth-child(odd) td {
	background: #222b3a;
}

/* Responsive */
@media (max-width: 1024px) {
	.highscores-layout {
		grid-template-columns: 1fr;
	}
	
	.highscores-filters-top {
		grid-template-columns: 1fr;
	}
	
	.highscores-categories-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.highscores-sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
		gap: 20px;
	}
	
	.highscores-categories-horizontal {
		justify-content: center;
	}
}

@media (max-width: 768px) {
	.highscores-container {
		padding: 0 15px;
	}
	
	.highscores-header {
		padding: 20px;
	}
	
	.highscores-title {
		font-size: 24px;
		flex-direction: column;
		gap: 10px;
	}
	
	.highscores-filters-top {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.highscores-categories-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.highscores-category-btn {
		font-size: 11px;
		padding: 8px;
	}
	
	.highscores-world-selector form {
		flex-direction: column;
		align-items: stretch;
	}
	
	.highscores-world-select {
		max-width: 100%;
	}
	
	.highscores-categories-horizontal {
		padding: 10px;
		gap: 6px;
	}
	
	.highscores-category-tab {
		padding: 8px 12px;
		font-size: 12px;
	}
	
	.highscores-filters-grid {
		grid-template-columns: 1fr;
	}
	
	.highscores-table-container {
		overflow-x: auto;
	}
	
	.highscores-table {
		min-width: 600px;
	}
	
	.highscores-sidebar {
		grid-template-columns: 1fr;
	}
	
	.highscores-pagination {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 480px) {
    .highscores-title {
        font-size: 20px;
    }
    
    .highscores-categories-grid {
		grid-template-columns: 1fr;
	}
    
    .highscores-category-tab span:not(.highscores-category-icon) {
        display: none;
    }
    
    .highscores-category-tab {
        padding: 8px;
    }
    
    .highscores-filters-sticky {
        position: static;
        float: none;
        width: 100%;
        margin-left: 0;
        margin-bottom: 20px;
    }
    
    .highscores-filters-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* Novas regras para filtros */
.highscores-filters-sticky {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 800px;
}

.highscores-filters-row {
    display: flex;
    gap: 2px;
    align-items: center;
    justify-content: flex-start;
}

.highscores-filter-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 150px;
}