.JoinedPage {
    display: none;
    position: absolute;
    z-index: 99;
    color: #98c1d9;
    width: 100%;
    height: 100%;

    gap: 10px;
    grid-template-rows: 100px auto;
    background-color: #3E79D5;
}


.JoinedTopBar {
    grid-row: 1;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 25px;
    /* row-gap: 30px; */
    width: calc(100% - 50px);
    background-color: #4872C4;
    border-radius: 0 0 40px 40px;
}

.JoinedMidBar {
    grid-row: 2;
    display: grid;
    align-content: start;
    /* background-color: #28303f; */
    row-gap: 30px;
    height: 100%;
    grid-template-rows: 1fr auto;

}



.JoinedServer {
    width: 287px;
    display: grid;
    grid-template-rows: repeat(auto-fill, auto);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
    gap: 20px;

}


.JoinedServerName {
    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;
    }
}


.JoinedServerList {
    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;
    }


}
/* 
.JoinedServerPassword
{
    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);
} */


.JoinedServerPassword
{
    
    width: 100%;
    height: 50px;
    background-color: rgba(136, 178, 255, 0.2);
    backdrop-filter: blur(10px);
}


.JoinedServerListScroll {
    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;


}

.JoinedServerButtonUnlocked {
    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;

    }
}

.JoinedServerButtonLocked {
    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;
    }
  
}


.JoinedServerPassword {
    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;

    

}

.JoinedServerPassword::placeholder{
    color: #dadada !important;
}

.JoinedServerButton:nth-child(odd){
    background-color: #88b2ff;
}

.JoinedServerButton:nth-child(even){
    background-color: #9cbefd;
}

.fa-lock{
    color: rgb(255, 100, 0);
}
.fa-unlock{
    color: rgb(100, 255, 0);
}

.JoinedServerButton:hover {
    background-color: #77a5fc;
}
