/* Navigation */
.matches-nav {
    margin-bottom: 20px;
    display: flex;
    /* ★★★ هذا هو التعديل الرئيسي ★★★ */
    gap: 5px; /* 1. أضفنا مسافة متساوية 5px بين العناصر */
    /* 2. (قمنا بحذف justify-content: space-between) */
}

.matches-nav .button {
    background-color: #417491;
    color: #fff;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    flex-grow: 1;
    /* 3. (قمنا بحذف margin-right: 5px) */
}

/* 4. (لم نعد بحاجة لهذا الكود) */
/*
.matches-nav .button:last-child {
    margin-right: 0;
}
*/

.matches-nav .button.active {
    background-color: #dc3545;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .matches-nav .button {
        padding: 10px;
        font-size: 12px;
    }
}