/* League Table Styles */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;900&display=swap');

:root {
    --cb-primary: #1d3163;
    --cb-primary-light: #2d4686;
    --cb-accent: #748bc4;
    --cb-text-light: #ffffff;
    --cb-text-dark: #333333;
    --cb-bg-gray: #f8fafc;
    --cb-table-header: #1d3163;
}

.cb_league_table-template-default .page_content_wrap>.content_wrap {
    width: 100%;
}

.cb_league_table-template-default .page_content_wrap>.content_wrap .row {
	margin: auto;
}

.league-table-wrap {
    font-family: 'Rubik', sans-serif;
    background-color: var(--cb-bg-gray);
    padding-bottom: 60px;
}

/* Banner Header */
.league-header-banner {
    background-color: #152347;
    padding: 80px 0;
    text-align: center;
    color: var(--cb-text-light);
    margin-bottom: 50px;
}

.league-header-banner h1 {
    font-weight: 900;
    font-size: 3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--cb-text-light);
}

.league-breadcrumbs {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0.8;
}

.standings-table td {
    background: transparent !important;
}

.league-breadcrumbs a {
    color: var(--cb-text-light);
    text-decoration: none;
}

.league-breadcrumbs .separator {
    opacity: 0.5;
}

/* Main Layout */
.league-main-container {
    padding-top: 0;
}

/* Standings Card */
.standings-card {
    background: var(--cb-primary);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.standings-header {
    background: var(--cb-primary-light);
    padding: 15px 20px;
    text-align: center;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
}

.standings-table thead th {
    background: rgba(255,255,255,0.05);
    color: white;
    padding: 15px 10px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-align: center;
}

.standings-table thead th:first-child { text-align: left; padding-left: 20px; }
.standings-table thead th.team-col { text-align: left; }

.standings-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s;
}

.standings-table tbody tr:hover {
    background: rgba(255,255,255,0.05);
}

.standings-table tbody td {
    color: white;
    padding: 12px 10px;
    text-align: center;
    vertical-align: middle;
}

.standings-table tbody td:first-child { text-align: left; padding-left: 20px; }
.standings-table tbody td.team-col { text-align: left; }

.team-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.team-name {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Sidebar Modules */
.sidebar-module {
    background: var(--cb-primary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    color: white;
}

.module-title {
    font-weight: 800;
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    color: white;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}

/* Result Card */
.result-card {
    text-align: center;
}

.result-date {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 15px;
    font-weight: 600;
}

.result-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.result-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.result-team img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.result-team span {
    font-weight: 700;
    font-size: 0.85rem;
}

.result-score {
    background: var(--cb-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 800;
    font-size: 1.1rem;
}

.result-vs {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 10px;
    font-weight: 600;
}

/* Next Match Card */
.next-match-card {
    text-align: center;
}

.next-match-teams {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--cb-primary);
    margin-bottom: 20px;
}

.countdown-wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.countdown-item {
    background: #f1f5f9;
    padding: 10px;
    border-radius: 8px;
    min-width: 60px;
}

.countdown-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--cb-primary);
}

.countdown-label {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
}

/* Sticky Breadcrumbs Header in blue */
.breadcrumb-text-white {
    color: rgba(255,255,255,0.7);
}

.active-breadcrumb {
    color: #ffffff;
}