.match-outcome {
    width: 150px;
    display: flex;
    margin-left: 5px;
    margin-right: 5px;
}

.recent-matches {
    height: 80%;
    margin: 0 10px 0 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.recent-matches-grid {
    display: grid;
    grid-template-columns: 25px auto;
    gap: 15px 5px;
    position: relative;
    grid-auto-rows: minmax(auto, 45px);
}

.recent-matches-grid .latest-match-info {
    filter: drop-shadow(0px 0px 2px var(--bg-primary-darkest));
    transition: box-shadow 0.025s ease-in-out;

    min-width: 170px;
    min-height: 30px;
    background: linear-gradient(70deg, #2a2a3b, #242432);
    border-radius: 5px;
}

.recent-matches-grid .latest-match-info:hover {
    box-shadow: 3px 3px 5px -3px var(--active-blue);
    
}

.recent-matches>*:last-child .latest-match-info:hover {
    box-shadow: -3px 3px 5px -3px var(--active-blue);
}

.recent-matches-grid .latest-match-info div:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    height: 30px;
    width: 40px;
    gap: 0.25rem;
}




.dot {
    z-index: 1;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    display: inline-block;
    background-color: var(--backgroundColor);
    margin: 7.5px;
}

.recent-matches-grid .dot {
    justify-self: center;
}


.recent-matches-grid .dot:nth-of-type(2):before {
    position: relative;
    bottom: 20px;
    content: "";
    display: inline-block;
    -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    width: 10px;
    height: 9px;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
}

.recent-matches-grid:last-child .dot:nth-of-type(2):before {
    transform: translateX(50%);
}

.recent-matches-grid .dot.won,
.recent-matches-grid .dot:nth-of-type(2).won:before {
    background-color: #4879d7;
}

.recent-matches-grid .dot.lost,
.recent-matches-grid .dot:nth-of-type(2).lost:before {
    background-color: #f12d2d;
}

.recent-matches-grid .dot.tied,
.recent-matches-grid .dot:nth-of-type(2).tied:before {
    background-color: #808080;
}


.vertical-line {
    position: absolute;
    content: "";
    height: calc(100% - 40px);
    width: 2px;
    background: linear-gradient(90deg, #494952 0%, #808080 100%);
}


.recent-matches-grid .scores {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    justify-items: center;
    text-align: center;
    grid-template-columns: 1fr auto 1fr;
    transform: translateX(1px);
}

.recent-matches-grid .scores span:first-child,
.recent-matches-grid .scores span:last-child {
    min-width: 10px;
}

.recent-matches>*:last-child .recent-matches-grid {
    direction: rtl;
}

.recent-matches>*:last-child {
    direction: rtl;
}

.recent-matches>*:first-child .vertical-line {
    left: 11.5px;
    transform: unset;
}

.recent-matches>*:last-child .vertical-line {
    right: 11.5px;
}