.ScorePage {
    display: none;
    position: absolute;
    z-index: 99;
    color: #98c1d9;
    width: 100%;
    height: 100%;

    gap: 10px;
    grid-template-rows: 100px auto;
    background-color: #3E79D5;
}


.ScoreTopBar {
    grid-row: 1;
    display: grid;
    padding: 25px;
    width: calc(100% - 50px);
    background-color: #4872C4;
    border-radius: 0 0 40px 40px;
}

.ScoreMidBar {
    grid-row: 2;
    display: grid;
    align-content: start;
   
    height: 100%;
    grid-template-rows: 1fr auto;

}



.ScoreGame {
    width: 287px;
    display: grid;
    grid-template-rows: auto auto auto auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    gap: 20px;
}

.ScorePlayerParent {
    grid-row: 3;
    grid-column: 1/3;
    width: calc(100% - 10px);
    height: 200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(auto-fill, 1fr);
    background-color: #88B2FF;
    gap: px;
    padding: 5px;
    border-radius: 10px;
}

.ScoreWinner,
.ScorePlayerFullRow,
.ScorePlayer {
    
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #3E79D5;
   
    label {
        font-size: 1.2rem;
        color: ghostwhite;
    }

 
}

.ScorePlayerFullRow {
    grid-column: 1/3;
}


.ScoreAnnouce{
    grid-row: 1;
    margin: auto;
    grid-column: 1/3;
    font-weight: 600;
    font-size: 1.3rem;
    color: #F68525;
    /* text-shadow: 0px 0px 2px rgb(0, 0, 0); */
}

.ScoreWinner {
    grid-row: 2;
    grid-column: 1/3;
    gap: 20px;
    padding: 5px;
    border-radius: 10px;
    border: 5px solid #88B2FF;
    label:nth-child(1) {
        font-size: 1.5rem;

        
    }
    label:nth-child(2) {
        font-size: 1.2rem;
        color: #ffdf88;
    }
}

.ScorePlayer:nth-child(1) {
    border-radius: 10px 0 0 0;
}

.ScorePlayer:nth-child(2) {
    border-radius: 0 10px 0 0;
}

.ScorePlayer:nth-child(3) {
    border-radius: 0 0 0 10px;
}

.ScorePlayer:nth-child(4) {
    border-radius: 0 0 10px 0;
}



.CloseGame {
    grid-row: 4;
    grid-column: 1/3;
}


.ScoreServerName {
    grid-row: 1;
    display: grid;
    grid-template-rows: auto auto;
    row-gap: 10px;
    width: 100%;

    label {
        text-align: center;
        color: #88B2FF;
    }

    label:nth-child(2),
    label:nth-child(4) {
        text-align: center;
        color: ghostwhite;
        font-size: 20px;
    }

    label:nth-child(4) {
        color: ghostwhite;
    }
}


.ScoreServerList {
    display: grid;
    grid-template-rows: auto 40vh auto;
    row-gap: 10px;

    max-height: 450px;

    > :nth-child(1) {
        text-align: center;
        grid-row: 1;
        grid-column: 1/3;

    }

    > :nth-child(2) {
        grid-row: 2;
    }

    > :nth-child(3) {
        text-align: center;
        line-height: 30px;
        grid-row: 3;
        grid-column: 1/3;
    }


}

/* 
.ScoreServerPassword
{
    top: 50%;
    left: 50%;

    transform: translate(-50%,-50%);
    position: absolute;
    width: 257px;
    height: 257px;
    background-color: rgba(136, 178, 255, 0.2);
    backdrop-filter: blur(10px);
} */


.ScoreServerPassword {

    width: 100%;
    height: 50px;
    background-color: rgba(136, 178, 255, 0.2);
    backdrop-filter: blur(10px);
}


.ScoreServerListScroll {
    margin: 0 auto;
    width: 287px;

    height: auto;
    /* max-height: 375px; */
    overflow-x: hidden;
    overflow-y: scroll;
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 10px;


}

.ScoreServerButtonUnlocked {
    cursor: pointer;
    width: 100%;
    background-color: #9cbefd;
    color: #082657;
    font-weight: 600;

    font-size: 1.2rem;
    min-height: 3rem;
    display: grid;
    grid-template-columns: auto 30px 30px 30px;

    align-items: center;
    column-gap: 5px;
    /* border-radius: 25px; */
    border: 0;
    transition: background-color 0.3s ease-in-out;

    label {
        width: 100%;
        text-wrap: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: start;
        color: #082657;

    }
}

.ScoreServerButtonLocked {
    cursor: pointer;
    width: 100%;
    background-color: #9cbefd;
    color: #082657;
    font-weight: 600;

    font-size: 1.2rem;
    min-height: 6rem;
    display: grid;
    grid-template-columns: auto 30px 30px 30px;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    column-gap: 5px;
    /* border-radius: 25px; */
    border: 0;
    transition: background-color 0.3s ease-in-out;

    label {
        width: 100%;
        text-wrap: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: start;
        color: #082657;

    }

    :nth-child(5) {
        grid-row: 2;
        grid-column: 1/5;
    }

}


.ScoreServerPassword {
    grid-column: 1/3;
    grid-row: 3;

    display: grid;
    border: 0;
    outline: none;
    border-radius: 3px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2);
    color: #1f3861;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 7px;
    text-align: center;
    width: 100%;
    height: 2.5rem;



}

.ScoreServerPassword::placeholder {
    color: #dadada !important;
}

.ScoreServerButton:nth-child(odd) {
    background-color: #88b2ff;
}

.ScoreServerButton:nth-child(even) {
    background-color: #9cbefd;
}

.fa-lock {
    color: rgb(255, 100, 0);
}

.fa-unlock {
    color: rgb(100, 255, 0);
}

.ScoreServerButton:hover {
    background-color: #77a5fc;
}