.AccountPage {
    display: none;
    position: absolute;
    z-index: 99;
    color: #98c1d9;
    width: 100%;
    height: 100%;

    gap: 10px;
    grid-template-rows: 100px minmax(100px, 1000px);
    background-color: #3E79D5;
}

.AccountTopBar {
    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;
}

.AccountMidBar {
    grid-row: 2;
    display: grid;
    align-content: start;
    /* background-color: #28303f; */
    row-gap: 30px;
    height: 100%;
    grid-template-rows: 1fr auto;
}


.AccountName {
    grid-row: 1;
    display: grid;
    grid-template-rows: auto auto auto;

    gap: 10px;
    width: 100%;

    input {
        border: 0;
        outline: none;
        border-radius: 3px;
        cursor: pointer;
        background-color: #88B2FF;
        color: #1f3861;
        font-weight: 600;
        font-size: 1.2rem;

        padding: 14px;


        text-align: center;
        width: auto;

    }

    .ErrorAccount {
        display: none;
        color: #F68525;
        font-weight: 600;
        font-size: 1rem;

    }

    label {
        text-align: center;
    }
}


.GameWinsLoses {
    grid-row: 3;
    display: grid;
    text-wrap: nowrap;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(auto-fill, auto);
    column-gap: 1px;
    margin: auto;
    width: 287px;
    text-align: center;
    background-color: #88B2FF;

    label {
        background-color: #3E79D5;
    }

    >label:nth-child(n+3) {
        color: ghostwhite;
    }

}


.ServerPassword {
    grid-column: 1/3;
    grid-row: 3;

    display: none;
    border: 0;
    outline: none;
    border-radius: 3px;
    cursor: pointer;
    background-color: #88B2FF;
    color: #1f3861;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 7px;
    text-align: center;
    width: calc(100% - 14px);

}

.ErrorVisibility {
    display: none;
    width: 100%;
    text-align: center;
    grid-column: 1/3;
    grid-row: 4;
    color: #F68525;
    font-weight: 600;
    font-size: 1rem;

}

.GameDefaultPlayers {
    grid-row: 2;
    display: grid;
    text-wrap: nowrap;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(auto-fill, auto);
    gap: 10px;
    margin: auto;
    width: 100%;

    > :nth-child(1) {
        text-align: center;
        grid-row: 1;
        grid-column: 1/3;
        color: #88B2FF;
    }
    > div{
        margin-left: 15px;
    }
}


.OpenAccount {
    grid-row: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #88B2FF;
}

