nav-bar {
    display: flex;
    position: relative;

    width: 100%;
    max-width: 1000px;
    min-width: 300px;
    height: 50px;
    min-height: 50px;

    transform: translateZ(0);

    overflow: hidden;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;

    background-color: rgb(11, 11, 11);
    border: 1px solid rgb(33, 33, 33);
    border-radius: 7px 7px;
}

nav-bar > .page-link {
    width: auto;
    height: 100%;
    padding: 0 15px;

    flex-direction: row;
    align-items: center;
    justify-content: center;

    transition: background-color 0.1s ease-in;

    font-size: 20px;
    font-weight: 500;
    color: #FFF;

    pointer-events: all;
    cursor: pointer;
}

nav-bar > .page-link[active = "true"] {
    background-color: rgb(60, 60, 96, 0.33);
    border-bottom: 5px solid rgb(76, 175, 80)
}
nav-bar > .page-link:hover {
    background-color: rgb(60, 60, 96, 0.44)
}

nav-bar > .other-button {
    width: 40px;
    height: 40px;
    padding: 5px;
    margin-right: 5px;

    transition: background-color 0.1s ease-in;

    border-radius: 5px;
    pointer-events: all;
    cursor: pointer;
    color: #DDD;
}

nav-bar > .other-button[active = "true"],
/* nav-bar > .other-button:hover  {background-color: rgb(60, 60, 96, 0.44); color: #EEE} */
nav-bar > .other-button:active {background-color: rgb(60, 60, 96, 0.44); color: #FFF}auth-panel {
    display: none;
    position: relative;

    width: 100%;
    max-width: 420px;
    min-width: 200px;
    height: fit-content;
    min-height: fit-content;
    max-height: fit-content;

    padding: 15px;
    margin: 50px 0 0 0;

    transform: translateZ(0);

    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;

    border-radius: 10px;
    background-color: rgb(11, 11, 11);
    border: 1px solid rgb(33, 33, 33);
}
auth-panel[active = "true"] {display: flex}

auth-panel > .title {
    height: auto;

    flex-direction: row;
    align-items: center;
    justify-content: center;

    font-size: 30px;
    font-weight: 500;
    color: #DDD;
}

auth-panel > input {
    width: 100%;
    height: 40px;
    padding: 5px;

    background-color: rgb(10, 10, 22);
    border: 1px solid rgb(40, 40, 62);
    border-radius: 5px;

    font-size: 18px;
    font-weight: 500;
    color: #CCC;

    pointer-events: all;
    cursor: text;
}

auth-panel > .auth-button {
    width: 100%;
    height: 40px;

    align-items: center;
    justify-content: center;

    transition: background-color 0.1s ease-in-out;
    background-color: rgb(40, 40, 62);
    border-radius: 5px;

    pointer-events: all;

    font-size: 21px;
    font-weight: 500;
    color: #FFF;
}

auth-panel > .auth-button[valid = "false"]      {cursor: not-allowed; color: #AAA}
auth-panel > .auth-button[valid = "true"]       {cursor: pointer; background-color: rgb(76, 175, 80, 0.7)}
auth-panel > .auth-button[valid = "true"]:hover {background-color: rgb(76, 175, 80, 0.9)}
auth-panel > .auth-button[error] {
    background-color: rgb(255, 0, 0) !important;
    transition: background-color 0.0s ease-out !important
}stats-panel {
    display: none;
    position: relative;

    width: 100%;
    max-width: 420px;
    min-width: 200px;
    height: fit-content;
    min-height: fit-content;
    max-height: fit-content;

    padding: 15px;
    margin: 50px 0 0 0;

    transform: translateZ(0);

    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;

    border-radius: 10px;
    background-color: rgb(11, 11, 11);
    border: 1px solid rgb(33, 33, 33);
}
stats-panel[active = "true"] {display: flex}


stats-panel > .stat-row {
    width: 100%;
    height: auto;

    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

stats-panel > .stat-row > .name  {font-size: 18px; font-weight: 600}
stats-panel > .stat-row > .value {font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums}

stats-panel > .stat-row > .name  {color: rgb(113, 191, 255, 1.0)}
stats-panel > .stat-row > .value {color: #DDD}

stats-panel > .spacer {
    width: 100%;
    height: 3px;

    background-color: rgb(40, 40, 62);
    border-radius: 3px;
}

/* auth-panel > .title {
    height: auto;

    flex-direction: row;
    align-items: center;
    justify-content: center;

    font-size: 35px;
    font-weight: 500;
    color: #DDD;
}

auth-panel > input {
    width: 100%;
    height: 40px;
    padding: 5px;

    background-color: rgb(10, 10, 22);
    border: 1px solid rgb(40, 40, 62);
    border-radius: 5px;

    font-size: 18px;
    font-weight: 500;
    color: #CCC;

    pointer-events: all;
    cursor: text;
}

auth-panel > .auth-button {
    width: 100%;
    height: 40px;

    align-items: center;
    justify-content: center;

    transition: background-color 0.1s ease-in-out;
    background-color: rgb(40, 40, 62);
    border-radius: 5px;

    pointer-events: all;

    font-size: 21px;
    font-weight: 500;
    color: #FFF;
}

auth-panel > .auth-button[valid = "false"]      {cursor: not-allowed}
auth-panel > .auth-button[valid = "true"]       {cursor: pointer; background-color: rgb(76, 175, 80, 0.7)}
auth-panel > .auth-button[valid = "true"]:hover {background-color: rgb(76, 175, 80, 0.9)}
auth-panel > .auth-button[error] {background-color: rgb(255, 0, 0)} */