/* Spielplan Page Specific Styles */
.matchday-group {
    margin-bottom: 32px;
}

.matchday-header {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.matchday-header.current {
    border-left-color: var(--accent-light);
    background: #1f2e1f;
}

.matchday-header .current-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    background: var(--accent-light);
    color: var(--bg-primary);
}

.match-row {
    display: grid;
    grid-template-columns: 100px 1fr auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.match-row:last-child {
    border-bottom: none;
}

.match-row .match-score.live {
    animation: pulse 2s infinite;
}

/* H2H Badge for matches */
.match-h2h-badge {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--bg-darker);
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
}

.h2h-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.h2h-record {
    color: var(--accent-light);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.h2h-games {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .match-row.has-h2h {
        padding-bottom: 40px;
    }
    
    .match-h2h-badge {
        right: 50%;
        top: auto;
        bottom: 8px;
        transform: translateX(50%);
    }
}
