/* =========================================================
   AtikoDev - Campeonatos
   Frontend tabla editorial
========================================================= */

.atikodev-campeonato {
	margin: 24px 0;
	font-family: "Montserrat", Arial, sans-serif !important;
}

.atikodev-campeonato .adc-table-title {
	margin: 0 0 16px;
	font-family: "Montserrat", Arial, sans-serif !important;
	font-size: 28px;
	font-weight: 800 !important;
	line-height: 1.1;
	color: #111111;
	letter-spacing: -0.02em;
}

.atikodev-campeonato .adc-table-scroll {
	width: 100%;
	overflow-x: auto;
}

.atikodev-campeonato .adc-table {
	width: 100%;
	border-collapse: collapse;
	background: #2f3136 !important;
	font-family: "Montserrat", Arial, sans-serif !important;
}

.atikodev-campeonato .adc-table th,
.atikodev-campeonato .adc-table td {
	border: 1px solid #4d5159;
	padding: 14px 12px;
	font-family: "Montserrat", Arial, sans-serif !important;
	vertical-align: middle;
}

/* Encabezados */
.atikodev-campeonato .adc-table thead th {
	background: #3a3d44 !important;
	color: #d2d5da !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Encabezados destacados */
.atikodev-campeonato .adc-table thead th:nth-child(1),
.atikodev-campeonato .adc-table thead th:nth-child(2),
.atikodev-campeonato .adc-table thead th:nth-child(3),
.atikodev-campeonato .adc-table thead th:last-child {
	color: #d12229 !important;
	font-weight: 800 !important;
}

/* Celdas base */
.atikodev-campeonato .adc-table tbody td {
	background: #35383f !important;
	color: #e7e7e7 !important;
	font-size: 13px !important;
	font-weight: 500 !important;
}

/* Zebra */
.atikodev-campeonato .adc-table tbody tr:nth-child(even) td {
	background: #2f3136 !important;
	color: #d8d8d8 !important;
}

.atikodev-campeonato .adc-table tbody tr:nth-child(odd) td {
	background: #383b42 !important;
	color: #f0f0f0 !important;
}

/* Hover */
.atikodev-campeonato .adc-table tbody tr:hover td {
	background: #434852 !important;
	color: #ffffff !important;
	transition: background 0.18s ease, color 0.18s ease;
}

/* Posición */
.atikodev-campeonato .adc-table tbody td:nth-child(1) {
	color: #d12229 !important;
	font-size: 16px !important;
	font-weight: 900 !important;
	text-align: center;
	width: 56px;
}

/* Piloto */
.atikodev-campeonato .adc-table tbody td:nth-child(2) {
	color: #ffffff !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

/* Número */
.atikodev-campeonato .adc-table tbody td:nth-child(3) {
	color: #d12229 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-align: center;
	width: 72px;
}

/* Equipo */
.atikodev-campeonato .adc-table tbody td:nth-child(4) {
	color: #d6d6d6 !important;
	font-size: 12px !important;
	font-weight: 500 !important;
}

/* Marca */
.atikodev-campeonato .adc-table tbody td:nth-child(5) {
	color: #d0d0d0 !important;
	font-size: 12px !important;
	font-weight: 600 !important;
}

/* Logo */
.atikodev-campeonato .adc-table tbody td:nth-child(6) {
	text-align: center;
	width: 84px;
}

/* Imagen de logo */
.atikodev-campeonato .adc-logo,
.atikodev-campeonato .adc-table img {
	max-width: 42px;
	height: auto;
	display: inline-block;
	filter: grayscale(100%) brightness(1.15);
	opacity: 0.95;
}

/* Puntos */
.atikodev-campeonato .adc-table tbody td:last-child {
	color: #d12229 !important;
	font-size: 16px !important;
	font-weight: 900 !important;
	text-align: right;
	width: 84px;
}

/* Responsive: dejar Pos / Piloto / Puntos */
@media (max-width: 768px) {
	.atikodev-campeonato .adc-table-title {
		font-size: 22px;
	}

	.atikodev-campeonato .adc-table th,
	.atikodev-campeonato .adc-table td {
		padding: 10px 8px;
		font-size: 12px !important;
	}

	/* Ocultar columnas 3,4,5,6 */
	.atikodev-campeonato .adc-table thead th:nth-child(3),
	.atikodev-campeonato .adc-table thead th:nth-child(4),
	.atikodev-campeonato .adc-table thead th:nth-child(5),
	.atikodev-campeonato .adc-table thead th:nth-child(6),
	.atikodev-campeonato .adc-table tbody td:nth-child(3),
	.atikodev-campeonato .adc-table tbody td:nth-child(4),
	.atikodev-campeonato .adc-table tbody td:nth-child(5),
	.atikodev-campeonato .adc-table tbody td:nth-child(6) {
		display: none;
	}

	.atikodev-campeonato .adc-table tbody td:nth-child(1) {
		width: 40px;
		font-size: 15px !important;
	}

	.atikodev-campeonato .adc-table tbody td:nth-child(2) {
		font-size: 12px !important;
	}

	.atikodev-campeonato .adc-table tbody td:last-child {
		width: 64px;
		font-size: 15px !important;
	}
}