:root {
        --league-navy: #0f172a;
        --league-blue: #2563eb;
        --league-bg: #f8fafc;
        --text-muted: #64748b;
    }
	
	.league-full-wrap {
        max-width: 1200px;
        margin: 0 auto;
        background: var(--league-navy);
        color: #e2e8f0;
        padding: 20px 0; /* Noņemam sānu padding, lai ietu līdz malām, ja nepieciešams */
        border-radius: 12px;
    }
	
    .league-header {
        background: var(--league-navy);
        color: white;
        padding: 40px 0 0 0;
        margin-bottom: 30px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .league-container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .tournament-title {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 25px;
    }

    .tournament-title h1 {
        font-size: 1.8rem;
        margin: 0;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .tournament-year {
        background: var(--league-blue);
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: bold;
    }

    /* Modernā navigācija */
    .league-nav {
        display: flex;
        gap: 5px;
        overflow-x: auto;
    }

    .ln-link {
        color: #94a3b8;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.9rem;
        padding: 12px 20px;
        position: relative;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .ln-link:hover {
        color: white;
    }

    .ln-link.active {
        color: white;
    }

    /* Aktīvās līnijas indikators */
    .ln-link.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--league-blue);
        box-shadow: 0 -2px 10px var(--league-blue);
    }

    .content-wrapper {
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.05);
        padding: 30px;
        min-height: 400px;
    }
	 

    /* Tabu pārlēdzējs */
    .stats-nav {
        display: inline-flex;
        border: 1px solid var(--nhl-border);
        border-radius: 4px;
        margin-bottom: 25px;
        overflow: hidden;
    }

    .stats-tab {
        padding: 10px 25px;
        background: var(--nhl-black);
        color: var(--nhl-text-muted);
        text-decoration: none;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 13px;
        letter-spacing: 1px;
        transition: 0.3s;
    }

    .stats-tab.active {
        background: var(--nhl-blue);
        color: white;
    }

    .stats-tab:hover:not(.active) {
        background: #222;
        color: white;
    }

    /* Meklēšanas josla */
    .search-container {
        display: flex;
        gap: 0;
        margin-bottom: 30px;
    }

    .search-box {
        background: #1a1a1a;
        border: 1px solid var(--nhl-border);
        border-right: none;
        padding: 12px 20px;
        color: white;
        width: 300px;
        border-radius: 4px 0 0 4px;
        outline: none;
    }

    .search-btn {
        background: var(--nhl-blue);
        border: none;
        color: white;
        padding: 0 25px;
        border-radius: 0 4px 4px 0;
        cursor: pointer;
        font-weight: 800;
        text-transform: uppercase;
    }

    /* Tabula */
    .table-container {
        background: var(--nhl-card);
        border: 1px solid var(--nhl-border);
        border-radius: 4px;
    }

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

    .stats-table thead th {
        background: #222;
        color: var(--nhl-text-muted);
        text-transform: uppercase;
        font-size: 11px;
        font-weight: 700;
        padding: 15px;
        border-bottom: 2px solid var(--nhl-border);
        text-align: center;
    }

    .stats-table tbody tr {
        border-bottom: 1px solid var(--nhl-border);
        transition: 0.2s;
    }

    .stats-table tbody tr:hover {
        background: #252525;
    }

    .stats-table td {
        padding: 16px 15px;
        text-align: center;
        font-size: 14px;
    }

    /* Spēlētāja ID un Info */
    .rank-col { color: #555; font-weight: 800; }
    
    .player-cell {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }

    .player-link {
        color: var(--nhl-text-main);
        text-decoration: none;
        font-weight: 700;
        font-size: 15px;
    }

    .player-link:hover {
        color: var(--nhl-blue);
    }

    .team-badge {
        font-weight: 400;
        color: var(--nhl-text-muted);
        font-size: 13px;
    }

    /* Rezultātu kolonna */
    .num-val {
        font-weight: 600;
    }

    .highlight-col {
        background: rgba(0, 104, 255, 0.1);
        color: var(--nhl-blue);
        font-weight: 900;
        font-size: 16px;
        border-left: 1px solid var(--nhl-border);
        border-right: 1px solid var(--nhl-border);
    }

    /* Paginācija */
    .pagination {
        display: flex;
        justify-content: center;
        margin-top: 30px;
        gap: 5px;
    }

    .pg-link {
        background: var(--nhl-card);
        color: white;
        padding: 10px 18px;
        text-decoration: none;
        border-radius: 4px;
        font-weight: 700;
        border: 1px solid var(--nhl-border);
    }

    .pg-link.active {
        background: var(--nhl-blue);
        border-color: var(--nhl-blue);
    }
	/* KALENDĀRA STILS */
	.date-divider {
        background: #1a1a1a;
        color: #2563eb;
        padding: 12px 20px;
        border-radius: 8px;
        font-weight: 800;
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 1px;
        border-left: 4px solid #2563eb;
        margin: 30px 0 15px 0;
        display: flex;
        justify-content: space-between;
    }

    .match-card {
		width:100%;
        background: #1a1a1a;
        border: 1px solid #333;
        border-radius: 10px;
        display: grid;
        grid-template-columns: 1fr 140px 1fr;
        align-items: center;
        padding: 15px 25px;
        margin-bottom: 10px;
        transition: 0.2s;
    }

    .match-card:hover {
        background: #222;
        border-color: #444;
        transform: translateY(-2px);
    }

    /* Komandu bloki */
    .m-team { display: flex; align-items: center; gap: 15px; }
    .m-home { justify-content: flex-end; text-align: right; }
    .m-away { justify-content: flex-start; text-align: left; }

    .m-logo { width: 45px; height: 45px; object-fit: contain; }
    .m-name { font-weight: 700; color: #fff; font-size: 1.1rem; }

    /* Vidusdaļa */
    .m-status { text-align: center; }
    
    .m-score {
        background: #000;
        padding: 10px 15px;
        border-radius: 6px;
        font-size: 1.6rem;
        font-weight: 900;
        color: #fff;
        display: inline-block;
        min-width: 90px;
        border: 1px solid #333;
    }

    .m-vs {
        color: #64748b;
        font-weight: 800;
        font-size: 0.8rem;
        text-transform: uppercase;
        border: 1px solid #333;
        padding: 5px 15px;
        border-radius: 20px;
    }

    .status-badge {
        display: block;
        font-size: 0.65rem;
        margin-top: 8px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
	
	.iihf-container {
        max-width: 1200px;
        margin: 0 auto;
        font-family: 'Open Sans', Arial, sans-serif;
        background-color: #f4f7f9;
        padding: 20px;
        color: #333;
    }

    /* Datuma josla - IIHF raksturīgā zilā krāsa */
    .iihf-date-header {
        background-color: #003399;
        color: #fff;
        padding: 10px 20px;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.9rem;
        border-radius: 4px 4px 0 0;
        margin-top: 30px;
        display: flex;
        justify-content: space-between;
    }

    /* Spēles rinda */
    .iihf-match {
        background: #fff;
        border-bottom: 1px solid #dee2e6;
        display: grid;
        grid-template-columns: 100px 1fr 150px 1fr 120px;
        align-items: center;
        padding: 15px 0;
        transition: background 0.2s;
    }

    .iihf-match:last-child {
        border-radius: 0 0 4px 4px;
        border-bottom: none;
    }

    .iihf-match:hover {
        background-color: #f8f9fa;
    }

    /* Grupas un laika info */
    .iihf-info {
        text-align: center;
        font-size: 0.8rem;
        color: #666;
        border-right: 1px solid #eee;
    }

    .iihf-time {
        display: block;
        font-weight: 700;
        color: #333;
        font-size: 1rem;
    }

    /* Komandas un Logo */
    .iihf-team {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 0 20px;
    }

    .iihf-home { justify-content: flex-end; text-align: right; }
    .iihf-away { justify-content: flex-start; text-align: left; }

    .iihf-logo {
        width: 40px;
        height: 28px;
        object-fit: contain;
        border: 1px solid #eee;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .iihf-team-name {
        font-weight: 600;
        font-size: 1.05rem;
        color: #003399;
    }

    /* Rezultāts - centrālais elements */
    .iihf-score-wrap {
        text-align: center;
    }

    .iihf-score {
        background: #e9ecef;
        padding: 8px 15px;
        border-radius: 4px;
        font-size: 1.4rem;
        font-weight: 800;
        color: #333;
        display: inline-block;
        min-width: 80px;
    }

    .iihf-vs {
        font-weight: 700;
        color: #adb5bd;
        font-size: 0.9rem;
    }

    /* Statuss (OT, PSS, FT) */
    .iihf-status {
        font-size: 0.7rem;
        font-weight: 800;
        color: #666;
        margin-top: 4px;
        text-transform: uppercase;
    }

    /* Poga */
    .iihf-actions {
        text-align: center;
    }

    .btn-iihf {
        border: 2px solid #003399;
        color: #003399;
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 700;
        text-decoration: none;
        text-transform: uppercase;
        transition: 0.2s;
    }

    .btn-iihf:hover {
        background: #003399;
        color: #fff;
    }
	.stats-wrap {
        background: #111 !important;
        color: #e2e8f0;
        padding: 30px;
        border-radius: 12px;
        border: 1px solid #333;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
	/* Galvenais konteiners aizņem visu platumu */
    .calendar-full-wrap {
        max-width: 1200px;
        margin: 0 auto;
        background: #111;
        color: #e2e8f0;
        padding: 20px 0; /* Noņemam sānu padding, lai ietu līdz malām, ja nepieciešams */
        border-radius: 12px;
    }

    .date-divider {
        background: #1a1a1a;
        color: #2563eb;
        padding: 12px 25px;
        margin: 30px 0 10px 0;
        font-weight: 800;
        text-transform: uppercase;
        font-size: 0.9rem;
        letter-spacing: 1px;
        border-left: 5px solid #2563eb;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Spēles rinda pa visu platumu */
    .match-strip { 
        border-bottom: 1px solid #222;
        display: grid;
        /* 1fr komandai, 160px centram, 1fr otrai komandai */
        grid-template-columns: 1fr 160px 1fr;
        align-items: center;
        padding: 20px 30px;
        transition: 0.2s; 
    }

     

    .team-box { 
        display: flex; 
        align-items: center; 
        gap: 20px; 
        overflow: hidden; /* Lai garāki vārdi nebīda dizainu */
    }
    
    .team-home { justify-content: flex-end; text-align: right; }
    .team-away { justify-content: flex-start; text-align: left; }

    .t-logo-large { 
        width: 50px; 
        height: 50px; 
        object-fit: contain; 
        flex-shrink: 0;
    }

    .t-name-full { 
        font-weight: 700; 
        color: #fff; 
        font-size: 1.2rem; 
        white-space: nowrap; 
    }

    .score-center {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .score-digital {
        background: #000;
        color: #fff;
        font-family: 'monospace', sans-serif;
        font-size: 2rem;
        font-weight: 900;
        padding: 5px 20px;
        border-radius: 4px;
        border: 1px solid #333;
        letter-spacing: 3px;
        min-width: 110px;
    }

    .status-text {
        font-size: 0.7rem;
        font-weight: 800;
        text-transform: uppercase;
        margin-top: 8px;
        letter-spacing: 1.5px;
        color: #475569;
    }

    /* Pielāgojums mobilajiem - lai nekas nesaspiestos */
    @media (max-width: 768px) {
        .match-strip {
            grid-template-columns: 1fr 100px 1fr;
            padding: 15px 10px;
        }
        .t-name-full { font-size: 0.9rem; }
        .t-logo-large { width: 35px; height: 35px; }
        .score-digital { font-size: 1.4rem; min-width: 80px; }
    }
	
	 

.game-action {
    text-align: right;
    padding-left: 0px;
}

.btn-protocol {
    display: inline-block;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #2563eb;
    color: #2563eb;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-protocol:hover {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

/* Ja spēle vēl nav notikusi, poga var izskatīties savādāk */
.btn-preview {
    border-color: #475569;
    color: #475569;
}

.btn-preview:hover {
    background: #475569;
    color: #fff;
}

