.ghosting-workspace {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    max-width: 1000px;
    margin: 0 auto;
}

.status-bar {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    background: #f0f0f0;
    padding: 15px;
    border-radius: 8px;
}

.counter span {
    color: #2196f3;
}

.max-counter span {
    color: #f44336;
}

.keyboard-visual {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 30px;
    padding: 20px;
    background: #222;
    border-radius: 12px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    overflow-x: auto;
}

.row {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.key {
    width: 40px;
    height: 40px;
    background: #444;
    color: #ccc;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: bold;
    user-select: none;
    transition: all 0.05s;
    border-bottom: 3px solid #111;
}

.key.w-1-5 {
    width: 60px;
}

.key.w-2 {
    width: 80px;
}

.key.w-2-5 {
    width: 100px;
}

.key.w-space {
    width: 250px;
}

.key.active {
    background: #2196f3;
    color: white;
    box-shadow: 0 0 10px #2196f3;
    transform: translateY(2px);
    border-bottom: 1px solid #1976d2;
}

/* Specific styling for pressed state */

.log-area {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.key-log {
    min-height: 50px;
    margin-bottom: 15px;
    font-family: monospace;
    font-size: 1rem;
    color: #333;
    word-break: break-all;
}

.btn-reset {
    background: #ddd;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-reset:hover {
    background: #ccc;
}

.info-box {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #555;
    background: #e3f2fd;
    padding: 15px;
    border-radius: 4px;
}