.keyboard-test-component {
    padding: 1%;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-size: clamp(0.6rem, 1.5vw, 0.9rem);
}
.keyboard-header {
    text-align: center;
    flex-shrink: 0;
    margin-bottom: 10px;
}
.keyboard-header h3 {
    margin: 0 0 5px 0;
    font-size: 1.2em;
}
.keyboard-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 0;
    padding: 10px;
    position: relative;
}
.keyboard-wrapper {
    position: relative;
    transform-origin: center center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.keyboard {
    position: relative;
    background: #2c3e50;
    border-radius: 8px;
    padding: 0;
}
.key {
    position: absolute;
    background: linear-gradient(180deg, #ecf0f1 0%, #bdc3c7 100%);
    border: 1px solid #95a5a6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.1s;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    user-select: none;
}
.key.pressed {
    background: linear-gradient(180deg, #3498db 0%, #2980b9 100%);
    color: white;
    transform: translateY(2px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.key.tested {
    background: linear-gradient(180deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}
.keyboard-selector {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.keyboard-selector label {
    font-weight: bold;
    color: #2c3e50;
}
.keyboard-selector select {
    padding: 5px 10px;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}