﻿/* Match referee editor and details */

.match-referee-editor-card {
    border-top: 4px solid #5b8c3b;
}

.match-referee-table-wrapper {
    border: 1px solid #e0e7e2;
    border-radius: 14px;
}

.match-referee-table {
    margin-bottom: 0;
}

    .match-referee-table thead {
        background: #f4f8f2;
    }

    .match-referee-table th {
        color: #294117;
        font-size: .76rem;
        font-weight: 900;
        white-space: nowrap;
    }

    .match-referee-table td {
        color: #45586b;
        font-size: .76rem;
    }

.match-referee-result-card {
    width: 100%;
    text-align: right;
}

.match-referee-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.match-referee-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid #e1e8e2;
    border-radius: 15px;
    background: #fafcf9;
}

.match-referee-avatar {
    display: grid;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #eaf3e5;
    color: #4d7d31;
    font-size: 1.4rem;
    font-weight: 900;
}

    .match-referee-avatar img,
    .match-referee-avatar span {
        width: 100%;
        height: 100%;
    }

    .match-referee-avatar img {
        object-fit: cover;
    }

    .match-referee-avatar span {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.match-referee-information {
    min-width: 0;
}

.match-referee-role {
    color: #5b8c3b;
    font-size: .72rem;
    font-weight: 900;
}

.match-referee-information h3 {
    margin: 4px 0 0;
    color: #071a33;
    font-size: .9rem;
    font-weight: 900;
}

.match-referee-information small {
    display: block;
    margin-top: 3px;
    color: #8793a0;
}

.match-referee-meta,
.match-referee-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
}

    .match-referee-meta span {
        padding: 4px 7px;
        border-radius: 999px;
        background: #eef2ef;
        color: #667685;
        font-size: .66rem;
    }

@media (max-width: 991.98px) {
    .match-referee-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .match-referee-grid {
        grid-template-columns: 1fr;
    }
}
