/* Cores do Badge */
.table .badge {
    color: rgb(50, 49, 48);
}

/* Agrupamento de schedules do Joomleague */
.djl_theme_bootstrap.mod_djl_schedule table td.team_away,
.djl_theme_bootstrap.mod_djl_schedule table td.team_home,
.djl_theme_bootstrap.mod_djl_schedule td.vs_score { 
    white-space: nowrap; 
}

.h4-heading h1.componentheading {
    font-size: 1.3rem;
    font-weight: 600;
}

/* ==========================================
   TABELA STANDINGS DO JOOMLEAGUE
   ========================================== */

/* 1. Contentor com Scroll Horizontal */
.mod-joomleague-standings {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

/* 2. Comportamento da tabela para suportar colunas fixas (sticky) */
.mod-joomleague-standings table.table {
    border-collapse: separate; 
    border-spacing: 0;
}

/* 3. Anular o efeito alternado: fundo branco em todas as linhas */
.mod-joomleague-standings table.table-striped > tbody > tr > * {
    background-color: #fff !important;
    --bs-table-accent-bg: transparent !important; 
}

/* 4. Fixar a 1ª Coluna (Posição) */
.mod-joomleague-standings table.table th:nth-child(1),
.mod-joomleague-standings table.table td:nth-child(1) {
    position: sticky;
    left: 0;
    z-index: 2;
    background-color: #fff !important;
	text-align: center !important;
    white-space: nowrap !important;
}

/* 5. Fixar a 2ª Coluna (Equipas) + Alinhamento e Sem quebra de linha */
.mod-joomleague-standings table.table th:nth-child(2),
.mod-joomleague-standings table.table td:nth-child(2) {
    position: sticky;
    left: 40px; /* Ajusta se a 1ª coluna for mais larga/estreita */
    z-index: 2;
    background-color: #fff !important;
    text-align: left !important;
    white-space: nowrap !important;
}

/* 6. Impedir quebra de linha na última coluna (Últimos 5) */
.mod-joomleague-standings table.table th:last-child,
.mod-joomleague-standings table.table td:last-child {
    white-space: nowrap !important;
}

/* 7. Garantir que os cabeçalhos fixos ficam sempre no topo visual */
.mod-joomleague-standings table.table th:nth-child(1),
.mod-joomleague-standings table.table th:nth-child(2) {
    z-index: 3;
}

/* 1. Fixar e definir largura exata para a 1ª Coluna (Posição) */
.mod-joomleague-standings table.table th:nth-child(1),
.mod-joomleague-standings table.table td:nth-child(1) {
    position: sticky;
    left: 0;
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    z-index: 2;
    background-color: #fff !important;
}

/* 2. Fixar a 2ª Coluna (Equipas) com sombra à direita */
.mod-joomleague-standings table.table th:nth-child(2),
.mod-joomleague-standings table.table td:nth-child(2) {
    position: sticky;
    left: 30px !important;
    z-index: 2;
    background-color: #fff !important;
    text-align: left !important;
    white-space: nowrap !important;
    padding-right: 30px !important;
    /* Sombra subtil na borda direita para destacar a zona fixa */
    /*box-shadow: 4px 0 6px -2px rgba(0, 0, 0, 0.15);*/
}

span.badge.text-bg-primary, 
span.badge.text-bg-secondary,	
span.badge.text-bg-light {
    color: #cd26c5 !important;
	text-align: center;
}
span.badge.jl-lineup-shirt-number {
	color: #cd26c5 !important;
	text-align: center;
}

div.uk-navbar-container {
	margin-bottom: 1.5rem;
}

div.uk-section-default {
	padding-top: 0;
}
div.uk-section {
    padding-top: 0px;
    padding-bottom: 20px;
}

