/* Interactive board mode styles */
body.board-mode {
    font-size: 1.5rem !important; /* Scale up base font size */
}

/* Hide standard navigation if they exist */
body.board-mode header.site-header,
body.board-mode footer.site-footer,
body.board-mode .site-header,
body.board-mode .site-footer {
    display: none !important;
}

/* Enlarge all buttons and inputs for easier touch */
body.board-mode button,
body.board-mode .btn,
body.board-mode .nav-btn,
body.board-mode .game-card {
    min-height: 60px;
    font-size: 1.25rem;
}

body.board-mode input[type="number"],
body.board-mode input[type="text"] {
    font-size: 2rem !important;
    padding: 12px !important;
    min-height: 60px;
}

/* Virtual Keyboard Container */
#virtual-keyboard {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #f8f9fa;
    border: 2px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 15px;
    z-index: 99999;
    transform-origin: bottom right;
}

#virtual-keyboard button {
    width: 75px;
    height: 75px;
    font-size: 2.2rem;
    font-weight: bold;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

#virtual-keyboard button:active {
    background: #e9ecef;
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#virtual-keyboard .btn-clear {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

#virtual-keyboard .btn-enter {
    background: #dcfce7;
    color: #16a34a;
    border-color: #86efac;
}

/* Spustit na tabuli button */
#board-mode-toggle {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    background: #3b82f6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    transition: all 0.2s;
}

#board-mode-toggle i {
    font-size: 1.3rem;
}

#board-mode-toggle:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    /* Scale down keyboard on smaller screens */
    #virtual-keyboard {
        transform: scale(0.8);
        bottom: 10px;
        right: 10px;
    }
}
