/* ==========================================================================
   MATCHS
========================================================================== */

.matchs-page {
    width: 100%;
}

.matchs-card {
    width: 100%;
}

.matchs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.matchs-eyebrow {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.65;
}

.matchs-intro {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.8;
}


/* ==========================================================================
   LISTE
========================================================================== */

.matchs-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* ==========================================================================
   CARTE MATCH
========================================================================== */

.match-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.match-avatar {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
}

.match-avatar img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f1f3f5;
}

.match-content {
    flex: 1;
    min-width: 0;
}

.match-pseudo {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
}

.match-date {
    margin-bottom: 14px;
    font-size: 13px;
    opacity: 0.7;
}


/* ==========================================================================
   ACTIONS
========================================================================== */

.match-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* ==========================================================================
   AUCUN MATCH
========================================================================== */

.matchs-empty {
    padding: 50px 20px;
    text-align: center;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.matchs-empty-icon {
    margin-bottom: 12px;
    font-size: 48px;
}

.matchs-empty h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.matchs-empty p {
    max-width: 550px;
    margin: 0 auto 20px;
    line-height: 1.6;
    opacity: 0.75;
}


/* ==========================================================================
   MOBILE
========================================================================== */

@media (max-width: 700px) {

    .match-card {
        align-items: flex-start;
        padding: 15px;
    }

    .match-avatar {
        flex: 0 0 65px;
        width: 65px;
        height: 65px;
    }

    .match-avatar img {
        width: 65px;
        height: 65px;
    }

    .match-pseudo {
        font-size: 18px;
    }

    .match-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .match-actions .bouton {
        width: 100%;
        text-align: center;
    }

}

/* ==========================================================================
   PAGINATION MATCHS
========================================================================== */

.matchs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.matchs-pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
}

.matchs-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

.matchs-pagination-link:hover {
    background: #f5f7fa;
    border-color: #d1d5db;
}

.matchs-pagination-link.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    cursor: default;
}

.matchs-pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 40px;
    font-size: 15px;
    opacity: 0.6;
}


/* ==========================================================================
   MOBILE
========================================================================== */

@media (max-width: 600px) {

    .matchs-pagination {
        gap: 6px;
    }

    .matchs-pagination-link {
        min-width: 36px;
        height: 36px;
        padding: 0 9px;
        font-size: 13px;
    }

    .matchs-pagination-pages {
        gap: 4px;
    }

}