/* Virtual Keyboard — optimiert fuer 800x480 Touchscreen */
.keyboard-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2a2a2a;
    padding: 4px 2px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.6);
    z-index: 10000;
    box-sizing: border-box;
}

.keyboard-close {
    position: absolute;
    top: 2px;
    right: 6px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 18px;
    cursor: pointer;
    padding: 2px 6px;
    line-height: 1;
    z-index: 10001;
}

.keyboard-close:hover {
    color: #fff;
}

.keyboard-row {
    display: flex;
    justify-content: center;
    margin-bottom: 2px;
}

.key {
    background-color: #4a4a4a;
    color: #fff;
    border: 1px solid #5a5a5a;
    border-radius: 4px;
    padding: 6px 0;
    margin: 1px;
    cursor: pointer;
    font-size: 14px;
    flex: 1;
    max-width: 52px;
    min-height: 32px;
    text-align: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.key:active {
    background-color: #7a7a7a;
}

.key-special {
    background-color: #3a3a3a;
    font-size: 11px;
    max-width: 68px;
    flex: 1.3;
}

.key-special.active {
    background-color: #5a8a5a;
}

.key-space {
    flex: 3;
    max-width: 200px;
}

/* Body-Padding wenn Tastatur offen */
body.vk-open {
    padding-bottom: 140px !important;
}
