﻿.match-card {
    max-width: 1000px;
    min-width: 320px;
    width: 100%;
    margin: 1.5rem auto;
    padding: 1.5rem;
    box-sizing: border-box;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .match-card h3 {
        margin-bottom: 1rem;
        color: #333;
        text-align: center;
    }

.match-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.player-photo {
    flex: 0 0 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.opponent-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.player-info,
.club-info,
.match-meta {
    flex: 1;
    min-width: 180px;
}

.info-item {
    margin-bottom: 0.75rem;
}

    .info-item label {
        display: block;
        font-weight: 600;
        color: #666;
        margin-bottom: 0.25rem;
        font-size: 0.9rem;
    }

.status-note {
    color: #37cc2a;
    display: block;
    margin-top: 0.5rem;
}

.match-actions {
    margin-top: 1rem;
    text-align: center;
}

    .match-actions .rz-button {
        margin: 0.5rem;
    }

/* 💡 Responsive behavior for smaller screens */
@media (max-width: 768px) {
    .match-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .player-photo {
        order: 1;
        margin-bottom: 1rem;
    }

    .player-info,
    .club-info,
    .match-meta {
        order: 2;
        width: 100%;
    }

    .match-card {
        padding: 1rem;
    }

    .opponent-img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .match-card h3 {
        font-size: 1.1rem;
    }

    .info-item label {
        font-size: 0.8rem;
    }

    .info-item b {
        font-size: 0.85rem;
    }
}
