.tabs-container {
    max-width: 1200px;
    margin: 20px auto;
}
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
}
.tab {
    padding: 10px 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
	font-family: "Barlow Condensed", sans-serif;
    color: #222;
    background: #f5f5f5;
    border-radius: 8px 8px 0 0;
    margin: 0 5px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.tab.active {
    background: #007bff;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.tab:hover:not(.active) {
    transform: scale(1.05);
    background: #e0e0e0;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.matches-widget {
    max-width: 1200px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    min-height: 250px;
    padding: 20px 0;
}
.match-tile {
    position: relative;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}
.match-tile:hover {
    transform: scale(1.08);
}
.team-logo-left {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100px;
    object-fit: cover;
}
.team-logo-right {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 100px;
    object-fit: cover;
}
.match-info {
    text-align: center;
    padding: 10px 100px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.date-round {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}
.time {
    font-size: 28px;
    font-weight: 700;
    margin: 5px 0;
    color: #222;
}
.league {
    font-size: 12px;
    color: #888;
}
.location {
    font-size: 12px;
    color: #888;
}

@media (max-width: 768px) {
    .matches-widget {
      grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .matches-widget {
      grid-template-columns: 1fr;
    }
}

/* Styl dla loadera (zostawiamy, choć nie będzie używany przy ładowaniu serwerowym) */
.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}