﻿.match-other-members-card {
    position: relative;
}

.match-other-members-note {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

    .match-other-members-note > div {
        padding: 12px 14px;
        border: 1px solid #e0e7ee;
        border-radius: 12px;
        background: #f8fafc;
    }

    .match-other-members-note strong,
    .match-other-members-note span {
        display: block;
    }

    .match-other-members-note strong {
        color: #102a4c;
        font-size: .7rem;
        font-weight: 900;
    }

    .match-other-members-note span {
        margin-top: 3px;
        color: #6f7d8d;
        font-size: .58rem;
        line-height: 1.6;
    }

.match-other-members-coach-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.match-other-members-side,
.match-other-members-other-section {
    overflow: hidden;
    border: 1px solid #e0e7ee;
    border-radius: 16px;
    background: #fff;
}

.match-other-members-side-heading,
.match-other-members-other-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px;
    border-bottom: 1px solid #e8edf2;
    background: linear-gradient( 135deg, rgba(91, 140, 59, .09), rgba(16, 42, 76, .025));
}

    .match-other-members-side-heading h3,
    .match-other-members-other-heading h3 {
        margin: 0;
        color: #102a4c;
        font-size: .78rem;
        font-weight: 950;
    }

    .match-other-members-other-heading p {
        margin: 4px 0 0;
        color: #6f7d8d;
        font-size: .56rem;
        line-height: 1.6;
    }

.match-other-members-side-badge {
    display: inline-flex;
    min-height: 23px;
    align-items: center;
    margin-bottom: 4px;
    padding: 0 7px;
    border-radius: 999px;
    background: #edf6e8;
    color: #3f6f29;
    font-size: .48rem;
    font-weight: 900;
}

    .match-other-members-side-badge.is-away {
        background: #eaf2fa;
        color: #315f8c;
    }

.match-other-members-list {
    display: grid;
    gap: 9px;
    padding: 12px;
}

.match-other-members-list-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.match-other-members-empty {
    padding: 22px 14px;
    border: 1px dashed #d4dde5;
    border-radius: 12px;
    background: #fbfcfd;
    color: #788594;
    text-align: center;
    font-size: .6rem;
}

.match-other-members-other-section {
    margin-top: 16px;
}

.match-other-members-category-guide {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid #edf1f4;
    background: #fbfcfd;
}

    .match-other-members-category-guide span {
        display: inline-flex;
        min-height: 25px;
        align-items: center;
        gap: 4px;
        padding: 0 7px;
        border: 1px solid #dfe7ee;
        border-radius: 999px;
        background: #fff;
        color: #506172;
        font-size: .49rem;
    }

    .match-other-members-category-guide b {
        color: #5b8c3b;
    }

.match-other-member-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid #e2e8ee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(7, 26, 50, .035);
}

    .match-other-member-card.is-other {
        min-height: 126px;
    }

.match-other-member-main {
    min-width: 0;
    flex: 1 1 auto;
}

.match-other-member-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

    .match-other-member-title-row strong {
        color: #102a4c;
        font-size: .7rem;
        font-weight: 950;
    }

.match-other-member-en {
    display: block;
    margin-top: 2px;
    color: #7b8793;
    font-size: .5rem;
    direction: ltr;
    text-align: right;
}

.match-other-member-role {
    margin-top: 6px;
    color: #556474;
    font-size: .55rem;
}

    .match-other-member-role strong {
        color: #102a4c;
    }

.match-other-member-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
}

.match-other-member-pill {
    display: inline-flex;
    min-height: 23px;
    align-items: center;
    padding: 0 7px;
    border-radius: 999px;
    background: #f0f4f7;
    color: #536272;
    font-size: .46rem;
    font-weight: 800;
}

.match-other-member-inline-controls,
.match-other-member-card-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
}

    .match-other-member-inline-controls .form-select {
        width: auto;
        min-width: 112px;
    }

.match-other-member-selected-person {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #dfe7ee;
    border-radius: 13px;
    background: #f7faf5;
}

    .match-other-member-selected-person small,
    .match-other-member-selected-person strong,
    .match-other-member-selected-person span {
        display: block;
    }

    .match-other-member-selected-person small {
        color: #708091;
        font-size: .5rem;
    }

    .match-other-member-selected-person strong {
        margin-top: 2px;
        color: #102a4c;
        font-size: .8rem;
        font-weight: 950;
    }

    .match-other-member-selected-person span {
        margin-top: 2px;
        color: #657586;
        font-size: .52rem;
    }

.match-other-member-editor-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e9eef2;
}

@media (max-width: 991.98px) {
    .match-other-members-note {
        grid-template-columns: 1fr;
    }

    .match-other-members-coach-grid,
    .match-other-members-list-wide {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .match-other-members-side-heading,
    .match-other-members-other-heading,
    .match-other-member-selected-person,
    .match-other-member-card {
        align-items: stretch;
        flex-direction: column;
    }

        .match-other-members-side-heading .btn,
        .match-other-members-other-heading .btn,
        .match-other-member-inline-controls,
        .match-other-member-card-actions {
            width: 100%;
        }

            .match-other-member-inline-controls .form-select,
            .match-other-member-inline-controls .btn,
            .match-other-member-card-actions .btn {
                width: 100%;
            }
}
