body.connected .showConnected { display: inline-block; }
body.connected .showDisconnected { display: none; }
body.notconnected .showConnected { display: none; }
body.notconnected .showDisconnected { display: inline-block; }

#popup {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    z-index: 999999;
    display: none; 
}

#popup .content {
    padding: 20px;
    border-radius: 15px;
    width: 98%;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0,0,0,.8);
    color: rgba(255,255,255,.8);
    background: #1a1a1d;
}

#popup .content * {
    /* not selectable */
    user-select: none;
}

#popup button[role="close"] {
    display: inline-block;
    cursor: pointer;
    padding: 10px 20px;
    background: none;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.9);
}

#popup button[role="close"]:hover {
    background: rgba(255,255,255,.1);
}