.be-shortcut-field {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.be-shortcut-field > kbd.be-shortcut-hint {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    padding: 1px 5px;
    font-family: inherit;
    font-size: 11px;
    line-height: 16px;
    color: #999;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: none;
    pointer-events: none;
}

/* Hidden until the JS fills in ⌘ / Ctrl, and once the field has text, so it never covers what was typed
   (which is also why the input needs no extra right padding and keeps its original width) */
.be-shortcut-field > kbd.be-shortcut-hint:empty,
.be-shortcut-field > .form-control:not(:placeholder-shown) + kbd.be-shortcut-hint {
    display: none;
}
